diff options
author | Nils Wallménius <nils@rockbox.org> | 2012-10-17 20:53:04 +0200 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2012-10-17 20:55:49 +0200 |
commit | bc6c08c4b9d9dd3dbe1b68c26eec891d2c96f1b1 (patch) | |
tree | da33d44d7dbb6b6f0ca7b6bff4df8f59ec8ac94f /lib/rbcodec/codecs/libopus/celt | |
parent | 3fea2c7e8409180624be3345f38d770dd06a1449 (diff) | |
download | rockbox-bc6c08c4b9d9dd3dbe1b68c26eec891d2c96f1b1.tar.gz rockbox-bc6c08c4b9d9dd3dbe1b68c26eec891d2c96f1b1.zip |
opus: only put the mdct function in iram for cf,
doesn't make any speed diff on pp
Change-Id: Ia6484e2a2bbf72d33a583470918c0fa267fd9b97
Diffstat (limited to 'lib/rbcodec/codecs/libopus/celt')
-rw-r--r-- | lib/rbcodec/codecs/libopus/celt/mdct.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libopus/celt/mdct.h b/lib/rbcodec/codecs/libopus/celt/mdct.h index 1abc1d17f7..933aafcda1 100644 --- a/lib/rbcodec/codecs/libopus/celt/mdct.h +++ b/lib/rbcodec/codecs/libopus/celt/mdct.h | |||
@@ -61,10 +61,15 @@ void clt_mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in, | |||
61 | kiss_fft_scalar * OPUS_RESTRICT out, | 61 | kiss_fft_scalar * OPUS_RESTRICT out, |
62 | const opus_val16 *window, int overlap, int shift, int stride); | 62 | const opus_val16 *window, int overlap, int shift, int stride); |
63 | 63 | ||
64 | #if defined(CPU_COLDFIRE) | ||
65 | #define MDCT_ICODE ICODE_ATTR | ||
66 | #else | ||
67 | #define MDCT_ICODE | ||
68 | #endif | ||
64 | /** Compute a backward MDCT (no scaling) and performs weighted overlap-add | 69 | /** Compute a backward MDCT (no scaling) and performs weighted overlap-add |
65 | (scales implicitly by 1/2) */ | 70 | (scales implicitly by 1/2) */ |
66 | void clt_mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in, | 71 | void clt_mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in, |
67 | kiss_fft_scalar * OPUS_RESTRICT out, | 72 | kiss_fft_scalar * OPUS_RESTRICT out, |
68 | const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride) ICODE_ATTR; | 73 | const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride); |
69 | 74 | ||
70 | #endif | 75 | #endif |