Lines Matching refs:max_pitch
46 int max_pitch, int *best_pitch in find_best_pitch() argument
70 for (i=0;i<max_pitch;i++) in find_best_pitch()
225 celt_pitch_xcorr(opus_val16 *x, opus_val16 *y, opus_val32 *xcorr, int len, int max_pitch)
231 for (i=0;i<max_pitch;i++)
253 …itch_xcorr_c(const opus_val16 *_x, const opus_val16 *_y, opus_val32 *xcorr, int len, int max_pitch) in celt_pitch_xcorr_c() argument
259 celt_assert(max_pitch>0); in celt_pitch_xcorr_c()
264 for (i=0;i<max_pitch-3;i+=4) in celt_pitch_xcorr_c()
280 for (;i<max_pitch;i++) in celt_pitch_xcorr_c()
297 int len, int max_pitch, int *pitch, int arch) in pitch_search() argument
315 celt_assert(max_pitch>0); in pitch_search()
316 lag = len+max_pitch; in pitch_search()
320 ALLOC(xcorr, max_pitch>>1, opus_val32); in pitch_search()
350 celt_pitch_xcorr(x_lp4, y_lp4, xcorr, len>>2, max_pitch>>2, arch); in pitch_search()
352 find_best_pitch(xcorr, y_lp4, len>>2, max_pitch>>2, best_pitch in pitch_search()
362 for (i=0;i<max_pitch>>1;i++) in pitch_search()
375 find_best_pitch(xcorr, y, len>>1, max_pitch>>1, best_pitch in pitch_search()
382 if (best_pitch[0]>0 && best_pitch[0]<(max_pitch>>1)-1) in pitch_search()