mediaLib Library Functions mlib_SignalDTWScalarInit_F32(3MLIB)
NAME
mlib_SignalDTWScalarInit_F32 - initialization for scalar
dataSYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlib_status mlib_SignalDTWScalarInit_F32(void *state,
const mlib_f32 *dref, mlib_s32 lref, mlib_s32 delta,
mlib_s32 local, mlib_s32 slope);
DESCRIPTION
The mlib_SignalDTWScalarInit_F32() function initializes the
internal state structure for dynamic time warping (DTW) of scalar data.The init function performs internal state structure alloca-
tion and global initialization. Per DTW function call ini-
tialization 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. 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.
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlib_SignalDTWScalarInit_F32(3MLIB)
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
mlib_SignalDTWScalarInit_F32(3MLIB),
mlib_SignalDTWScalar_F32(3MLIB),
mlib_SignalDTWScalarPath_F32(3MLIB),
mlib_SignalDTWScalarFree_F32(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2