1mlib_VideoColorRGBAint_to_AmBeGdRiianLti(b3MLLiIbBrm)alriyb_FVuindcetoiCoonlsorRGBAint_to_ABGRint(3MLIB)
2
3
4
6 mlib_VideoColorRGBAint_to_ABGRint - convert RGBA interleaved to ABGR
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 void mlib_VideoColorRGBAint_to_ABGRint(mlib_u32 *ABGR,
13 const mlib_u32 *RGBA,mlib_s32 w,
14 mlib_s32 h, mlib_s32 dlb,
15 mlib_s32 slb);
16
17
19 The RGBA pixel stream is broken apart and recombined into an ABGR pixel
20 stream. All pixel components are 8-bit unsigned integers. The buffers
21 have dimensions w and h. Within each 32-bit input word, the component
22 ordering is R (bits 31-24), G (bits 23-16), B (bits 15-8), and A (bits
23 7-0). Within each 32-bit output word, the component ordering is A (bits
24 31-24), B (bits 23-16), G (bits 15-8), and R (bits 7-0).
25
27 The function takes the following arguments:
28
29 ABGR Pointer to output buffer.
30
31
32 RGBA Pointer to input buffer.
33
34
35 w Image width in pixels.
36
37
38 h Image height in lines.
39
40
41 dlb Linebytes for output buffer.
42
43
44 slb Linebytes for input buffer.
45
46
48 None.
49
51 See attributes(5) for descriptions of the following attributes:
52
53
54
55
56 ┌─────────────────────────────┬─────────────────────────────┐
57 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
58 ├─────────────────────────────┼─────────────────────────────┤
59 │Interface Stability │Committed │
60 ├─────────────────────────────┼─────────────────────────────┤
61 │MT-Level │MT-Safe │
62 └─────────────────────────────┴─────────────────────────────┘
63
65 mlib_VideoColorABGRint_to_ARGBint(3MLIB), mlib_VideoColorB‐
66 GRAint_to_ABGRint(3MLIB), attributes(5)
67
68
69
70SunOS 5.11 2 Marml2i0b0_7VideoColorRGBAint_to_ABGRint(3MLIB)