1mlib_SignalMulSShiftAdd_S16m_eSd1i6a_LSiabt(L3imMblLriIabBr_)ySiFgunnacltMiuolnSsShiftAdd_S16_S16_Sat(3MLIB)
2
3
4

NAME

6       mlib_SignalMulSShiftAdd_S16_S16_Sat,               mlib_SignalMulSShif‐
7       tAdd_S16S_S16S_Sat - 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_S16_Sat(mlib_s16 *dst,
14            const mlib_s16 *src1, const mlib_s16 *src2, const mlib_s16 *c,
15            mlib_s32 shift, mlib_s32 n);
16
17
18       mlib_status mlib_SignalMulSShiftAdd_S16S_S16S_Sat(mlib_s16 *dst,
19            const mlib_s16 *src1, const mlib_s16 *src2, const mlib_s16 *c,
20            mlib_s32 shift, 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       dst      Output signal array.
31
32
33       src1     The first input signal array.
34
35
36       src2     The second input signal array.
37
38
39       c        Scaling  factor.  The  scaling factor is in Q15 format. In the
40                stereo version; c[0] contains the scaling factor  for  channel
41                0, and c[1] holds the scaling factor for channel 1.
42
43
44       shift    Left shifting factor.
45
46
47       n        Number of samples in the input signal arrays.
48
49

RETURN VALUES

51       Each  of the functions returns MLIB_SUCCESS if successful. Otherwise it
52       returns MLIB_FAILURE.
53

ATTRIBUTES

55       See attributes(5) for descriptions of the following attributes:
56
57
58
59
60       ┌─────────────────────────────┬─────────────────────────────┐
61       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
62       ├─────────────────────────────┼─────────────────────────────┤
63       │Interface Stability          │Committed                    │
64       ├─────────────────────────────┼─────────────────────────────┤
65       │MT-Level                     │MT-Safe                      │
66       └─────────────────────────────┴─────────────────────────────┘
67

SEE ALSO

69       mlib_SignalMulSShiftAdd_S16_Sat(3MLIB), attributes(5)
70
71
72
73SunOS 5.11                        2 Mmalrib2_0S0i7gnalMulSShiftAdd_S16_S16_Sat(3MLIB)
Impressum