35 for(n=0;n<lengthInOut;n++){
36 for(k=1;k<=orderCoef;k++){
37 *InOut -= Coef[k]*InOut[-k];
66 for(n=0;n<lengthInOut;n++){
68 for(k=1;k<=orderCoef;k++){
69 *Out += Coef[k]*In[-k];
118 float *Out_ptr = Out;
119 float *Coef_ptr, *In_ptr;
135 for (j = 0; j <
stop; j++)
137 o += *Coef_ptr++ * (*In_ptr--);
141 o += *Coef_ptr++ * (*state_ptr--);
163 o += *Coef_ptr++ * (*Out_ptr--);
166 Coef_ptr = &Coef[i-lengthIn];
167 In_ptr = &In[lengthIn-1];
169 o += *Coef_ptr++ * (*In_ptr--);
void ZeroPoleFilter(float *In, float *ZeroCoef, float *PoleCoef, int lengthInOut, int orderCoef, float *Out)
void AllZeroFilter(float *In, float *Coef, int lengthInOut, int orderCoef, float *Out)
void DownSample(float *In, float *Coef, int lengthIn, float *state, float *Out)
void AllPoleFilter(float *InOut, float *Coef, int lengthInOut, int orderCoef)