1mlib_VideoColorYUV422seq_tom_eAdBiGaRLiinbt(L3imMblLriIabBr_)yViFduenocCtoiloonrsYUV422seq_to_ABGRint(3MLIB)
2
3
4

NAME

6       mlib_VideoColorYUV422seq_to_ABGRint  -  color convert YUV sequential to
7       ABGR interleaved
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       void mlib_VideoColorYUV422seq_to_ABGRint(mlib_u32 *ABGR,
14            const mlib_u8 *Y, const mlib_u8 *U, const mlib_u8 *V,
15            const mlib_u8 *A_array, mlib_u8 A_const,
16            mlib_s32 w, mlib_s32 h,mlib_s32 dlb, mlib_s32 yalb,
17            mlib_s32 uvlb);
18
19

DESCRIPTION

21       The Y, U, V pixel streams are converted into an ABGR pixel stream.  All
22       pixel  components  are 8-bit unsigned integers. The Y buffer has dimen‐
23       sions w and h. The U and V buffers have dimensions w/2  and  h.  Dimen‐
24       sions  w  and  h  are  assumed  to  be  even. Similar to mlib_VideoCol‐
25       orYUV420seq_to_ABGRint() except U and V are not sampled in the h direc‐
26       tion.
27
28
29       The alpha values for this function work in the following fashion:
30
31           o      If  A_array  pointer  is not NULL, the values are taken from
32                  there. It has to have the same dimensions as the Y buffer.
33
34           o      If A_array pointer is NULL, the alpha values for every pixel
35                  are set to A_const.
36
37
38       The following equation is used:
39
40         |R|   |1.1644  0.0000  1.5966|   [|Y|   | 16.0000|]
41         |G| = |1.1644 -0.3920 -0.8132| * [|U| - |128.0000|]
42         |B|   |1.1644  2.0184  0.0000|   [|V|   |128.0000|]
43
44

PARAMETERS

46       The function takes the following arguments:
47
48       ABGR       Pointer to output buffer.
49
50
51       Y          Pointer to Y input buffer.
52
53
54       U          Pointer to U input buffer.
55
56
57       V          Pointer to V input buffer.
58
59
60       A_array    Array of alpha values.
61
62
63       A_const    Constant alpha value.
64
65
66       w          Image width in pixels.
67
68
69       h          Image height in lines.
70
71
72       dlb        Linebytes for output buffer.
73
74
75       yalb       Linebytes for Y and alpha buffers.
76
77
78       uvlb       Linebytes for U and V buffers.
79
80

RETURN VALUES

82       None.
83

ATTRIBUTES

85       See attributes(5) for descriptions of the following attributes:
86
87
88
89
90       ┌─────────────────────────────┬─────────────────────────────┐
91       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
92       ├─────────────────────────────┼─────────────────────────────┤
93       │Interface Stability          │Committed                    │
94       ├─────────────────────────────┼─────────────────────────────┤
95       │MT-Level                     │MT-Safe                      │
96       └─────────────────────────────┴─────────────────────────────┘
97

SEE ALSO

99       mlib_VideoColorYUV420seq_to_ARGBint(3MLIB),              mlib_VideoCol‐
100       orYUV411seq_to_ARGBint(3MLIB),         mlib_VideoColorYUV422seq_to_ARG‐
101       Bint(3MLIB), mlib_VideoColorYUV444seq_to_ARGBint(3MLIB), mlib_VideoCol‐
102       orYUV420seq_to_ABGRint(3MLIB),                           mlib_VideoCol‐
103       orYUV411seq_to_ABGRint(3MLIB),                           mlib_VideoCol‐
104       orYUV444seq_to_ABGRint(3MLIB),        mlib_VideoColorYUYV422int_to_ARG‐
105       Bint(3MLIB), mlib_VideoColorYUV444int_to_ARGBint(3MLIB), mlib_VideoCol‐
106       orYUYV422int_to_ABGRint(3MLIB),                          mlib_VideoCol‐
107       orYUV444int_to_ABGRint(3MLIB),        mlib_VideoColorUYVY422int_to_ARG‐
108       Bint(3MLIB),  mlib_VideoColorUYVY422int_to_ABGRint(3MLIB),  mlib_Video‐
109       ColorUYV444int_to_ARGBint(3MLIB),                        mlib_VideoCol‐
110       orUYV444int_to_ABGRint(3MLIB), attributes(5)
111
112
113
114SunOS 5.11                        2 Mmalrib2_0V0i7deoColorYUV422seq_to_ABGRint(3MLIB)
Impressum