Home
last modified time | relevance | path

Searched refs:gcode0 (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dq_gain_c.cpp206 Word16 gcode0; in q_gain_code() local
229 gcode0 = (Word16) Pow2(exp_gcode0, frac_gcode0, pOverflow); /* predicted gain */ in q_gain_code()
233 gcode0 = shl(gcode0, 4, pOverflow); in q_gain_code()
237 gcode0 = shl(gcode0, 5, pOverflow); in q_gain_code()
245 err_min = ((Word32)gcode0 * *(p++)) >> 15; in q_gain_code()
257 err = ((Word32)gcode0 * *(p++)) >> 15; in q_gain_code()
278 temp = (gcode0 * *(p++)) >> 15; in q_gain_code()
Dqgain795.cpp208 Word16 gcode0, /* i : predicted CB gain (norm.), Q14 */ in MR795_gain_code_quant3() argument
335 g_code = mult(g_code, gcode0, pOverflow); in MR795_gain_code_quant3()
382 L_tmp = L_mult(g_code, gcode0, pOverflow); in MR795_gain_code_quant3()
478 Word16 gcode0, /* i : predicted CB gain (norm.), Q14 */ in MR795_gain_code_quant_mod() argument
649 g_code = mult(g_code, gcode0, pOverflow); in MR795_gain_code_quant_mod()
707 L_tmp = L_mult(g_code, gcode0, pOverflow); in MR795_gain_code_quant_mod()
837 Word16 ltpg, alpha, gcode0; in MR795_gain_quant() local
859 gcode0 = (Word16)(Pow2(14, frac_gcode0, pOverflow)); /* Q14 */ in MR795_gain_quant()
866 exp_gcode0, gcode0, g_pitch_cand, g_pitch_cind, in MR795_gain_quant()
897 *gain_pit, exp_gcode0, gcode0, in MR795_gain_quant()
Dqua_gain.cpp215 Word16 gcode0; in Qua_gain() local
252 gcode0 = (Word16)(Pow2(14, frac_gcode0, pOverflow)); in Qua_gain()
346 g_code = mult(g_code, gcode0, pOverflow); in Qua_gain()
393 L_tmp = L_mult(g_code, gcode0, pOverflow); in Qua_gain()
Dqgain475.cpp477 Word16 gcode0, /* i : predicted CB gain, Q(14 - exp_gcode0) */ in MR475_quant_store_results() argument
505 L_tmp = ((Word32) g_code * gcode0) << 1; in MR475_quant_store_results()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dd_gain_c.cpp199 Word16 gcode0, exp, frac; in d_gain_code() local
229 gcode0 = (Word16)(Pow2(exp, frac, pOverflow)); /* predicted gain */ in d_gain_code()
230 gcode0 = shl(gcode0, 4, pOverflow); in d_gain_code()
231 *gain_code = shl(mult(gcode0, *p++, pOverflow), 1, pOverflow); in d_gain_code()
235 gcode0 = (Word16)(Pow2(14, frac, pOverflow)); in d_gain_code()
236 L_tmp = L_mult(*p++, gcode0, pOverflow); in d_gain_code()
Ddec_gain.cpp194 Word16 gcode0; in Dec_gain() local
277 gcode0 = (Word16) Pow2(14, frac, pOverflow); in Dec_gain()
288 L_tmp = L_mult(g_code, gcode0, pOverflow); in Dec_gain()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dq_gain2.c79 Word16 exp, frac, gcode0, exp_gcode0, e_max, exp_code, qua_ener; in Q_gain2() local
200 gcode0 = extract_h(L_tmp); /* From Q24 to Q8 */ in Q_gain2()
208 L_tmp = vo_L_mult(gcode0, 5443); /* *0.166096 in Q15 -> Q24 */ in Q_gain2()
212 gcode0 = (Word16)(Pow2(14, frac)); /* Put 14 as exponent so that */ in Q_gain2()
283 g_code = ((g_code * gcode0) + 0x4000)>>15; in Q_gain2()
316 L_tmp = vo_L_mult(g_code, gcode0); /* Q11*Q0 -> Q12 */ in Q_gain2()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Ddec_gain2_amr_wb.cpp187 int16 i, tmp, exp, frac, gcode0, exp_gcode0, qua_ener, gcode_inov; in dec_gain2_amr_wb() local
308 gcode0 = extract_h(L_tmp); /* From Q24 to Q8 */ in dec_gain2_amr_wb()
316 L_tmp = ((int32)gcode0 * 5443) >> 7; /* *0.166096 in Q15 -> Q24 */ in dec_gain2_amr_wb()
320 gcode0 = (int16)(power_of_2(14, frac)); /* Put 14 as exponant so that */ in dec_gain2_amr_wb()
338 L_tmp = mul_16by16_to_int32(g_code, gcode0); /* Q11*Q0 -> Q12 */ in dec_gain2_amr_wb()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dgc_pred.cpp486 Word16 exp_code, gcode0; in gc_pred() local
699 gcode0 = (Word16)(L_tmp >> 16); /* Q8 */ in gc_pred()
712 L_tmp = (((Word32) gcode0) * 5439) << 1; /* Q8 * Q15 -> Q24 */ in gc_pred()
716 L_tmp = (((Word32) gcode0) * 5443) << 1; /* Q8 * Q15 -> Q24 */ in gc_pred()