2017-07-21 15:43 GMT+02:00 Carl Eugen Hoyos <ceffm...@gmail.com>:
> 2017-07-21 15:40 GMT+02:00 Nicolas George <geo...@nsup.org>:
>> Le tridi 3 thermidor, an CCXXV, Carl Eugen Hoyos a écrit :
>>> The default you suggest is of course much better than the original
>>> default but ideally, some kind of "banding" should be used to allow
>>> testing transparency in libswscale, encoders and decoders.
>>
>> Can you be a little more specific? I am not sure I understand what
>> you mean exactly.
>
> I meant value = width or value = height

alpha_value = x * 255 / width;
or
alpha_value = y * 255 / height;

Sorry for being unclear, Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to