Home
last modified time | relevance | path

Searched refs:qua_ener (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/media/codecs/amrnb/dec/src/
Ddec_gain.cpp196 Word16 qua_ener; in Dec_gain() local
213 qua_ener = *p; in Dec_gain()
252 qua_ener = pv_round(L_tmp, pOverflow); in Dec_gain()
262 qua_ener = *p; in Dec_gain()
295 gc_pred_update(pred_state, qua_ener_MR122, qua_ener); in Dec_gain()
Dd_gain_c.cpp201 Word16 qua_ener_MR122, qua_ener; in d_gain_code() local
246 qua_ener = *p++; in d_gain_code()
247 gc_pred_update(pred_state, qua_ener_MR122, qua_ener); in d_gain_code()
Dec_gains.cpp331 Word16 qua_ener; in ec_gain_code() local
347 gc_pred_average_limited(pred_state, &qua_ener_MR122, &qua_ener, pOverflow); in ec_gain_code()
348 gc_pred_update(pred_state, qua_ener_MR122, qua_ener); in ec_gain_code()
/frameworks/av/media/codecs/amrwb/dec/src/
Ddec_gain2_amr_wb.cpp187 int16 i, tmp, exp, frac, gcode0, exp_gcode0, qua_ener, gcode_inov; in dec_gain2_amr_wb() local
267 qua_ener = (int16)(L_tmp >> 3); in dec_gain2_amr_wb()
271 qua_ener -= 3072; /* -3 in Q10 */ in dec_gain2_amr_wb()
273 if (qua_ener < -14336) in dec_gain2_amr_wb()
275 qua_ener = -14336; /* -14 in Q10 */ in dec_gain2_amr_wb()
278 past_qua_en[0] = qua_ener; in dec_gain2_amr_wb()
/frameworks/av/media/codecs/amrnb/enc/src/
Dqgain475.cpp491 Word16 qua_ener; /* o : quantized energy error, Q10 */ in MR475_quant_store_results() local
531 qua_ener = (Word16)((L_tmp + (Word32) 0x00008000L) >> 16); in MR475_quant_store_results()
533 gc_pred_update(pred_st, qua_ener_MR122, qua_ener); in MR475_quant_store_results()
705 Word16 qua_ener; in MR475_update_unq_pred() local
726 qua_ener = MIN_QUA_ENER; in MR475_update_unq_pred()
764 qua_ener = MAX_QUA_ENER; in MR475_update_unq_pred()
773 qua_ener = pv_round(L_tmp, pOverflow); in MR475_update_unq_pred()
780 gc_pred_update(pred_st, qua_ener_MR122, qua_ener); in MR475_update_unq_pred()
Dgain_q.cpp495 Word16 qua_ener; in gainQuant() local
671 &qua_ener, in gainQuant()
710 &qua_ener, in gainQuant()
727 &qua_ener, in gainQuant()
743 qua_ener); in gainQuant()
Dqgain795.cpp220 Word16 *qua_ener, /* o : quantized energy error, Q10 */ in MR795_gain_code_quant3() argument
373 *qua_ener = *p; in MR795_gain_code_quant3()
489 Word16 *qua_ener, /* o : quantized energy error, Q10 */ in MR795_gain_code_quant_mod() argument
698 *qua_ener = *p; in MR795_gain_code_quant_mod()
828 Word16 *qua_ener, /* o : quantized energy error, Q10 */ in MR795_gain_quant() argument
869 qua_ener_MR122, qua_ener, pOverflow); in MR795_gain_quant()
899 gain_cod, qua_ener_MR122, qua_ener, pOverflow); /* function result */ in MR795_gain_quant()
Dq_gain_c.cpp198 Word16 *qua_ener, /* o : quantized energy error, Q10 */ in q_gain_code() argument
290 *qua_ener = *p; in q_gain_code()
Dq_gain_c.h122 Word16 *qua_ener, /* o : quantized energy error, Q10 */
Dqgain795.h127 Word16 *qua_ener, /* o : quantized energy error, Q10 */
Dqua_gain.cpp206 Word16 *qua_ener, /* o : quantized energy error, Q10 */ in Qua_gain() argument
384 *qua_ener = *p; in Qua_gain()
/frameworks/av/media/codecs/amrwb/enc/src/
Dq_gain2.c79 Word16 exp, frac, gcode0, exp_gcode0, e_max, exp_code, qua_ener; in Q_gain2() local
332 qua_ener = (Word16)(L_tmp >> 3); /* result in Q10 */ in Q_gain2()
339 past_qua_en[0] = qua_ener; in Q_gain2()
/frameworks/av/media/codecs/amrnb/common/include/
Dqua_gain.h121 Word16 *qua_ener, /* o : quantized energy error, Q10 */
Dgc_pred.h150 Word16 qua_ener /* i : quantized energy for update, Q10 */
/frameworks/av/media/codecs/amrnb/common/src/
Dgc_pred.cpp840 Word16 qua_ener /* i : quantized energy for update, Q10 */ in gc_pred_update() argument
855 st->past_qua_en[0] = qua_ener; /* 20*log10(qua_err), Q10 */ in gc_pred_update()