[FFmpeg-cvslog] avcodec/x86/dsputil_init: remove duplicated sse2 idct init

Michael Niedermayer git at videolan.org
Tue Oct 15 09:33:10 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct 15 01:59:36 2013 +0200| [ab8cbfe0dd7759b74ded030bb3a704ab5e7603ad] | committer: Michael Niedermayer

avcodec/x86/dsputil_init: remove duplicated sse2 idct init

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/x86/dsputil_init.c |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/libavcodec/x86/dsputil_init.c b/libavcodec/x86/dsputil_init.c
index 616cffc..6377c6c 100644
--- a/libavcodec/x86/dsputil_init.c
+++ b/libavcodec/x86/dsputil_init.c
@@ -693,12 +693,7 @@ av_cold void ff_dsputil_init_x86(DSPContext *c, AVCodecContext *avctx)
                 c->idct                  = ff_simple_idct_mmx;
                 c->idct_permutation_type = FF_SIMPLE_IDCT_PERM;
             } else if (idct_algo == FF_IDCT_XVIDMMX) {
-                if (X86_SSE2(cpu_flags)) {
-                    c->idct_put              = ff_idct_xvid_sse2_put;
-                    c->idct_add              = ff_idct_xvid_sse2_add;
-                    c->idct                  = ff_idct_xvid_sse2;
-                    c->idct_permutation_type = FF_SSE2_IDCT_PERM;
-                } else if (X86_MMXEXT(cpu_flags)) {
+                if (X86_MMXEXT(cpu_flags)) {
                     c->idct_put              = ff_idct_xvid_mmxext_put;
                     c->idct_add              = ff_idct_xvid_mmxext_add;
                     c->idct                  = ff_idct_xvid_mmxext;



More information about the ffmpeg-cvslog mailing list