Lines Matching defs:in_buf
43 * returns the convolution of coef[length] and in_buf[length]:
45 * convolution = coef[0] * in_buf[length - 1] +
46 * coef[1] * in_buf[length - 2] +
48 * coef[length - 1] * in_buf[0]
53 double *in_buf,
59 in_buf += --length;
60 double sum = *coefs * *in_buf;
62 sum += *++coefs * *--in_buf;
108 double *in_buf = new double[size];
109 short2double(in_buf, in, size);
110 updateState(in_buf, size);
111 delete in_buf;
175 double *in_buf = new double[size];
176 short2double(in_buf, in, size); // convert short input to double
185 *out_ptr++ = double2short(convolve(coef, in_buf, i) +
189 state_ptr = in_buf;
193 updateState(in_buf, size);
194 delete in_buf;