[SCM] libav/experimental: slightly faster ff_imdct_calc_3dn2() on amd64. (gcc added a bunch of useless movsxd)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:49:51 UTC 2013


The following commit has been merged in the experimental branch:
commit 1b87c402450b6ad942431f83e56748eef05769fa
Author: Loren Merritt <lorenm at u.washington.edu>
Date:   Tue Aug 8 21:47:11 2006 +0000

    slightly faster ff_imdct_calc_3dn2() on amd64. (gcc added a bunch of useless movsxd)
    
    Originally committed as revision 5962 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/i386/fft_3dn2.c b/libavcodec/i386/fft_3dn2.c
index 40ec9d8..80dece7 100644
--- a/libavcodec/i386/fft_3dn2.c
+++ b/libavcodec/i386/fft_3dn2.c
@@ -138,7 +138,7 @@ void ff_fft_calc_3dn2(FFTContext *s, FFTComplex *z)
 void ff_imdct_calc_3dn2(MDCTContext *s, FFTSample *output,
                         const FFTSample *input, FFTSample *tmp)
 {
-    int k, n8, n4, n2, n;
+    long k, n8, n4, n2, n;
     const uint16_t *revtab = s->fft.revtab;
     const FFTSample *tcos = s->tcos;
     const FFTSample *tsin = s->tsin;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list