Home
last modified time | relevance | path

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

/external/libxaac/decoder/
Dixheaacd_env_calc.c157 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()
[all …]
/external/aac/libAACdec/src/
Dusacdec_acelp.cpp336 int exp_diff; in calc_period_factor() local
338 exp_diff = ener_exc_e - L_tmp_e; in calc_period_factor()
339 if (exp_diff >= 0) { in calc_period_factor()
341 if (exp_diff <= DFRACT_BITS - 2) { in calc_period_factor()
342 L_tmp >>= exp_diff + 1; in calc_period_factor()
351 if (exp_diff >= -(DFRACT_BITS - 2)) { in calc_period_factor()
352 ener_exc >>= 1 - exp_diff; in calc_period_factor()