[FFmpeg-cvslog] x86/proresdsp: remove ff_prores_idct_put_10_sse4

James Almer git at videolan.org
Mon Mar 16 05:53:41 CET 2015


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Mar 15 15:03:54 2015 -0300| [e8374d72027c0b3faa85c1e2cc69bfecb8c020c8] | committer: James Almer

x86/proresdsp: remove ff_prores_idct_put_10_sse4

It's exactly the same as the sse2 version.

Reviewed-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e8374d72027c0b3faa85c1e2cc69bfecb8c020c8
---

 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 752e504..632ece6 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 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;



More information about the ffmpeg-cvslog mailing list