summaryrefslogtreecommitdiff
path: root/apps/codecs/libspeex/window.c
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2007-07-09 11:18:10 +0000
committerDan Everton <dan@iocaine.org>2007-07-09 11:18:10 +0000
commit07fabd1cd1f2173d93cb1b3962da7d11ca80c569 (patch)
tree2a24deacde8e70f1da71aa1a53b8f0832fa3d6f3 /apps/codecs/libspeex/window.c
parent85aa3a8d381ac980b49699d49234e4df051813e5 (diff)
downloadrockbox-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/window.c')
-rw-r--r--apps/codecs/libspeex/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libspeex/window.c b/apps/codecs/libspeex/window.c
index 55ceadf5b8..41757ff0d0 100644
--- a/apps/codecs/libspeex/window.c
+++ b/apps/codecs/libspeex/window.c
@@ -36,7 +36,7 @@
36#include "misc.h" 36#include "misc.h"
37 37
38#ifdef FIXED_POINT 38#ifdef FIXED_POINT
39const spx_word16_t lpc_window[200] = { 39const spx_word16_t lpc_window[200] ICONST_ATTR = {
401310, 1313, 1321, 1333, 1352, 1375, 1403, 1436, 401310, 1313, 1321, 1333, 1352, 1375, 1403, 1436,
411475, 1518, 1567, 1621, 1679, 1743, 1811, 1884, 411475, 1518, 1567, 1621, 1679, 1743, 1811, 1884,
421962, 2044, 2132, 2224, 2320, 2421, 2526, 2636, 421962, 2044, 2132, 2224, 2320, 2421, 2526, 2636,