1mlib_VideoColorYUV2ARGB411(m3eMdLiIaBL)ib Library Funmcltiibo_nVsideoColorYUV2ARGB411(3MLIB)
2
3
4
6 mlib_VideoColorYUV2ARGB411 - YUV to RGB color conversion
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_VideoColorYUV2ARGB411(mlib_u8 *argb, const mlib_u8 *y,
13 const mlib_u8 *u, const mlib_u8 *v, mlib_s32 width, mlib_s32 height,
14 mlib_s32 rgb_stride, mlib_s32 y_stride, mlib_s32 uv_stride);
15
16
18 The mlib_VideoColorYUV2ARGB411() function performs YUV to RGB color
19 conversion used in digital video compression in the 4:1:1 sequence.
20
21
22 The luminance component is stored in Y, the chrominance components are
23 stored in U and V, respectively. The size of the chrominance image
24 depends on the chroma format used by the sequence. In this sequence,
25 the chrominance components are subsampled 4-to-1 in only the horizontal
26 direction in respect to the luminance component.
27
29 The function takes the following arguments:
30
31 argb Pointer to the destination packed ARGB image.
32
33
34 y Pointer to the source Y component.
35
36
37 u Pointer to the source U component.
38
39
40 v Pointer to the source V component.
41
42
43 width Width of the image.
44
45
46 height Height of the image.
47
48
49 rgb_stride Stride, in bytes, between adjacent rows in the destina‐
50 tion image.
51
52
53 y_stride Stride, in bytes, between adjacent rows in the Y compo‐
54 nent image.
55
56
57 uv_stride Stride, in bytes, between adjacent rows in the U and V
58 component images.
59
60
62 The function returns MLIB_SUCCESS if successful. Otherwise it returns
63 MLIB_FAILURE.
64
66 See attributes(5) for descriptions of the following attributes:
67
68
69
70
71 ┌─────────────────────────────┬─────────────────────────────┐
72 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
73 ├─────────────────────────────┼─────────────────────────────┤
74 │Interface Stability │Committed │
75 ├─────────────────────────────┼─────────────────────────────┤
76 │MT-Level │MT-Safe │
77 └─────────────────────────────┴─────────────────────────────┘
78
80 mlib_VideoColorYUV2ABGR411(3MLIB), mlib_VideoColorYUV2ABGR420(3MLIB),
81 mlib_VideoColorYUV2ABGR422(3MLIB), mlib_VideoColorYUV2ABGR444(3MLIB),
82 mlib_VideoColorYUV2ARGB420(3MLIB), mlib_VideoColorYUV2ARGB422(3MLIB),
83 mlib_VideoColorYUV2ARGB444(3MLIB), mlib_VideoColorYUV2RGB411(3MLIB),
84 mlib_VideoColorYUV2RGB420(3MLIB), mlib_VideoColorYUV2RGB422(3MLIB),
85 mlib_VideoColorYUV2RGB444(3MLIB), attributes(5)
86
87
88
89SunOS 5.11 2 Mar 2007 mlib_VideoColorYUV2ARGB411(3MLIB)