diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2008-08-12 00:38:30 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2008-08-12 00:38:30 +0000 |
commit | d46ac5bfde98b57265de4aaf994e1690afa5d5b5 (patch) | |
tree | 483b38b640129a8c5e45f6d28a21e48de78155b4 /libavcodec/mdct.c | |
parent | 0a570e826d7cb6602219236e20a15d85ab68b073 (diff) | |
download | ffmpeg-d46ac5bfde98b57265de4aaf994e1690afa5d5b5.tar.gz |
mdct wrapper function to match fft
Originally committed as revision 14703 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mdct.c')
-rw-r--r-- | libavcodec/mdct.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mdct.c b/libavcodec/mdct.c index e8fd68228d..f4e2a93a6a 100644 --- a/libavcodec/mdct.c +++ b/libavcodec/mdct.c @@ -106,7 +106,7 @@ int ff_mdct_init(MDCTContext *s, int nbits, int inverse) * @param output N/2 samples * @param input N/2 samples */ -void ff_imdct_half(MDCTContext *s, FFTSample *output, const FFTSample *input) +void ff_imdct_half_c(MDCTContext *s, FFTSample *output, const FFTSample *input) { int k, n8, n4, n2, n, j; const uint16_t *revtab = s->fft.revtab; @@ -150,14 +150,14 @@ void ff_imdct_half(MDCTContext *s, FFTSample *output, const FFTSample *input) * @param input N/2 samples * @param tmp N/2 samples */ -void ff_imdct_calc(MDCTContext *s, FFTSample *output, const FFTSample *input) +void ff_imdct_calc_c(MDCTContext *s, FFTSample *output, const FFTSample *input) { int k; int n = 1 << s->nbits; int n2 = n >> 1; int n4 = n >> 2; - ff_imdct_half(s, output+n4, input); + ff_imdct_half_c(s, output+n4, input); for(k = 0; k < n4; k++) { output[k] = -output[n2-k-1]; |