Lines Matching refs:size
129 int size)
132 Fir::updateState(in, size);
133 else if (size >= num_state)
134 memcpy(state, in + size - num_state,
137 int old = num_state - size;
138 BCOPY((char *)(state + size), (char *)state,
140 memcpy(state + old, in, size * sizeof (double));
177 int size,
182 if (size <= 0)
185 return (Fir::filter_noadjust(in, size, out));
186 else if (size <= down_offset) { // just update states
187 update_short(in, size);
188 down_offset -= size;
192 double *in_buf = new double[size];
193 short2double(in_buf, in, size);
197 int init_size = (size <= order)? size : order;
201 for (; i < size; i += down)
204 down_offset = i - size;
206 updateState(in_buf, size);
214 int size,
218 return (decimate_noadjust(in, size, out));
219 else if (size <= delay) {
220 update_short(in, size);
221 delay -= size;
226 size -= delay;
228 return (decimate_noadjust(in, size, out));
248 int size,
253 if (size <= 0)
256 return (Fir::filter_noadjust(in, size, out));
258 double *in_buf = new double[size];
259 short2double(in_buf, in, size);
269 for (i = 1; i < size; i++) {
282 order - j, up, in_buf, size) + poly_conv(
287 updateState(in_buf, size);
309 int size,
312 if (size <= 0)
315 return (interpolate_noadjust(in, size, out));
318 if (size < delay_in)
319 delay_in = size;
326 return (interpolate_noadjust(in + delay_in, size -
333 int size,
338 if (size <= 0)
341 return (decimate_noadjust(in, size, out));
343 return (interpolate_noadjust(in, size, out));
345 double *in_buf = new double[size];
346 short2double(in_buf, in, size);
361 for (i = 1; i < size; i++) {
375 in_buf, size) + poly_conv(coef + coef_offset,
381 updateState(in_buf, size);
418 int size,
421 if (size <= 0)
424 return (decimate(in, size, out));
426 return (interpolate(in, size, out));
428 return (filter_noadjust(in, size, out));
431 if (size < delay_in)
432 delay_in = size;
442 return (filter_noadjust(in + delay_in, size - delay_in, out));