[Ffmpeg-devel] PIX_FMT_RGB555 and alpha channel

Alex Beregszaszi alex
Thu Oct 19 02:02:34 CEST 2006


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 would propose adding RGBA555 for the alpha
channel containing format and remove the alpha channel from RGB555.

Any objections?

Alex Beregszaszi | alex at fsn.hu

More information about the ffmpeg-devel mailing list