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