[FFmpeg-cvslog] r29240 - trunk/libswscale/yuv2rgb.c
sdrik
subversion
Mon Apr 27 16:25:45 CEST 2009
Author: sdrik
Date: Mon Apr 27 16:25:44 2009
New Revision: 29240
Log:
Remove useless duplicated code in yuv2rgb_c_32, yuva2rgba_c and yuva2argb_c
Modified:
trunk/libswscale/yuv2rgb.c
Modified: trunk/libswscale/yuv2rgb.c
==============================================================================
--- trunk/libswscale/yuv2rgb.c Mon Apr 27 11:44:59 2009 (r29239)
+++ trunk/libswscale/yuv2rgb.c Mon Apr 27 16:25:44 2009 (r29240)
@@ -137,9 +137,6 @@ YUV2RGBFUNC(yuv2rgb_c_32, uint32_t, 0)
LOADCHROMA(1);
PUTRGB(dst_2,py_2,1,1);
PUTRGB(dst_1,py_1,1,0);
- LOADCHROMA(1);
- PUTRGB(dst_2,py_2,1,1);
- PUTRGB(dst_1,py_1,1,0);
LOADCHROMA(2);
PUTRGB(dst_1,py_1,2,0);
@@ -166,9 +163,6 @@ YUV2RGBFUNC(yuva2rgba_c, uint32_t, 1)
LOADCHROMA(1);
PUTRGBA(dst_2,py_2,pa_1,1,1,24);
PUTRGBA(dst_1,py_1,pa_2,1,0,24);
- LOADCHROMA(1);
- PUTRGBA(dst_2,py_2,pa_1,1,1,24);
- PUTRGBA(dst_1,py_1,pa_2,1,0,24);
LOADCHROMA(2);
PUTRGBA(dst_1,py_1,pa_1,2,0,24);
@@ -197,9 +191,6 @@ YUV2RGBFUNC(yuva2argb_c, uint32_t, 1)
LOADCHROMA(1);
PUTRGBA(dst_2,py_2,pa_2,1,1,0);
PUTRGBA(dst_1,py_1,pa_1,1,0,0);
- LOADCHROMA(1);
- PUTRGBA(dst_2,py_2,pa_2,1,1,0);
- PUTRGBA(dst_1,py_1,pa_1,1,0,0);
LOADCHROMA(2);
PUTRGBA(dst_1,py_1,pa_1,2,0,0);
More information about the ffmpeg-cvslog
mailing list