'\" te .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved .TH mlib_VideoColorYUV2ABGR411 3MLIB "2 Mar 2007" "SunOS 5.11" "mediaLib Library Functions" .SH NAME mlib_VideoColorYUV2ABGR411 \- YUV to RGB color conversion .SH SYNOPSIS .LP .nf cc [ \fIflag\fR... ] \fIfile\fR... \fB-lmlib\fR [ \fIlibrary\fR... ] #include \fBmlib_status\fR \fBmlib_VideoColorYUV2ABGR411\fR(\fBmlib_u8 *\fR\fIabgr\fR, \fBconst mlib_u8 *\fR\fIy\fR, \fBconst mlib_u8 *\fR\fIu\fR, \fBconst mlib_u8 *\fR\fIv\fR, \fBmlib_s32\fR \fIwidth\fR, \fBmlib_s32\fR \fIheight\fR, \fBmlib_s32\fR \fIrgb_stride\fR, \fBmlib_s32\fR \fIy_stride\fR, \fBmlib_s32\fR \fIuv_stride\fR); .fi .SH DESCRIPTION .sp .LP The \fBmlib_VideoColorYUV2ABGR411()\fR function performs YUV to RGB color conversion used in digital video compression in the 4:1:1 sequence. .sp .LP 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 4-to-1 in only the horizontal direction in respect to the luminance component. .SH PARAMETERS .sp .LP The function takes the following arguments: .sp .ne 2 .mk .na \fB\fIabgr\fR\fR .ad .RS 14n .rt Pointer to the destination packed ABGR image. .RE .sp .ne 2 .mk .na \fB\fIy\fR\fR .ad .RS 14n .rt Pointer to the source Y component. .RE .sp .ne 2 .mk .na \fB\fIu\fR\fR .ad .RS 14n .rt Pointer to the source U component. .RE .sp .ne 2 .mk .na \fB\fIv\fR\fR .ad .RS 14n .rt Pointer to the source V component. .RE .sp .ne 2 .mk .na \fB\fIwidth\fR\fR .ad .RS 14n .rt Width of the image. .RE .sp .ne 2 .mk .na \fB\fIheight\fR\fR .ad .RS 14n .rt Height of the image. .RE .sp .ne 2 .mk .na \fB\fIrgb_stride\fR\fR .ad .RS 14n .rt Stride, in bytes, between adjacent rows in the destination image. .RE .sp .ne 2 .mk .na \fB\fIy_stride\fR\fR .ad .RS 14n .rt Stride, in bytes, between adjacent rows in the Y component image. .RE .sp .ne 2 .mk .na \fB\fIuv_stride\fR\fR .ad .RS 14n .rt Stride, in bytes, between adjacent rows in the U and V component images. .RE .SH RETURN VALUES .sp .LP The function returns \fBMLIB_SUCCESS\fR if successful. Otherwise it returns \fBMLIB_FAILURE\fR. .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelMT-Safe .TE .SH SEE ALSO .sp .LP \fBmlib_VideoColorYUV2ABGR420\fR(3MLIB), \fBmlib_VideoColorYUV2ABGR422\fR(3MLIB), \fBmlib_VideoColorYUV2ABGR444\fR(3MLIB), \fBmlib_VideoColorYUV2ARGB411\fR(3MLIB), \fBmlib_VideoColorYUV2ARGB420\fR(3MLIB), \fBmlib_VideoColorYUV2ARGB422\fR(3MLIB), \fBmlib_VideoColorYUV2ARGB444\fR(3MLIB), \fBmlib_VideoColorYUV2RGB411\fR(3MLIB), \fBmlib_VideoColorYUV2RGB420\fR(3MLIB), \fBmlib_VideoColorYUV2RGB422\fR(3MLIB), \fBmlib_VideoColorYUV2RGB444\fR(3MLIB), \fBattributes\fR(5)