diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2009-07-17 23:53:40 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2009-07-17 23:53:40 +0000 |
commit | b957f7214be31bc5752625f9b9d60f96a77a9e34 (patch) | |
tree | 35987cd27988c0442dcb234912d3fb59468f5aad /apps/codecs/lib/mdct2.c | |
parent | c247483ef18360668c997ab64dc7345eaf65209c (diff) |
Rearrange the MDCT library lookup tables so that codecs can access them. Access them in cook. Remove old cook trig tables. Replace old 32x16 bit fixed point multiply code with faster ASM ARM/Coldfire versions using full 32 bit precision. Improves performance signficantly on PP5024 (~200% realtime for a 64k file) while saving a lot of memory and improving accuracy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21939 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/lib/mdct2.c')
-rw-r--r-- | apps/codecs/lib/mdct2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/lib/mdct2.c b/apps/codecs/lib/mdct2.c index c38f92db2c..7c448e1a01 100644 --- a/apps/codecs/lib/mdct2.c +++ b/apps/codecs/lib/mdct2.c @@ -362,7 +362,7 @@ void mdct_backward(int n, int32_t *in, int32_t *out) { int step; for (shift=6;!(n&(1<<shift));shift++); shift=13-shift; - step=2<<shift; + step=2<<shift; /* rotate */ |