Home
last modified time | relevance | path

Searched refs:frac_en (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/codecs/amrnb/enc/src/
Dcalc_en.cpp271 Word16 frac_en[], /* o : energy coefficients (4), fraction part, Q15 */ in calc_unfilt_energies() argument
334 frac_en[0] = 0; in calc_unfilt_energies()
340 frac_en[0] = (Word16)(L_shl(s1, exp, pOverflow) >> 16); in calc_unfilt_energies()
351 frac_en[1] = (Word16)(L_shl(s2, exp, pOverflow) >> 16); in calc_unfilt_energies()
356 frac_en[2] = (Word16)(L_shl(s3, exp, pOverflow) >> 16); in calc_unfilt_energies()
363 frac_en[3] = ltp_res_en; in calc_unfilt_energies()
368 if (ltp_res_en > 0 && frac_en[0] != 0) in calc_unfilt_energies()
371 pred_gain = div_s(shr(frac_en[0], 1, pOverflow), ltp_res_en); in calc_unfilt_energies()
Dgain_q.cpp499 Word16 frac_en; in gainQuant() local
531 &frac_en, in gainQuant()
592 &frac_en, in gainQuant()
612 &frac_en, in gainQuant()
631 frac_en, in gainQuant()
653 &frac_en, in gainQuant()
700 frac_en, in gainQuant()
Dqgain795.cpp479 Word16 frac_en[], /* i : energy coefficients (4), in MR795_gain_code_quant_mod() argument
563 L_t1 = L_mult(alpha, frac_en[1], pOverflow); in MR795_gain_code_quant_mod()
572 tmp = extract_h(L_shl(L_mult(alpha, frac_en[2], pOverflow), 1, pOverflow)); in MR795_gain_code_quant_mod()
579 coeff[3] = extract_h(L_shl(L_mult(alpha, frac_en[3], pOverflow), 1, pOverflow)); in MR795_gain_code_quant_mod()
584 coeff[4] = mult(one_alpha, frac_en[3], pOverflow); in MR795_gain_code_quant_mod()
588 L_tmp = L_mult(alpha, frac_en[0], pOverflow); in MR795_gain_code_quant_mod()
835 Word16 frac_en[4]; in MR795_gain_quant() local
873 frac_en, exp_en, &ltpg, pOverflow); in MR795_gain_quant()
884 if (frac_en[0] != 0 && alpha > 0) in MR795_gain_quant()
888 frac_en[3] = frac_code_en; in MR795_gain_quant()
[all …]
Dcalc_en.h124 Word16 frac_en[], /* o : energy coefficients (3), fraction part, Q15 */
/frameworks/av/media/codecs/amrnb/common/include/
Dgc_pred.h137 Word16 *frac_en, /* o : fraction of innovation energy, Q15 */
/frameworks/av/media/codecs/amrnb/common/src/
Dgc_pred.cpp475 Word16 *frac_en, /* o : fraction of innovation energy, Q15 */ in gc_pred() argument
647 *frac_en = (Word16)(ener_code >> 16); in gc_pred()