[FFmpeg-devel] [PATCH] Fix swapped colours for RGB555 and RGB565 in swscale
Sun Oct 28 00:12:08 CEST 2007
On Wed, Oct 24, 2007 at 03:48:00PM +0300, Kostya wrote:
> Looks like rgb1toUV have color values swapped.
> Fixes roundup issue 162 and reported problem with 15-bit TSCC files.
this patch is TOTALLY wrong
it changes rgb1toUV so they become identical to bgr1toUV and at the
same time results in the corresponding luma functions to mismatch
which means that after this the output is _really_ wrong while before it
was merely switching red and blue
the actual bug seems to be that the function names of [rgb|bgr]1to[UV|Y]
should be rgb<->bgr flipped
i also suspect that mplayers vf_scale.c might need a change to compensate for
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel