1mlib_SignalMulSShiftAdd_S16m_eSdaita(L3iMbLILBi)brarmyliFbu_nScitginoanlsMulSShiftAdd_S16_Sat(3MLIB)
2
3
4

NAME

6       mlib_SignalMulSShiftAdd_S16_Sat,   mlib_SignalMulSShiftAdd_S16S_Sat   -
7       multiplication by a scalar plus addition
8

SYNOPSIS

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

DESCRIPTION

24       Each of these functions performs multiplication by a scalar with shift‐
25       ing plus addition.
26

PARAMETERS

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

RETURN VALUES

45       Each  of the functions returns MLIB_SUCCESS if successful. Otherwise it
46       returns MLIB_FAILURE.
47

ATTRIBUTES

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

SEE ALSO

63       mlib_SignalMulSShiftAdd_S16_S16_Sat(3MLIB), attributes(5)
64
65
66
67SunOS 5.11                        2 Mar 2m0l0i7b_SignalMulSShiftAdd_S16_Sat(3MLIB)
Impressum