Optimize pixel conversion from yuv to rgb

This commit is contained in:
2015-02-27 13:58:38 +00:00
parent 4601bb28d6
commit d1bf933928
3 changed files with 36 additions and 42 deletions
+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;