mediaLib Library Functions mlibSignalMulShiftS16Sat(3MLIB)
NAME
mlibSignalMulShiftS16Sat, mlibSignalMulShiftS16Sat
- multiplication by a scalar with shifting
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibSignalMulShiftS16Sat(mlibs16 *srcdst,
const mlibs16 *c, mlibs32 shift, mlibs32 n);
mlibstatus mlibSignalMulShiftS16Sat(mlibs16 *srcdst,
const mlibs16 *c, mlibs32 shift, mlibs32 n);
DESCRIPTION
Each of these functions performs multiplication by a scalar
with shifting.
PARAMETERS
Each of the functions takes the following arguments:
srcdst Source and destination signal array.
c Scaling factor. The scaling factor is in Q15 for-
mat. In the stereo version; c[0] contains the
scaling factor for channel 0, and c[1] holds the
scaling factor for channel 1.
shift Left shifting factor.
n Number of samples in the input signal arrays.
RETURN VALUES
Each of the functions returns MLIBSUCES if successful.
Otherwise it returns MLIBFAILURE.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibSignalMulShiftS16Sat(3MLIB)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibSignalMulShiftS16S16Sat(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|