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