cc [ flag... ] file... –lmlib [ library... ] #include <mlib.h> mlib_status mlib_VideoColorARGB2RGB(mlib_u8 *rgb, const mlib_u8 *argb, mlib_s32 n);
The mlib_VideoColorARGB2RGB() function performs ARGB to RGB color order conversion.
The function takes the following arguments:
Pointer to RGB row.
Pointer to ARGB row.
Number of pixels.
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes:
|
mlib_VideoColorABGR2RGB(3MLIB), mlib_VideoColorRGB2ABGR(3MLIB), mlib_VideoColorRGB2ARGB(3MLIB), attributes(5)