mediaLib Library Functions
mlibVectorReverseByteOrderS16S16(3MLIB)
NAME
mlibVectorReverseByteOrderS16S16,
mlibVectorReverseByteOrderU16U16,
mlibVectorReverseByteOrderS32S32,
mlibVectorReverseByteOrderU32U32,
mlibVectorReverseByteOrderS64S64,
mlibVectorReverseByteOrderU64U64,
mlibVectorReverseByteOrderF32F32,
mlibVectorReverseByteOrderD64D64 - reverse byte order of
vector
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibVectorReverseByteOrderS16S16(mlibs16 *z,
const mlibs16 *x, mlibs32 n);
mlibstatus mlibVectorReverseByteOrderU16U16(mlibu16 *z,
const mlibu16 *x, mlibs32 n);
mlibstatus mlibVectorReverseByteOrderS32S32(mlibs32 *z,
const mlibs32 *x, mlibs32 n);
mlibstatus mlibVectorReverseByteOrderU32U32(mlibu32 *z,
const mlibu32 *x, mlibs32 n);
mlibstatus mlibVectorReverseByteOrderS64S64(mlibs64 *z,
const mlibs64 *x, mlibs32 n);
mlibstatus mlibVectorReverseByteOrderU64U64(mlibu64 *z,
const mlibu64 *x, mlibs32 n);
mlibstatus mlibVectorReverseByteOrderF32F32(mlibf32 *z,
const mlibf32 *x, mlibs32 n);
mlibstatus mlibVectorReverseByteOrderD64D64(mlibd64 *z,
const mlibd64 *x, mlibs32 n);
DESCRIPTION
Each of these functions changes the encoding of each element
from big endian to little endian, or from little endian to
big endian.
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions
mlibVectorReverseByteOrderS16S16(3MLIB)
It copies and reverses the byte order of each element of the
input vector into the output vector.
PARAMETERS
Each of the functions takes the following arguments:
z Pointer to the output vector.
x Pointer to input 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
mlibVectorReverseByteOrder(3MLIB),
mlibVectorReverseByteOrderInp(3MLIB),
mlibVectorReverseByteOrderS16(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
mediaLib Library Functions
mlibVectorReverseByteOrderS16S16(3MLIB)
SunOS 5.11 Last change: 2 Mar 2007 3
|