[FFmpeg-devel] [PATCH] avfilter/vf_w3fdif: add x86 SIMD

Paul B Mahol onemda at gmail.com
Thu Oct 8 14:22:06 CEST 2015


On 10/8/15, Hendrik Leppkes <h.leppkes at gmail.com> wrote:
> On Wed, Oct 7, 2015 at 10:27 PM, Paul B Mahol <onemda at gmail.com> wrote:
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>>  libavfilter/vf_w3fdif.c          | 139 +++++++++++++++--------
>>  libavfilter/w3fdif.h             |  61 +++++++++++
>>  libavfilter/x86/Makefile         |   2 +
>>  libavfilter/x86/vf_w3fdif.asm    | 230
>> +++++++++++++++++++++++++++++++++++++++
>>  libavfilter/x86/vf_w3fdif_init.c |  56 ++++++++++
>>  5 files changed, 441 insertions(+), 47 deletions(-)
>>  create mode 100644 libavfilter/w3fdif.h
>>  create mode 100644 libavfilter/x86/vf_w3fdif.asm
>>  create mode 100644 libavfilter/x86/vf_w3fdif_init.c
>>
>
> How does the speed compare to YADIF with the SIMD in place?

simple is approx 50% faster
complex is approx 20% faster

But with pmaddwd instead of pmulld I'm working right now simple is
100% faster than yadif.


More information about the ffmpeg-devel mailing list