1mlib_SignalMulSAdd_S16_S16_mSeadti(a3LMiLbIBL)ibrarymlFiubn_cStiigonnaslMulSAdd_S16_S16_Sat(3MLIB)
2
3
4
6 mlib_SignalMulSAdd_S16_S16_Sat, mlib_SignalMulSAdd_S16S_S16S_Sat - mul‐
7 tiplication by a scalar plus addition
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_SignalMulSAdd_S16_S16_Sat(mlib_s16 *dst,
14 const mlib_s16 *src1, const mlib_s16 *src2, const mlib_s16 *c,
15 mlib_s32 n);
16
17
18 mlib_status mlib_SignalMulSAdd_S16S_S16S_Sat(mlib_s16 *dst,
19 const mlib_s16 *src1, const mlib_s16 *src2, const mlib_s16 *c,
20 mlib_s32 n);
21
22
24 Each of these functions performs multiplication by a scalar.
25
27 Each of the functions takes the following arguments:
28
29 dst Output signal array.
30
31
32 src1 The first input signal array.
33
34
35 src2 The second input signal array.
36
37
38 c Scaling factor. The scaling factor is in Q15 format. In the
39 stereo version; c[0] contains the scaling factor for channel 0,
40 and c[1] holds the scaling factor for channel 1.
41
42
43 n Number of samples in the input signal arrays.
44
45
47 Each of the functions returns MLIB_SUCCESS if successful. Otherwise it
48 returns MLIB_FAILURE.
49
51 See attributes(5) for descriptions of the following attributes:
52
53
54
55
56 ┌─────────────────────────────┬─────────────────────────────┐
57 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
58 ├─────────────────────────────┼─────────────────────────────┤
59 │Interface Stability │Committed │
60 ├─────────────────────────────┼─────────────────────────────┤
61 │MT-Level │MT-Safe │
62 └─────────────────────────────┴─────────────────────────────┘
63
65 mlib_SignalMulSAdd_S16_Sat(3MLIB), attributes(5)
66
67
68
69SunOS 5.11 2 Mar 20m0l7ib_SignalMulSAdd_S16_S16_Sat(3MLIB)