Lines Matching refs:best_pitch
46 int max_pitch, int *best_pitch in find_best_pitch() argument
66 best_pitch[0] = 0; in find_best_pitch()
67 best_pitch[1] = 1; in find_best_pitch()
89 best_pitch[1] = best_pitch[0]; in find_best_pitch()
92 best_pitch[0] = i; in find_best_pitch()
96 best_pitch[1] = i; in find_best_pitch()
289 int best_pitch[2]={0,0}; in pitch_search() local
340 find_best_pitch(xcorr, y_lp4, len>>2, max_pitch>>2, best_pitch in pitch_search()
354 if (abs(i-2*best_pitch[0])>2 && abs(i-2*best_pitch[1])>2) in pitch_search()
368 find_best_pitch(xcorr, y, len>>1, max_pitch>>1, best_pitch in pitch_search()
375 if (best_pitch[0]>0 && best_pitch[0]<(max_pitch>>1)-1) in pitch_search()
378 a = xcorr[best_pitch[0]-1]; in pitch_search()
379 b = xcorr[best_pitch[0]]; in pitch_search()
380 c = xcorr[best_pitch[0]+1]; in pitch_search()
390 *pitch = 2*best_pitch[0]-offset; in pitch_search()