Lines Matching refs:exp_diff
157 WORD32 exp_diff; in ixheaacd_alias_reduction() local
161 exp_diff = (grp_gain_exp - tmp_gain_exp); in ixheaacd_alias_reduction()
163 if (exp_diff >= 0) { in ixheaacd_alias_reduction()
165 tmp_gain_mant = ixheaacd_shr32(tmp_gain_mant, exp_diff); in ixheaacd_alias_reduction()
171 (ixheaacd_shr32(gain_m, (15 - exp_diff))) + tmp_gain_mant; in ixheaacd_alias_reduction()
181 WORD32 exp_diff; in ixheaacd_alias_reduction() local
182 exp_diff = tmp_e - nrg_mod_exp; in ixheaacd_alias_reduction()
183 if (exp_diff >= 0) { in ixheaacd_alias_reduction()
184 nrg_mod_mant = tmp_mant + (ixheaacd_shr32(nrg_mod_mant, exp_diff)); in ixheaacd_alias_reduction()
187 exp_diff = -exp_diff; in ixheaacd_alias_reduction()
188 nrg_mod_mant = (ixheaacd_shr32(tmp_mant, exp_diff)) + nrg_mod_mant; in ixheaacd_alias_reduction()
324 WORD32 exp_diff; in ixheaacd_noiselimiting() local
325 exp_diff = tmp_e - accu_e_t; in ixheaacd_noiselimiting()
326 if (exp_diff >= 0) { in ixheaacd_noiselimiting()
327 accu_m_t = tmp_mant + ixheaacd_shr32(accu_m_t, exp_diff); in ixheaacd_noiselimiting()
330 exp_diff = -exp_diff; in ixheaacd_noiselimiting()
331 accu_m_t = ixheaacd_shr32(tmp_mant, exp_diff) + accu_m_t; in ixheaacd_noiselimiting()
336 WORD32 exp_diff = p_nrg_sine[1] - accu_e_t; in ixheaacd_noiselimiting() local
337 if (exp_diff >= 0) { in ixheaacd_noiselimiting()
338 accu_m_t = p_nrg_sine[0] + ixheaacd_shr32(accu_m_t, exp_diff); in ixheaacd_noiselimiting()
341 exp_diff = -exp_diff; in ixheaacd_noiselimiting()
342 accu_m_t = accu_m_t + ixheaacd_shr32(p_nrg_sine[0], exp_diff); in ixheaacd_noiselimiting()
347 WORD32 exp_diff = p_noise_level[1] - accu_e_t; in ixheaacd_noiselimiting() local
348 if (exp_diff >= 0) { in ixheaacd_noiselimiting()
350 p_noise_level[0] + ixheaacd_shr32(accu_m_t, exp_diff); in ixheaacd_noiselimiting()
353 exp_diff = -exp_diff; in ixheaacd_noiselimiting()
355 accu_m_t + ixheaacd_shr32(p_noise_level[0], exp_diff); in ixheaacd_noiselimiting()
1339 WORD32 accu, exp_diff; in ixheaacd_subbandgain_calc() local
1341 exp_diff = tmp_noise_exp - 1; in ixheaacd_subbandgain_calc()
1343 if (exp_diff >= 0) { in ixheaacd_subbandgain_calc()
1344 accu = tmp_noise_mant + ixheaacd_shr32(0x4000, exp_diff); in ixheaacd_subbandgain_calc()
1347 exp_diff = -exp_diff; in ixheaacd_subbandgain_calc()
1348 accu = ixheaacd_shr32((WORD32)tmp_noise_mant, exp_diff) + 0x4000; in ixheaacd_subbandgain_calc()
1426 WORD32 exp_diff; in ixheaacd_avggain_calc() local
1427 exp_diff = tmp_e - accu_sum_orig_exp; in ixheaacd_avggain_calc()
1428 if (exp_diff >= 0) { in ixheaacd_avggain_calc()
1430 tmp_mant + ixheaacd_shr32(accu_sum_orig_mant, exp_diff); in ixheaacd_avggain_calc()
1433 exp_diff = -exp_diff; in ixheaacd_avggain_calc()
1435 ixheaacd_shr32(tmp_mant, exp_diff) + accu_sum_orig_mant; in ixheaacd_avggain_calc()
1448 WORD32 exp_diff; in ixheaacd_avggain_calc() local
1449 exp_diff = tmp_e - accu_sum_est_exp; in ixheaacd_avggain_calc()
1450 if (exp_diff >= 0) { in ixheaacd_avggain_calc()
1452 tmp_mant + ixheaacd_shr32(accu_sum_est_mant, exp_diff); in ixheaacd_avggain_calc()
1455 exp_diff = -exp_diff; in ixheaacd_avggain_calc()
1457 ixheaacd_shr32(tmp_mant, exp_diff) + accu_sum_est_mant; in ixheaacd_avggain_calc()