cc [ flag... ] file... –lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalIIRInit_P4_S16_S16(void **filter, const mlib_f32 flt);
mlib_status mlib_SignalIIRInit_P4_S16S_S16S(void **filter, const mlib_f32 flt);
Each of these functions allocates memory for the internal filter structure and converts the filter coefficients to an internal representation.
Each of the functions takes the following arguments:
Internal filter structure.
Array of nine filter coefficients: c, a00, a10, b10, b20, a01, a11, b11, and b21.
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes:
|
mlib_SignalIIR_Biquad_S16_S16_Sat(3MLIB), mlib_SignalIIR_P4_S16_S16_Sat(3MLIB), mlib_SignalIIRFree_Biquad_S16_S16(3MLIB), mlib_SignalIIRFree_P4_S16_S16(3MLIB), mlib_SignalIIRInit_Biquad_S16_S16(3MLIB), attributes(5)