diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-03-11 20:58:38 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-03-11 20:58:38 +0000 |
commit | 263e4d5cbfc32eda780f8f9f35930e1ac2b5dada (patch) | |
tree | 86aeff9620542e5d811a5ddc8934cd5f85c993ca /apps/codecs/libmusepack/mpc_decoder.c | |
parent | 398ec5281786c571d75513a5cf404a2cddea92dc (diff) | |
download | rockbox-263e4d5cbfc32eda780f8f9f35930e1ac2b5dada.tar.gz rockbox-263e4d5cbfc32eda780f8f9f35930e1ac2b5dada.zip |
Minor optimization for musepack codec through moving functions to IRAM on PP processors. Speed ups codec by 0.25 MHzon PP5022.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25127 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmusepack/mpc_decoder.c')
-rw-r--r-- | apps/codecs/libmusepack/mpc_decoder.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/codecs/libmusepack/mpc_decoder.c b/apps/codecs/libmusepack/mpc_decoder.c index 5a78c943a6..3f8fbc7aad 100644 --- a/apps/codecs/libmusepack/mpc_decoder.c +++ b/apps/codecs/libmusepack/mpc_decoder.c @@ -115,10 +115,12 @@ enum //------------------------------------------------------------------------------ // forward declarations //------------------------------------------------------------------------------ -void mpc_decoder_read_bitstream_sv7(mpc_decoder * d, mpc_bits_reader * r); +void mpc_decoder_requantisierung (mpc_decoder *d) + ICODE_ATTR_MPC_LARGE_IRAM; +void mpc_decoder_read_bitstream_sv7(mpc_decoder * d, mpc_bits_reader * r) + ICODE_ATTR_MPC_LARGE_IRAM; void mpc_decoder_read_bitstream_sv8(mpc_decoder * d, mpc_bits_reader * r, mpc_bool_t is_key_frame); -static void mpc_decoder_requantisierung(mpc_decoder *d); /** * set the scf indexes for seeking use |