Fix warnings
This commit is contained in:
@@ -1316,7 +1316,7 @@ Double PlaYUVerFrame::getMSE( PlaYUVerFrame* Org, Int component )
|
||||
|
||||
Double PlaYUVerFrame::getPSNR( PlaYUVerFrame* Org, Int component )
|
||||
{
|
||||
UInt uiMaxValue = ( 1 << Org->getBitsPel() - 1 );
|
||||
UInt uiMaxValue = ( 1 << Org->getBitsPel() ) - 1;
|
||||
Double uiMaxValueSquare = uiMaxValue * uiMaxValue;
|
||||
Double dPSNR = 100;
|
||||
Double dMSE = getMSE( Org, component );
|
||||
|
||||
Reference in New Issue
Block a user