1mlib_SignalMulS_S16_S16_Satm(e3dMiLaILBi)b Library Fumnlcitbi_oSnisgnalMulS_S16_S16_Sat(3MLIB)
2
3
4
6 mlib_SignalMulS_S16_S16_Sat, mlib_SignalMulS_S16S_S16S_Sat - multipli‐
7 cation by a scalar
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_SignalMulS_S16_S16_Sat(mlib_s16 *dst,
14 const mlib_s16 *src, const mlib_s16 *c, mlib_s32 n);
15
16
17 mlib_status mlib_SignalMulS_S16S_S16S_Sat(mlib_s16 *dst,
18 const mlib_s16 *src, const mlib_s16 *c, mlib_s32 n);
19
20
22 Each of these functions performs multiplication by a scalar.
23
25 Each of the functions takes the following arguments:
26
27 dst Output signal array.
28
29
30 src Input signal array.
31
32
33 c Scaling factor. The scaling factor is in Q15 format. In the
34 stereo version; c[0] contains the scaling factor for channel 0,
35 and c[1] holds the scaling factor for channel 1.
36
37
38 n Number of samples in the input signal arrays.
39
40
42 Each of the functions returns MLIB_SUCCESS if successful. Otherwise it
43 returns MLIB_FAILURE.
44
46 See attributes(5) for descriptions of the following attributes:
47
48
49
50
51 ┌─────────────────────────────┬─────────────────────────────┐
52 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
53 ├─────────────────────────────┼─────────────────────────────┤
54 │Interface Stability │Committed │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │MT-Level │MT-Safe │
57 └─────────────────────────────┴─────────────────────────────┘
58
60 mlib_SignalMulS_S16_Sat(3MLIB), attributes(5)
61
62
63
64SunOS 5.11 2 Mar 2007mlib_SignalMulS_S16_S16_Sat(3MLIB)