summaryrefslogtreecommitdiff
path: root/apps/codecs/libspeex/gain_table.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/gain_table.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/gain_table.c')
-rw-r--r--apps/codecs/libspeex/gain_table.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/codecs/libspeex/gain_table.c b/apps/codecs/libspeex/gain_table.c
index 00b8244259..7d222450e1 100644
--- a/apps/codecs/libspeex/gain_table.c
+++ b/apps/codecs/libspeex/gain_table.c
@@ -29,7 +29,9 @@
29 POSSIBILITY OF SUCH DAMAGE. 29 POSSIBILITY OF SUCH DAMAGE.
30*/ 30*/
31 31
32const signed char gain_cdbk_nb[512] = { 32#include "config-speex.h"
33
34const signed char gain_cdbk_nb[512] ICONST_ATTR = {
33-32, -32, -32, 0, 35-32, -32, -32, 0,
34-28, -67, -5, 33, 36-28, -67, -5, 33,
35-42, -6, -32, 18, 37-42, -6, -32, 18,