mediaLib Library Functions
mlibSignalUpSampleFIRInitF32SF32S(3MLIB)
NAME
mlibSignalUpSampleFIRInitF32SF32S - upsampling with
filtering
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibSignalUpSampleFIRInitF32SF32S(void **state,
const mlibf32 *flt, mlibs32 tap, mlibs32 factor,
mlibs32 phase);
DESCRIPTION
The mlibSignalUpSampleFIRInitF32SF32S() function allo-
cates memory for the internal state structure and converts
the parameters into an internal representation for upsam-
pling immediately followed by FIR filtering.
PARAMETERS
The function takes the following arguments:
state Internal state structure.
flt Filter coefficientarray in two-channel stereo for-
mat. src[2*i] contains channel 0, and src[2*i]1]
contains channel 1 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 VALUES
The function returns MLIBSUCES if successful. Otherwise
it returns MLIBFAILURE.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions
mlibSignalUpSampleFIRInitF32SF32S(3MLIB)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
mediaLib Library Functions
mlibSignalUpSampleFIRInitF32SF32S(3MLIB)
SunOS 5.11 Last change: 2 Mar 2007 3
|