Content-type: text/html Man page of mlib_SignalDTWKScalarInit_F32

mlib_SignalDTWKScalarInit_F32

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

NAME

mlib_SignalDTWKScalarInit_F32 - initialization for K-best paths of scalar data  

SYNOPSIS

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

mlib_status mlib_SignalDTWKScalarInit_F32(void *state, 
    const mlib_f32 *dref, mlib_s32 lref, mlib_s32 kbest, 
    mlib_s32 delta, mlib_s32 local, mlib_s32 slope);

 

DESCRIPTION

The mlib_SignalDTWKScalarInit_F32() function initializes the internal state structure for dynamic time warping (DTW) for K-best paths of scalar data.

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

PARAMETERS

The function takes the following arguments:

dref

The reference data array.

lref

The length of the reference data array.

kbest

The number of the best paths evaluated.

delta

The delta in the endpoint constraints.

local

The type of the local continuity constraints. MLIB_DTW_ITAKURA for Itakura type constraints.

slope

The type of the slope weighting. MLIB_DTW_NONE for no slope weighting.

state

Pointer to the internal state structure.

 

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

mlib_SignalDTWKScalarInit_F32(3MLIB), mlib_SignalDTWKScalar_F32(3MLIB), mlib_SignalDTWKScalarPath_F32(3MLIB), mlib_SignalDTWKScalarFree_F32(3MLIB), 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