1mlib_SignalMulS_S16_Sat(3MLmIeBd)iaLib Library Functimolnisb_SignalMulS_S16_Sat(3MLIB)
2
3
4
6 mlib_SignalMulS_S16_Sat, mlib_SignalMulS_S16S_Sat - multiplication by a
7 scalar
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_SignalMulS_S16_Sat(mlib_s16 *srcdst, const mlib_s16 *c,
14 mlib_s32 n);
15
16
17 mlib_status mlib_SignalMulS_S16S_Sat(mlib_s16 *srcdst, const mlib_s16 *c,
18 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 srcdst Input and output signal array.
28
29
30 c Scaling factor. The scaling factor is in Q15 format. In the
31 stereo version; c[0] contains the scaling factor for channel
32 0, and c[1] holds the scaling factor for channel 1.
33
34
35 n Number of samples in the input signal arrays.
36
37
39 Each of the functions returns MLIB_SUCCESS if successful. Otherwise it
40 returns MLIB_FAILURE.
41
43 See attributes(5) for descriptions of the following attributes:
44
45
46
47
48 ┌─────────────────────────────┬─────────────────────────────┐
49 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
50 ├─────────────────────────────┼─────────────────────────────┤
51 │Interface Stability │Committed │
52 ├─────────────────────────────┼─────────────────────────────┤
53 │MT-Level │MT-Safe │
54 └─────────────────────────────┴─────────────────────────────┘
55
57 mlib_SignalMulS_S16_S16_Sat(3MLIB), attributes(5)
58
59
60
61SunOS 5.11 2 Mar 2007 mlib_SignalMulS_S16_Sat(3MLIB)