Add a variable to control the number of bits per pixel
This commit is contained in:
1 parent
d8952ce953
commit
a38f9c3283
2 files changed
+8
-6
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user