Home
last modified time | relevance | path

Searched refs:g_code (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dqgain475.cpp484 Word16 g_code; in MR475_quant_store_results() local
496 g_code = *p++; in MR475_quant_store_results()
505 L_tmp = ((Word32) g_code * gcode0) << 1; in MR475_quant_store_results()
519 Log2((Word32) g_code, &exp, &frac, pOverflow); in MR475_quant_store_results()
1190 Word16 g_code; in MR475_gain_quant() local
1365 g_code = *p++; in MR475_gain_quant()
1368 g_code = (Word16)(((Word32) g_code * sf0_gcode0) >> 15); in MR475_gain_quant()
1370 g2_code = (Word16)(((Word32) g_code * g_code) >> 15); in MR475_gain_quant()
1371 g_pit_cod = (Word16)(((Word32) g_code * g_pitch) >> 15); in MR475_gain_quant()
1377 Mpy_32_16(coeff[3], coeff_lo[3], g_code, pOverflow) + in MR475_gain_quant()
[all …]
Dqgain795.cpp234 Word16 g_code; in MR795_gain_code_quant3() local
331 g_code = *p++; /* this is g_fac Q11 */ in MR795_gain_code_quant3()
335 g_code = mult(g_code, gcode0, pOverflow); in MR795_gain_code_quant3()
337 L_tmp = L_mult(g_code, g_code, pOverflow); in MR795_gain_code_quant3()
340 L_tmp = L_mult(g_code, g_pitch, pOverflow); in MR795_gain_code_quant3()
346 g_code, pOverflow); in MR795_gain_code_quant3()
371 g_code = *p++; in MR795_gain_code_quant3()
382 L_tmp = L_mult(g_code, gcode0, pOverflow); in MR795_gain_code_quant3()
503 Word16 g_code; in MR795_gain_code_quant_mod() local
646 g_code = *p++; /* this is g_fac (Q11) */ in MR795_gain_code_quant_mod()
[all …]
Dqua_gain.cpp221 Word16 g_code; in Qua_gain() local
340 g_code = *p++; /* this is g_fac */ in Qua_gain()
346 g_code = mult(g_code, gcode0, pOverflow); in Qua_gain()
348 g2_code = mult(g_code, g_code, pOverflow); in Qua_gain()
349 g_pit_cod = mult(g_code, g_pitch, pOverflow); in Qua_gain()
358 L_tmp2 = Mpy_32_16(coeff[3], coeff_lo[3], g_code, pOverflow); in Qua_gain()
382 g_code = *p++; in Qua_gain()
393 L_tmp = L_mult(g_code, gcode0, pOverflow); in Qua_gain()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dq_gain2.c80 Word16 g_pitch, g2_pitch, g_code, g_pit_cod, g2_code, g2_code_lo; in Q_gain2() local
281 g_code = *p++; in Q_gain2()
283 g_code = ((g_code * gcode0) + 0x4000)>>15; in Q_gain2()
285 g_pit_cod = ((g_code * g_pitch) + 0x4000)>>15; in Q_gain2()
286 L_tmp = (g_code * g_code)<<1; in Q_gain2()
294 L_tmp += (coeff_lo[3] * g_code)<<1; in Q_gain2()
300 L_tmp += (coeff[3] * g_code)<<1; in Q_gain2()
314 g_code = *p++; /* selected code gain in Q11 */ in Q_gain2()
316 L_tmp = vo_L_mult(g_code, gcode0); /* Q11*Q0 -> Q12 */ in Q_gain2()
327 L_tmp = L_deposit_l(g_code); in Q_gain2()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Ddec_gain.cpp198 Word16 g_code; in Dec_gain() local
211 g_code = *p++; in Dec_gain()
229 g_code = *p++; in Dec_gain()
241 temp1 = (Word16) L_deposit_l(g_code); in Dec_gain()
260 g_code = *p++; in Dec_gain()
288 L_tmp = L_mult(g_code, gcode0, pOverflow); in Dec_gain()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Ddec_gain2_amr_wb.cpp188 int16 tmp1, g_code; in dec_gain2_amr_wb() local
336 g_code = *p++; /* selected code gain in Q11 */ in dec_gain2_amr_wb()
338 L_tmp = mul_16by16_to_int32(g_code, gcode0); /* Q11*Q0 -> Q12 */ in dec_gain2_amr_wb()
392 L_tmp = (int32)g_code; in dec_gain2_amr_wb()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dq_gain2.tab22 * g_pitch(Q14), g_code(Q11) *
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DAndroid.mk30 src/g_code.cpp \