Mercurial > libavcodec.hg
comparison nellymoserdec.c @ 7547:8226017a65ae libavcodec
mdct wrapper function to match fft
author | lorenm |
---|---|
date | Tue, 12 Aug 2008 00:38:30 +0000 |
parents | 97383e012cb9 |
children | ef9f95604644 |
comparison
equal
deleted
inserted
replaced
7546:97383e012cb9 | 7547:8226017a65ae |
---|---|
117 } | 117 } |
118 } | 118 } |
119 memset(&aptr[NELLY_FILL_LEN], 0, | 119 memset(&aptr[NELLY_FILL_LEN], 0, |
120 (NELLY_BUF_LEN - NELLY_FILL_LEN) * sizeof(float)); | 120 (NELLY_BUF_LEN - NELLY_FILL_LEN) * sizeof(float)); |
121 | 121 |
122 s->imdct_ctx.fft.imdct_calc(&s->imdct_ctx, s->imdct_out, aptr); | 122 ff_imdct_calc(&s->imdct_ctx, s->imdct_out, aptr); |
123 /* XXX: overlapping and windowing should be part of a more | 123 /* XXX: overlapping and windowing should be part of a more |
124 generic imdct function */ | 124 generic imdct function */ |
125 overlap_and_window(s, s->state, aptr, s->imdct_out); | 125 overlap_and_window(s, s->state, aptr, s->imdct_out); |
126 } | 126 } |
127 } | 127 } |