Home
last modified time | relevance | path

Searched refs:e_max (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dqua_gain.cpp216 Word16 e_max; in Qua_gain() local
301 e_max = exp_max[0]; in Qua_gain()
304 if (exp_max[i] > e_max) in Qua_gain()
306 e_max = exp_max[i]; in Qua_gain()
310 e_max = add(e_max, 1, pOverflow); /* To avoid overflow */ in Qua_gain()
314 j = sub(e_max, exp_max[i], pOverflow); in Qua_gain()
Dqgain795.cpp230 Word16 e_max; in MR795_gain_code_quant3() local
282 e_max = exp_max[0]; in MR795_gain_code_quant3()
285 if (exp_max[i] > e_max) in MR795_gain_code_quant3()
287 e_max = exp_max[i]; in MR795_gain_code_quant3()
291 e_max = add(e_max, 1, pOverflow); /* To avoid overflow */ in MR795_gain_code_quant3()
295 j = sub(e_max, exp_max[i], pOverflow); in MR795_gain_code_quant3()
500 Word16 e_max; in MR795_gain_code_quant_mod() local
604 e_max = add(exp_coeff[0], 31, pOverflow); in MR795_gain_code_quant_mod()
607 if (exp_coeff[i] > e_max) in MR795_gain_code_quant_mod()
609 e_max = exp_coeff[i]; in MR795_gain_code_quant_mod()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dq_gain2.c79 Word16 exp, frac, gcode0, exp_gcode0, e_max, exp_code, qua_ener; in Q_gain2() local
253 e_max = exp_max[0]; in Q_gain2()
256 if(exp_max[i] > e_max) in Q_gain2()
258 e_max = exp_max[i]; in Q_gain2()
266 j = add1(vo_sub(e_max, exp_max[i]), 2);/* /4 to avoid overflow */ in Q_gain2()