1mlib_VideoColorUYV444int_tom_eAdRiGaBLiinbt(L3imMblLriIabBr_)yViFduenocCtoiloonrsUYV444int_to_ARGBint(3MLIB)
2
3
4

NAME

6       mlib_VideoColorUYV444int_to_ARGBint  - color convert UYV interleaved to
7       ARGB interleaved
8

SYNOPSIS

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

DESCRIPTION

21       The UYV pixel stream is converted into an ARGB pixel stream. All  pixel
22       components  are  8-bit unsigned integers. All buffers have dimensions w
23       and h.
24
25
26       The alpha values for this function work in the following fashion:
27
28           o      If A_array pointer is not NULL, the values  are  taken  from
29                  there. It has to have the same dimensions as the Y buffer.
30
31           o      If A_array pointer is NULL, the alpha values for every pixel
32                  are set to A_const.
33
34
35       The following equation is used:
36
37         |R|   |1.1644  0.0000  1.5966|   [|Y|   | 16.0000|]
38         |G| = |1.1644 -0.3920 -0.8132| * [|U| - |128.0000|]
39         |B|   |1.1644  2.0184  0.0000|   [|V|   |128.0000|]
40
41

PARAMETERS

43       The function takes the following arguments:
44
45       ARGB       Pointer to output buffer.
46
47
48       UYV        Pointer to input buffer.
49
50
51       A_array    Array of alpha values.
52
53
54       A_const    Constant alpha value.
55
56
57       w          Image width in pixels.
58
59
60       h          Image height in lines.
61
62
63       dlb        Linebytes for output buffer.
64
65
66       slb        Linebytes for input buffer.
67
68
69       alb        Linebytes for alpha buffer.
70
71

RETURN VALUES

73       None.
74

ATTRIBUTES

76       See attributes(5) for descriptions of the following attributes:
77
78
79
80
81       ┌─────────────────────────────┬─────────────────────────────┐
82       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
83       ├─────────────────────────────┼─────────────────────────────┤
84       │Interface Stability          │Committed                    │
85       ├─────────────────────────────┼─────────────────────────────┤
86       │MT-Level                     │MT-Safe                      │
87       └─────────────────────────────┴─────────────────────────────┘
88

SEE ALSO

90       mlib_VideoColorYUV420seq_to_ARGBint(3MLIB),              mlib_VideoCol‐
91       orYUV411seq_to_ARGBint(3MLIB),         mlib_VideoColorYUV422seq_to_ARG‐
92       Bint(3MLIB), mlib_VideoColorYUV444seq_to_ARGBint(3MLIB), mlib_VideoCol‐
93       orYUV420seq_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_ABGRint(3MLIB), attributes(5)
102
103
104
105SunOS 5.11                        2 Mmalrib2_0V0i7deoColorUYV444int_to_ARGBint(3MLIB)
Impressum