git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ff9347
)
bigendian fix
author
Alex Beregszaszi
<alex@rtfs.hu>
Fri, 25 Jun 2004 17:05:35 +0000
(17:05 +0000)
committer
Alex Beregszaszi
<alex@rtfs.hu>
Fri, 25 Jun 2004 17:05:35 +0000
(17:05 +0000)
Originally committed as revision 12658 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
postproc/yuv2rgb.c
patch
|
blob
|
history
diff --git
a/postproc/yuv2rgb.c
b/postproc/yuv2rgb.c
index
9cb65c6
..
a8acec5
100644
(file)
--- a/
postproc/yuv2rgb.c
+++ b/
postproc/yuv2rgb.c
@@
-642,7
+642,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 = IMGFMT_IS_
RGB
(c->dstFormat);
+ const int isRgb = IMGFMT_IS_
BGR
(c->dstFormat);
const int bpp = isRgb?IMGFMT_RGB_DEPTH(c->dstFormat):IMGFMT_BGR_DEPTH(c->dstFormat);
int i;
uint8_t table_Y[1024];