1mlib_SignalMulSShift_S16_Samte(d3iMaLLIiBb)Library Fmulnicbt_iSoingsnalMulSShift_S16_Sat(3MLIB)
2
3
4

NAME

6       mlib_SignalMulSShift_S16_Sat, mlib_SignalMulSShift_S16S_Sat - multipli‐
7       cation by a scalar with shifting
8

SYNOPSIS

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

DESCRIPTION

22       Each of these functions performs multiplication by a scalar with shift‐
23       ing.
24

PARAMETERS

26       Each of the functions takes the following arguments:
27
28       srcdst    Source and destination signal array.
29
30
31       c         Scaling  factor.  The scaling factor is in Q15 format. In the
32                 stereo version; c[0] contains the scaling factor for  channel
33                 0, and c[1] holds the scaling factor for channel 1.
34
35
36       shift     Left shifting factor.
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_SignalMulSShift_S16_S16_Sat(3MLIB), attributes(5)
62
63
64
65SunOS 5.11                        2 Mar 2007mlib_SignalMulSShift_S16_Sat(3MLIB)
Impressum