From 5421dee0e7e0028f59a7285be26fc7f12ae42a8b Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 5 Jun 2024 23:18:37 +0200 Subject: [PATCH] swscale/x86/rgb2rgb_template: Remove unused uyvytoyv12 Signed-off-by: Andreas Rheinhardt --- libswscale/x86/rgb2rgb_template.c | 104 ------------------------------ 1 file changed, 104 deletions(-) diff --git a/libswscale/x86/rgb2rgb_template.c b/libswscale/x86/rgb2rgb_template.c index 5c73fa4e16..d1403d08e6 100644 --- a/libswscale/x86/rgb2rgb_template.c +++ b/libswscale/x86/rgb2rgb_template.c @@ -1432,110 +1432,6 @@ static inline void RENAME(planar2x)(const uint8_t *src, uint8_t *dst, int srcWid :::"memory"); } -/** - * Height should be a multiple of 2 and width should be a multiple of 16. - * (If this is a problem for anyone then tell me, and I will fix it.) - * Chrominance data is only taken from every second line, others are ignored. - * FIXME: Write HQ version. - */ -static inline void RENAME(uyvytoyv12)(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, - int width, int height, - int lumStride, int chromStride, int srcStride) -{ - int y; - const x86_reg chromWidth= width>>1; - for (y=0; y