Query: mlib_signalupsamplefirinit_s16_s16
OS: opensolaris
Section: 3mlib
Links: opensolaris man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
mlib_SignalUpSampleFIRInit_S16_S16(3MLIB) mediaLib Library Functions mlib_SignalUpSampleFIRInit_S16_S16(3MLIB)NAMEmlib_SignalUpSampleFIRInit_S16_S16, mlib_SignalUpSampleFIRInit_S16S_S16S - upsampling with filteringSYNOPSIScc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_SignalUpSampleFIRInit_S16_S16(void **state, const mlib_f32 *flt, mlib_s32 tap, mlib_s32 factor, mlib_s32 phase); mlib_status mlib_SignalUpSampleFIRInit_S16S_S16S(void **state, const mlib_f32 *flt, mlib_s32 tap, mlib_s32 factor, mlib_s32 phase);DESCRIPTIONEach of these functions allocates memory for the internal state structure and converts the parameters into an internal representation for upsampling immediately followed by FIR filtering.PARAMETERSEach of the functions takes the following arguments: state Internal state structure. flt Filter coefficient array. tap Taps of the filter. factor Factor by which to upsample. phase Parameter that determines the relative position of an input value, within the output signal. 0 <= phase < factor.RETURN VALUESEach of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOmlib_SignalUpSampleFIR_S16_S16_Sat(3MLIB), mlib_SignalUpSampleFIRFree_S16_S16(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_SignalUpSampleFIRInit_S16_S16(3MLIB)