mlib_SignalUpSampleFIR_F32S_F32S(3MLIB) mediaLib Library Functions mlib_SignalUpSampleFIR_F32S_F32S(3MLIB)
NAME
mlib_SignalUpSampleFIR_F32S_F32S - upsampling with filtering
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_SignalUpSampleFIR_F32S_F32S(mlib_f32 *dst,
const mlib_f32 *src, void *state, mlib_s32 n);
DESCRIPTION
The mlib_SignalUpSampleFIR_F32S_F32S() function performs upsampling immediately followed by FIR filtering on one packet of signal and
updates the internal state.
PARAMETERS
The function takes the following arguments:
dst Output stereo signal array. src[2*i] contains Channel 0, and src[2*i+1] contains Channel 1.
src Source stereo signal array. src[2*i] contains Channel 0, and src[2*i+1] contains Channel 1.
state Internal state structure.
n Number of samples in the input signal array.
RETURN VALUES
The function 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
attributes(5)
SunOS 5.11 2 Mar 2007 mlib_SignalUpSampleFIR_F32S_F32S(3MLIB)