Lines Matching refs:order
91 if (size >= order) in updateState()
92 memcpy(state, data + size - order, order * sizeof (double)); in updateState()
94 int old = order - size; in updateState()
97 memcpy(state + order - size, data, size * sizeof (double)); in updateState()
115 for (int i = 0; i < order; i++) in resetState()
125 Fir(int order_in): order(order_in) // construct Fir object in Fir()
127 state = new double[order]; in Fir()
129 coef = new double[order + 1]; in Fir()
130 delay = (order + 1) >> 1; // assuming symmetric FIR in Fir()
143 return (order); in getOrder()
149 return (order + 1); in getNumCoefs()
155 memcpy(coef, coef_in, (order + 1) * sizeof (double)); in putCoef()
161 memcpy(coef_out, coef, (order + 1) * sizeof (double)); in getCoef()
176 int init_size = (size <= order)? size : order; in filter_noadjust()
177 int init_order = order; in filter_noadjust()
190 double2short(convolve(coef, state_ptr++, order + 1)); in filter_noadjust()
199 int group_delay = (order + 1) >> 1; in getFlushSize()