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

Cédric Schieli cschieli
Thu Feb 12 07:47:17 CET 2009


2009/2/12 Michael Niedermayer <michaelni at gmx.at>

> On Wed, Feb 11, 2009 at 08:52:51PM +0100, C?dric Schieli wrote:
> > Hello,
> >
> >
> > Here is a splitted version of the patch.
> >
> > #1 : sws_writebgr32_register_params.patch
> > makes mmx registers parametrized in the WRITEBGR32 macro
>
> ok assuming it generates obj files that are identical
>

Yes, they are


>
>
> >
> > #2 : sws_split_yscale_macros.patch
> > splits various YSCALEYUV2xxx macros into YSCALEYUV2xxx_UV,
> YSCALEYUV2xxx_YA
> > and YSCALEYUV2xxx_COEFF
>
> ok assuming it generates obj files that are identical
>

Yes, they are


>
>
> >
> > #3 : sws_dont_zero_alpha_channel.patch
> > moves zeroing of alpha channel register out of YSCALEYUV2xxx macros
>
> ok assuming it generates obj files that are identical
>

Yes, they are


>
> also could you update swscale-example so it tests alpha too?
> could be usefull for testing, (also dont forget to test with
> various flag combinations (accurate rounding and such)
>

That's already on my todo list


Regards,
C?dric Schieli

> _______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel




More information about the ffmpeg-devel mailing list