diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-04-26 23:07:11 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-04-26 23:07:11 +0000 |
commit | 6a4970abd15ddf45e0f8c0bed0ca00950707d83e (patch) | |
tree | 9c2fc6e31ce964c6c3e29fd3ef564dd8e0ad64fc /libswscale/yuv2rgb.c | |
parent | 5ad751471c985b8d9da83bcf1efe11c1fe1f971d (diff) | |
download | ffmpeg-6a4970abd15ddf45e0f8c0bed0ca00950707d83e.tar.gz |
cosmetics: Remove trailing whitespace.
Originally committed as revision 23147 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r-- | libswscale/yuv2rgb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index af7f86f401..db6534287e 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -427,15 +427,15 @@ PROLOG(yuv2rgb_c_4, uint8_t) acc = r[Y] + g[Y] + b[Y]; \ Y = py_1[2*i+1]; \ acc |= (r[Y] + g[Y] + b[Y])<<4;\ - dst_1[i] = acc; + dst_1[i] = acc; #define DST2_4(i) \ Y = py_2[2*i]; \ acc = r[Y] + g[Y] + b[Y]; \ Y = py_2[2*i+1]; \ acc |= (r[Y] + g[Y] + b[Y])<<4;\ - dst_2[i] = acc; - + dst_2[i] = acc; + RGB(0); DST1_4(0); DST2_4(0); @@ -572,7 +572,7 @@ PROLOG(yuv2rgb_c_1_ordered_dither, uint8_t) DST2bpp1(3,6); DST1bpp1(3,6); - + dst_1[0]= out_1; dst_2[0]= out_2; EPILOG(1) @@ -644,7 +644,7 @@ static int div_round (int dividend, int divisor) } int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation) -{ +{ const int isRgb = isBGR(c->dstFormat); const int bpp = fmt_depth(c->dstFormat); int i; @@ -676,7 +676,7 @@ int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, cgu= (cgu*224) / 255; cgv= (cgv*224) / 255; } - + cy = (cy *contrast )>>16; crv= (crv*contrast * saturation)>>32; cbu= (cbu*contrast * saturation)>>32; |