mediaLib Library Functions mlibVideoColorRGB2ARGB(3MLIB)
NAME
mlibVideoColorRGB2ARGB - color conversion
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibVideoColorRGB2ARGB(mlibu8 *argb, const mlibu8 *rgb,
mlibs32 n);
DESCRIPTION
The mlibVideoColorRGB2ARGB() function performs RGB to ARGB
color order conversion.
PARAMETERS
The function takes the following arguments:
argb Pointer to ARGB row.
rgb Pointer to RGB row.
n Number of pixels.
RETURN VALUES
The function 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
mlibVideoColorABGR2RGB(3MLIB),
mlibVideoColorARGB2RGB(3MLIB),
mlibVideoColorRGB2ABGR(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 1
|