man pages section 3: Multimedia Library Functions

Exit Print View

Updated: July 2014
 
 

mlib_SignalLPCPerceptWeightInit_S16(3MLIB)

Name

mlib_SignalLPCPerceptWeightInit_S16, mlib_SignalLPCPerceptWeightInit_F32 - initialization for perceptual weighting of linear predictive coding

Synopsis

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

mlib_status mlib_SignalLPCPerceptWeightInit_S16(void *state,
     mlib_s32 length, mlib_s32 order);
mlib_status mlib_SignalLPCPerceptWeightInit_F32(void *state,
     mlib_s32 length, mlib_s32 order);

Description

Each function initializes the internal state structure for perceptual weighting of linear predictive coding (LPC).

The init function performs internal state structure allocation and global initialization. Per LPC function call initialization is done in LPC function, so the same internal state structure can be reused for multiple LPC function calls.

Parameters

Each function takes the following arguments:

state

Pointer to the internal state structure.

length

The length of the input signal vector.

order

The order of the linear prediction filter.

Return Values

Each 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

mlib_SignalLPCPerceptWeight_S16(3MLIB), mlib_SignalLPCPerceptWeightFree_S16(3MLIB), attributes(5)