man pages section 3: Multimedia Library Functions

Exit Print View

Updated: July 2014
 
 

mlib_VideoColorABGR2RGB (3MLIB)

Name

mlib_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 also

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