mediaLib Library Functions mlibVectorSumAbsU8Sat(3MLIB)
NAME
mlibVectorSumAbsU8Sat, mlibVectorSumAbsS8Sat,
mlibVectorSumAbsS16Sat, mlibVectorSumAbsS32Sat - sum
of the absolute values of a vector
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibVectorSumAbsU8Sat(mlibd64 *z, const mlibu8 *x,
mlibs32 n);
mlibstatus mlibVectorSumAbsS8Sat(mlibd64 *z, const mlibs8 *x,
mlibs32 n);
mlibstatus mlibVectorSumAbsS16Sat(mlibd64 *z, const mlibs16 *x,
mlibs32 n);
mlibstatus mlibVectorSumAbsS32Sat(mlibd64 *z, const mlibs32 *x,
mlibs32 n);
DESCRIPTION
Each of these functions computes the sum of the absolute
values of a vector.
The following equation is used:
n-1
z[0] = SUM x[i]
i=0
PARAMETERS
Each of the functions takes the following arguments:
z Pointer to the sum of the absolute values of the vec-
tor.
x Pointer to the first element of the first source vec-
tor.
n Number of elements in the vectors.
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibVectorSumAbsU8Sat(3MLIB)
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
attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|