Hi, Any issues with this patch or can it be merged?
Thanks, Alan On Fri, Jul 14, 2023 at 12:08 PM Alan Kelly <alanke...@google.com> wrote: > --- > libswscale/x86/swscale.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c > index ff16398988..8c67bf4fab 100644 > --- a/libswscale/x86/swscale.c > +++ b/libswscale/x86/swscale.c > @@ -194,7 +194,7 @@ static void yuv2yuvX_ ##opt(const int16_t *filter, int > filterSize, \ > return; \ > } > > -#define YUV2YUVX_FUNC(opt, step) \ > +#define YUV2YUVX_FUNC(opt, step, tail) \ > void ff_yuv2yuvX_ ##opt(const int16_t *filter, int filterSize, int > srcOffset, \ > uint8_t *dest, int dstW, \ > const uint8_t *dither, int offset); \ > @@ -211,7 +211,7 @@ static void yuv2yuvX_ ##opt(const int16_t *filter, int > filterSize, \ > if(pixelsProcessed > 0) \ > ff_yuv2yuvX_ ##opt(filter, filterSize - 1, 0, dest - offset, > pixelsProcessed + offset, dither, offset); \ > if(remainder > 0){ \ > - ff_yuv2yuvX_mmxext(filter, filterSize - 1, pixelsProcessed, dest - > offset, pixelsProcessed + remainder + offset, dither, offset); \ > + yuv2yuvX_ ##tail(filter, filterSize, src, dest, dstW, dither, > offset); \ > } \ > return; \ > } > @@ -220,10 +220,10 @@ static void yuv2yuvX_ ##opt(const int16_t *filter, > int filterSize, \ > YUV2YUVX_FUNC_MMX(mmxext, 16) > #endif > #if HAVE_SSE3_EXTERNAL > -YUV2YUVX_FUNC(sse3, 32) > +YUV2YUVX_FUNC(sse3, 32, mmxext) > #endif > #if HAVE_AVX2_EXTERNAL > -YUV2YUVX_FUNC(avx2, 64) > +YUV2YUVX_FUNC(avx2, 64, sse3) > #endif > > #define SCALE_FUNC(filter_n, from_bpc, to_bpc, opt) \ > -- > 2.41.0.255.g8b1d071c50-goog > > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".