Update SILK code using the CELT range coder
[opus.git] / src_SigProc_FIX / SKP_Silk_burg_modified.c
similarity index 95%
rename from src/SKP_Silk_burg_modified.c
rename to src_SigProc_FIX/SKP_Silk_burg_modified.c
index 1ac47dc..281001a 100644 (file)
@@ -61,12 +61,12 @@ void SKP_Silk_burg_modified(
     SKP_int32       C0, num, nrg, rc_Q31, Atmp_QA, Atmp1, tmp1, tmp2, x1, x2;\r
     const SKP_int16 *x_ptr;\r
 \r
-    SKP_int32       C_first_row[ SigProc_MAX_ORDER_LPC ];\r
-    SKP_int32       C_last_row[  SigProc_MAX_ORDER_LPC ];\r
-    SKP_int32       Af_QA[       SigProc_MAX_ORDER_LPC ];\r
+    SKP_int32       C_first_row[ SKP_Silk_MAX_ORDER_LPC ];\r
+    SKP_int32       C_last_row[  SKP_Silk_MAX_ORDER_LPC ];\r
+    SKP_int32       Af_QA[       SKP_Silk_MAX_ORDER_LPC ];\r
 \r
-    SKP_int32       CAf[ SigProc_MAX_ORDER_LPC + 1 ];\r
-    SKP_int32       CAb[ SigProc_MAX_ORDER_LPC + 1 ];\r
+    SKP_int32       CAf[ SKP_Silk_MAX_ORDER_LPC + 1 ];\r
+    SKP_int32       CAb[ SKP_Silk_MAX_ORDER_LPC + 1 ];\r
 \r
     SKP_assert( subfr_length * nb_subfr <= MAX_FRAME_SIZE );\r
     SKP_assert( nb_subfr <= MAX_NB_SUBFR );\r
@@ -90,7 +90,7 @@ void SKP_Silk_burg_modified(
         }\r
         rshifts += rshifts_extra;\r
     }\r
-    SKP_memset( C_first_row, 0, SigProc_MAX_ORDER_LPC * sizeof( SKP_int32 ) );\r
+    SKP_memset( C_first_row, 0, SKP_Silk_MAX_ORDER_LPC * sizeof( SKP_int32 ) );\r
     if( rshifts > 0 ) {\r
         for( s = 0; s < nb_subfr; s++ ) {\r
             x_ptr = x + s * subfr_length;\r
@@ -108,7 +108,7 @@ void SKP_Silk_burg_modified(
             }\r
         }\r
     }\r
-    SKP_memcpy( C_last_row, C_first_row, SigProc_MAX_ORDER_LPC * sizeof( SKP_int32 ) );\r
+    SKP_memcpy( C_last_row, C_first_row, SKP_Silk_MAX_ORDER_LPC * sizeof( SKP_int32 ) );\r
     \r
     /* Initialize */\r
     CAb[ 0 ] = CAf[ 0 ] = C0 + SKP_SMMUL( WhiteNoiseFrac_Q32, C0 ) + 1;         // Q(-rshifts)\r