Home | History | Annotate | Download | only in libspeex

Lines Matching refs:start

157 void open_loop_nbest_pitch(spx_word16_t *sw, int start, int end, int len, int *pitch, spx_word16_t *gain, int N, char *stack)
168 ALLOC(corr, end-start+1, spx_word32_t);
169 ALLOC(energy, end-start+2, spx_word32_t);
175 pitch[i]=start;
178 energy[0]=inner_prod(sw-start, sw-start, len);
202 : : "d" (energy), "d" (&sw[-start-1]), "d" (&sw[-start+len-1]),
203 "a" (end-start)
210 pitch_xcorr(sw, sw-end, corr, len, end-start+1, stack);
216 ALLOC(corr16, end-start+1, spx_word16_t);
217 ALLOC(ener16, end-start+1, spx_word16_t);
219 normalize16(corr, corr16, 180, end-start+1);
220 normalize16(energy, ener16, 180, end-start+1);
247 : "a" (corr16), "a" (ener16), "a" (end+1-start), "d" (start)
256 for (i=start;i<=end;i++)
258 spx_word16_t tmp = MULT16_16_16(corr16[i-start],corr16[i-start]);
260 if (MULT16_16(tmp,best_ener[N-1])>MULT16_16(best_score[N-1],ADD16(1,ener16[i-start])))
264 best_ener[N-1]=ener16[i-start]+1;
269 if (MULT16_16(tmp,best_ener[j])>MULT16_16(best_score[j],ADD16(1,ener16[i-start])))
278 best_ener[j]=ener16[i-start]+1;
295 g = DIV32(corr[i-start], 10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(energy[i-start])),6));