1mlib_VideoColorYUYV422int_tmoe_dAiRaGLBiibntLm(il3biMrbLa_IrVByi)dFeuonCcotlioornYsUYV422int_to_ARGBint(3MLIB)
2
3
4

NAME

6       mlib_VideoColorYUYV422int_to_ARGBint  -  color convert YUYV interleaved
7       to ARGB interleaved
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       void mlib_VideoColorYUYV422int_to_ARGBint(mlib_u32 *ARGB,
14            const mlib_u32 *YUYV, const mlib_u8 *A_array, mlib_u8 A_const,
15            mlib_s32 w, mlib_s32 h, mlib_s32 dlb, mlib_s32 slb, mlib_s32 alb);
16
17

DESCRIPTION

19       The YUYV pixel stream is converted into an ARGB pixel stream. All pixel
20       components  are 8-bit unsigned integers. The YUYV buffer has dimensions
21       w/2 and h. The ABGR buffer has dimensions w  and  h.  Dimensions  w  is
22       assumed to be even.
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

PARAMETERS

42       The function takes the following arguments:
43
44       ARGB       Pointer to output buffer.
45
46
47       YUYV       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

RETURN VALUES

72       None.
73

ATTRIBUTES

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

SEE ALSO

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_VideoColorYUV444int_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                        2mMlairb_2V0i0d7eoColorYUYV422int_to_ARGBint(3MLIB)
Impressum