[FFmpeg-devel] [PATCH 1/2] avcodec/x86/diracdsp_init: Remove unused macro

Kyosuke Kawakami kawakami150708 at gmail.com
Thu Nov 7 11:25:13 EET 2024


PIXFUNC macro is unused since d29a9c2aa68fc3eb6d61ff95c698e29316037583.

Signed-off-by: Kyosuke Kawakami <kawakami150708 at gmail.com>
---
 libavcodec/x86/diracdsp_init.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/libavcodec/x86/diracdsp_init.c b/libavcodec/x86/diracdsp_init.c
index f678759dc0..6a31d3921f 100644
--- a/libavcodec/x86/diracdsp_init.c
+++ b/libavcodec/x86/diracdsp_init.c
@@ -57,11 +57,6 @@ void ff_dequant_subband_32_sse4(uint8_t *src, uint8_t *dst, ptrdiff_t stride, co
         }                                                                                    \
     }
 
-#define PIXFUNC(PFX, IDX, EXT)                                                   \
-    /*MMXDISABLEDc->PFX ## _dirac_pixels_tab[0][IDX] = PFX ## _dirac_pixels8_ ## EXT;*/  \
-    c->PFX ## _dirac_pixels_tab[1][IDX] = PFX ## _dirac_pixels16_ ## EXT; \
-    c->PFX ## _dirac_pixels_tab[2][IDX] = PFX ## _dirac_pixels32_ ## EXT
-
 #define DIRAC_PIXOP(OPNAME, EXT)\
 static void OPNAME ## _dirac_pixels16_ ## EXT(uint8_t *dst, const uint8_t *src[5], \
                                               int stride, int h) \
-- 
2.47.0



More information about the ffmpeg-devel mailing list