Change FrameMask module to be compatible with different pixel formats

This commit is contained in:
2016-03-10 01:03:28 +00:00
parent 9022612019
commit c9dab4a646
4 changed files with 25 additions and 31 deletions
+2
View File
@@ -351,6 +351,8 @@ Void PlaYUVerFrame::setPixelValue( Int xPos, Int yPos, PlaYUVerPixel pixel )
Int ratioW = ch > 0 ? m_pcPelFormat->log2ChromaHeight : 0;
m_pppcInputPel[ch][( yPos >> ratioH )][( xPos >> ratioW )] = pixel.Components()[ch];
}
m_bHasHistogram = false;
m_bHasRGBPel = false;
}
Void PlaYUVerFrame::copyFrom( PlaYUVerFrame* input_frame )