summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2009-08-16 04:05:40 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2009-08-16 04:05:40 +0000
commit3b81dd47497b39952cbcf110acaa59b192fdda1c (patch)
treecd653d180af793c6f5ebab11dd071ecfdab4044b
parent415546921b9640b7718e9553ce96be6698f0f830 (diff)
downloadrockbox-3b81dd47497b39952cbcf110acaa59b192fdda1c.tar.gz
rockbox-3b81dd47497b39952cbcf110acaa59b192fdda1c.tar.bz2
rockbox-3b81dd47497b39952cbcf110acaa59b192fdda1c.zip
Put QMF coefficients into IRAM. Update test program to still compile with IBSS_ATTR defined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22340 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libatrac/Makefile.test2
-rw-r--r--apps/codecs/libatrac/atrac3.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libatrac/Makefile.test b/apps/codecs/libatrac/Makefile.test
index 25843fdeac..5cc3d9d7d5 100644
--- a/apps/codecs/libatrac/Makefile.test
+++ b/apps/codecs/libatrac/Makefile.test
@@ -1,4 +1,4 @@
-CFLAGS = -Wall -O3 -I../lib -DTEST -D"DEBUGF=printf" -D"ROCKBOX_LITTLE_ENDIAN=1" -D"ICONST_ATTR=" -D"ICODE_ATTR="
+CFLAGS = -Wall -O3 -I../lib -DTEST -D"DEBUGF=printf" -D"ROCKBOX_LITTLE_ENDIAN=1" -D"ICONST_ATTR=" -D"ICODE_ATTR=" -D"IBSS_ATTR="
OBJS = atrac3.o ../lib/ffmpeg_bitstream.o ../librm/rm.o fixp_math.o ../lib/mdct2.o ../lib/mdct_lookup.o main.o
atractest: $(OBJS)
diff --git a/apps/codecs/libatrac/atrac3.c b/apps/codecs/libatrac/atrac3.c
index 2e4af2963d..8109a46276 100644
--- a/apps/codecs/libatrac/atrac3.c
+++ b/apps/codecs/libatrac/atrac3.c
@@ -64,7 +64,7 @@ static inline int16_t av_clip_int16(int a)
else return a;
}
-static int32_t qmf_window[48];
+static int32_t qmf_window[48] IBSS_ATTR;
static VLC spectral_coeff_tab[7];
static channel_unit channel_units[2];
/**