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