Home
last modified time | relevance | path

Searched refs:exp_coeff (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/codecs/amrnb/enc/src/
Dqgain795.cpp212 Word16 exp_coeff[], /* i : energy coefficients (5), Q0 */ in MR795_gain_code_quant3() argument
261 exp_max[0] = sub(exp_coeff[0], 13, pOverflow); in MR795_gain_code_quant3()
262 exp_max[1] = sub(exp_coeff[1], 14, pOverflow); in MR795_gain_code_quant3()
263 exp_max[2] = add(exp_coeff[2], add(15, shl(exp_code, 1, pOverflow), pOverflow), pOverflow); in MR795_gain_code_quant3()
264 exp_max[3] = add(exp_coeff[3], exp_code, pOverflow); in MR795_gain_code_quant3()
265 exp_max[4] = add(exp_coeff[4], add(exp_code, 1, pOverflow), pOverflow); in MR795_gain_code_quant3()
510 Word16 exp_coeff[5]; in MR795_gain_code_quant_mod() local
569 exp_coeff[1] = sub(exp_en[1], 15, pOverflow); in MR795_gain_code_quant_mod()
575 exp_coeff[2] = add(exp_en[2], exp, pOverflow); in MR795_gain_code_quant_mod()
581 exp_coeff[3] = add(exp_en[3], exp, pOverflow); in MR795_gain_code_quant_mod()
[all …]
Dqua_gain.cpp198 Word16 exp_coeff[], /* i : energy coeff. (5), exponent part, Q0 */ in Qua_gain() argument
274 exp_max[0] = sub(exp_coeff[0], 13, pOverflow); in Qua_gain()
275 exp_max[1] = sub(exp_coeff[1], 14, pOverflow); in Qua_gain()
279 exp_max[2] = add(exp_coeff[2], temp, pOverflow); in Qua_gain()
281 exp_max[3] = add(exp_coeff[3], exp_code, pOverflow); in Qua_gain()
284 exp_max[4] = add(exp_coeff[4], temp, pOverflow); in Qua_gain()
Dcalc_en.cpp601 Word16 exp_coeff[], /* o : energy coefficients (5), exponent part, Q0 */ in calc_filt_energies() argument
619 exp_coeff[0] = g_coeff[1]; in calc_filt_energies()
621 exp_coeff[1] = add(g_coeff[3], 1, pOverflow); in calc_filt_energies()
654 exp_coeff[2] = (-3 - exp); in calc_filt_energies()
658 exp_coeff[3] = (7 - exp); in calc_filt_energies()
662 exp_coeff[4] = sub(7, exp, pOverflow); in calc_filt_energies()
695 *cod_gain_exp = ((exp - exp_coeff[2]) - 14); in calc_filt_energies()
Dgain_q.cpp497 Word16 exp_coeff[5]; in gainQuant() local
604 exp_coeff, in gainQuant()
628 exp_coeff, in gainQuant()
685 exp_coeff, in gainQuant()
698 exp_coeff, in gainQuant()
722 exp_coeff, in gainQuant()
Dqgain795.h113 Word16 exp_coeff[], /* i : energy coefficients (5), Q0 */
Dcalc_en.h162 Word16 exp_coeff[], /* o : energy coefficients (5), exponent part, Q0 */
/frameworks/av/media/codecs/amrwb/enc/src/
Dq_gain2.c81 Word16 coeff[5], coeff_lo[5], exp_coeff[5]; in Q_gain2() local
141 exp_coeff[0] = g_coeff[1]; in Q_gain2()
143 exp_coeff[1] = g_coeff[3] + 1; in Q_gain2()
151 exp_coeff[2] = (exp - 18) + (Q_xn << 1); /* -18 (y2 Q9) */ in Q_gain2()
160 exp_coeff[3] = (exp - 8) + Q_xn; /* -9 (y2 Q9), +1 (2 xn y2) */ in Q_gain2()
168 exp_coeff[4] = (exp - 8) + Q_xn; /* -9 (y2 Q9), +1 (2 y1 y2) */ in Q_gain2()
245 exp_max[0] = (exp_coeff[0] - 13); in Q_gain2()
246 exp_max[1] = (exp_coeff[1] - 14); in Q_gain2()
247 exp_max[2] = (exp_coeff[2] + (15 + (exp_code << 1))); in Q_gain2()
248 exp_max[3] = (exp_coeff[3] + exp_code); in Q_gain2()
[all …]
/frameworks/av/media/codecs/amrnb/common/include/
Dqua_gain.h113 Word16 exp_coeff[], /* i : energy coeff. (5), exponent part, Q0 */