diff --git a/libavcodec/x86/proresdsp.asm b/libavcodec/x86/proresdsp.asm index 752e50420f..632ece6ebf 100644 --- a/libavcodec/x86/proresdsp.asm +++ b/libavcodec/x86/proresdsp.asm @@ -302,8 +302,6 @@ cglobal prores_idct_put_10, 4, 4, %1 INIT_XMM sse2 idct_put_fn 16 -INIT_XMM sse4 -idct_put_fn 16 %if HAVE_AVX_EXTERNAL INIT_XMM avx idct_put_fn 16 diff --git a/libavcodec/x86/proresdsp_init.c b/libavcodec/x86/proresdsp_init.c index d647788e6b..ead11ae9c1 100644 --- a/libavcodec/x86/proresdsp_init.c +++ b/libavcodec/x86/proresdsp_init.c @@ -27,8 +27,6 @@ void ff_prores_idct_put_10_sse2(uint16_t *dst, int linesize, int16_t *block, const int16_t *qmat); -void ff_prores_idct_put_10_sse4(uint16_t *dst, int linesize, - int16_t *block, const int16_t *qmat); void ff_prores_idct_put_10_avx (uint16_t *dst, int linesize, int16_t *block, const int16_t *qmat); @@ -42,11 +40,6 @@ av_cold void ff_proresdsp_init_x86(ProresDSPContext *dsp, AVCodecContext *avctx) dsp->idct_put = ff_prores_idct_put_10_sse2; } - if (EXTERNAL_SSE4(cpu_flags)) { - dsp->idct_permutation_type = FF_IDCT_PERM_TRANSPOSE; - dsp->idct_put = ff_prores_idct_put_10_sse4; - } - if (EXTERNAL_AVX(cpu_flags)) { dsp->idct_permutation_type = FF_IDCT_PERM_TRANSPOSE; dsp->idct_put = ff_prores_idct_put_10_avx;