shithub: opus

Download patch

ref: c232f65b9fb857f81410fed56bcfa01a271db960
parent: db7a0d6626b795357b2c21474187e27647ff21e8
author: Rhishikesh Agashe <[email protected]>
date: Thu Oct 8 02:12:43 EDT 2015

Adds "arch" argument to MIPS MDCT

Signed-off-by: Jean-Marc Valin <[email protected]>

--- 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 @@
       MULT16_32_Q15() on ARM. */
    int scale_shift = st->scale_shift-1;
 #endif
+
+    (void)arch;
+
    SAVE_STACK;
    scale = st->scale;
 
@@ -181,11 +184,13 @@
 
 #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;