1mlib_VideoColorYUV444seq_tom_eAdRiGaBLiinbt(L3imMblLriIabBr_)yViFduenocCtoiloonrsYUV444seq_to_ARGBint(3MLIB)
2
3
4
6 mlib_VideoColorYUV444seq_to_ARGBint - color convert YUV sequential to
7 ARGB interleaved
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 void mlib_VideoColorYUV444seq_to_ARGBint(mlib_u32 *ARGB, const mlib_u8 *Y,
14 const mlib_u8 *U, const mlib_u8 *V, const mlib_u8 *A_array,
15 mlib_u8 A_const, mlib_s32 w, mlib_s32 h, mlib_s32 dlb, mlib_s32 slb);
16
17
19 The Y, U, V pixel streams are converted into an ARGB pixel stream. All
20 pixel components are 8-bit unsigned integers. All buffers have dimen‐
21 sions w and h.
22
23
24 The alpha values for this function work in the following fashion:
25
26 o If A_array pointer is not NULL, the values are taken from
27 there. It has to have the same dimensions as the Y buffer.
28
29 o If A_array pointer is NULL, the alpha values for every pixel
30 are set to A_const.
31
32
33 The following equation is used:
34
35 |R| |1.1644 0.0000 1.5966| [|Y| | 16.0000|]
36 |G| = |1.1644 -0.3920 -0.8132| * [|U| - |128.0000|]
37 |B| |1.1644 2.0184 0.0000| [|V| |128.0000|]
38
39
41 The function takes the following arguments:
42
43 ARGB Pointer to output buffer.
44
45
46 Y Pointer to Y input buffer.
47
48
49 U Pointer to U input buffer.
50
51
52 V Pointer to V input buffer.
53
54
55 A_array Array of alpha values.
56
57
58 A_const Constant alpha value.
59
60
61 w Image width in pixels.
62
63
64 h Image height in lines.
65
66
67 dlb Linebytes for output buffer.
68
69
70 slb Linebytes for input buffers.
71
72
74 None.
75
77 See attributes(5) for descriptions of the following attributes:
78
79
80
81
82 ┌─────────────────────────────┬─────────────────────────────┐
83 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
84 ├─────────────────────────────┼─────────────────────────────┤
85 │Interface Stability │Committed │
86 ├─────────────────────────────┼─────────────────────────────┤
87 │MT-Level │MT-Safe │
88 └─────────────────────────────┴─────────────────────────────┘
89
91 mlib_VideoColorYUV420seq_to_ARGBint(3MLIB), mlib_VideoCol‐
92 orYUV411seq_to_ARGBint(3MLIB), mlib_VideoColorYUV422seq_to_ARG‐
93 Bint(3MLIB), mlib_VideoColorYUV420seq_to_ABGRint(3MLIB), mlib_VideoCol‐
94 orYUV411seq_to_ABGRint(3MLIB), mlib_VideoCol‐
95 orYUV422seq_to_ABGRint(3MLIB), mlib_VideoCol‐
96 orYUV444seq_to_ABGRint(3MLIB), mlib_VideoColorYUYV422int_to_ARG‐
97 Bint(3MLIB), mlib_VideoColorYUV444int_to_ARGBint(3MLIB), mlib_VideoCol‐
98 orYUYV422int_to_ABGRint(3MLIB), mlib_VideoCol‐
99 orYUV444int_to_ABGRint(3MLIB), mlib_VideoColorUYVY422int_to_ARG‐
100 Bint(3MLIB), mlib_VideoColorUYVY422int_to_ABGRint(3MLIB), mlib_Video‐
101 ColorUYV444int_to_ARGBint(3MLIB), mlib_VideoCol‐
102 orUYV444int_to_ABGRint(3MLIB), attributes(5)
103
104
105
106SunOS 5.11 2 Mmalrib2_0V0i7deoColorYUV444seq_to_ARGBint(3MLIB)