1mlib_SignalMulSAdd_F32_F32(m3eMdLiIaBL)ib Library Funmcltiibo_nSsignalMulSAdd_F32_F32(3MLIB)
2
3
4
6 mlib_SignalMulSAdd_F32_F32, mlib_SignalMulSAdd_F32S_F32S - multiplica‐
7 tion by a scalar plus addition
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_SignalMulSAdd_F32_F32(mlib_f32 *dst,
14 const mlib_f32 *src1, const mlib_f32 *src2, const mlib_f32 *c,
15 mlib_s32 n);
16
17
18 mlib_status mlib_SignalMulSAdd_F32S_F32S(mlib_f32 *dst,
19 const mlib_f32 *src1, const mlib_f32 *src2, const mlib_f32 *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. In the stereo version, c[0] contains the scal‐
39 ing factor for channel 0, and c[1] holds the scaling factor for
40 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_F32(3MLIB), attributes(5)
66
67
68
69SunOS 5.11 2 Mar 2007 mlib_SignalMulSAdd_F32_F32(3MLIB)