mlib_VideoReversibleColorYmediaLimlib_VideoReversibleColorYUV2RGB_U8_U8(3MLIB)NAME
mlib_VideoReversibleColorYUV2RGB_U8_U8, mlib_VideoReversibleCol‐
orYUV2RGB_U8_S16, mlib_VideoReversibleColorYUV2RGB_S16_S16, mlib_Video‐
ReversibleColorYUV2RGB_S16_S32 - reversible color space conversion for
wavelet transformation
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_VideoReversibleColorYUV2RGB_U8_U8(mlib_u8 *r,
mlib_u8 *g, mlib_u8 *b, const mlib_u8 *y, const mlib_u8 *u,
const mlib_u8 *v, mlib_s32 n, mlib_s32 depth);
mlib_status mlib_VideoReversibleColorYUV2RGB_U8_S16(mlib_u8 *r,
mlib_u8 *g, mlib_u8 *b, const mlib_s16 *y, const mlib_s16 *u,
const mlib_s16 *v, mlib_s32 n, mlib_s32 depth);
mlib_status mlib_VideoReversibleColorYUV2RGB_S16_S16(mlib_s16 *r,
mlib_s16 *g, mlib_s16 *b, const mlib_s16 *y, const mlib_s16 *u,
const mlib_s16 *v, mlib_s32 n, mlib_s32 depth);
mlib_status mlib_VideoReversibleColorYUV2RGB_S16_S32(mlib_s16 *r,
mlib_s16 *g, mlib_s16 *b, const mlib_s32 *y, const mlib_s32 *u,
const mlib_s32 *v, mlib_s32 n, mlib_s32 depth);
DESCRIPTION
Each of the functions provides support to reversible wavelet transfor‐
mation. It is for reversible color space conversion.
PARAMETERS
Each of the functions takes the following arguments:
r Pointer to destination R component.
g Pointer to destination G component.
b Pointer to destination B component.
y Pointer to source Y component.
u Pointer to source U component.
v Pointer to source V component.
n Length of data.
depth Number of bit planes required to store the original R, G, and
B components.
RETURN VALUES
Each of the functions 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 ALSOmlib_VideoReversibleColorRGB2YUV_U8_U8(3MLIB), attributes(5)SunOS 5.10mlib_VideoReversibleColorYUV2RGB_U8_U8(3MLIB)