[FFmpeg-devel] [PATCH] avfilter: add differencemax mode to the blend video filter

James Darnley jdarnley at obe.tv
Mon Jul 31 16:01:54 EEST 2017


On 2017-07-31 13:45, Paul B Mahol wrote:
> On 7/31/17, James Darnley <jdarnley at obe.tv> wrote:
>> ---
>>  Changelog              | 1 +
>>  doc/filters.texi       | 1 +
>>  libavfilter/blend.h    | 1 +
>>  libavfilter/vf_blend.c | 4 ++++
>>  4 files changed, 7 insertions(+)
>>
> 
> How this compares with lut2 filter regarding speed?

Blending testsrc and testsrc2 at hd720 yuv420p I get ~81fps using my
addition.  Using lut2 I get ~80 fps.  Using no filters and rendering
just those 2 source I get 103 fps.

That is without SIMD though.  With SIMD I would expect blend to win.
I'm actually surprised that evaluating the expression isn't dead slow.



More information about the ffmpeg-devel mailing list