1
0
Fork 0
forked from len0rd/rockbox

opus: only put the mdct function in iram for cf,

doesn't make any speed diff on pp

Change-Id: Ia6484e2a2bbf72d33a583470918c0fa267fd9b97
This commit is contained in:
Nils Wallménius 2012-10-17 20:53:04 +02:00
parent 3fea2c7e84
commit bc6c08c4b9

View file

@ -61,10 +61,15 @@ void clt_mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in,
kiss_fft_scalar * OPUS_RESTRICT out, kiss_fft_scalar * OPUS_RESTRICT out,
const opus_val16 *window, int overlap, int shift, int stride); const opus_val16 *window, int overlap, int shift, int stride);
#if defined(CPU_COLDFIRE)
#define MDCT_ICODE ICODE_ATTR
#else
#define MDCT_ICODE
#endif
/** Compute a backward MDCT (no scaling) and performs weighted overlap-add /** Compute a backward MDCT (no scaling) and performs weighted overlap-add
(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) ICODE_ATTR; const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride);
#endif #endif