Lines Matching defs:pitch

147     int lbr_pitch; /**< Set to -1 for "normal" modes, otherwise encode pitch using
148 a global pitch and allowing a +- lbr_pitch variation (for
150 int forced_pitch_gain; /**< Use the same (forced) pitch gain for all
158 ltp_unquant_func ltp_unquant; /**< Long-term predictor (pitch) un-quantizer */
357 int pitch, gain_index, gain_cdbk_size;
366 pitch = get_bitsz(gb, params->pitch_bits);
367 pitch += start;
373 if (count_lost && pitch > subframe_offset) {
387 pitch_val[0] = pitch;
395 int pp = pitch + 1 - i;
402 if (tmp3 > pp + pitch)
403 tmp3 = pp + pitch;
405 exc_out[j] += gain[2 - i] * exc[j - pp - pitch];
691 static int interp_pitch(const float *exc, float *interp, int pitch, int len)
697 corr[0][i] = inner_prod(exc, exc - pitch - 3 + i, len);
729 tmp += exc[i - (pitch - maxj + 3) + k - 3] * shift_filt[maxi - 1][k];
731 tmp = exc[i - (pitch - maxj + 3)];
735 return pitch - maxj + 3;
739 int pitch, int max_pitch, float comb_gain)
748 int corr_pitch = pitch;
871 int m, pitch, wideband, ol_pitch = 0, best_pitch = 40;
973 /* Get open-loop pitch estimation for low bit-rate pitch coding */
1002 /* Handle pitch constraints if any */
1020 NB_SUBFRAME_SIZE, &pitch, pitch_gain, gb, st->count_lost, offset,
1029 FFABS(2 * best_pitch - pitch) >= 3 &&
1030 FFABS(3 * best_pitch - pitch) >= 4 &&
1031 FFABS(4 * best_pitch - pitch) >= 5) ||
1033 (FFABS(best_pitch - 2 * pitch) < 3 ||
1034 FFABS(best_pitch - 3 * pitch) < 4 ||
1035 FFABS(best_pitch - 4 * pitch) < 5)) ||
1037 (FFABS(2 * best_pitch - pitch) < 3 ||
1038 FFABS(3 * best_pitch - pitch) < 4 ||
1039 FFABS(4 * best_pitch - pitch) < 5))) {
1040 best_pitch = pitch;