forked from len0rd/rockbox
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
This commit is contained in:
parent
ac6ee9f899
commit
c8e7dae362
2 changed files with 2 additions and 2 deletions
|
|
@ -128,7 +128,7 @@ kiss_fft_state *opus_fft_alloc(int nfft,void * mem,size_t * lenmem);
|
||||||
f[k].r and f[k].i
|
f[k].r and f[k].i
|
||||||
* */
|
* */
|
||||||
void opus_fft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout);
|
void opus_fft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout);
|
||||||
void opus_ifft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout);
|
void opus_ifft(const kiss_fft_state *cfg,const kiss_fft_cpx *fin,kiss_fft_cpx *fout) ICODE_ATTR;
|
||||||
|
|
||||||
void opus_fft_free(const kiss_fft_state *cfg);
|
void opus_fft_free(const kiss_fft_state *cfg);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,6 @@ void clt_mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in,
|
||||||
(scales implicitly by 1/2) */
|
(scales implicitly by 1/2) */
|
||||||
void clt_mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in,
|
void clt_mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in,
|
||||||
kiss_fft_scalar * OPUS_RESTRICT out,
|
kiss_fft_scalar * OPUS_RESTRICT out,
|
||||||
const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride);
|
const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride) ICODE_ATTR;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue