Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mlib_videocoloryuv2argb422(3mlib) [sunos man page]

mlib_VideoColorYUV2ARGB422(3MLIB)			    mediaLib Library Functions				 mlib_VideoColorYUV2ARGB422(3MLIB)

NAME
mlib_VideoColorYUV2ARGB422 - YUV to RGB color conversion SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_VideoColorYUV2ARGB422(mlib_u8 *argb, const mlib_u8 *y, const mlib_u8 *u, const mlib_u8 *v, mlib_s32 width, mlib_s32 height, mlib_s32 rgb_stride, mlib_s32 y_stride, mlib_s32 uv_stride); DESCRIPTION
The mlib_VideoColorYUV2ARGB422() function performs YUV to RGB color conversion used in MPEG1 and MPEG2 video compression in the 4:2:2 sequence. The luminance component is stored in Y, the chrominance components 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 are subsampled 2-to-1 in only the horizon- tal direction in respect to 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. rgb_stride Stride, in bytes, between adjacent rows in the destination image. y_stride Stride, in bytes, between adjacent rows in the Y component image. uv_stride Stride, in bytes, between adjacent rows in the U and V component images. 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 |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_VideoColorYUV2ABGR411(3MLIB), mlib_VideoColorYUV2ABGR420(3MLIB), mlib_VideoColorYUV2ABGR422(3MLIB), mlib_VideoColorYUV2ABGR444(3MLIB), mlib_VideoColorYUV2ARGB411(3MLIB), mlib_VideoColorYUV2ARGB420(3MLIB), mlib_VideoColorYUV2ARGB444(3MLIB), mlib_VideoColorYUV2RGB411(3MLIB), mlib_VideoColorYUV2RGB420(3MLIB), mlib_VideoColorYUV2RGB422(3MLIB), mlib_VideoColorYUV2RGB444(3MLIB), attributes(5) SunOS 5.10 9 Nov 2004 mlib_VideoColorYUV2ARGB422(3MLIB)

Check Out this Related Man Page

mlib_VideoColorYUV2RGB422(3MLIB)			    mediaLib Library Functions				  mlib_VideoColorYUV2RGB422(3MLIB)

NAME
mlib_VideoColorYUV2RGB422 - YUV to RGB color conversion SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_VideoColorYUV2RGB422(mlib_u8 *rgb, const mlib_u8 *y, const mlib_u8 *u, const mlib_u8 *v, mlib_s32 width, mlib_s32 height, mlib_s32 rgb_stride, mlib_s32 y_stride, mlib_s32 uv_stride); DESCRIPTION
The mlib_VideoColorYUV2RGB422() function performs YUV to RGB color conversion used in MPEG1 and MPEG2 video compression in the 4:2:2 sequence. The luminance component is stored in Y, the chrominance components 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 are subsampled 2-to-1 in only the horizon- tal direction in respect to the luminance component. PARAMETERS
The function takes the following arguments: rgb Pointer to the destination RGB 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. rgb_stride Stride, in bytes, between adjacent rows in the destination image. y_stride Stride, in bytes, between adjacent rows in the Y component image. uv_stride Stride, in bytes, between adjacent rows in the U and V component images. 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 |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_VideoColorYUV2ABGR411(3MLIB), mlib_VideoColorYUV2ABGR420(3MLIB), mlib_VideoColorYUV2ABGR422(3MLIB), mlib_VideoColorYUV2ABGR444(3MLIB), mlib_VideoColorYUV2ARGB411(3MLIB), mlib_VideoColorYUV2ARGB420(3MLIB), mlib_VideoColorYUV2ARGB422(3MLIB), mlib_VideoColorYUV2ARGB444(3MLIB), mlib_VideoColorYUV2RGB411(3MLIB), mlib_VideoColorYUV2RGB420(3MLIB), mlib_VideoColorYUV2RGB444(3MLIB), attributes(5) SunOS 5.10 9 Nov 2004 mlib_VideoColorYUV2RGB422(3MLIB)
Man Page