Home | History | Annotate | Download | only in libspeex

Lines Matching defs:corr

79 void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *corr, int len, int nb_pitch, char *stack)
85 /*corr[nb_pitch-1-i]=inner_prod(x, _y+i, len);*/
134 corr[nb_pitch-1-i]=sum1;
135 corr[nb_pitch-2-i]=sum2;
136 corr[nb_pitch-3-i]=sum3;
137 corr[nb_pitch-4-i]=sum4;
142 void pitch_xcorr(const spx_word16_t *_x, const spx_word16_t *_y, spx_word32_t *corr, int len, int nb_pitch, char *stack)
148 corr[nb_pitch-1-i]=inner_prod(_x, _y+i, len);
179 VARDECL(spx_word32_t *corr);
190 ALLOC(corr, end-start+1, spx_word32_t);
191 energy = corr;
198 ALLOC(corr, end-start+1, spx_word32_t);
199 corr16 = corr;
244 /* In fixed-point, this actually overrites the energy array (aliased to corr) */
245 pitch_xcorr(sw, sw-end, corr, len, end-start+1, stack);
249 cshift = normalize16(corr, corr16, 180, end-start+1);
299 /* FIXME: g = max(g,corr/energy) */
374 spx_word32_t corr[3];
440 corr[i]=inner_prod(x[i],new_target,nsf);
452 C[0]=corr[2];
453 C[1]=corr[1];
454 C[2]=corr[0];