diff fft.c @ 10161:a349795e8dca libavcodec

Prepare for optimised forward MDCT implementations This adds a function pointer for forward MDCT to FFTContext and initialises it with the existing C function. ff_calc_mdct() is changed to an inline function calling the selected version as done for other fft/mdct functions.
author mru
date Fri, 11 Sep 2009 02:24:19 +0000
parents 7a63015e4627
children 8d369aee733f
line wrap: on
line diff
--- a/fft.c	Fri Sep 11 02:01:18 2009 +0000
+++ b/fft.c	Fri Sep 11 02:24:19 2009 +0000
@@ -86,6 +86,7 @@
     s->fft_calc    = ff_fft_calc_c;
     s->imdct_calc  = ff_imdct_calc_c;
     s->imdct_half  = ff_imdct_half_c;
+    s->mdct_calc   = ff_mdct_calc_c;
     s->exptab1     = NULL;
 
 #if HAVE_MMX && HAVE_YASM