Add a variable to control the number of bits per pixel

This commit is contained in:
jfmcarreira committed 2015-04-02 17:44:10 +01:00
1 parent d8952ce953
commit a38f9c3283
2 files changed
+8 -6

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ Void PlaYUVerFrameStats::xSetupStatistics( const PlaYUVerFrame *pcFrame, UInt op
m_uiImageHeight = pcFrame->getHeight();
m_uiChannels = pcFrame->getNumberChannels();
m_uiHistoSegments = 1 << pcFrame->getBitsPel();
m_uiHistoSegments = ( 1 << pcFrame->getBitsPel() ) - 1;
imageColorSpace = pcFrame->getColorSpace();
imageChromaSize = pcFrame->getChromaLength();