diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-07-01 21:18:42 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-07-01 21:18:42 +0000 |
commit | 52f17dfe9d5221fdc83b2c5d719fe701dce46f24 (patch) | |
tree | 6fdecfc1e9560e2566214bc8336b401df02663bc /apps/codecs/libfaad/codebook/hcb_2.h | |
parent | b013fb76c464b5125026b4d6c95c49a046d0924c (diff) | |
download | rockbox-52f17dfe9d5221fdc83b2c5d719fe701dce46f24.tar.gz rockbox-52f17dfe9d5221fdc83b2c5d719fe701dce46f24.zip |
Submit FS#11445. Speed up of faad (aac) decoder via several optimizations like refactoring some requantization routines, moving several arrays and code tables to IRAM, using an optimized swap32() function and inlining several huffman decoder functions. Decoding is sped up by ~10% (PP5002, PP5022, MCF5249) and ~22% (MCF5250).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27225 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libfaad/codebook/hcb_2.h')
-rw-r--r-- | apps/codecs/libfaad/codebook/hcb_2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libfaad/codebook/hcb_2.h b/apps/codecs/libfaad/codebook/hcb_2.h index bcc8857c15..15e7d57084 100644 --- a/apps/codecs/libfaad/codebook/hcb_2.h +++ b/apps/codecs/libfaad/codebook/hcb_2.h | |||
@@ -33,7 +33,7 @@ | |||
33 | * | 33 | * |
34 | * Used to find offset into 2nd step table and number of extra bits to get | 34 | * Used to find offset into 2nd step table and number of extra bits to get |
35 | */ | 35 | */ |
36 | static hcb hcb2_1[] = { | 36 | static hcb hcb2_1[] ICONST_ATTR_FAAD_LARGE_IRAM = { |
37 | { /* 00000 */ 0, 0 }, | 37 | { /* 00000 */ 0, 0 }, |
38 | { /* */ 0, 0 }, | 38 | { /* */ 0, 0 }, |
39 | { /* */ 0, 0 }, | 39 | { /* */ 0, 0 }, |
@@ -82,7 +82,7 @@ static hcb hcb2_1[] = { | |||
82 | * | 82 | * |
83 | * Gives size of codeword and actual data (x,y,v,w) | 83 | * Gives size of codeword and actual data (x,y,v,w) |
84 | */ | 84 | */ |
85 | static hcb_2_quad hcb2_2[] = { | 85 | static hcb_2_quad hcb2_2[] ICONST_ATTR_FAAD_LARGE_IRAM = { |
86 | /* 3 bit codeword */ | 86 | /* 3 bit codeword */ |
87 | { 3, 0, 0, 0, 0 }, | 87 | { 3, 0, 0, 0, 0 }, |
88 | 88 | ||