]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/fft.c
optimize imdct_half:
[ffmpeg] / libavcodec / fft.c
index c8acfc6017271c3d825319e4f941ea7ff400b2e0..b659de16a14bcc941b2cb1c0d459ba0295a07109 100644 (file)
@@ -106,6 +106,8 @@ int ff_fft_init(FFTContext *s, int nbits, int inverse)
         s->fft_calc = ff_fft_calc_3dn2;
     } else if (has_vectors & MM_3DNOW) {
         /* 3DNow! for K6-2/3 */
+        s->imdct_calc = ff_imdct_calc_3dn;
+        s->imdct_half = ff_imdct_half_3dn;
         s->fft_calc = ff_fft_calc_3dn;
     }
 #elif defined HAVE_ALTIVEC && !defined ALTIVEC_USE_REFERENCE_C_CODE