[FFmpeg-devel] [PATCH] avfilter/vf_overlay: add x86 SIMD for yuv444 format when main stream has no alpha

Paul B Mahol onemda at gmail.com
Mon Apr 30 19:22:24 EEST 2018


On 4/30/18, Paul B Mahol <onemda at gmail.com> wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/vf_overlay.c          | 76 ++++++++-----------------------
>  libavfilter/vf_overlay.h          | 84 ++++++++++++++++++++++++++++++++++
>  libavfilter/x86/Makefile          |  2 +
>  libavfilter/x86/vf_overlay.asm    | 94
> +++++++++++++++++++++++++++++++++++++++
>  libavfilter/x86/vf_overlay_init.c | 39 ++++++++++++++++
>  5 files changed, 238 insertions(+), 57 deletions(-)
>  create mode 100644 libavfilter/vf_overlay.h
>  create mode 100644 libavfilter/x86/vf_overlay.asm
>  create mode 100644 libavfilter/x86/vf_overlay_init.c
>

Gives ~15% speedup overall with one scenario i tried.


More information about the ffmpeg-devel mailing list