[FFmpeg-devel] [PATCH 3/3] x86/proresdsp: remove ff_prores_idct_put_10_sse4

James Almer jamrial at gmail.com
Sun Mar 15 19:08:35 CET 2015


It's exactly the same as the sse2 version.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 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 b18de53..7f41061 100644
--- a/libavcodec/x86/proresdsp.asm
+++ b/libavcodec/x86/proresdsp.asm
@@ -301,8 +301,6 @@ cglobal prores_idct_put_10, 4, 4, 15
 
 INIT_XMM sse2
 idct_put_fn
-INIT_XMM sse4
-idct_put_fn
 %if HAVE_AVX_EXTERNAL
 INIT_XMM avx
 idct_put_fn
diff --git a/libavcodec/x86/proresdsp_init.c b/libavcodec/x86/proresdsp_init.c
index d647788..ead11ae 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;
-- 
2.3.2



More information about the ffmpeg-devel mailing list