Home
last modified time | relevance | path

Searched refs:gain_code (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/media/module/codecs/amrnb/dec/src/
Dec_gains.cpp319 Word16 *gain_code, /* o : decoded innovation gain */ in ec_gain_code() argument
342 *gain_code = tmp; in ec_gain_code()
456 Word16 *gain_code, /* i/o : decoded innovation gain */ in ec_gain_code_update() argument
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()
476 st->past_gain_code = *gain_code; in ec_gain_code_update()
482 st->gbuf[4] = *gain_code; in ec_gain_code_update()
Dd_gain_c.cpp195 Word16 *gain_code, /* o : decoded innovation gain */ in d_gain_code() argument
231 *gain_code = shl(mult(gcode0, *p++, pOverflow), 1, pOverflow); in d_gain_code()
238 *gain_code = extract_h(L_tmp); /* Q1 */ in d_gain_code()
Ddec_amr.cpp1376 Word16 gain_code; in Decoder_amr() local
1828 &gain_code, in Decoder_amr()
1843 &gain_code, in Decoder_amr()
1857 &gain_code, in Decoder_amr()
1882 &gain_code, in Decoder_amr()
1897 &gain_code, in Decoder_amr()
1912 &gain_code, in Decoder_amr()
1974 &gain_code, in Decoder_amr()
1983 &gain_code, in Decoder_amr()
1991 &gain_code, in Decoder_amr()
[all …]
Dec_gains.h138 Word16 *gain_code, /* o : decoded innovation gain */
153 Word16 *gain_code, /* i/o : decoded innovation gain */
Dc_g_aver.cpp466 Word16 gain_code, /* i : CB gain Q1 */ in Cb_gain_average() argument
499 cbGainMix = gain_code; in Cb_gain_average()
509 st->cbGainHistory[L_CBGAINHIST-1] = gain_code; in Cb_gain_average()
Dc_g_aver.h144 Word16 gain_code, /* i : CB gain Q1 */
/frameworks/av/media/module/codecs/amrnb/enc/src/
Dspstproc.cpp177 Word16 gain_code, /* i : Decoded innovation gain */ in subframePostProc() argument
265 L_temp += ((Word32) * (p_code++) * gain_code) << 1; in subframePostProc()
266 L_temp2 += ((Word32) * (p_code++) * gain_code) << 1; in subframePostProc()
307 L_temp = ((Word32)y2[i] * gain_code); in subframePostProc()
Dspstproc.h114 Word16 gain_code, /* i : Decoded innovation gain */
Dcod_amr.cpp1260 Word16 gain_pit, gain_code; in cod_amr() local
1516 &gain_pit, &gain_code, &ana, pOverflow); in cod_amr()
1526 gain_code, Aq, synth, xn, code, y1, y2, st->mem_syn, in cod_amr()
1545 gain_code, Aq, synth, xn, code, y1, y2, in cod_amr()
1584 gain_code, Aq, synth, xn, code, y1, y2, in cod_amr()
Dqgain795.cpp515 Word16 gain_code; in MR795_gain_code_quant_mod() local
556 gain_code = shl(*gain_cod, sub(10, exp_gcode0, pOverflow), pOverflow); /* Q1 -> Q11 (-ec0) */ in MR795_gain_code_quant_mod()
654 if (g_code >= gain_code) in MR795_gain_code_quant_mod()
/frameworks/av/media/module/codecs/amrwb/dec/src/
Dvoice_factor.cpp123 int16 gain_code, /* (i) Q0 : gain of code */ in voice_factor() argument
141 exp = norm_s(gain_code); in voice_factor()
142 tmp = shl_int16(gain_code, exp); in voice_factor()
Dphase_dispersion.cpp152 int16 gain_code, /* (i) Q0 : gain of code */ in phase_dispersion() argument
190 if (sub_int16(gain_code, *prev_gain_code) > shl_int16(*prev_gain_code, 1)) in phase_dispersion()
219 *prev_gain_code = gain_code; in phase_dispersion()
Dpvamrwbdecoder.cpp330 int16 gain_pit, gain_code; in pvDecoder_AmrWb() local
874 gain_code = amr_wb_round(L_tmp); /* scaled gain_code with Qnew */ in pvDecoder_AmrWb()
934 voice_fac = voice_factor(exc2, -3, gain_pit, code, gain_code, L_SUBFR); in pvDecoder_AmrWb()
951 L_tmp = mul_16by16_to_int32(code[i], gain_code); in pvDecoder_AmrWb()
1046 gain_code = amr_wb_round(shl_int32(L_gain_code, Q_new)); in pvDecoder_AmrWb()
1050 L_tmp = mul_16by16_to_int32(amr_wb_round(L_tmp), gain_code); in pvDecoder_AmrWb()
1061 L_tmp = mul_16by16_to_int32(amr_wb_round(L_tmp), gain_code); in pvDecoder_AmrWb()
1070 L_tmp = mul_16by16_to_int32(amr_wb_round(L_tmp), gain_code); in pvDecoder_AmrWb()
Dpvamrwbdecoder_acelp.h302 int16 gain_code, /* (i) Q0 : gain of code */
316 int16 gain_code, /* (i) Q0 : gain of code */
/frameworks/av/media/module/codecs/amrwb/enc/src/
Dvoicefac.c33 Word16 gain_code, /* (i) Q0 : gain of code */ in voice_factor() argument
58 exp = norm_s(gain_code); in voice_factor()
59 tmp = gain_code << exp; in voice_factor()
DvoAMRWBEnc.c204 Word16 gain_pit, gain_code, g_coeff[4], g_coeff2[4]; in coder() local
1183 gain_code = extract_h(L_add(L_tmp, 0x8000)); in coder()
1197 voice_fac = voice_factor(exc2, shift, gain_pit, code, gain_code, L_SUBFR); in coder()
1208 L_tmp = L_mult(gain_code, y2[L_SUBFR - 1]); in coder()
1223 L_tmp = L_mult(gain_code, code[i]); in coder()
1239 VO_L_Extract(L_gain_code, &gain_code, &gain_code_lo); in coder()
1254 L_tmp = vo_L_add(L_tmp, Mpy_32_16(gain_code, gain_code_lo, 6226)); in coder()
1261 L_tmp = Mpy_32_16(gain_code, gain_code_lo, 27536); in coder()
1269 L_gain_code = Mpy_32_16(gain_code, gain_code_lo, (32767 - fac)); in coder()
1270 VO_L_Extract(L_tmp, &gain_code, &gain_code_lo); in coder()
[all …]
/frameworks/av/media/module/codecs/amrnb/common/include/
Dd_gain_c.h115 Word16 *gain_code, /* o : decoded innovation gain */
/frameworks/av/media/module/codecs/amrwb/enc/inc/
Dacelp.h487 Word16 gain_code, /* (i) Q0 : gain of code */