summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/mdct.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libwmapro/mdct.c')
-rw-r--r--apps/codecs/libwmapro/mdct.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/libwmapro/mdct.c b/apps/codecs/libwmapro/mdct.c
index 9d0a59dc84..03e067fb30 100644
--- a/apps/codecs/libwmapro/mdct.c
+++ b/apps/codecs/libwmapro/mdct.c
@@ -121,7 +121,7 @@ av_cold int ff_mdct_init(FFTContext *s, int nbits, int inverse, double scale)
121 * @param output N/2 samples 121 * @param output N/2 samples
122 * @param input N/2 samples 122 * @param input N/2 samples
123 */ 123 */
124void ff_imdct_half_c(FFTContext *s, FFTSample *output, const FFTSample *input) 124void fff_imdct_half_c(FFTContext *s, FFTSample *output, const FFTSample *input)
125{ 125{
126 int k, n8, n4, n2, n, j; 126 int k, n8, n4, n2, n, j;
127 const uint16_t *revtab = s->revtab; 127 const uint16_t *revtab = s->revtab;
@@ -144,8 +144,8 @@ void ff_imdct_half_c(FFTContext *s, FFTSample *output, const FFTSample *input)
144 in1 += 2; 144 in1 += 2;
145 in2 -= 2; 145 in2 -= 2;
146 } 146 }
147 ff_fft_calc(s, z);
148 147
148 fff_fft_calc(s, z);
149 /* post rotation + reordering */ 149 /* post rotation + reordering */
150 for(k = 0; k < n8; k++) { 150 for(k = 0; k < n8; k++) {
151 FFTSample r0, i0, r1, i1; 151 FFTSample r0, i0, r1, i1;
@@ -170,7 +170,7 @@ void ff_imdct_calc_c(FFTContext *s, FFTSample *output, const FFTSample *input)
170 int n2 = n >> 1; 170 int n2 = n >> 1;
171 int n4 = n >> 2; 171 int n4 = n >> 2;
172 172
173 ff_imdct_half_c(s, output+n4, input); 173 fff_imdct_half_c(s, output+n4, input);
174 174
175 for(k = 0; k < n4; k++) { 175 for(k = 0; k < n4; k++) {
176 output[k] = -output[n2-k-1]; 176 output[k] = -output[n2-k-1];
@@ -211,7 +211,7 @@ void ff_mdct_calc_c(FFTContext *s, FFTSample *out, const FFTSample *input)
211 CMUL(x[j].re, x[j].im, re, im, -tcos[n8 + i], tsin[n8 + i]); 211 CMUL(x[j].re, x[j].im, re, im, -tcos[n8 + i], tsin[n8 + i]);
212 } 212 }
213 213
214 ff_fft_calc(s, x); 214 fff_fft_calc(s, x);
215 215
216 /* post rotation */ 216 /* post rotation */
217 for(i=0;i<n8;i++) { 217 for(i=0;i<n8;i++) {