Fix FrameMask and minor bug fixes in PlaYUVerFrame

This commit is contained in:
jfmcarreira committed 2016-03-10 02:38:35 +00:00
1 parent 7ddf3c0a6d
commit e38ba03f65
8 files changed
+71 -17

No files matched your search

+9
View File
@@ -40,6 +40,15 @@ PlaYUVerPixel::PlaYUVerPixel()
PixelComponents[3] = 0;
}
PlaYUVerPixel::PlaYUVerPixel( Int ColorSpace )
{
m_iColorSpace = ColorSpace == COLOR_GRAY ? COLOR_YUV : ColorSpace;
PixelComponents[0] = 0;
PixelComponents[1] = 0;
PixelComponents[2] = 0;
PixelComponents[3] = 0;
}
PlaYUVerPixel::PlaYUVerPixel( Int ColorSpace, Pel c0, Pel c1, Pel c2 )
{
m_iColorSpace = ColorSpace == COLOR_GRAY ? COLOR_YUV : ColorSpace;