[Ffmpeg-devel] libswscale RGB32 colorspace chaos

Reimar Döffinger Reimar.Doeffinger
Fri Oct 13 23:26:57 CEST 2006


Hello,
On Fri, Oct 13, 2006 at 11:23:06PM +0200, Reimar D?ffinger wrote:
> According to rgb2rgb.c, line 470 rgb32 format is b << 16 + g << 8 + r.
> On the other hand yuv2rgb.c, line 699 looks to me like it's
> r << 16 + g << 8 + b.
> So which one is correct? Or am I missing something??

Obviously I missed this great line:
const int isRgb = isBGR(c->dstFormat);
Maybe there is some sense to be found in all this, but I sure can't see
it...

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list