[Ffmpeg-devel] [PATCH] RGB555 without alpha and more converters
Alex Beregszaszi
alex
Tue Nov 7 18:34:32 CET 2006
Hi,
> I changed the to/from rgba32 converter glue code to work with
> non-alpha formats too. Thus now we have optimized
> RGBA32->BGR24,RGB565,RGB555; BGR24->RGBA32 and RGB565->RGBA32
> converters with the old code (without swscaler).
>
> Then I removed the alpha bit setting in RGB555. We might add RGBA555,
> with the alpha setting code, but Michael neglected addict obscure
> formats. I dont need this one, however its one feature more :)
>
> Also I was unsure about the versionbumping of the libraries, the
> imgconverter is placed in libavcodec, and now the RGB555 MSB is not
> set, thus a version bumb is needed, i think. On the other side, the
> PIX_FMT is defined in libavutil.
>
> According to Michael, swscaler doesnt follows the "set-msb-of-rgb555",
> thus with this patch, both codes should output the same formats.
Michael, do you accept this patch? Can I commit it?
--
Alex Beregszaszi | alex at fsn.hu
More information about the ffmpeg-devel
mailing list