Searched defs:gain_pit (Results 1 - 19 of 19) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dvoice_factor.cpp49 int16 gain_pit, (i) Q14 : gain of pitch
121 int16 gain_pit, /* (i) Q14 : gain of pitch */
132 L_tmp = mul_16by16_to_int32(gain_pit, gain_pit);
137 exp1 -= (exp + 10); /* 10 -> gain_pit Q14 to Q9 */
118 voice_factor( int16 exc[], int16 Q_exc, int16 gain_pit, int16 code[], int16 gain_code, int16 L_subfr ) argument
H A Dphase_dispersion.cpp48 int16 gain_pit, (i) Q14 : gain of pitch
153 int16 gain_pit, /* (i) Q14 : gain of pitch */
171 if (gain_pit < pitch_0_6)
175 else if (gain_pit < pitch_0_9)
188 prev_gain_pit[0] = gain_pit;
151 phase_dispersion( int16 gain_code, int16 gain_pit, int16 code[], int16 mode, int16 disp_mem[], int16 ScratchMem[] ) argument
H A Ddec_gain2_amr_wb.cpp51 int16 * gain_pit, (o) Q14 : Pitch gain.
174 int16 * gain_pit, /* (o) Q14 : Pitch gain. */
230 *gain_pit = mult_int16(pdown_unusable[state], *past_gain_pit);
234 *gain_pit = mult_int16(pdown_usable[state], *past_gain_pit);
335 *gain_pit = *p++; /* selected pitch gain in Q14 */
355 *past_gain_pit = *gain_pit;
169 dec_gain2_amr_wb( int16 index, int16 nbits, int16 code[], int16 L_subfr, int16 * gain_pit, int32 * gain_cod, int16 bfi, int16 prev_bfi, int16 state, int16 unusable_frame, int16 vad_hist, int16 * mem ) argument
H A Dpvamrwbdecoder.cpp330 int16 gain_pit, gain_code; local
817 &gain_pit,
834 &gain_pit,
913 pit_sharp = shl_int16(gain_pit, 1);
920 L_tmp = mul_16by16_to_int32(tmp, gain_pit);
931 voice_fac = voice_factor(exc2, -3, gain_pit, code, gain_code, L_SUBFR);
950 L_tmp = mac_16by16_to_int32(L_tmp, exc[i + i_subfr], gain_pit);
988 gain_pit,
1049 L_tmp = mac_16by16_to_int32(L_tmp, exc2[0], gain_pit);
1060 L_tmp = mac_16by16_to_int32(L_tmp, exc2[i], gain_pit);
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dvoicefac.c31 Word16 gain_pit, /* (i) Q14 : gain of pitch */
46 L_tmp = vo_L_mult(gain_pit, gain_pit);
50 exp1 = exp1 - exp - 10; /* 10 -> gain_pit Q14 to Q9 */
28 voice_factor( Word16 exc[], Word16 Q_exc, Word16 gain_pit, Word16 code[], Word16 gain_code, Word16 L_subfr ) argument
H A Dgpclip.c90 Word16 gain_pit, /* (i) Q14 : gain of quantized pitch */
97 L_tmp += (3277 * gain_pit)<<1;
89 Gp_clip_test_gain_pit( Word16 gain_pit, Word16 mem[] ) argument
H A Dq_gain2.c72 Word16 * gain_pit, /* (i/o)Q14: Pitch gain. */
115 g_pitch = *gain_pit;
313 *gain_pit = *p++; /* selected pitch gain in Q14 */
62 Q_gain2( Word16 xn[], Word16 y1[], Word16 Q_xn, Word16 y2[], Word16 code[], Word16 g_coeff[], Word16 L_subfr, Word16 nbits, Word16 * gain_pit, Word32 * gain_cod, Word16 gp_clip, Word16 * mem ) argument
H A DvoAMRWBEnc.c204 Word16 gain_pit, gain_code, g_coeff[4], g_coeff2[4]; local
1048 gain_pit = gain2;
1055 gain_pit = gain1;
1061 Updt_tar(cn, cn, &exc[i_subfr], gain_pit, L_SUBFR);
1169 &gain_pit, &L_gain_code, clip_gain, st->qua_gain);
1174 &gain_pit, &L_gain_code, clip_gain, st->qua_gain);
1178 Gp_clip_test_gain_pit(gain_pit, st->gp_clip);
1195 voice_fac = voice_factor(exc2, shift, gain_pit, code, gain_code, L_SUBFR);
1205 /* y2 in Q9, gain_pit in Q14 */
1210 L_tmp -= (y1[L_SUBFR - 1] * gain_pit)<<
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddec_gain.cpp119 gain_pit = pointer to pitch gain of type Word16
187 Word16 * gain_pit, /* o : Pitch gain. */
210 *gain_pit = *p++;
228 *gain_pit = *p++;
259 *gain_pit = *p++;
181 Dec_gain( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 evenSubfr, Word16 * gain_pit, Word16 * gain_cod, Flag * pOverflow ) argument
H A Ddec_amr.cpp573 Word16 gain_pit, gain_code, gain_code_mix, pit_sharp, pit_flag, pitch_fac;
880 ec_gain_pitch (st->ec_gain_p_st, st->state, &gain_pit);
884 gain_pit = d_gain_pitch (mode, index);
887 &gain_pit);
892 // pit_sharp = gain_pit;
895 pit_sharp = shl (gain_pit, 1);
910 * - Update pitch sharpening "sharp" with quantized gain_pit *
924 evenSubfr, &gain_pit, &gain_code);
928 ec_gain_pitch (st->ec_gain_p_st, st->state, &gain_pit);
933 &gain_pit);
1375 Word16 gain_pit; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcbsearch.cpp61 gain_pit -- Word16 gain_pit -- Pitch gain, Q14
190 Word16 gain_pit, /* i : Pitch gain, Q14 */
338 /* pit_sharpTmp = gain_pit; */
341 pit_sharpTmp = shl(gain_pit, 1, pOverflow);
184 cbsearch(Word16 x[], Word16 h[], Word16 T0, Word16 pitch_sharp, Word16 gain_pit, Word16 res2[], Word16 code[], Word16 y[], Word16 **anap, enum Mode mode, Word16 subNr, Flag *pOverflow) argument
H A Dspstproc.cpp104 gain_pit -- Word16 -- Pitch gain Q14
176 Word16 gain_pit, /* i : Pitch gain Q14 */
209 pitch_fac = gain_pit;
215 pitch_fac = gain_pit >> 1;
219 * - Update pitch sharpening "sharp" with quantized gain_pit *
222 if (gain_pit < SHARPMAX)
224 *sharp = gain_pit;
244 /* exc[i] = gain_pit*exc[i] + gain_code*code[i]; */
250 * gain_pit Q14 Q14
290 * gain_pit Q1
172 subframePostProc( Word16 *speech, enum Mode mode, Word16 i_subfr, Word16 gain_pit, Word16 gain_code, Word16 *Aq, Word16 synth[], Word16 xn[], Word16 code[], Word16 y1[], Word16 y2[], Word16 *mem_syn, Word16 *mem_err, Word16 *mem_w0, Word16 *exc, Word16 *sharp, Flag *pOverflow ) argument
[all...]
H A Dcalc_en.cpp96 gain_pit = pitch gain, type Word16
128 (lres = res - gain_pit*exc)
149 Word16 gain_pit, // i : pitch gain, Q14
202 L_temp = L_mult(exc[i], gain_pit);
268 Word16 gain_pit, /* i : pitch gain, Q14 */
314 L_temp = L_mult(tmp2, gain_pit, pOverflow);
264 calc_unfilt_energies( Word16 res[], Word16 exc[], Word16 code[], Word16 gain_pit, Word16 L_subfr, Word16 frac_en[], Word16 exp_en[], Word16 *ltpg, Flag *pOverflow ) argument
H A Dcl_ltp.cpp460 gain_pit = pointer to pitch gain (Word16)
508 Word16 *gain_pit, // o : Pitch gain Q14
543 // gain_pit is Q14 for all modes
544 *gain_pit = G_pitch(mode, xn, y1, g_coeff, L_SUBFR);
551 (sub(*gain_pit, GP_CLIP) > 0))
553 gpc_flag = check_gp_clipping(tonSt, *gain_pit);
559 if ( sub (*gain_pit, 13926) > 0) {
560 *gain_pit = 13926; // 0.85 in Q14
572 *gain_pit = GP_CLIP;
574 // For MR122, gain_pit i
619 cl_ltp( clLtpState *clSt, tonStabState *tonSt, enum Mode mode, Word16 frameOffset, Word16 T_op[], Word16 *h1, Word16 *exc, Word16 res2[], Word16 xn[], Word16 lsp_flag, Word16 xn2[], Word16 yl[], Word16 *T0, Word16 *T0_frac, Word16 *gain_pit, Word16 g_coeff[], Word16 **anap, Word16 *gp_limit, Flag *pOverflow ) argument
[all...]
H A Dgain_q.cpp399 gain_pit -- Word16 Pointer -- Pitch gain.
405 gain_pit -- Word16 Pointer -- Pitch gain.
484 Word16 *gain_pit, /* i/o : Pitch gain. */
635 gain_pit,
707 gain_pit,
724 gain_pit,
467 gainQuant( gainQuantState *st, enum Mode mode, Word16 res[], Word16 exc[], Word16 code[], Word16 xn[], Word16 xn2[], Word16 y1[], Word16 Y2[], Word16 g_coeff[], Word16 even_subframe, Word16 gp_limit, Word16 *sf0_gain_pit, Word16 *sf0_gain_cod, Word16 *gain_pit, Word16 *gain_cod, Word16 **anap, Flag *pOverflow ) argument
H A Dqua_gain.cpp133 Word16 *gain_pit -- Pointer to Word16 -- Pitch gain, Q14
202 Word16 *gain_pit, /* o : Pitch gain, Q14 */
381 *gain_pit = *p++;
193 Qua_gain( enum Mode mode, Word16 exp_gcode0, Word16 frac_gcode0, Word16 frac_coeff[], Word16 exp_coeff[], Word16 gp_limit, Word16 *gain_pit, Word16 *gain_cod, Word16 *qua_ener_MR122, Word16 *qua_ener, Flag *pOverflow ) argument
H A Dcod_amr.cpp857 Word16 gain_pit, gain_code;
1078 &T0, &T0_frac, &gain_pit, gCoeff, &ana,
1096 cbsearch(xn2, st->h1, T0, st->sharp, gain_pit, res2,
1105 &gain_pit, &gain_code, &ana);
1108 update_gp_clipping(st->tonStabSt, gain_pit);
1113 subframePostProc(st->speech, *usedMode, i_subfr, gain_pit,
1129 subframePostProc(st->speech, *usedMode, i_subfr, gain_pit,
1167 subframePostProc(st->speech, *usedMode, i_subfr, gain_pit,
1260 Word16 gain_pit, gain_code; local
1488 &T0, &T0_frac, &gain_pit, gCoef
[all...]
H A Dqgain475.cpp362 gain_pit = pointer to Pitch gain (Word16)
367 gain_pit points to Pitch gain
405 Word16 *gain_pit, // o : Pitch gain, Q14
417 *gain_pit = *p++;
479 Word16 *gain_pit, /* o : Pitch gain, Q14 */
495 *gain_pit = *p++;
474 MR475_quant_store_results( gc_predState *pred_st, const Word16 *p, Word16 gcode0, Word16 exp_gcode0, Word16 *gain_pit, Word16 *gain_cod, Flag *pOverflow ) argument
H A Dqgain795.cpp142 gain_pit -- Pointer to Word16 -- Pitch gain, Q14
214 Word16 *gain_pit, /* o : Pitch gain, Q14 */
386 *gain_pit = g_pitch_cand[pit_ind];
398 gain_pit -- Word16 -- pitch gain, Q14
476 Word16 gain_pit, /* i : pitch gain, Q14 */
557 g2_pitch = mult(gain_pit, gain_pit, pOverflow); /* Q14 -> Q13 */
573 coeff[2] = mult(tmp, gain_pit, pOverflow);
738 gain_pit -- Pointer to Word16 -- Pitch gain, Q14
742 gain_pit
206 MR795_gain_code_quant3( Word16 exp_gcode0, Word16 gcode0, Word16 g_pitch_cand[], Word16 g_pitch_cind[], Word16 frac_coeff[], Word16 exp_coeff[], Word16 *gain_pit, Word16 *gain_pit_ind, Word16 *gain_cod, Word16 *gain_cod_ind, Word16 *qua_ener_MR122, Word16 *qua_ener, Flag *pOverflow ) argument
475 MR795_gain_code_quant_mod( Word16 gain_pit, Word16 exp_gcode0, Word16 gcode0, Word16 frac_en[], Word16 exp_en[], Word16 alpha, Word16 gain_cod_unq, Word16 *gain_cod, Word16 *qua_ener_MR122, Word16 *qua_ener, Flag *pOverflow ) argument
808 MR795_gain_quant( GainAdaptState *adapt_st, Word16 res[], Word16 exc[], Word16 code[], Word16 frac_coeff[], Word16 exp_coeff[], Word16 exp_code_en, Word16 frac_code_en, Word16 exp_gcode0, Word16 frac_gcode0, Word16 L_subfr, Word16 cod_gain_frac, Word16 cod_gain_exp, Word16 gp_limit, Word16 *gain_pit, Word16 *gain_cod, Word16 *qua_ener_MR122, Word16 *qua_ener, Word16 **anap, Flag *pOverflow ) argument
[all...]

Completed in 192 milliseconds