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