[FFmpeg-devel] [PATCH] sws: Don't compile yuv2yuvX for mmx

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Aug 19 11:52:48 EEST 2022


Alan Kelly:
> ---
>  libswscale/x86/yuv2yuvX.asm | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/libswscale/x86/yuv2yuvX.asm b/libswscale/x86/yuv2yuvX.asm
> index b6294cb919..d5b03495fd 100644
> --- a/libswscale/x86/yuv2yuvX.asm
> +++ b/libswscale/x86/yuv2yuvX.asm
> @@ -124,8 +124,6 @@ cglobal yuv2yuvX, 7, 7, 8, filter, filterSize, src, dest, dstW, dither, offset
>      REP_RET
>  %endmacro
>  
> -INIT_MMX mmx
> -YUV2YUVX_FUNC
>  INIT_MMX mmxext
>  YUV2YUVX_FUNC
>  INIT_XMM sse3

Already sent exactly the same patch:
https://ffmpeg.org/pipermail/ffmpeg-devel/2022-August/300247.html
(I wanted to remove this function in
a05f22eaf393177b94432431c145cbc5ba10390a, but noticed that you used it
for unaligned data and tail processing and I did not know whether this
was intentional or not.)

- Andreas


More information about the ffmpeg-devel mailing list