From 52f17dfe9d5221fdc83b2c5d719fe701dce46f24 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Thu, 1 Jul 2010 21:18:42 +0000 Subject: 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 --- apps/codecs/libfaad/codebook/hcb_6.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/codecs/libfaad/codebook/hcb_6.h') diff --git a/apps/codecs/libfaad/codebook/hcb_6.h b/apps/codecs/libfaad/codebook/hcb_6.h index 4df2380..9988133 100644 --- a/apps/codecs/libfaad/codebook/hcb_6.h +++ b/apps/codecs/libfaad/codebook/hcb_6.h @@ -33,7 +33,7 @@ * * Used to find offset into 2nd step table and number of extra bits to get */ -static hcb hcb6_1[] = { +static hcb hcb6_1[] ICONST_ATTR = { /* 4 bit codewords */ { /* 00000 */ 0, 0 }, { /* */ 0, 0 }, @@ -83,7 +83,7 @@ static hcb hcb6_1[] = { * * Gives size of codeword and actual data (x,y,v,w) */ -static hcb_2_pair hcb6_2[] = { +static hcb_2_pair hcb6_2[] ICONST_ATTR = { /* 4 bit codewords */ { 4, 0, 0 }, { 4, 1, 0 }, -- cgit v1.1