Lines Matching defs:in
6 * (the "License"). You may not use this file except in compliance
14 * When distributing Covered Code, include this CDDL HEADER in each
70 short *in,
74 *out++ = (double)*in++;
78 double2short(double in) // limit double to short
80 if (in <= -32768.0)
82 else if (in >= 32767.0)
85 return ((short)in);
105 short *in,
109 short2double(in_buf, in, size);
155 putCoef(double *coef_in) // copy coef_in in filter coefficients
161 getCoef(double *coef_out) // returns filter coefs in coef_out
166 int Fir:: // filter in[size], and updates the state.
168 short *in,
176 short2double(in_buf, in, size); // convert short input to double
183 // the first "order" outputs need state in convolution
210 short *in = new short[num];
211 memset(in, 0, num * sizeof (short));
212 num = filter_noadjust(in, num, out);
213 delete in;
219 * filter() filters in[size] with filter delay adjusted to 0
224 * "(order + 1) / 2". So filter_nodelay adjusts the group delay in the
237 short *in,
241 if ((size <= 0) || (in == NULL))
244 return (filter_noadjust(in, size, out));
246 update_short(in, size);
250 update_short(in, delay);
251 in += delay;
254 return (filter_noadjust(in, size, out));