[FFmpeg-devel] [RFC] Alpha support

Cédric Schieli cschieli
Wed Jan 28 21:10:23 CET 2009


Attached are two versions of the patch :
> sws_use_alpha_bloated.patch ensures that no extra code is reached for the
> non alpha case, at the cost of more bloated code (swscale.o is 9kB bigger in
> my build)
> sws_use_alpha_slower.patch only eliminates extra code when the destination
> format is not alpha capable, and uses a runtime test for the remaining cases

Attached version of sws_use_alpha.patch combines those two cases. The
"bloated" case is the default, the "slower" one is selected with

The cloberring of %ebp in yuv2packed2 has also been addressed.

C?dric Schieli

ffmpeg-devel mailing list
ffmpeg-devel at mplayerhq.hu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sws_use_alpha.patch
Type: text/x-patch
Size: 48335 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090128/2b09dbbf/attachment.bin>

More information about the ffmpeg-devel mailing list