[Ffmpeg-devel] PIX_FMT_RGB555 and alpha channel

Michael Niedermayer michaelni
Thu Oct 19 03:31:56 CEST 2006


On Thu, Oct 19, 2006 at 02:02:34AM +0200, Alex Beregszaszi wrote:
> Hi,
> Current FFmpeg uses the MSB of RGB555 as alpha channel. Look at
> pix_fmt_info in imgconvert.c. This causes it to set the MSB in case of
> conversion to RGB555.
> Is that for a reason? 

i dont know :)

> I would propose adding RGBA555 for the alpha
> channel containing format and remove the alpha channel from RGB555.
> Any objections?

could you elaborate on why the alpha channel bit is a problem?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list