cc [ flag... ] file... –lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalFIRInit_S16_S16(void **filter, const mlib_f32 *flt,mlib_s32 tap);
mlib_status mlib_SignalFIRInit_S16S_S16S(void **filter, const mlib_f32 *flt,mlib_s32 tap);
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.
Filter coefficient array.
Taps of the filter.
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes:
|
mlib_SignalFIR_S16_S16_Sat(3MLIB), mlib_SignalFIRFree_S16_S16(3MLIB), attributes(5)