Remove silk_LPC_inverse_pred_gain_Q24() which is no longer used anywhere
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 10 Feb 2017 04:01:26 +0000 (23:01 -0500)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 10 Feb 2017 04:01:26 +0000 (23:01 -0500)
silk/LPC_inv_pred_gain.c
silk/SigProc_FIX.h

index 87d9a49..b5bd571 100644 (file)
@@ -139,23 +139,3 @@ opus_int32 silk_LPC_inverse_pred_gain(              /* O   Returns inverse predi
     }
     return LPC_inverse_pred_gain_QA( Atmp_QA, order );
 }
     }
     return LPC_inverse_pred_gain_QA( Atmp_QA, order );
 }
-
-#ifdef FIXED_POINT
-
-/* For input in Q24 domain */
-opus_int32 silk_LPC_inverse_pred_gain_Q24(          /* O    Returns inverse prediction gain in energy domain, Q30       */
-    const opus_int32            *A_Q24,             /* I    Prediction coefficients [order]                             */
-    const opus_int              order               /* I    Prediction order                                            */
-)
-{
-    opus_int   k;
-    opus_int32 Atmp_QA[ SILK_MAX_ORDER_LPC ];
-
-    /* Increase Q domain of the AR coefficients */
-    for( k = 0; k < order; k++ ) {
-        Atmp_QA[ k ] = silk_RSHIFT32( A_Q24[ k ], 24 - QA );
-    }
-
-    return LPC_inverse_pred_gain_QA( Atmp_QA, order );
-}
-#endif
index 6c33fef..43eeb36 100644 (file)
@@ -137,12 +137,6 @@ opus_int32 silk_LPC_inverse_pred_gain(              /* O   Returns inverse predi
     const opus_int              order               /* I   Prediction order                                             */
 );
 
     const opus_int              order               /* I   Prediction order                                             */
 );
 
-/* For input in Q24 domain */
-opus_int32 silk_LPC_inverse_pred_gain_Q24(          /* O    Returns inverse prediction gain in energy domain, Q30       */
-    const opus_int32            *A_Q24,             /* I    Prediction coefficients [order]                             */
-    const opus_int              order               /* I    Prediction order                                            */
-);
-
 /* Split signal in two decimated bands using first-order allpass filters */
 void silk_ana_filt_bank_1(
     const opus_int16            *in,                /* I    Input signal [N]                                            */
 /* Split signal in two decimated bands using first-order allpass filters */
 void silk_ana_filt_bank_1(
     const opus_int16            *in,                /* I    Input signal [N]                                            */