mlib_SignalMulShift_S16_SamediaLib Library Fmlib_SignalMulShift_S16_Sat(3MLIB)NAME
mlib_SignalMulShift_S16_Sat, mlib_SignalMulShift_S16S_Sat - multiplica‐
tion with shifting
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_SignalMulShift_S16_Sat(mlib_s16 *scr1dst,
const mlib_s16 *src2, mlib_s32 shift, mlib_s32 n);
mlib_status mlib_SignalMulShift_S16S_Sat(mlib_s16 *scr1dst,
const mlib_s16 *src2, mlib_s32 shift, mlib_s32 n);
DESCRIPTION
Each of these functions performs multiplication with shifting.
PARAMETERS
Each of the functions takes the following arguments:
src1dst The first input and the output signal array.
src2 The second input signal array.
shift Left shifting factor.
n Number of samples in the input signal arrays.
RETURN VALUES
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it
returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOmlib_SignalMulShift_S16_S16_Sat(3MLIB), attributes(5)SunOS 5.11 2 Mar 2007mlib_SignalMulShift_S16_Sat(3MLIB)