summaryrefslogtreecommitdiffstats
path: root/apps/codecs/mpa.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-06-10 19:02:27 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-06-10 19:02:27 +0000
commit00e01e82cb6254aa864c66460b0829b452d2bc47 (patch)
tree27bd305c58d887fdbf50122f650c754401af4aa7 /apps/codecs/mpa.c
parent2c9f4fad72fe8245cb1250c8bd196ea520c17ee8 (diff)
downloadrockbox-00e01e82cb6254aa864c66460b0829b452d2bc47.tar.gz
rockbox-00e01e82cb6254aa864c66460b0829b452d2bc47.zip
Submit FS#11365. Speed up mp3 decoding on ARM processors. It is faster to use the C-implementation of dct32 compiled with -O1 as the asm implementation of dct32 compiled with -O2. Configuration for Coldfire processors is untouched. In the new configuration the stack of the COP decoding thread needs to be increased on dualcore targets. Speed is increasing by up to 0.9 MHz (-O2 against -O1 using eabi).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26746 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/mpa.c')
-rw-r--r--apps/codecs/mpa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c
index 2fa7d02bbd..6fea80807f 100644
--- a/apps/codecs/mpa.c
+++ b/apps/codecs/mpa.c
@@ -202,7 +202,7 @@ static void set_elapsed(struct mp3entry* id3)
* Run the synthesis filter on the COProcessor
*/
-static int mad_synth_thread_stack[DEFAULT_STACK_SIZE/sizeof(int)/2] IBSS_ATTR;
+static int mad_synth_thread_stack[DEFAULT_STACK_SIZE/sizeof(int)] IBSS_ATTR;
static const unsigned char * const mad_synth_thread_name = "mp3dec";
static unsigned int mad_synth_thread_id = 0;