Lines Matching refs:xcorr
45 static void find_best_pitch(opus_val32 *xcorr, opus_val16 *y, int len,
72 if (xcorr[i]>0)
76 xcorr16 = EXTRACT16(VSHR32(xcorr[i], xshift));
225 celt_pitch_xcorr(opus_val16 *x, opus_val16 *y, opus_val32 *xcorr, int len, int max_pitch)
236 xcorr[i] = sum;
253 celt_pitch_xcorr_c(const opus_val16 *_x, const opus_val16 *_y, opus_val32 *xcorr, int len, int max_pitch)
268 xcorr[i]=sum[0];
269 xcorr[i+1]=sum[1];
270 xcorr[i+2]=sum[2];
271 xcorr[i+3]=sum[3];
285 xcorr[i] = sum;
304 VARDECL(opus_val32, xcorr);
320 ALLOC(xcorr, max_pitch>>1, opus_val32);
350 celt_pitch_xcorr(x_lp4, y_lp4, xcorr, len>>2, max_pitch>>2, arch);
352 find_best_pitch(xcorr, y_lp4, len>>2, max_pitch>>2, best_pitch
365 xcorr[i] = 0;
370 xcorr[i] = MAX32(-1, sum);
375 find_best_pitch(xcorr, y, len>>1, max_pitch>>1, best_pitch
385 a = xcorr[best_pitch[0]-1];
386 b = xcorr[best_pitch[0]];
387 c = xcorr[best_pitch[0]+1];
410 opus_val32 xcorr[3];
521 xcorr[k] = xy;
523 if ((xcorr[2]-xcorr[0]) > MULT16_32_Q15(QCONST16(.7f,15),xcorr[1]-xcorr[0]))
525 else if ((xcorr[0]-xcorr[2]) > MULT16_32_Q15(QCONST16(.7f,15),xcorr[1]-xcorr[2]))