Collaboration diagram for DSP_iir_ss:
short | DSP_iir_ss (short Input, const short *restrict Coefs, int nCoefs, short *restrict State) |
short DSP_iir_ss | ( | short | Input, | |
const short *restrict | Coefs, | |||
int | nCoefs, | |||
short *restrict | State | |||
) |
This function implements an IIR filter, with a number of biquad stages given by nCoefs / 4. It accepts a single sample of input and returns a single sample of output. Coefficients are expected to be in the range [-2.0, 2.0) with Q14 precision.
Input | = Single sample input | |
Coefs | = Coefficients with Q14 precision | |
nCoefs | = Number of coefficients | |
State | = State |