[FFmpeg-devel] [PATCH 12/15] swscale/x86/yuv2rgb: Remove unused ASM constants
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Fri Feb 19 09:50:19 EET 2021
mmx_grnmask is unused since 531f97b0c32d1d421f3ac614e002c53951658115,
the other constants since e934194b6a4159b7960cabefb0dd8b998c1961e8.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libswscale/x86/yuv2rgb.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/libswscale/x86/yuv2rgb.c b/libswscale/x86/yuv2rgb.c
index 2143026a0d..47f45bd7c2 100644
--- a/libswscale/x86/yuv2rgb.c
+++ b/libswscale/x86/yuv2rgb.c
@@ -41,14 +41,6 @@
#define DITHER1XBPP // only for MMX
-/* hope these constant values are cache line aligned */
-DECLARE_ASM_CONST(8, uint64_t, mmx_00ffw) = 0x00ff00ff00ff00ffULL;
-DECLARE_ASM_CONST(8, uint64_t, mmx_redmask) = 0xf8f8f8f8f8f8f8f8ULL;
-DECLARE_ASM_CONST(8, uint64_t, mmx_grnmask) = 0xfcfcfcfcfcfcfcfcULL;
-DECLARE_ASM_CONST(8, uint64_t, pb_e0) = 0xe0e0e0e0e0e0e0e0ULL;
-DECLARE_ASM_CONST(8, uint64_t, pb_03) = 0x0303030303030303ULL;
-DECLARE_ASM_CONST(8, uint64_t, pb_07) = 0x0707070707070707ULL;
-
//MMX versions
#if HAVE_MMX
#undef RENAME
--
2.27.0
More information about the ffmpeg-devel
mailing list