mediaLib Library Functions mlib_VideoColorRGB2ARGB(3MLIB)
NAME
mlib_VideoColorRGB2ARGB - color conversion
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlib_status mlib_VideoColorRGB2ARGB(mlib_u8 *argb, const mlib_u8 *rgb,
mlib_s32 n);
DESCRIPTION
The mlib_VideoColorRGB2ARGB() 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 MLIB_SUCCESS if successful. Otherwise
it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
mlib_VideoColorABGR2RGB(3MLIB),
mlib_VideoColorARGB2RGB(3MLIB),
mlib_VideoColorRGB2ABGR(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 1