1mlib_SignalMulSAdd_F32(3MLImBe)diaLib Library Functiomnlsib_SignalMulSAdd_F32(3MLIB)
2
3
4
6 mlib_SignalMulSAdd_F32, mlib_SignalMulSAdd_F32S - multiplication by a
7 scalar plus addition
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_SignalMulSAdd_F32(mlib_f32 *scr1dst,
14 const mlib_f32 *const mlib_f32 *src2,c, mlib_s32 n);
15
16
17 mlib_status mlib_SignalMulSAdd_F32S(mlib_f32 *scr1dst,
18 const mlib_f32 *const mlib_f32 *src2, const mlib_f32 *c,
19 mlib_s32 n);
20
21
23 Each of these functions performs multiplication by a scalar plus addi‐
24 tion.
25
27 Each of the functions takes the following arguments:
28
29 src1dst The first input and the output signal array.
30
31
32 src2 The second input signal array.
33
34
35 c Scaling factor. In the stereo version, c[0] contains the
36 scaling factor for channel 0, and c[1] holds the scaling
37 factor for channel 1.
38
39
40 n Number of samples in the input signal arrays.
41
42
44 Each of the functions returns MLIB_SUCCESS if successful. Otherwise it
45 returns MLIB_FAILURE.
46
48 See attributes(5) for descriptions of the following attributes:
49
50
51
52
53 ┌─────────────────────────────┬─────────────────────────────┐
54 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │Interface Stability │Committed │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │MT-Level │MT-Safe │
59 └─────────────────────────────┴─────────────────────────────┘
60
62 mlib_SignalMulSAdd_F32_F32(3MLIB), attributes(5)
63
64
65
66SunOS 5.11 2 Mar 2007 mlib_SignalMulSAdd_F32(3MLIB)