Home | History | Annotate | Download | only in libspeex

Lines Matching defs:pitch

186    st->pitch = (int*)speex_alloc((st->nbSubframes)*sizeof(int));
234 speex_free (st->pitch);
337 /* Whole frame analysis (open-loop estimation of pitch and excitation gain) */
352 /*Open-loop pitch*/
373 /*Try to remove pitch multiples*/
583 /*If we use low bit-rate pitch mode, transmit open-loop pitch*/
592 /* This just damps the pitch a bit, because it tends to be too aggressive when forced */
652 int pitch;
766 /* Low bit-rate pitch handling */
785 /* Force pitch to use only the current frame if needed */
789 /* Perform pitch search */
790 pitch = SUBMODE(ltp_quant)(target, sw, interp_qlpc, bw_lpc1, bw_lpc2,
795 st->pitch[sub]=pitch;
1087 int pitch;
1256 /* Get open-loop pitch estimation for low bit-rate pitch coding */
1324 /* Handle pitch constraints if any */
1356 st->subframeSize, &pitch, &pitch_gain[0], bits, stack,
1367 if ((tmp>best_pitch_gain&&ABS(2*best_pitch-pitch)>=3&&ABS(3*best_pitch-pitch)>=4&&ABS(4*best_pitch-pitch)>=5)
1368 || (tmp>MULT16_16_Q15(QCONST16(.6,15),best_pitch_gain)&&(ABS(best_pitch-2*pitch)<3||ABS(best_pitch-3*pitch)<4||ABS(best_pitch-4*pitch)<5))
1369 || (MULT16_16_Q15(QCONST16(.67,15),tmp)>best_pitch_gain&&(ABS(2*best_pitch-pitch)<3||ABS(3*best_pitch-pitch)<4||ABS(4*best_pitch-pitch)<5)) )
1371 best_pitch = pitch;