Home
last modified time | relevance | path

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

/frameworks/av/media/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
193 past_gain_pit = mem + 4; in dec_gain2_amr_wb()
220 *past_gain_pit = tmp; in dec_gain2_amr_wb()
222 if (*past_gain_pit > 15565) in dec_gain2_amr_wb()
224 *past_gain_pit = 15565; /* 0.95 in Q14 */ in dec_gain2_amr_wb()
230 *gain_pit = mult_int16(pdown_unusable[state], *past_gain_pit); in dec_gain2_amr_wb()
234 *gain_pit = mult_int16(pdown_usable[state], *past_gain_pit); in dec_gain2_amr_wb()
287 pbuf[4] = *past_gain_pit; in dec_gain2_amr_wb()
355 *past_gain_pit = *gain_pit; in dec_gain2_amr_wb()
372 pbuf[4] = *past_gain_pit; in dec_gain2_amr_wb()
[all …]
/frameworks/av/media/codecs/amrnb/dec/src/
Dec_gains.cpp596 if (sub(tmp, st->past_gain_pit, pOverflow) > 0) in ec_gain_pitch()
598 tmp = st->past_gain_pit; in ec_gain_pitch()
698 state->past_gain_pit = 0; in ec_gain_pitch_reset()
828 st->past_gain_pit = *gain_pitch; in ec_gain_pitch_update()
830 if (sub(st->past_gain_pit, 16384, pOverflow) > 0) in ec_gain_pitch_update()
833 st->past_gain_pit = 16384; in ec_gain_pitch_update()
839 st->pbuf[4] = st->past_gain_pit; in ec_gain_pitch_update()
Dec_gains.h102 Word16 past_gain_pit; member