Renamed SKP_[u]int* to opus_[u]int*
[opus.git] / silk / silk_resampler_private.h
index fc97381..f69b8ea 100644 (file)
@@ -42,75 +42,75 @@ extern "C" {
 /* Description: Hybrid IIR/FIR polyphase implementation of resampling  */\r
 void silk_resampler_private_IIR_FIR(\r
        void                            *SS,                /* I/O: Resampler state                                             */\r
-       SKP_int16                                               out[],              /* O:       Output signal                                                   */\r
-       const SKP_int16                                 in[],               /* I:       Input signal                                                    */\r
-       SKP_int32                                           inLen                   /* I:       Number of input samples                                 */\r
+       opus_int16                                              out[],              /* O:       Output signal                                                   */\r
+       const opus_int16                                        in[],               /* I:       Input signal                                                    */\r
+       opus_int32                                          inLen                   /* I:       Number of input samples                                 */\r
 );\r
 \r
 /* Description: Hybrid IIR/FIR polyphase implementation of resampling  */\r
 void silk_resampler_private_down_FIR(\r
        void                            *SS,                /* I/O: Resampler state                                             */\r
-       SKP_int16                                               out[],              /* O:       Output signal                                                   */\r
-       const SKP_int16                                 in[],               /* I:       Input signal                                                    */\r
-       SKP_int32                                           inLen                   /* I:       Number of input samples                                 */\r
+       opus_int16                                              out[],              /* O:       Output signal                                                   */\r
+       const opus_int16                                        in[],               /* I:       Input signal                                                    */\r
+       opus_int32                                          inLen                   /* I:       Number of input samples                                 */\r
 );\r
 \r
 /* Copy */\r
 void silk_resampler_private_copy(\r
        void                            *SS,                /* I/O: Resampler state (unused)                            */\r
-       SKP_int16                                               out[],              /* O:       Output signal                                                   */\r
-       const SKP_int16                                 in[],               /* I:       Input signal                                                    */\r
-       SKP_int32                                           inLen                   /* I:       Number of input samples                                 */\r
+       opus_int16                                              out[],              /* O:       Output signal                                                   */\r
+       const opus_int16                                        in[],               /* I:       Input signal                                                    */\r
+       opus_int32                                          inLen                   /* I:       Number of input samples                                 */\r
 );\r
 \r
 /* Upsample by a factor 2, high quality */\r
 void silk_resampler_private_up2_HQ_wrapper(\r
        void                            *SS,                /* I/O: Resampler state (unused)                            */\r
-    SKP_int16                       *out,           /* O:   Output signal [ 2 * len ]               */\r
-    const SKP_int16                 *in,            /* I:   Input signal [ len ]                    */\r
-    SKP_int32                       len             /* I:   Number of input samples                 */\r
+    opus_int16                       *out,           /* O:   Output signal [ 2 * len ]               */\r
+    const opus_int16                 *in,            /* I:   Input signal [ len ]                    */\r
+    opus_int32                       len             /* I:   Number of input samples                 */\r
 );\r
 \r
 /* Upsample by a factor 2, high quality */\r
 void silk_resampler_private_up2_HQ(\r
-       SKP_int32                           *S,                     /* I/O: Resampler state [ 6 ]                                       */\r
-    SKP_int16                       *out,           /* O:   Output signal [ 2 * len ]               */\r
-    const SKP_int16                 *in,            /* I:   Input signal [ len ]                    */\r
-    SKP_int32                       len             /* I:   Number of input samples                 */\r
+       opus_int32                          *S,                     /* I/O: Resampler state [ 6 ]                                       */\r
+    opus_int16                       *out,           /* O:   Output signal [ 2 * len ]               */\r
+    const opus_int16                 *in,            /* I:   Input signal [ len ]                    */\r
+    opus_int32                       len             /* I:   Number of input samples                 */\r
 );\r
 \r
 /* Upsample 4x, low quality */\r
 void silk_resampler_private_up4(\r
-    SKP_int32                       *S,             /* I/O: State vector [ 2 ]                      */\r
-    SKP_int16                       *out,           /* O:   Output signal [ 4 * len ]               */\r
-    const SKP_int16                 *in,            /* I:   Input signal [ len ]                    */\r
-    SKP_int32                       len             /* I:   Number of input samples                 */\r
+    opus_int32                       *S,             /* I/O: State vector [ 2 ]                      */\r
+    opus_int16                       *out,           /* O:   Output signal [ 4 * len ]               */\r
+    const opus_int16                 *in,            /* I:   Input signal [ len ]                    */\r
+    opus_int32                       len             /* I:   Number of input samples                 */\r
 );\r
 \r
 /* Downsample 4x, low quality */\r
 void silk_resampler_private_down4(\r
-    SKP_int32                       *S,             /* I/O: State vector [ 2 ]                      */\r
-    SKP_int16                       *out,           /* O:   Output signal [ floor(len/2) ]          */\r
-    const SKP_int16                 *in,            /* I:   Input signal [ len ]                    */\r
-    SKP_int32                       inLen           /* I:   Number of input samples                 */\r
+    opus_int32                       *S,             /* I/O: State vector [ 2 ]                      */\r
+    opus_int16                       *out,           /* O:   Output signal [ floor(len/2) ]          */\r
+    const opus_int16                 *in,            /* I:   Input signal [ len ]                    */\r
+    opus_int32                       inLen           /* I:   Number of input samples                 */\r
 );\r
 \r
 /* Second order AR filter */\r
 void silk_resampler_private_AR2(\r
-       SKP_int32                                           S[],                    /* I/O: State vector [ 2 ]                              */\r
-       SKP_int32                                           out_Q8[],           /* O:   Output signal                                       */\r
-       const SKP_int16                             in[],                       /* I:   Input signal                                        */\r
-       const SKP_int16                             A_Q14[],            /* I:   AR coefficients, Q14                    */\r
-       SKP_int32                                       len                             /* I:   Signal length                                           */\r
+       opus_int32                                          S[],                    /* I/O: State vector [ 2 ]                              */\r
+       opus_int32                                          out_Q8[],           /* O:   Output signal                                       */\r
+       const opus_int16                                    in[],                       /* I:   Input signal                                        */\r
+       const opus_int16                                    A_Q14[],            /* I:   AR coefficients, Q14                    */\r
+       opus_int32                                      len                             /* I:   Signal length                                           */\r
 );\r
 \r
 /* Fourth order ARMA filter */\r
 void silk_resampler_private_ARMA4(\r
-       SKP_int32                                           S[],                    /* I/O: State vector [ 4 ]                              */\r
-       SKP_int16                                           out[],                  /* O:       Output signal                                       */\r
-       const SKP_int16                             in[],                       /* I:   Input signal                                        */\r
-       const SKP_int16                             Coef[],                 /* I:       ARMA coefficients [ 7 ]                 */\r
-       SKP_int32                                       len                             /* I:   Signal length                                           */\r
+       opus_int32                                          S[],                    /* I/O: State vector [ 4 ]                              */\r
+       opus_int16                                          out[],                  /* O:       Output signal                                       */\r
+       const opus_int16                                    in[],                       /* I:   Input signal                                        */\r
+       const opus_int16                                    Coef[],                 /* I:       ARMA coefficients [ 7 ]                 */\r
+       opus_int32                                      len                             /* I:   Signal length                                           */\r
 );\r
 \r
 \r