1mlib_SignalDTWKScalarInit_Sm1e6d(i3aMLLiIbB)LibrarymFluinbc_tSiiognnsalDTWKScalarInit_S16(3MLIB)
2
3
4
6 mlib_SignalDTWKScalarInit_S16 - initialization for K-best paths of
7 scalar data
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_SignalDTWKScalarInit_S16(void *state,
14 const mlib_s16 *dref, mlib_s32 lref, mlib_s32 kbest,
15 mlib_s32 sref, mlib_s32 delta, mlib_s32 local,
16 mlib_s32 slope);
17
18
20 The mlib_SignalDTWKScalarInit_S16() function initializes the internal
21 state structure for dynamic time warping (DTW) for K-best paths of
22 scalar data.
23
24
25 The init function performs internal state structure allocation and
26 global initialization. Per DTW function call initialization is done in
27 DTW function, so the same internal state structure can be reused for
28 multiple DTW function calls.
29
31 The function takes the following arguments:
32
33 dref The reference data array.
34
35
36 lref The length of the reference data array.
37
38
39 kbest The number of the best paths evaluated.
40
41
42 sref The scaling factor of the reference data array, where
43 actual_data = input_data * 2**(-scaling_factor).
44
45
46 delta The delta in the endpoint constraints.
47
48
49 local The type of the local continuity constraints. MLIB_DTW_ITAKURA
50 for Itakura type constraints.
51
52
53 slope The type of the slope weighting. MLIB_DTW_NONE for no slope
54 weighting.
55
56
57 state Pointer to the internal state structure.
58
59
61 The function returns MLIB_SUCCESS if successful. Otherwise it returns
62 MLIB_FAILURE.
63
65 See attributes(5) for descriptions of the following attributes:
66
67
68
69
70 ┌─────────────────────────────┬─────────────────────────────┐
71 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
72 ├─────────────────────────────┼─────────────────────────────┤
73 │Interface Stability │Committed │
74 ├─────────────────────────────┼─────────────────────────────┤
75 │MT-Level │MT-Safe │
76 └─────────────────────────────┴─────────────────────────────┘
77
79 mlib_SignalDTWKScalarInit_S16(3MLIB), mlib_SignalDTWKScalar_S16(3MLIB),
80 mlib_SignalDTWKScalarPath_S16(3MLIB), mlib_SignalDTWKScalar‐
81 Free_S16(3MLIB), attributes(5)
82
83
84
85SunOS 5.11 2 Mar 200m7lib_SignalDTWKScalarInit_S16(3MLIB)