From e8374d72027c0b3faa85c1e2cc69bfecb8c020c8 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 15 Mar 2015 15:03:54 -0300 Subject: [PATCH] x86/proresdsp: remove ff_prores_idct_put_10_sse4 It's exactly the same as the sse2 version. Reviewed-by: Michael Niedermayer Signed-off-by: James Almer --- libavcodec/x86/proresdsp.asm | 2 -- libavcodec/x86/proresdsp_init.c | 7 ------- 2 files changed, 9 deletions(-) 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;