Lines Matching defs:pitch_lag

183     p->pitch_lag[0] = get_bits(&gb, 7);
184 if (p->pitch_lag[0] > 123) /* test if forbidden code */
186 p->pitch_lag[0] += PITCH_MIN;
189 p->pitch_lag[1] = get_bits(&gb, 7);
190 if (p->pitch_lag[1] > 123)
192 p->pitch_lag[1] += PITCH_MIN;
202 if (p->cur_rate == RATE_6300 && p->pitch_lag[i >> 1] < SUBFRAME_LEN - 2) {
279 * @param pitch_lag closed loop pitch lag
283 enum Rate cur_rate, int pitch_lag, int index)
312 ff_g723_1_gen_dirac_train(vector, pitch_lag);
328 lag = pitch_contrib[subfrm->ad_cb_gain << 1] + pitch_lag +
345 * @param pitch_lag decoded pitch lag
350 int pitch_lag, int length, int dir)
355 pitch_lag = FFMIN(PITCH_MAX - 3, pitch_lag);
357 limit = FFMIN(FRAME_LEN + PITCH_MAX - offset - length, pitch_lag + 3);
359 limit = pitch_lag + 3;
361 for (i = pitch_lag - 3; i <= limit; i++) {
426 * @param pitch_lag decoded pitch lag
430 static void comp_ppf_coeff(G723_1_ChannelContext *p, int offset, int pitch_lag,
447 int fwd_lag = autocorr_max(buf, offset, &energy[1], pitch_lag,
449 int back_lag = autocorr_max(buf, offset, &energy[3], pitch_lag,
510 * @param pitch_lag decoded pitch_lag
516 static int comp_interp_index(G723_1_ChannelContext *p, int pitch_lag,
529 index = autocorr_max(buf, offset, &ccr, pitch_lag, SUBFRAME_LEN * 2, -1);
813 p->pitch_lag[0] = cng_rand(&p->cng_random_seed, 21) + 123;
814 p->pitch_lag[1] = cng_rand(&p->cng_random_seed, 19) + 123;
850 p->pitch_lag[i >> 1], &p->subframe[i],
854 p->pitch_lag[i >> 1], &p->subframe[i + 1],
995 p->pitch_lag[i >> 1], i);
998 p->pitch_lag[i >> 1],
1010 p->interp_index = comp_interp_index(p, p->pitch_lag[1],
1017 comp_ppf_coeff(p, i, p->pitch_lag[j >> 1],