1mlib_SignalMulSAdd_S16_Sat(m3eMdLiIaBL)ib Library Funmcltiibo_nSsignalMulSAdd_S16_Sat(3MLIB)
2
3
4

NAME

6       mlib_SignalMulSAdd_S16_Sat,  mlib_SignalMulSAdd_S16S_Sat  - multiplica‐
7       tion by a scalar plus addition
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       mlib_status mlib_SignalMulSAdd_S16_Sat(mlib_s16 *scr1dst,
14            const mlib_s16 *src2, const mlib_s16 *c, mlib_s32 n);
15
16
17       mlib_status mlib_SignalMulSAdd_S16S_Sat(mlib_s16 *scr1dst,
18            const mlib_s16 *src2, const mlib_s16 *c, mlib_s32 n);
19
20

DESCRIPTION

22       Each of these functions performs multiplication by a scalar plus  addi‐
23       tion.
24

PARAMETERS

26       Each of the functions takes the following arguments:
27
28       src1dst    The first input and the output signal array.
29
30
31       src2       The second input signal array.
32
33
34       c          Scaling  factor. The scaling factor is in Q15 format. In the
35                  stereo version; c[0] contains the scaling factor for channel
36                  0, and c[1] holds the scaling factor for channel 1.
37
38
39       n          Number of samples in the input signal arrays.
40
41

RETURN VALUES

43       Each  of the functions returns MLIB_SUCCESS if successful. Otherwise it
44       returns MLIB_FAILURE.
45

ATTRIBUTES

47       See attributes(5) for descriptions of the following attributes:
48
49
50
51
52       ┌─────────────────────────────┬─────────────────────────────┐
53       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
54       ├─────────────────────────────┼─────────────────────────────┤
55       │Interface Stability          │Committed                    │
56       ├─────────────────────────────┼─────────────────────────────┤
57       │MT-Level                     │MT-Safe                      │
58       └─────────────────────────────┴─────────────────────────────┘
59

SEE ALSO

61       mlib_SignalMulSAdd_S16_S16_Sat(3MLIB), attributes(5)
62
63
64
65SunOS 5.11                        2 Mar 2007 mlib_SignalMulSAdd_S16_Sat(3MLIB)
Impressum