Lines Matching refs:sw
173 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)
215 if (ABS16(sw[i])>16383)
226 sw[i]=SHR16(sw[i],1);
230 energy[0]=inner_prod(sw-start, sw-start, len);
231 e0=inner_prod(sw, sw, len);
235 energy[i-start+1] = SUB32(ADD32(energy[i-start],SHR32(MULT16_16(sw[-i-1],sw[-i-1]),6)), SHR32(MULT16_16(sw[-i+len-1],sw[-i+len-1]),6));
245 pitch_xcorr(sw, sw-end, corr, len, end-start+1, stack);
255 sw[i]=SHL16(sw[i],1);
530 spx_word16_t *sw,
609 open_loop_nbest_pitch(sw, start, end, nsf, nbest, NULL, N, stack);
757 spx_word16_t *sw,