[FFmpeg-devel] [PATCH] vf_fade: fade alpha

Mark Himsley mark at mdsh.com
Thu Nov 3 16:51:12 CET 2011


On 03/11/11 15:36, Michael Niedermayer wrote:
> On Thu, Nov 03, 2011 at 01:10:07AM +0000, Mark Himsley wrote:
>> also 8 bit RGB and YUV formats with alpha to allowed input formats.
>>
>> If the input has alpha then only alpha levels are altered.
>
> i think this should be configureable, a user might want something
> else
> alpha fade would fade to transparent while otherwise it would fate to
> opaque black
>
> [...]

I haven't been able to think of a use case where a user would want the 
fill to fade to black leaving the alpha untouched, but I'll add alpha 
fade as an option anyway.

BTW. I was worried, would you prefer the patch as two changes, one to 
add the functionality and one to reformat the old code, so it is easy to 
see what has actually changed?

I'm assuming you had no objections to the overall method of the change 
to the current luma path.

Thanks.


More information about the ffmpeg-devel mailing list