summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad/codebook/hcb_7.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-07-01 21:18:42 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-07-01 21:18:42 +0000
commit52f17dfe9d5221fdc83b2c5d719fe701dce46f24 (patch)
tree6fdecfc1e9560e2566214bc8336b401df02663bc /apps/codecs/libfaad/codebook/hcb_7.h
parentb013fb76c464b5125026b4d6c95c49a046d0924c (diff)
downloadrockbox-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_7.h')
-rw-r--r--apps/codecs/libfaad/codebook/hcb_7.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libfaad/codebook/hcb_7.h b/apps/codecs/libfaad/codebook/hcb_7.h
index c26a1a328f..3b378dc5cd 100644
--- a/apps/codecs/libfaad/codebook/hcb_7.h
+++ b/apps/codecs/libfaad/codebook/hcb_7.h
@@ -28,7 +28,7 @@
28/* Binary search huffman table HCB_7 */ 28/* Binary search huffman table HCB_7 */
29 29
30 30
31static hcb_bin_pair hcb7[] = { 31static hcb_bin_pair hcb7[] ICONST_ATTR_FAAD_LARGE_IRAM = {
32 { /* 0 */ 0, { 1, 2 } }, 32 { /* 0 */ 0, { 1, 2 } },
33 { /* 1 */ 1, { 0, 0 } }, 33 { /* 1 */ 1, { 0, 0 } },
34 { /* 2 */ 0, { 1, 2 } }, 34 { /* 2 */ 0, { 1, 2 } },