[FFmpeg-devel] [PATCH 2/2] libswscale/x86/yuv2rgb: add ssse3 version

Michael Niedermayer michael at niedermayer.cc
Thu Nov 28 22:50:48 EET 2019


On Thu, Nov 28, 2019 at 02:07:08PM +0800, Ting Fu wrote:
> Signed-off-by: Ting Fu <ting.fu at intel.com>
> ---
>  libswscale/x86/yuv2rgb.c          |   5 +
>  libswscale/x86/yuv2rgb_template.c |  58 ++++++++++-
>  libswscale/x86/yuv_2_rgb.asm      | 163 +++++++++++++++++++++++++++---
>  3 files changed, 208 insertions(+), 18 deletions(-)

breaks build on x86-32
make
X86ASM	libswscale/x86/yuv_2_rgb.o
src/libswscale/x86/yuv_2_rgb.asm:400: error: parser: instruction expected
src/libswscale/x86/yuv_2_rgb.asm:331: ... from macro `yuv2rgb_fn' defined here
src/libswscale/x86/yuv_2_rgb.asm:400: error: parser: instruction expected
src/libswscale/x86/yuv_2_rgb.asm:332: ... from macro `yuv2rgb_fn' defined here
src/libswscale/x86/yuv_2_rgb.asm:400: error: parser: instruction expected
src/libswscale/x86/yuv_2_rgb.asm:333: ... from macro `yuv2rgb_fn' defined here
src/libswscale/x86/yuv_2_rgb.asm:401: error: label `BROADCAST' inconsistently redefined
src/libswscale/x86/yuv_2_rgb.asm:331: ... from macro `yuv2rgb_fn' defined here
src/libswscale/x86/yuv_2_rgb.asm:400: note: label `BROADCAST' originally defined here
src/libswscale/x86/yuv_2_rgb.asm:331: ... from macro `yuv2rgb_fn' defined here
src/libswscale/x86/yuv_2_rgb.asm:401: error: parser: instruction expected
src/libswscale/x86/yuv_2_rgb.asm:331: ... from macro `yuv2rgb_fn' defined here
src/libswscale/x86/yuv_2_rgb.asm:401: error: parser: instruction expected
src/libswscale/x86/yuv_2_rgb.asm:332: ... from macro `yuv2rgb_fn' defined here
src/libswscale/x86/yuv_2_rgb.asm:401: error: parser: instruction expected
src/libswscale/x86/yuv_2_rgb.asm:333: ... from macro `yuv2rgb_fn' defined here
make: *** [libswscale/x86/yuv_2_rgb.o] Error 


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

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191128/45c204a4/attachment.sig>


More information about the ffmpeg-devel mailing list