From 7664d811a8cd9ef4f9a593ce2a9bf731e87e2040 Mon Sep 17 00:00:00 2001
From: Jean-Marc Valin <jmvalin@jmvalin.ca>
Date: Sat, 29 Oct 2011 02:15:38 -0400
Subject: [PATCH] Removes unused order 14 in silk_LPC_analysis_filter_FLP()

---
 silk/float/LPC_analysis_filter_FLP.c | 40 ----------------------------
 1 file changed, 40 deletions(-)

diff --git a/silk/float/LPC_analysis_filter_FLP.c b/silk/float/LPC_analysis_filter_FLP.c
index 1413ff5a4..11980300c 100644
--- a/silk/float/LPC_analysis_filter_FLP.c
+++ b/silk/float/LPC_analysis_filter_FLP.c
@@ -77,42 +77,6 @@ static inline void silk_LPC_analysis_filter16_FLP(
     }
 }
 
-/* 14th order LPC analysis filter, does not write first 14 samples */
-static inline void silk_LPC_analysis_filter14_FLP(
-          silk_float                 r_LPC[],            /* O    LPC residual signal                     */
-    const silk_float                 PredCoef[],         /* I    LPC coefficients                        */
-    const silk_float                 s[],                /* I    Input signal                            */
-    const opus_int                   length              /* I    Length of input signal                  */
-)
-{
-    opus_int   ix;
-    silk_float LPC_pred;
-    const silk_float *s_ptr;
-
-    for( ix = 14; ix < length; ix++ ) {
-        s_ptr = &s[ix - 1];
-
-        /* short-term prediction */
-        LPC_pred = s_ptr[  0 ]  * PredCoef[ 0 ]  +
-                   s_ptr[ -1 ]  * PredCoef[ 1 ]  +
-                   s_ptr[ -2 ]  * PredCoef[ 2 ]  +
-                   s_ptr[ -3 ]  * PredCoef[ 3 ]  +
-                   s_ptr[ -4 ]  * PredCoef[ 4 ]  +
-                   s_ptr[ -5 ]  * PredCoef[ 5 ]  +
-                   s_ptr[ -6 ]  * PredCoef[ 6 ]  +
-                   s_ptr[ -7 ]  * PredCoef[ 7 ]  +
-                   s_ptr[ -8 ]  * PredCoef[ 8 ]  +
-                   s_ptr[ -9 ]  * PredCoef[ 9 ]  +
-                   s_ptr[ -10 ] * PredCoef[ 10 ] +
-                   s_ptr[ -11 ] * PredCoef[ 11 ] +
-                   s_ptr[ -12 ] * PredCoef[ 12 ] +
-                   s_ptr[ -13 ] * PredCoef[ 13 ];
-
-        /* prediction error */
-        r_LPC[ix] = s_ptr[ 1 ] - LPC_pred;
-    }
-}
-
 /* 12th order LPC analysis filter, does not write first 12 samples */
 static inline void silk_LPC_analysis_filter12_FLP(
           silk_float                 r_LPC[],            /* O    LPC residual signal                     */
@@ -270,10 +234,6 @@ void silk_LPC_analysis_filter_FLP(
             silk_LPC_analysis_filter12_FLP( r_LPC, PredCoef, s, length );
         break;
 
-        case 14:
-            silk_LPC_analysis_filter14_FLP( r_LPC, PredCoef, s, length );
-        break;
-
         case 16:
             silk_LPC_analysis_filter16_FLP( r_LPC, PredCoef, s, length );
         break;
-- 
GitLab