[FFmpeg-devel] [PATCH] swscale alpha channel support

Cédric Schieli cschieli
Wed Mar 18 08:19:20 CET 2009

2009/3/17 Carl Eugen Hoyos <cehoyos at ag.or.at>:
> C?dric Schieli <cschieli <at> gmail.com> writes:
>> #1 : sws_configure_alpha.patch
>> ok'ed by Mans, but it was pointed out that it may be better to rather
>> be able to enable/disable pixfmt individually
>> if no one complain I will proceed now with this one
> Would this mean that alpha support has to be enabled at compile-time?
> Or would it mean it can be disabled? It this case, alpha could also be applied
> without the configure option, which may be added later (if there really is a
> speed difference).
> Carl Eugen

It is disabled by default. I can invert it to get rid of the configure
option for the moment (patch attached).
BTW, the speed difference may not be a problem, while the size
difference may. On my x86_32 build, stripped libswscale.a is 16 KB
bigger with alpha enabled.

C?dric Schieli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sws_configure_alpha.patch
Type: text/x-patch
Size: 1053 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090318/47d8c5e7/attachment.bin>

More information about the ffmpeg-devel mailing list