Content-type: text/html Man page of mlib_SignalUpSampleFIRInit_F32S_F32S

mlib_SignalUpSampleFIRInit_F32S_F32S

Section: mediaLib Library Functions (3MLIB)
Updated: 2 Mar 2007
Index Return to Main Contents
 

NAME

mlib_SignalUpSampleFIRInit_F32S_F32S - upsampling with filtering  

SYNOPSIS

cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>

mlib_status mlib_SignalUpSampleFIRInit_F32S_F32S(void **state, 
    const mlib_f32 *flt, mlib_s32 tap, mlib_s32 factor, 
    mlib_s32 phase);

 

DESCRIPTION

The mlib_SignalUpSampleFIRInit_F32S_F32S() function allocates memory for the internal state structure and converts the parameters into an internal representation for upsampling immediately followed by FIR filtering.  

PARAMETERS

The function takes the following arguments:

state

Internal state structure.

flt

Filter coefficientarray in two-channel stereo format. 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 MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.  

ATTRIBUTES

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

ATTRIBUTE TYPEATTRIBUTE VALUE

Interface StabilityCommitted

MT-Level

 

SEE ALSO

attributes(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUES
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:38:07 GMT, October 02, 2010