mediaLib Library Functions mlibMatrixAddSU8Mod(3MLIB)
NAME
mlibMatrixAddSU8Mod, mlibMatrixAddSU8Sat,
mlibMatrixAddSU8CMod, mlibMatrixAddSU8CSat,
mlibMatrixAddS8Mod, mlibMatrixAddS8Sat,
mlibMatrixAddS8CMod, mlibMatrixAddS8CSat,
mlibMatrixAddS16Mod, mlibMatrixAddS16Sat,
mlibMatrixAddS16CMod, mlibMatrixAddS16CSat,
mlibMatrixAddS32Mod, mlibMatrixAddS32Sat,
mlibMatrixAddS32CMod, mlibMatrixAddS32CSat - matrix
addition to scalar, in place
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibMatrixAddSU8Mod(mlibu8 *xz, const mlibu8 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddSU8Sat(mlibu8 *xz, const mlibu8 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddSU8CMod(mlibu8 *xz, const mlibu8 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddSU8CSat(mlibu8 *xz, const mlibu8 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddS8Mod(mlibs8 *xz, const mlibs8 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddS8Sat(mlibs8 *xz, const mlibs8 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddS8CMod(mlibs8 *xz, const mlibs8 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddS8CSat(mlibs8 *xz, const mlibs8 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddS16Mod(mlibs16 *xz, const mlibs16 *c,
mlibs32 m, mlibs32 n);
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibMatrixAddSU8Mod(3MLIB)
mlibstatus mlibMatrixAddS16Sat(mlibs16 *xz, const mlibs16 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddS16CMod(mlibs16 *xz, const mlibs16 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddS16CSat(mlibs16 *xz, const mlibs16 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddS32Mod(mlibs32 *xz, const mlibs32 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddS32Sat(mlibs32 *xz, const mlibs32 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddS32CMod(mlibs32 *xz, const mlibs32 *c,
mlibs32 m, mlibs32 n);
mlibstatus mlibMatrixAddS32CSat(mlibs32 *xz, const mlibs32 *c,
mlibs32 m, mlibs32 n);
DESCRIPTION
Each of these functions performs an in-place addition of a
scalar value to a matrix.
For real data, the following equation is used:
xz[i] = c[0] ] xz[i]
where i = 0, 1, ..., (m*n - 1).
For complex data, the following equation is used:
xz[2*i] = c[0] ] xz[2*i]
xz[2*i ] 1] = c[1] ] xz[2*i ] 1]
where i = 0, 1, ..., (m*n - 1).
SunOS 5.11 Last change: 2 Mar 2007 2
mediaLib Library Functions mlibMatrixAddSU8Mod(3MLIB)
PARAMETERS
Each of the functions takes the following arguments:
xz Pointer to the source and the destination matrix.
c Pointer to the source scalar. When the function is
used with complex data types, c[0] contains the scalar
for the real part, and c[1] contains the scalar for
the imaginary part.
m Number of rows in the matrices.
n Number of columns in the matrices.
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:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibMatrixAddSU8U8Mod(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 3
|