From c232f65b9fb857f81410fed56bcfa01a271db960 Mon Sep 17 00:00:00 2001 From: Rhishikesh Agashe Date: Thu, 8 Oct 2015 06:12:43 -0400 Subject: Adds "arch" argument to MIPS MDCT Signed-off-by: Jean-Marc Valin --- celt/mips/mdct_mipsr1.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/celt/mips/mdct_mipsr1.h b/celt/mips/mdct_mipsr1.h index 52e268d4..2934dab7 100644 --- a/celt/mips/mdct_mipsr1.h +++ b/celt/mips/mdct_mipsr1.h @@ -58,7 +58,7 @@ /* Forward MDCT trashes the input array */ #define OVERRIDE_clt_mdct_forward void clt_mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in, 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, int arch) { int i; int N, N2, N4; @@ -72,6 +72,9 @@ void clt_mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar MULT16_32_Q15() on ARM. */ int scale_shift = st->scale_shift-1; #endif + + (void)arch; + SAVE_STACK; scale = st->scale; @@ -181,12 +184,14 @@ void clt_mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar #define OVERRIDE_clt_mdct_backward void clt_mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in, 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, int arch) { int i; int N, N2, N4; const kiss_twiddle_scalar *trig; + (void)arch; + N = l->n; trig = l->trig; for (i=0;i