[FFmpeg-devel] [PATCH] lavfi/testsrc2: fix completely transparent alpha.
george at nsup.org
Fri Jul 21 16:51:07 EEST 2017
Le tridi 3 thermidor, an CCXXV, Carl Eugen Hoyos a écrit :
> alpha_value = x * 255 / width;
> alpha_value = y * 255 / height;
> Sorry for being unclear, Carl Eugen
Oh, you mean a gradient on the alpha channel. It is not really possible
without making the code more complex and I think significantly slower.
A coarse gradient between the different vertical bands is easy, but the
alpha must be constant in each band, just like the color.
A gradient on the undulating diagonal line is possible and easy, OTOH,
since it already has a color gradient.
What do you think?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the ffmpeg-devel