mlib_VideoColorABGR2RGB(3MmediaLib Library Functmlib_VideoColorABGR2RGB(3MLIB)NAMEmlib_VideoColorABGR2RGB - color conversion
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_VideoColorABGR2RGB(mlib_u8 *rgb, const mlib_u8 *abgr,
mlib_s32 n);
DESCRIPTION
The mlib_VideoColorABGR2RGB() function performs ABGR to RGB color order
conversion.
PARAMETERS
The function takes the following arguments:
rgb Pointer to RGB row.
abgr Pointer to ABGR 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_VideoColorARGB2RGB(3MLIB), mlib_VideoColorRGB2ABGR(3MLIB),
mlib_VideoColorRGB2ARGB(3MLIB), attributes(5)SunOS 5.11 2 Mar 2007 mlib_VideoColorABGR2RGB(3MLIB)