mediaLib Library Functions mlibVectorCopyU8(3MLIB)
NAME
mlibVectorCopyU8, mlibVectorCopyU8C, mlibVectorCopyS8,
mlibVectorCopyS8C, mlibVectorCopyS16,
mlibVectorCopyS16C, mlibVectorCopyS32,
mlibVectorCopyS32C - vector copy
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibVectorCopyU8(mlibu8 *z, const mlibu8 *x,
mlibs32 n);
mlibstatus mlibVectorCopyU8C(mlibu8 *z, const mlibu8 *x,
mlibs32 n);
mlibstatus mlibVectorCopyS8(mlibs8 *z, const mlibs8 *x,
mlibs32 n);
mlibstatus mlibVectorCopyS8C(mlibs8 *z, const mlibs8 *x,
mlibs32 n);
mlibstatus mlibVectorCopyS16(mlibs16 *z, const mlibs16 *x,
mlibs32 n);
mlibstatus mlibVectorCopyS16C(mlibs16 *z, const mlibs16 *x,
mlibs32 n);
mlibstatus mlibVectorCopyS32(mlibs32 *z, const mlibs32 *x,
mlibs32 n);
mlibstatus mlibVectorCopyS32C(mlibs32 *z, const mlibs32 *x,
mlibs32 n);
DESCRIPTION
Each of these functions copies one vector to another vector
of the same data type.
The input and output vectors must be in the same data type.
For real data, the following equation is used:
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibVectorCopyU8(3MLIB)
z[i] = x[i]
where i = 0, 1, ..., (n - 1).
For complex data, the following equation is used:
z[2*i] = x[2*i]
z[2*i ] 1] = x[2*i ] 1]
where i = 0, 1, ..., (n - 1).
PARAMETERS
Each of the functions takes the following arguments:
z Pointer to the first element of the destination vector.
x Pointer to the first element of the source vector.
n Number of elements in the vectors.
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
|