summaryrefslogtreecommitdiffstats
path: root/libswscale/yuv2rgb.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-26 23:07:11 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-26 23:07:11 +0000
commit95000b0ca7f253eccc971712d96533abf0902b0c (patch)
tree068219a7583b35c30826548bb674e8e395003878 /libswscale/yuv2rgb.c
parent91319b5f269d76452efb02b29933a5b1f13c4953 (diff)
downloadmpv-95000b0ca7f253eccc971712d96533abf0902b0c.tar.bz2
mpv-95000b0ca7f253eccc971712d96533abf0902b0c.tar.xz
cosmetics: Remove trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23147 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r--libswscale/yuv2rgb.c12
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;