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