man pages section 3: Multimedia Library Functions

Exit Print View

Updated: July 2014
 
 

mlib_SignalFIRInit_S16S_S16S(3MLIB)

Name

mlib_SignalFIRInit_S16_S16, mlib_SignalFIRInit_S16S_S16S - Finite Impulse Response (FIR) filtering

Synopsis

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);

Description

Each of these functions allocates memory for the internal filter structure and converts the filter coefficients to an internal representation.

Parameters

Each of the functions takes the following arguments:

filter

Internal filter structure.

flt

Filter coefficient array.

tap

Taps of the filter.

Return Values

Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
MT-Safe

See also

mlib_SignalFIR_S16_S16_Sat(3MLIB), mlib_SignalFIRFree_S16_S16(3MLIB), attributes(5)