man pages section 3: Multimedia Library Functions

Exit Print View

Updated: July 2014
 
 

mlib_VideoColorRGB2ARGB (3MLIB)

Name

mlib_VideoColorRGB2ARGB - color conversion

Synopsis

cc [ flag... ] file... –lmlib [ library... ]
#include <mlib.h>

mlib_status mlib_VideoColorRGB2ARGB(mlib_u8 *argb, const mlib_u8 *rgb,
     mlib_s32 n);

Description

The mlib_VideoColorRGB2ARGB() function performs RGB to ARGB color order conversion.

Parameters

The function takes the following arguments:

argb

Pointer to ARGB row.

rgb

Pointer to RGB 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 also

mlib_VideoColorABGR2RGB(3MLIB), mlib_VideoColorARGB2RGB(3MLIB), mlib_VideoColorRGB2ABGR(3MLIB), attributes(5)