Home
last modified time | relevance | path

Searched refs:LPC_LTP_res_nrg (Results 1 – 2 of 2) sorted by relevance

/external/libopus/silk/float/
Dfind_LTP_FLP.c49 silk_float LPC_res_nrg, LPC_LTP_res_nrg; in silk_find_LTP_FLP() local
86 LPC_LTP_res_nrg = 1e-6f; in silk_find_LTP_FLP()
90 LPC_LTP_res_nrg += nrg[ k ] * Wght[ k ]; in silk_find_LTP_FLP()
93 silk_assert( LPC_LTP_res_nrg > 0 ); in silk_find_LTP_FLP()
94 *LTPredCodGain = 3.0f * silk_log2( LPC_res_nrg / LPC_LTP_res_nrg ); in silk_find_LTP_FLP()
/external/libopus/silk/fixed/
Dfind_LTP_FIX.c68 opus_int32 LPC_res_nrg, LPC_LTP_res_nrg, div_Q16; in silk_find_LTP_FIX() local
147 LPC_LTP_res_nrg = 0; in silk_find_LTP_FIX()
152LPC_LTP_res_nrg = silk_ADD32( LPC_LTP_res_nrg, silk_RSHIFT( silk_ADD32( silk_SMULWB( nrg[ k ], Wgh… in silk_find_LTP_FIX()
154 LPC_LTP_res_nrg = silk_max( LPC_LTP_res_nrg, 1 ); /* avoid division by zero */ in silk_find_LTP_FIX()
156 div_Q16 = silk_DIV32_varQ( LPC_res_nrg, LPC_LTP_res_nrg, 16 ); in silk_find_LTP_FIX()