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

Michael Niedermayer michael at niedermayer.cc
Tue May 1 11:20:37 EEST 2018


On Tue, May 01, 2018 at 10:02:21AM +0200, Paul B Mahol wrote:
> Specifically for yuv444, yuv422, yuv420 format when main stream has no alpha, and alpha
> is straight.
> 
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/vf_overlay.c          |  75 +++++-------------
>  libavfilter/vf_overlay.h          |  85 +++++++++++++++++++++
>  libavfilter/x86/Makefile          |   2 +
>  libavfilter/x86/vf_overlay.asm    | 157 ++++++++++++++++++++++++++++++++++++++
>  libavfilter/x86/vf_overlay_init.c |  63 +++++++++++++++
>  5 files changed, 326 insertions(+), 56 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

breaks build on x86-32

src/libavfilter/x86/vf_overlay.asm:36: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:47: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:48: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:49: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:57: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:58: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:59: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:63: error: symbol `r7d' undefined
src/libavfilter/x86/vf_overlay.asm:68: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:81: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:82: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:84: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:89: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:93: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:101: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:102: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:103: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:107: error: symbol `r7d' undefined
src/libavfilter/x86/vf_overlay.asm:112: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:127: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:128: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:130: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:134: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:137: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:142: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:150: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:151: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:152: error: symbol `r7q' undefined
src/libavfilter/x86/vf_overlay.asm:156: error: symbol `r7d' undefined
make: *** [libavfilter/x86/vf_overlay.o] Error 1
make: *** Waiting for unfinished jobs....



[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180501/08631ff9/attachment.sig>


More information about the ffmpeg-devel mailing list