diff options
author | Mans Rullgard <mans@mansr.com> | 2011-03-19 15:14:17 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-03-19 19:49:18 +0000 |
commit | 26f548bb59177cfc8c45ff633dd37b60cfd23edf (patch) | |
tree | 1e2f6b7d04f8554c60eb4b562844f1cf21b64b9b /libavcodec/twinvq.c | |
parent | ec10a9ab461b26b96eff7bbbb8623f42d8ee04ad (diff) | |
download | ffmpeg-26f548bb59177cfc8c45ff633dd37b60cfd23edf.tar.gz |
fft: remove inline wrappers for function pointers
This removes the rather pointless wrappers (one not even inline)
for calling the fft_calc and related function pointers.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/twinvq.c')
-rw-r--r-- | libavcodec/twinvq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c index 66d3a9656b..275bf0aa66 100644 --- a/libavcodec/twinvq.c +++ b/libavcodec/twinvq.c @@ -608,6 +608,7 @@ static void dec_lpc_spectrum_inv(TwinContext *tctx, float *lsp, static void imdct_and_window(TwinContext *tctx, enum FrameType ftype, int wtype, float *in, float *prev, int ch) { + FFTContext *mdct = &tctx->mdct_ctx[ftype]; const ModeTab *mtab = tctx->mtab; int bsize = mtab->size / mtab->fmode[ftype].sub; int size = mtab->size; @@ -640,7 +641,7 @@ static void imdct_and_window(TwinContext *tctx, enum FrameType ftype, int wtype, wsize = types_sizes[wtype_to_wsize[sub_wtype]]; - ff_imdct_half(&tctx->mdct_ctx[ftype], buf1 + bsize*j, in + bsize*j); + mdct->imdct_half(mdct, buf1 + bsize*j, in + bsize*j); tctx->dsp.vector_fmul_window(out2, prev_buf + (bsize-wsize)/2, |