diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2008-09-20 22:06:12 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2008-09-20 22:06:12 +0000 |
commit | 4e36a2b991d58a40d7ea12c9bf41e93736b8b024 (patch) | |
tree | e26deeca8209a689bfebfcca18c4dad028d70260 /apps/codecs/libmad/layer3.c | |
parent | 3d0d6d6bb25eb933d60ca5451b170eaae17dbb65 (diff) | |
download | rockbox-4e36a2b991d58a40d7ea12c9bf41e93736b8b024.tar.gz rockbox-4e36a2b991d58a40d7ea12c9bf41e93736b8b024.zip |
Commit FS#9318 - MP3 synthesis filter on COP. Loads the MP3 synth filer on to the CoProcessor on all PortalPlayer devices, resulting in an ~90% speedup according to test_codec on the Sansa. Real world improvement is somewhat less, but still considerable. Allows MP3 decoding at 30MHz without boosting, or use of more DSP/EQ with less boosting/skipping, thus improving battery life. Minor changes to mpegplayer to retain compatibility with libmad changes. Should be no significant changes for other targets or codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18557 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmad/layer3.c')
-rw-r--r-- | apps/codecs/libmad/layer3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libmad/layer3.c b/apps/codecs/libmad/layer3.c index a95927e10f..0a53086d78 100644 --- a/apps/codecs/libmad/layer3.c +++ b/apps/codecs/libmad/layer3.c @@ -3112,7 +3112,7 @@ enum mad_error III_decode(struct mad_bitptr *ptr, struct mad_frame *frame, for (ch = 0; ch < nch; ++ch) { struct channel const *channel = &granule->ch[ch]; - mad_fixed_t (*sample)[32] = &frame->sbsample[ch][18 * gr]; + mad_fixed_t (*sample)[32] = &((*frame->sbsample)[ch][18 * gr]); unsigned int sb, l, i, sblimit; mad_fixed_t output[36]; |