Home
last modified time | relevance | path

Searched refs:gain_pit (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dcl_ltp.cpp634 Word16 *gain_pit, /* o : Pitch gain Q14 */ in cl_ltp() argument
693 *gain_pit = in cl_ltp()
707 if ((lsp_flag != 0) && ((Word32)(*gain_pit) > GP_CLIP)) in cl_ltp()
709 gpc_flag = check_gp_clipping(tonSt, *gain_pit, pOverflow); in cl_ltp()
717 *gain_pit = ((Word32) * gain_pit > 13926) ? 13926 : *gain_pit; in cl_ltp()
729 *gain_pit = GP_CLIP; in cl_ltp()
738 gain_pit, in cl_ltp()
751 temp = *gain_pit; in cl_ltp()
Dspstproc.cpp176 Word16 gain_pit, /* i : Pitch gain Q14 */ in subframePostProc() argument
209 pitch_fac = gain_pit; in subframePostProc()
215 pitch_fac = gain_pit >> 1; in subframePostProc()
222 if (gain_pit < SHARPMAX) in subframePostProc()
224 *sharp = gain_pit; in subframePostProc()
304 L_temp = ((Word32)y1[i] * gain_pit); in subframePostProc()
Dqgain795.cpp214 Word16 *gain_pit, /* o : Pitch gain, Q14 */ in MR795_gain_code_quant3() argument
386 *gain_pit = g_pitch_cand[pit_ind]; in MR795_gain_code_quant3()
476 Word16 gain_pit, /* i : pitch gain, Q14 */ in MR795_gain_code_quant_mod() argument
557 g2_pitch = mult(gain_pit, gain_pit, pOverflow); /* Q14 -> Q13 */ in MR795_gain_code_quant_mod()
573 coeff[2] = mult(tmp, gain_pit, pOverflow); in MR795_gain_code_quant_mod()
824 Word16 *gain_pit, /* i/o: Pitch gain, Q14 */ in MR795_gain_quant() argument
849 gain_pit_index = q_gain_pitch(MR795, gp_limit, gain_pit, in MR795_gain_quant()
868 gain_pit, &gain_pit_index, gain_cod, &gain_cod_index, in MR795_gain_quant()
872 calc_unfilt_energies(res, exc, code, *gain_pit, L_subfr, in MR795_gain_quant()
897 *gain_pit, exp_gcode0, gcode0, in MR795_gain_quant()
Dgain_q.cpp484 Word16 *gain_pit, /* i/o : Pitch gain. */ in gainQuant() argument
635 gain_pit, in gainQuant()
707 gain_pit, in gainQuant()
724 gain_pit, in gainQuant()
Dcod_amr.cpp1260 Word16 gain_pit, gain_code; in cod_amr() local
1488 &T0, &T0_frac, &gain_pit, gCoeff, &ana, in cod_amr()
1507 cbsearch(xn2, st->h1, T0, st->sharp, gain_pit, res2, in cod_amr()
1516 &gain_pit, &gain_code, &ana, pOverflow); in cod_amr()
1519 update_gp_clipping(st->tonStabSt, gain_pit, pOverflow); in cod_amr()
1525 subframePostProc(st->speech, *usedMode, i_subfr, gain_pit, in cod_amr()
1544 subframePostProc(st->speech, *usedMode, i_subfr, gain_pit, in cod_amr()
1583 subframePostProc(st->speech, *usedMode, i_subfr, gain_pit, in cod_amr()
Dcbsearch.cpp190 Word16 gain_pit, /* i : Pitch gain, Q14 */ in cbsearch() argument
341 pit_sharpTmp = shl(gain_pit, 1, pOverflow); in cbsearch()
Dqua_gain.cpp202 Word16 *gain_pit, /* o : Pitch gain, Q14 */ in Qua_gain() argument
381 *gain_pit = *p++; in Qua_gain()
Dcbsearch.h116 Word16 gain_pit,/* i : Pitch gain, Q14 */
Dspstproc.h113 Word16 gain_pit, /* i : Pitch gain Q14 */
Dqgain795.h123 Word16 *gain_pit, /* i/o: Pitch gain (unquant/quant), Q14 */
Dcalc_en.h121 Word16 gain_pit, /* i : pitch gain, Q14 */
Dcl_ltp.h148 Word16 *gain_pit, /* o : Pitch gain Q14 */
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Ddec_amr.cpp1375 Word16 gain_pit; in Decoder_amr() local
1764 &gain_pit, in Decoder_amr()
1769 gain_pit = d_gain_pitch(mode, index); in Decoder_amr()
1775 &gain_pit, in Decoder_amr()
1785 L_temp = (Word32)gain_pit << 1; in Decoder_amr()
1788 pit_sharp = (gain_pit > 0) ? MAX_16 : MIN_16; in Decoder_amr()
1827 &gain_pit, in Decoder_amr()
1836 &gain_pit, in Decoder_amr()
1850 &gain_pit, in Decoder_amr()
1860 pit_sharp = gain_pit; in Decoder_amr()
[all …]
Ddec_gain.cpp187 Word16 * gain_pit, /* o : Pitch gain. */ in Dec_gain() argument
210 *gain_pit = *p++; in Dec_gain()
228 *gain_pit = *p++; in Dec_gain()
259 *gain_pit = *p++; in Dec_gain()
Ddec_gain.h113 Word16 * gain_pit, /* o : Pitch gain. */
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dphase_dispersion.cpp153 int16 gain_pit, /* (i) Q14 : gain of pitch */ in phase_dispersion() argument
171 if (gain_pit < pitch_0_6) in phase_dispersion()
175 else if (gain_pit < pitch_0_9) in phase_dispersion()
188 prev_gain_pit[0] = gain_pit; in phase_dispersion()
Dvoice_factor.cpp121 int16 gain_pit, /* (i) Q14 : gain of pitch */ in voice_factor() argument
132 L_tmp = mul_16by16_to_int32(gain_pit, gain_pit); in voice_factor()
Ddec_gain2_amr_wb.cpp174 int16 * gain_pit, /* (o) Q14 : Pitch gain. */ in dec_gain2_amr_wb() argument
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()
335 *gain_pit = *p++; /* selected pitch gain in Q14 */ in dec_gain2_amr_wb()
355 *past_gain_pit = *gain_pit; in dec_gain2_amr_wb()
Dpvamrwbdecoder.cpp330 int16 gain_pit, gain_code; in pvDecoder_AmrWb() local
817 &gain_pit, in pvDecoder_AmrWb()
834 &gain_pit, in pvDecoder_AmrWb()
913 pit_sharp = shl_int16(gain_pit, 1); in pvDecoder_AmrWb()
920 L_tmp = mul_16by16_to_int32(tmp, gain_pit); in pvDecoder_AmrWb()
931 voice_fac = voice_factor(exc2, -3, gain_pit, code, gain_code, L_SUBFR); in pvDecoder_AmrWb()
950 L_tmp = mac_16by16_to_int32(L_tmp, exc[i + i_subfr], gain_pit); in pvDecoder_AmrWb()
988 gain_pit, in pvDecoder_AmrWb()
1049 L_tmp = mac_16by16_to_int32(L_tmp, exc2[0], gain_pit); in pvDecoder_AmrWb()
1060 L_tmp = mac_16by16_to_int32(L_tmp, exc2[i], gain_pit); in pvDecoder_AmrWb()
[all …]
Dpvamrwbdecoder_acelp.h255 int16 * gain_pit, /* (o) Q14 :Pitch gain. */
300 int16 gain_pit, /* (i) Q14 : gain of pitch */
317 int16 gain_pit, /* (i) Q14 : gain of pitch */
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dvoicefac.c31 Word16 gain_pit, /* (i) Q14 : gain of pitch */ in voice_factor() argument
46 L_tmp = vo_L_mult(gain_pit, gain_pit); in voice_factor()
Dgpclip.c90 … Word16 gain_pit, /* (i) Q14 : gain of quantized pitch */ in Gp_clip_test_gain_pit() argument
97 L_tmp += (3277 * gain_pit)<<1; in Gp_clip_test_gain_pit()
Dq_gain2.c72 Word16 * gain_pit, /* (i/o)Q14: Pitch gain. */ in Q_gain2() argument
115 g_pitch = *gain_pit; in Q_gain2()
313 *gain_pit = *p++; /* selected pitch gain in Q14 */ in Q_gain2()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dacelp.h395 Word16 * gain_pit, /* (i/o)Q14:Pitch gain. */
409 Word16 * gain_pit, /* (o) Q14 :Pitch gain. */
485 Word16 gain_pit, /* (i) Q14 : gain of pitch */
515 Word16 gain_pit, /* (i) : gain of quantized pitch */
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dqua_gain.h117 Word16 *gain_pit, /* o : Pitch gain, Q14 */

12