diff options
author | Måns Rullgård <mans@mansr.com> | 2009-09-11 02:24:19 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-09-11 02:24:19 +0000 |
commit | 46c32e2654ddeea14edf398a2d4225d46335dc90 (patch) | |
tree | 40a1fbef8d6c05bb9a8f0ba5767a3d1b81b83f32 /libavcodec/fft.c | |
parent | 750f5034cf4d0dbe54aed917972f9c3f7a2cebbd (diff) | |
download | ffmpeg-46c32e2654ddeea14edf398a2d4225d46335dc90.tar.gz |
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.
Originally committed as revision 19818 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/fft.c')
-rw-r--r-- | libavcodec/fft.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/fft.c b/libavcodec/fft.c index c030534e2d..7f348a6c85 100644 --- a/libavcodec/fft.c +++ b/libavcodec/fft.c @@ -86,6 +86,7 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse) 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 |