Home
last modified time | relevance | path

Searched refs:past_qua_en (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/module/codecs/amrwb/dec/src/
Ddec_gain2_amr_wb.cpp185 int16 *past_gain_pit, *past_gain_code, *past_qua_en, *gbuf, *pbuf, *prev_gc; in dec_gain2_amr_wb() local
192 past_qua_en = mem; in dec_gain2_amr_wb()
257 tmp = past_qua_en[3]; in dec_gain2_amr_wb()
258 tmp1 = past_qua_en[2]; in dec_gain2_amr_wb()
261 past_qua_en[3] = tmp; in dec_gain2_amr_wb()
262 tmp = past_qua_en[1]; in dec_gain2_amr_wb()
263 tmp1 = past_qua_en[0]; in dec_gain2_amr_wb()
266 past_qua_en[2] = tmp; in dec_gain2_amr_wb()
268 past_qua_en[1] = tmp1; in dec_gain2_amr_wb()
278 past_qua_en[0] = qua_ener; in dec_gain2_amr_wb()
[all …]
/frameworks/av/media/module/codecs/amrwb/enc/src/
Dq_gain2.c84 Word16 *past_qua_en, *t_qua_gain; in Q_gain2() local
86 past_qua_en = mem; in Q_gain2()
195 L_tmp += (pred[0] * past_qua_en[0])<<1; /* Q13*Q10 -> Q24 */ in Q_gain2()
196 L_tmp += (pred[1] * past_qua_en[1])<<1; /* Q13*Q10 -> Q24 */ in Q_gain2()
197 L_tmp += (pred[2] * past_qua_en[2])<<1; /* Q13*Q10 -> Q24 */ in Q_gain2()
198 L_tmp += (pred[3] * past_qua_en[3])<<1; /* Q13*Q10 -> Q24 */ in Q_gain2()
336 past_qua_en[3] = past_qua_en[2]; in Q_gain2()
337 past_qua_en[2] = past_qua_en[1]; in Q_gain2()
338 past_qua_en[1] = past_qua_en[0]; in Q_gain2()
339 past_qua_en[0] = qua_ener; in Q_gain2()
/frameworks/av/media/module/codecs/amrnb/common/src/
Dgc_pred.cpp185 state->past_qua_en[i] = MIN_ENERGY; in gc_pred_reset()
695 L_temp2 = ((((Word32) pred[i]) * st->past_qua_en[i]) << 1); in gc_pred()
844 st->past_qua_en[3] = st->past_qua_en[2]; in gc_pred_update()
847 st->past_qua_en[2] = st->past_qua_en[1]; in gc_pred_update()
850 st->past_qua_en[1] = st->past_qua_en[0]; in gc_pred_update()
855 st->past_qua_en[0] = qua_ener; /* 20*log10(qua_err), Q10 */ in gc_pred_update()
1027 av_pred_en = add(av_pred_en, st->past_qua_en[i], pOverflow); in gc_pred_average_limited()
/frameworks/av/media/module/codecs/amrnb/enc/src/
Ddtx_enc.cpp793 predState->past_qua_en[0] = log_en; in dtx_enc()
794 predState->past_qua_en[1] = log_en; in dtx_enc()
795 predState->past_qua_en[2] = log_en; in dtx_enc()
796 predState->past_qua_en[3] = log_en; in dtx_enc()
Dgain_q.cpp514 memcpy(st->gc_predUnqSt.past_qua_en, in gainQuant()
515 st->gc_predSt.past_qua_en, in gainQuant()
/frameworks/av/media/module/codecs/amrnb/common/include/
Dgc_pred.h97 Word16 past_qua_en[4]; /* normal MA predictor memory, Q10 */ member
/frameworks/av/media/module/codecs/amrnb/dec/src/
Ddtx_dec.cpp1126 predState->past_qua_en[0] = ma_pred_init; in dtx_dec()
1127 predState->past_qua_en[1] = ma_pred_init; in dtx_dec()
1128 predState->past_qua_en[2] = ma_pred_init; in dtx_dec()
1129 predState->past_qua_en[3] = ma_pred_init; in dtx_dec()