Optimize pixel conversion from yuv to rgb

This commit is contained in:
jfmcarreira committed 2015-02-27 13:57:40 +00:00
1 parent eac8f23798
commit 6bc2406e3a
3 files changed
+36 -42

No files matched your search

+1 -1
View File
@@ -249,7 +249,7 @@ PlaYUVerFrame::Pixel PlaYUVerFrame::ConvertPixel( PlaYUVerFrame::Pixel inputPixe
if( eOutputSpace == COLOR_RGB )
{
yuvToRgb( inputPixel.Y(), inputPixel.Cb(), inputPixel.Cr(), outA, outB, outC );
YUV2RGB( inputPixel.Y(), inputPixel.Cb(), inputPixel.Cr(), outA, outB, outC );
outPixel.R() = outA;
outPixel.G() = outB;
outPixel.B() = outC;