diff --git a/silk/LPC_inv_pred_gain.c b/silk/LPC_inv_pred_gain.c index 87d9a49927346285cecb5e68afb8f533d38923ed..b5bd57171b5d9fe6f155ad1274d1cff753b3af23 100644 --- a/silk/LPC_inv_pred_gain.c +++ b/silk/LPC_inv_pred_gain.c @@ -139,23 +139,3 @@ opus_int32 silk_LPC_inverse_pred_gain( /* O Returns inverse predi } 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 diff --git a/silk/SigProc_FIX.h b/silk/SigProc_FIX.h index 6c33fef5cd61acf8f26106f0c9991939cc511d0c..43eeb3646935c9067e00769a05e33ee372d2b568 100644 --- a/silk/SigProc_FIX.h +++ b/silk/SigProc_FIX.h @@ -137,12 +137,6 @@ opus_int32 silk_LPC_inverse_pred_gain( /* O Returns inverse predi 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] */