From a7013f813c7cd13b3ccb066bd0cb1231b9749818 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 4 Nov 2025 17:53:30 +0100 Subject: [PATCH] avcodec/tests/x86/dct: Test 32bit simple idct The test has been removed in bfb28b5ce89f3e950214b67ea95b45e3355c2caf when MMX idctdsp functions overridden by SSE2 were removed; ff_simple_idct_mmx() has been completely disabled in this patch for x64 and so the test should have been disabled on x64 instead of removing it. Reviewed-by: Lynne Signed-off-by: Andreas Rheinhardt --- libavcodec/tests/x86/dct.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/tests/x86/dct.c b/libavcodec/tests/x86/dct.c index 7800abc7f7..e864de6904 100644 --- a/libavcodec/tests/x86/dct.c +++ b/libavcodec/tests/x86/dct.c @@ -88,6 +88,10 @@ static const struct algo idct_tab_arch[] = { { "SIMPLE10-AVX", ff_simple_idct10_avx, FF_IDCT_PERM_TRANSPOSE, AV_CPU_FLAG_AVX}, { "SIMPLE12-AVX", ff_simple_idct12_avx, FF_IDCT_PERM_TRANSPOSE, AV_CPU_FLAG_AVX, 1 }, #endif +#else +#if HAVE_SSE2_EXTERNAL + { "SIMPLE-SSE2", ff_simple_idct_mmx, FF_IDCT_PERM_SIMPLE, AV_CPU_FLAG_SSE2}, +#endif #endif #endif { 0 }