1mlib_VideoColorMerge4(3MLIBm)ediaLib Library Functionmslib_VideoColorMerge4(3MLIB)
2
3
4

NAME

6       mlib_VideoColorMerge4 - color conversion (color channel merge)
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_VideoColorMerge4(mlib_u8 *colors, const mlib_u8 *color1,
13            const mlib_u8 *color2, const mlib_u8 *color3, const mlib_u8 *color4,
14            mlib_s32 n);
15
16

DESCRIPTION

18       The mlib_VideoColorMerge4() function performs color channel merge.
19

PARAMETERS

21       The function takes the following arguments:
22
23       colors    Pointer  to colors multi-component row. colors must be 8-byte
24                 aligned.
25
26
27       color1    Pointer to first color component row. color1 must  be  8-byte
28                 aligned.
29
30
31       color2    Pointer  to second color component row. color2 must be 8-byte
32                 aligned.
33
34
35       color3    Pointer to third color component row. color3 must  be  8-byte
36                 aligned.
37
38
39       color4    Pointer  to fourth color component row. color4 must be 8-byte
40                 aligned.
41
42
43       n         Length of color1, color2, color3, and color4  arrays.  Length
44                 of colors must be 4*n.
45
46

RETURN VALUES

48       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
49       MLIB_FAILURE.
50

ATTRIBUTES

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

SEE ALSO

66       mlib_VideoColorMerge2(3MLIB),         mlib_VideoColorMerge2_S16(3MLIB),
67       mlib_VideoColorMerge3(3MLIB),         mlib_VideoColorMerge3_S16(3MLIB),
68       mlib_VideoColorMerge4_S16(3MLIB),         mlib_VideoColorSplit2(3MLIB),
69       mlib_VideoColorSplit2_S16(3MLIB),         mlib_VideoColorSplit3(3MLIB),
70       mlib_VideoColorSplit3_S16(3MLIB),         mlib_VideoColorSplit4(3MLIB),
71       mlib_VideoColorSplit4_S16(3MLIB), attributes(5)
72
73
74
75SunOS 5.11                        2 Mar 2007      mlib_VideoColorMerge4(3MLIB)
Impressum