mediaLib Library Functions mlibVideoColorYUV2ARGB444(3MLIB)
NAME
mlibVideoColorYUV2ARGB444 - YUV to RGB color conversion
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibVideoColorYUV2ARGB444(mlibu8 *argb, const mlibu8 *y,
const mlibu8 *u, const mlibu8 *v, mlibs32 width, mlibs32 height,
mlibs32 rgbstride, mlibs32 yuvstride);
DESCRIPTION
The mlibVideoColorYUV2ARGB444() function performs YUV to
RGB color conversion used in MPEG1 and MPEG2 video compres-
sion in the 4:4:4 sequence.
The luminance component is stored in Y, the chrominance com-
ponents are stored in U and V, respectively. The size of the
chrominance image depends on the chroma format used by the
sequence. In this sequence, the chrominance components have
the same resolution as the luminance component.
PARAMETERS
The function takes the following arguments:
argb Pointer to the destination packed ARGB image.
y Pointer to the source Y component.
u Pointer to the source U component.
v Pointer to the source V component.
width Width of the image.
height Height of the image.
rgbstride Stride, in bytes, between adjacent rows in the
destination image.
yuvstride Stride, in bytes, between adjacent rows in the
source image.
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibVideoColorYUV2ARGB444(3MLIB)
RETURN VALUES
The function returns MLIBSUCES if successful. Otherwise
it returns MLIBFAILURE.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibVideoColorYUV2ABGR411(3MLIB),
mlibVideoColorYUV2ABGR420(3MLIB),
mlibVideoColorYUV2ABGR422(3MLIB),
mlibVideoColorYUV2ABGR444(3MLIB),
mlibVideoColorYUV2ARGB411(3MLIB),
mlibVideoColorYUV2ARGB420(3MLIB),
mlibVideoColorYUV2ARGB422(3MLIB),
mlibVideoColorYUV2RGB411(3MLIB),
mlibVideoColorYUV2RGB420(3MLIB),
mlibVideoColorYUV2RGB422(3MLIB),
mlibVideoColorYUV2RGB444(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|