]> git.sesse.net Git - ffmpeg/commit
avfilter/vf_framerate: add SIMD functions for frame blending
authorMarton Balint <cus@passwd.hu>
Mon, 8 Jan 2018 00:05:45 +0000 (01:05 +0100)
committerMarton Balint <cus@passwd.hu>
Sun, 28 Jan 2018 17:50:52 +0000 (18:50 +0100)
commit4d95c6d5d7d8d79b5acafcf526a1b7c1797a1060
treee6e719f4c206622918b4daf35a10b12936e7c9f6
parent2cbe6bac0337939f023bd1c37a9c455e6d535f3a
avfilter/vf_framerate: add SIMD functions for frame blending

Blend function speedups on x86_64 Core i5 4460:

ffmpeg -f lavfi -i allyuv -vf framerate=60:threads=1 -f null none

C:     447548411 decicycles in Blend,    2048 runs,      0 skips
SSSE3: 130020087 decicycles in Blend,    2048 runs,      0 skips
AVX2:  128508221 decicycles in Blend,    2048 runs,      0 skips

ffmpeg -f lavfi -i allyuv -vf format=yuv420p12,framerate=60:threads=1 -f null none

C:     228932745 decicycles in Blend,    2048 runs,      0 skips
SSE4:  123357781 decicycles in Blend,    2048 runs,      0 skips
AVX2:  121215353 decicycles in Blend,    2048 runs,      0 skips

Signed-off-by: Marton Balint <cus@passwd.hu>
libavfilter/framerate.h [new file with mode: 0644]
libavfilter/vf_framerate.c
libavfilter/x86/Makefile
libavfilter/x86/vf_framerate.asm [new file with mode: 0644]
libavfilter/x86/vf_framerate_init.c [new file with mode: 0644]