[FFmpeg-devel] [PATCHv3 4/4] avfilter/vf_framerate: add SIMD functions for frame blending
Marton Balint
cus at passwd.hu
Sun Jan 28 20:28:16 EET 2018
On Sat, 20 Jan 2018, Marton Balint wrote:
> 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 at passwd.hu>
> ---
> libavfilter/framerate.h | 74 ++++++++++++++++++++
> libavfilter/vf_framerate.c | 70 +++++--------------
> libavfilter/x86/Makefile | 2 +
> libavfilter/x86/vf_framerate.asm | 134 ++++++++++++++++++++++++++++++++++++
> libavfilter/x86/vf_framerate_init.c | 43 ++++++++++++
> 5 files changed, 269 insertions(+), 54 deletions(-)
> create mode 100644 libavfilter/framerate.h
> create mode 100644 libavfilter/x86/vf_framerate.asm
> create mode 100644 libavfilter/x86/vf_framerate_init.c
>
Pushed the series.
Regards,
Marton
More information about the ffmpeg-devel
mailing list