mediaLib Library Functions
mlibVideoColorUYVY422inttoARGBint(3MLIB)
NAME
mlibVideoColorUYVY422inttoARGBint - color convert UYVY
interleaved to ARGB interleaved
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
void mlibVideoColorUYVY422inttoARGBint(mlibu32 *ARGB,
const mlibu32 *UYVY, const mlibu8 *Aarray,
mlibu8 Aconst, mlibs32 w, mlibs32 h,
mlibs32 dlb, mlibs32 slb, mlibs32 alb);
DESCRIPTION
The UYVY pixel stream is converted into an ARGB pixel
stream. All pixel components are 8-bit unsigned integers.
The UYVY buffer has dimensions w/2 and h. The ARGB buffer
has dimensions w and h. Dimension w is assumed to be even.
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.
UYVY Pointer to input buffer.
Aarray Array of alpha values.
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions
mlibVideoColorUYVY422inttoARGBint(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),
mlibVideoColorYUV444inttoARGBint(3MLIB),
mlibVideoColorYUYV422inttoABGRint(3MLIB),
mlibVideoColorYUV444inttoABGRint(3MLIB),
mlibVideoColorUYVY422inttoABGRint(3MLIB),
mlibVideoColorUYV444inttoARGBint(3MLIB),
SunOS 5.11 Last change: 2 Mar 2007 2
mediaLib Library Functions
mlibVideoColorUYVY422inttoARGBint(3MLIB)
mlibVideoColorUYV444inttoABGRint(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 3
mediaLib Library Functions
mlibVideoColorUYVY422inttoARGBint(3MLIB)
SunOS 5.11 Last change: 2 Mar 2007 4
|