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