1mlib_SignalMulSShift_S16_S1m6e_dSiaatL(i3bMLLIiBb)ramrlyibF_uSnicgtniaolnMsulSShift_S16_S16_Sat(3MLIB)
2
3
4

NAME

6       mlib_SignalMulSShift_S16_S16_Sat,  mlib_SignalMulSShift_S16S_S16S_Sat -
7       multiplication by a scalar with shifting
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       mlib_status mlib_SignalMulSShift_S16_S16_Sat(mlib_s16 *dst,
14            const mlib_s16 *src, const mlib_s16 *c, mlib_s32 shift,
15            mlib_s32 n);
16
17
18       mlib_status mlib_SignalMulSShift_S16S_S16S_Sat(mlib_s16 *dst,
19            const mlib_s16 *src, 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.
26

PARAMETERS

28       Each of the functions takes the following arguments:
29
30       dst      Destination signal array.
31
32
33       src      Source 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       shift    Left shifting factor.
42
43
44       n        Number of samples in the input signal arrays.
45
46

RETURN VALUES

48       Each  of the functions returns MLIB_SUCCESS if successful. Otherwise it
49       returns MLIB_FAILURE.
50

ATTRIBUTES

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

SEE ALSO

66       mlib_SignalMulSShift_S16_Sat(3MLIB), attributes(5)
67
68
69
70SunOS 5.11                        2 Marm2l0i0b7_SignalMulSShift_S16_S16_Sat(3MLIB)
Impressum