mediaLib Library Functions
mlibVideoColorYUV444inttoARGBint(3MLIB)
NAME
mlibVideoColorYUV444inttoARGBint - color convert YUV
interleaved to ARGB interleaved
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
void mlibVideoColorYUV444inttoARGBint(mlibu32 *ARGB,
const mlibu8 *YUV, const mlibu8 *Aarray, mlibu8 Aconst,
mlibs32 w, mlibs32 h, mlibs32 dlb,
mlibs32 slb, mlibs32 alb);
DESCRIPTION
The YUV pixel stream is converted into an ARGB pixel stream.
All pixel components are 8-bit unsigned integers. All
buffers have dimensions w and h.
The alpha values for this function work in the following
fashion:
o If Aarray pointer is not NUL, the values are
taken from there. It has to have the same dimen-
sions as the Y buffer.
o If Aarray pointer is NUL, the alpha values for
every pixel are set to Aconst.
The following equation is used:
R 1.1644 0.0000 1.5966 [Y 16.0000]
G = 1.1644 -0.3920 -0.8132 * [U - 128.0000]
B 1.1644 2.0184 0.0000 [V 128.0000]
PARAMETERS
The function takes the following arguments:
ARGB Pointer to output buffer.
YUV Pointer to Y input buffer.
Aarray Array of alpha values.
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions
mlibVideoColorYUV444inttoARGBint(3MLIB)
Aconst Constant alpha value.
w Image width in pixels.
h Image height in lines.
dlb Linebytes for output buffer.
slb Linebytes for input buffer.
alb Linebytes for alpha buffer.
RETURN VALUES
None.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibVideoColorYUV420seqtoARGBint(3MLIB),
mlibVideoColorYUV411seqtoARGBint(3MLIB),
mlibVideoColorYUV422seqtoARGBint(3MLIB),
mlibVideoColorYUV444seqtoARGBint(3MLIB),
mlibVideoColorYUV420seqtoABGRint(3MLIB),
mlibVideoColorYUV411seqtoABGRint(3MLIB),
mlibVideoColorYUV422seqtoABGRint(3MLIB),
mlibVideoColorYUV444seqtoABGRint(3MLIB),
mlibVideoColorYUYV422inttoARGBint(3MLIB),
mlibVideoColorYUYV422inttoABGRint(3MLIB),
mlibVideoColorYUV444inttoABGRint(3MLIB),
mlibVideoColorUYVY422inttoARGBint(3MLIB),
mlibVideoColorUYVY422inttoABGRint(3MLIB),
mlibVideoColorUYV444inttoARGBint(3MLIB),
SunOS 5.11 Last change: 2 Mar 2007 2
mediaLib Library Functions
mlibVideoColorYUV444inttoARGBint(3MLIB)
mlibVideoColorUYV444inttoABGRint(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 3
mediaLib Library Functions
mlibVideoColorYUV444inttoARGBint(3MLIB)
SunOS 5.11 Last change: 2 Mar 2007 4
|