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

Paul B Mahol onemda at gmail.com
Tue May 1 11:45:25 EEST 2018


On 5/1/18, Michael Niedermayer <michael at niedermayer.cc> wrote:
> 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....

Fixed locally.


More information about the ffmpeg-devel mailing list