Mercurial > mplayer.hg
diff libswscale/yuv2rgb_init.c @ 23129:9528d1ebe68f
cosmetics: Remove trailing whitespace.
author | diego |
---|---|
date | Thu, 26 Apr 2007 23:07:11 +0000 |
parents | f37a3ef2685e |
children | ab4c0bba8f22 |
line wrap: on
line diff
--- a/libswscale/yuv2rgb_init.c Thu Apr 26 20:56:54 2007 +0000 +++ b/libswscale/yuv2rgb_init.c Thu Apr 26 23:07:11 2007 +0000 @@ -16,7 +16,7 @@ * \arg Maximum Rv value: 117570 * \arg Maximum Bu value: 138420 * \arg Maximum Gv + Gu value: 25642 + 53281 = 78923 - * + * * These values are needed to allocate table_{r, g, b}. If you modify * this table, please update allocate_tables() accordingly */ @@ -168,7 +168,7 @@ * together, so that they are contiguous in memory * * table_r is indexed in the range - * [-128 * 117570 / 76309, 255 + 127 * 117570 / 76309] = + * [-128 * 117570 / 76309, 255 + 127 * 117570 / 76309] = * [-197.21, 451.67] ---> [-198, 452] * table_b is indexed in the range * [-128 * 138420 / 76309, 255 + 127 * 138420 / 76309] = @@ -210,7 +210,7 @@ return NULL; } - + /* ...and then, assign the table_* value */ switch (bpp) { case 32: @@ -242,7 +242,7 @@ * @param fullRange 0->MPEG YUV space 1->JPEG YUV space */ int yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation) -{ +{ int i; static uint8_t ytable[1024]; int64_t cy, oy;