summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libopus/celt/mdct.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2012-10-16 17:52:53 +0200
committerNils Wallménius <nils@rockbox.org>2012-10-16 17:52:53 +0200
commitc8e7dae362517489dc803a2ac3279aacefe0c3bc (patch)
tree365f5f751fa98e5db94af0056f0541a6d54b1072 /lib/rbcodec/codecs/libopus/celt/mdct.h
parentac6ee9f8996cc452bb6f63f23739651f09d1efcc (diff)
downloadrockbox-c8e7dae362517489dc803a2ac3279aacefe0c3bc.tar.gz
rockbox-c8e7dae362517489dc803a2ac3279aacefe0c3bc.zip
opus: put hot code in iram
Saves 1.1MHz decoding a 64kbps test file on h300 (cf) and 0.2MHz on c200 (pp) Change-Id: If9ed03f2e3787ee497eababda4013fbb5d395946
Diffstat (limited to 'lib/rbcodec/codecs/libopus/celt/mdct.h')
-rw-r--r--lib/rbcodec/codecs/libopus/celt/mdct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libopus/celt/mdct.h b/lib/rbcodec/codecs/libopus/celt/mdct.h
index d72182138a..1abc1d17f7 100644
--- a/lib/rbcodec/codecs/libopus/celt/mdct.h
+++ b/lib/rbcodec/codecs/libopus/celt/mdct.h
@@ -65,6 +65,6 @@ void clt_mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in,
65 (scales implicitly by 1/2) */ 65 (scales implicitly by 1/2) */
66void clt_mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in, 66void clt_mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in,
67 kiss_fft_scalar * OPUS_RESTRICT out, 67 kiss_fft_scalar * OPUS_RESTRICT out,
68 const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride); 68 const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride) ICODE_ATTR;
69 69
70#endif 70#endif