Fix bug in module that computes luma average.

This commit is contained in:
Luis Lucas
2015-01-17 19:07:24 +00:00
parent 4794674359
commit fc71fb3533
+1
View File
@@ -51,6 +51,7 @@ Double LumaAverage::measure( PlaYUVerFrame* frame )
for( UInt x = 0; x < frame->getWidth(); x++ )
{
average += *pPel;
pPel++;
}
return average / Double( frame->getHeight() * frame->getWidth() );
}