1mlib_VideoColorBGRAint_to_AmBeGdRiianLti(b3MLLiIbBrm)alriyb_FVuindcetoiCoonlsorBGRAint_to_ABGRint(3MLIB)
2
3
4

NAME

6       mlib_VideoColorBGRAint_to_ABGRint - convert BGRA interleaved to ABGR
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       void mlib_VideoColorBGRAint_to_ABGRint(mlib_u32 *ABGR,
13            const mlib_u32 *BGRA, mlib_s32 w, mlib_s32 h, mlib_s32 dlb,
14            mlib_s32 slb);
15
16

DESCRIPTION

18       The BGRA pixel stream is broken apart and recombined into an ABGR pixel
19       stream. All pixel components are 8-bit unsigned integers.  The  buffers
20       have  dimensions  w and h. Within each 32-bit input word, the component
21       ordering is B (bits 31-24), G (bits 23-16), R (bits 15-8), and A  (bits
22       7-0). Within each 32-bit output word, the component ordering is A (bits
23       31-24), B (bits 23-16), G (bits 15-8), and R (bits 7-0).
24

PARAMETERS

26       The function takes the following arguments:
27
28       ABGR    Pointer to output buffer.
29
30
31       BGRA    Pointer to input buffer.
32
33
34       w       Image width in pixels.
35
36
37       h       Image height in lines.
38
39
40       dlb     Linebytes for output buffer.
41
42
43       slb     Linebytes for input buffer.
44
45

RETURN VALUES

47       None.
48

ATTRIBUTES

50       See attributes(5) for descriptions of the following attributes:
51
52
53
54
55       ┌─────────────────────────────┬─────────────────────────────┐
56       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
57       ├─────────────────────────────┼─────────────────────────────┤
58       │Interface Stability          │Committed                    │
59       ├─────────────────────────────┼─────────────────────────────┤
60       │MT-Level                     │MT-Safe                      │
61       └─────────────────────────────┴─────────────────────────────┘
62

SEE ALSO

64       mlib_VideoColorABGRint_to_ARGBint(3MLIB),            mlib_VideoColorRG‐
65       BAint_to_ABGRint(3MLIB), attributes(5)
66
67
68
69SunOS 5.11                        2 Marml2i0b0_7VideoColorBGRAint_to_ABGRint(3MLIB)
Impressum