diff options
author | Dan Everton <dan@iocaine.org> | 2007-07-09 11:18:10 +0000 |
---|---|---|
committer | Dan Everton <dan@iocaine.org> | 2007-07-09 11:18:10 +0000 |
commit | 07fabd1cd1f2173d93cb1b3962da7d11ca80c569 (patch) | |
tree | 2a24deacde8e70f1da71aa1a53b8f0832fa3d6f3 /apps/codecs/libspeex/exc_20_32_table.c | |
parent | 85aa3a8d381ac980b49699d49234e4df051813e5 (diff) | |
download | rockbox-07fabd1cd1f2173d93cb1b3962da7d11ca80c569.tar.gz rockbox-07fabd1cd1f2173d93cb1b3962da7d11ca80c569.zip |
ICONST_ATTR most constant tables in Speex. Results in a 10% improvement on Coldfire (200% to 220% realtime). Almost certainly not the best use of IRAM, but it works now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/exc_20_32_table.c')
-rw-r--r-- | apps/codecs/libspeex/exc_20_32_table.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/libspeex/exc_20_32_table.c b/apps/codecs/libspeex/exc_20_32_table.c index e4098b8d1c..fff3bed944 100644 --- a/apps/codecs/libspeex/exc_20_32_table.c +++ b/apps/codecs/libspeex/exc_20_32_table.c | |||
@@ -30,8 +30,9 @@ | |||
30 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 30 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
31 | */ | 31 | */ |
32 | 32 | ||
33 | #include "config-speex.h" | ||
33 | 34 | ||
34 | const signed char exc_20_32_table[640] = { | 35 | const signed char exc_20_32_table[640] ICONST_ATTR = { |
35 | 12,32,25,46,36,33,9,14,-3,6,1,-8,0,-10,-5,-7,-7,-7,-5,-5, | 36 | 12,32,25,46,36,33,9,14,-3,6,1,-8,0,-10,-5,-7,-7,-7,-5,-5, |
36 | 31,-27,24,-32,-4,10,-11,21,-3,19,23,-9,22,24,-10,-1,-10,-13,-7,-11, | 37 | 31,-27,24,-32,-4,10,-11,21,-3,19,23,-9,22,24,-10,-1,-10,-13,-7,-11, |
37 | 42,-33,31,19,-8,0,-10,-16,1,-21,-17,10,-8,14,8,4,11,-2,5,-2, | 38 | 42,-33,31,19,-8,0,-10,-16,1,-21,-17,10,-8,14,8,4,11,-2,5,-2, |