1mlib_VideoColorUYV444int_tom_eAdBiGaRLiinbt(L3imMblLriIabBr_)yViFduenocCtoiloonrsUYV444int_to_ABGRint(3MLIB)
2
3
4

NAME

6       mlib_VideoColorUYV444int_to_ABGRint  - color convert UYV interleaved to
7       ABGR interleaved
8

SYNOPSIS

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

DESCRIPTION

20       The UYV pixel stream is converted into an ABGR 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

PARAMETERS

42       The function takes the following arguments:
43
44       ABGR       Pointer to output buffer.
45
46
47       UYV        Pointer to 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_VideoColorYUYV422int_to_ARG‐
96       Bint(3MLIB), mlib_VideoColorYUV444int_to_ARGBint(3MLIB), mlib_VideoCol‐
97       orYUYV422int_to_ABGRint(3MLIB),                          mlib_VideoCol‐
98       orYUV444int_to_ABGRint(3MLIB),        mlib_VideoColorUYVY422int_to_ARG‐
99       Bint(3MLIB),  mlib_VideoColorUYVY422int_to_ABGRint(3MLIB),  mlib_Video‐
100       ColorUYV444int_to_ARGBint(3MLIB), attributes(5)
101
102
103
104SunOS 5.11                        2 Mmalrib2_0V0i7deoColorUYV444int_to_ABGRint(3MLIB)
Impressum