Home
last modified time | relevance | path

Searched refs:prev_gc (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dec_gains.cpp212 state->prev_gc = 1; in ec_gain_code_reset()
467 if (sub(*gain_code, st->prev_gc, pOverflow) > 0) in ec_gain_code_update()
469 *gain_code = st->prev_gc; in ec_gain_code_update()
472 st->prev_gc = *gain_code; in ec_gain_code_update()
Dec_gains.h110 Word16 prev_gc; member
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dg_adapt.cpp257 st->prev_gc = 0; in gain_adapt_reset()
451 if ((tmp > st->prev_gc) && (gain_cod > 200)) in gain_adapt()
513 st->prev_gc = gain_cod; in gain_adapt()
Dg_adapt.h107 Word16 prev_gc; /* previous code gain, Q1 */ member
/frameworks/av/media/libstagefright/codecs/amrwb/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
195 prev_gc = mem + 6; in dec_gain2_amr_wb()
345 L_tmp = mul_16by16_to_int32(*prev_gc, 5120); /* prev_gc(Q3) * 1.25(Q12) = Q16 */ in dec_gain2_amr_wb()
358 *prev_gc = *past_gain_code; in dec_gain2_amr_wb()