mlib_VideoColorARGB2RGB(3MmediaLib Library Functmlib_VideoColorARGB2RGB(3MLIB)NAMEmlib_VideoColorARGB2RGB - color conversion
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_VideoColorARGB2RGB(mlib_u8 *rgb,
const mlib_u8 *argb, mlib_s32 n);
DESCRIPTION
The mlib_VideoColorARGB2RGB() function performs ARGB to RGB color order
conversion.
PARAMETERS
The function takes the following arguments:
rgb Pointer to RGB row.
argb Pointer to ARGB 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 attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOmlib_VideoColorABGR2RGB(3MLIB), mlib_VideoColorRGB2ABGR(3MLIB),
mlib_VideoColorRGB2ARGB(3MLIB), attributes(5)SunOS 5.11 2 Mar 2007 mlib_VideoColorARGB2RGB(3MLIB)