1mlib_VideoColorRGBint_to_ABmGeRdiinatL(i3bMLLIiBb)ramrlyibF_uVnicdteiooCnoslorRGBint_to_ABGRint(3MLIB)
2
3
4

NAME

6       mlib_VideoColorRGBint_to_ABGRint  -  convert  RGB  interleaved  to ABGR
7       interleaved
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       void mlib_VideoColorRGBint_to_ABGRint(mlib_u32 *ABGR,
14            const mlib_u8 *RGB, 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 interleaved RGB stream, and the A values are combined into an A, B,
22       G,  R interleaved byte stream. Within each 24-bit input pixel, the com‐
23       ponent ordering is R (bits 23-16), G (bits 15-8),  and  B  (bits  7-0).
24       Within  each  32-bit  output  word,  the  component ordering is A (bits
25       31-24), B (bits 23-16), G (bits 15-8), and R (bits 7-0).
26
27
28       The alpha values for this function work in the following fashion:
29
30           o      If A_array pointer is not NULL, the values  are  taken  from
31                  there. It has to have the same dimensions as the R, G, and B
32                  buffers.
33
34           o      If A_array pointer is NULL, the alpha values for every pixel
35                  are set to A_const.
36

PARAMETERS

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

RETURN VALUES

68       None.
69

ATTRIBUTES

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

SEE ALSO

85       mlib_VideoColorRGBseq_to_ABGRint(3MLIB),              mlib_VideoColorB‐
86       GRint_to_ABGRint(3MLIB),      mlib_VideoColorRGBXint_to_ABGRint(3MLIB),
87       mlib_VideoColorRGBXint_to_ARGBint(3MLIB),           mlib_VideoColorXRG‐
88       Bint_to_ABGRint(3MLIB),       mlib_VideoColorXRGBint_to_ARGBint(3MLIB),
89       attributes(5)
90
91
92
93SunOS 5.11                        2 Marm2l0i0b7_VideoColorRGBint_to_ABGRint(3MLIB)
Impressum