mlib_SignalFIRInit_S16_S16mediaLib Library Fumlib_SignalFIRInit_S16_S16(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 struc‐
ture and converts the filter coefficients to an internal representa‐
tion.
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 ALSOmlib_SignalFIR_S16_S16_Sat(3MLIB), mlib_SignalFIRFree_S16_S16(3MLIB),
attributes(5)SunOS 5.10 2 Mar 2007 mlib_SignalFIRInit_S16_S16(3MLIB)