Lines Matching refs:xcorr
45 static void find_best_pitch(opus_val32 *xcorr, opus_val16 *y, int len, in find_best_pitch() argument
72 if (xcorr[i]>0) in find_best_pitch()
76 xcorr16 = EXTRACT16(VSHR32(xcorr[i], xshift)); in find_best_pitch()
217 opus_val32 *xcorr, int len, int max_pitch, int arch) in celt_pitch_xcorr_c() argument
234 xcorr[i] = sum; in celt_pitch_xcorr_c()
257 xcorr[i]=sum[0]; in celt_pitch_xcorr_c()
258 xcorr[i+1]=sum[1]; in celt_pitch_xcorr_c()
259 xcorr[i+2]=sum[2]; in celt_pitch_xcorr_c()
260 xcorr[i+3]=sum[3]; in celt_pitch_xcorr_c()
273 xcorr[i] = sum; in celt_pitch_xcorr_c()
292 VARDECL(opus_val32, xcorr); in pitch_search()
308 ALLOC(xcorr, max_pitch>>1, opus_val32); in pitch_search()
338 celt_pitch_xcorr(x_lp4, y_lp4, xcorr, len>>2, max_pitch>>2, arch); in pitch_search()
340 find_best_pitch(xcorr, y_lp4, len>>2, max_pitch>>2, best_pitch in pitch_search()
353 xcorr[i] = 0; in pitch_search()
363 xcorr[i] = MAX32(-1, sum); in pitch_search()
368 find_best_pitch(xcorr, y, len>>1, max_pitch>>1, best_pitch 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()
438 opus_val32 xcorr[3]; in remove_doubling() local
522 xcorr[k] = celt_inner_prod(x, x-(T+k-1), N, arch); in remove_doubling()
523 if ((xcorr[2]-xcorr[0]) > MULT16_32_Q15(QCONST16(.7f,15),xcorr[1]-xcorr[0])) in remove_doubling()
525 else if ((xcorr[0]-xcorr[2]) > MULT16_32_Q15(QCONST16(.7f,15),xcorr[1]-xcorr[2])) in remove_doubling()