[FFmpeg-devel] [PATCH 2/2] avfilter/vf_colorkey: Transform calculations to integer math

Michael Niedermayer michaelni at gmx.at
Sun Jun 14 02:08:14 CEST 2015


On Sat, Jun 13, 2015 at 03:09:08PM +0200, Timo Rothenpieler wrote:
> ---
>  libavfilter/vf_colorkey.c | 32 +++++++++++++++++++++++++-------
>  1 file changed, 25 insertions(+), 7 deletions(-)

This patch seems to change the output significnatly

tested with:

-i matrixbench_mpeg2.mpg -i lena.pnm -filter_complex '[1]colorkey=black:0.2:0.5[t],[0][t]overlay=10:main_h-overlay_h-10' -qscale 2 colorkey.avi

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150614/6a3fd40f/attachment.asc>


More information about the ffmpeg-devel mailing list