diff options
author | Dave Hooper <dave@beermex.com> | 2010-02-17 00:49:53 +0000 |
---|---|---|
committer | Dave Hooper <dave@beermex.com> | 2010-02-17 00:49:53 +0000 |
commit | 42774d3128b91d5a37344cb40d56d3c4d147e5f2 (patch) | |
tree | bf336b407992ec9a5e454556f3351e3f8a0d10de /apps/codecs/libcook/cook_fixpoint.h | |
parent | 62257ebc38bc0a3095b25dd0f58c4c8215edf602 (diff) | |
download | rockbox-42774d3128b91d5a37344cb40d56d3c4d147e5f2.tar.gz rockbox-42774d3128b91d5a37344cb40d56d3c4d147e5f2.zip |
Merge from branches/mdctexp - faster ifft+imdct in codec lib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24712 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libcook/cook_fixpoint.h')
-rw-r--r-- | apps/codecs/libcook/cook_fixpoint.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/codecs/libcook/cook_fixpoint.h b/apps/codecs/libcook/cook_fixpoint.h index b17d99eeeb..30e5a3eee2 100644 --- a/apps/codecs/libcook/cook_fixpoint.h +++ b/apps/codecs/libcook/cook_fixpoint.h | |||
@@ -165,15 +165,14 @@ static void scalar_dequant_math(COOKContext *q, int index, | |||
165 | * @param mlt_tmp pointer to temporary storage space | 165 | * @param mlt_tmp pointer to temporary storage space |
166 | */ | 166 | */ |
167 | #include "../lib/mdct_lookup.h" | 167 | #include "../lib/mdct_lookup.h" |
168 | #include "../lib/mdct2.h" | ||
169 | 168 | ||
170 | static inline void imlt_math(COOKContext *q, FIXP *in) | 169 | static inline void imlt_math(COOKContext *q, FIXP *in) |
171 | { | 170 | { |
172 | const int n = q->samples_per_channel; | 171 | const int n = q->samples_per_channel; |
173 | const int step = 2 << (10 - av_log2(n)); | 172 | const int step = 2 << (10 - av_log2(n)); |
174 | int i = 0, j = 0; | 173 | int i = 0, j = 0; |
175 | 174 | ||
176 | mdct_backward(2 * n, in, q->mono_mdct_output); | 175 | ff_imdct_calc(q->mdct_nbits, q->mono_mdct_output, in); |
177 | 176 | ||
178 | do { | 177 | do { |
179 | FIXP tmp = q->mono_mdct_output[i]; | 178 | FIXP tmp = q->mono_mdct_output[i]; |