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

Cédric Schieli cschieli
Tue Mar 24 08:12:28 CET 2009


2009/3/24 Michael Niedermayer <michaelni at gmx.at>:
> On Mon, Mar 23, 2009 at 03:53:28PM +0100, C?dric Schieli wrote:
>> Hi all,
>>
>>
>> Here are some more patches :
>>
>> #1 : simpler_osx_fix.patch
>> this is a simpler and more elegant fix to the x86_32/OSX+PIC build failure
>
> ok

applied

>> #2 : missing_fillPlane.patch
>> fix some places where "non-alpha to YUVA420P" do not fill the alpha plane
>
> ok

applied

>> #3 : yuyv2yuva.patch
>> this adds "YUYV422 to YUVA420P" and "UYVY422 to YUVA420P"
>
> ok

applied

>> #4 : palette8topacked32.patch
>> use default value of 255 for the alpha channel in unscaled paletted to
>> rgb32 converters
>
> a very quick looks gives me the feeling this is wrong?
> isnt the alpha supposed to be in the palette already?

true for PAL8, but not for BGR8/RGB8/BGR4_BYTE/RGB4_BYTE
so a separate code path seems needed for PAL8 (what is the index for
the alpha color in PAL8 ?)


Regards,
C?dric Schieli



More information about the ffmpeg-devel mailing list