1.4.2.19 DSP_FilterIIRSetup16 Function
Converts biquad structure to coeffs array to set up IIR filter.
Description
void DSP_FilterIIRSetup16(int16_t *coeffs, biquad16 *bq, int B);
Converts an array of biquad coefficients, bq, into an linear array of coefficients, coeffs. The output array must be 4*B elements long. The number of biquads in the resulting factor is given by B. All numerical values must be in Q15 fractional data format.
Preconditions
coeffs must have 4*B elements.
Parameters
coeffs pointer to an array of coefficients (int16_t)
bq pointer to array of biquad structure filter coefs (biquad16)
B number of cascaded biquad filter groups to process (int)
Returns
None.
Remarks
None.
Example
see DSP_FilterIIR16 for example.
C
void DSP_FilterIIRSetup16 (int16_t * coeffs , biquad16 * bq , int B );