1mlib_SignalUpSampleFIRInit_mFe3d2i_aFL3i2b(3LMiLbmIrlBai)rby_SFiugnncatliUopnSsampleFIRInit_F32_F32(3MLIB)
2
3
4
6 mlib_SignalUpSampleFIRInit_F32_F32 - upsampling with filtering
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_SignalUpSampleFIRInit_F32_F32(void **state,
13 const mlib_f32 *flt, mlib_s32 tap, mlib_s32 factor,
14 mlib_s32 phase);
15
16
18 The mlib_SignalUpSampleFIRInit_F32_F32() function allocates memory for
19 the internal state structure and converts the parameters into an inter‐
20 nal representation for upsampling immediately followed by FIR filter‐
21 ing.
22
24 The function takes the following arguments:
25
26 state Internal state structure.
27
28
29 flt Filter coefficient array.
30
31
32 tap Taps of the filter.
33
34
35 factor Factor by which to upsample.
36
37
38 phase Parameter that determines the relative position of an input
39 value, within the output signal. 0 ≤ phase < factor.
40
41
43 The function returns MLIB_SUCCESS if successful. Otherwise it returns
44 MLIB_FAILURE.
45
47 See attributes(5) for descriptions of the following attributes:
48
49
50
51
52 ┌─────────────────────────────┬─────────────────────────────┐
53 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │Interface Stability │Committed │
56 ├─────────────────────────────┼─────────────────────────────┤
57 │MT-Level │MT-Safe │
58 └─────────────────────────────┴─────────────────────────────┘
59
61 attributes(5)
62
63
64
65SunOS 5.11 2 Mamrli2b0_0S7ignalUpSampleFIRInit_F32_F32(3MLIB)