Lines Matching refs:ener
151 FIXP_DBL tmp, ener, corr, gain; in bass_pf_1sf_delay() local
185 ener = (FIXP_DBL)0; in bass_pf_1sf_delay()
195 ener += fPow2Div2((x[i] << headroom_x)) >> width_shift; in bass_pf_1sf_delay()
208 ener = fAddNorm(ener, exp_ener, point_zero_one, -6, &exp_ener); in bass_pf_1sf_delay()
214 s1 = CntLeadingZeros(ener) - 1; in bass_pf_1sf_delay()
217 FIXP_DBL ener_by_tmp = fMultDiv2(ener << s1, tmp << s2); in bass_pf_1sf_delay()
269 ener = (FIXP_DBL)0; in bass_pf_1sf_delay()
272 ener += fPow2Div2(syn[i + i_subfr + T] << s2) >> (SF_PITCH_TRACK); in bass_pf_1sf_delay()
275 ener = ener >> fMin(DFRACT_BITS - 1, (2 * (s2 - s))); in bass_pf_1sf_delay()
281 if (ener <= (FIXP_DBL)0) { in bass_pf_1sf_delay()
282 ener = (FIXP_DBL)1; in bass_pf_1sf_delay()
287 FDK_ASSERT(ener > (FIXP_DBL)0); in bass_pf_1sf_delay()
291 tmp1 = fDivNorm(tmp, ener, &result_e); in bass_pf_1sf_delay()