1mlib_VideoColorMerge2(3MLIBm)ediaLib Library Functionmslib_VideoColorMerge2(3MLIB)
2
3
4
6 mlib_VideoColorMerge2 - color conversion (color channel merge)
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_VideoColorMerge2(mlib_u8 *colors,
13 const mlib_u8 *color1,const mlib_u8 *color2,
14 mlib_s32 n);
15
16
18 The mlib_VideoColorMerge2() function performs color channel merge.
19
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 n Length of color1 and color2 arrays. Length of colors must be
36 2*n.
37
38
40 The function returns MLIB_SUCCESS if successful. Otherwise it returns
41 MLIB_FAILURE.
42
44 See attributes(5) for descriptions of the following attributes:
45
46
47
48
49 ┌─────────────────────────────┬─────────────────────────────┐
50 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
51 ├─────────────────────────────┼─────────────────────────────┤
52 │Interface Stability │Committed │
53 ├─────────────────────────────┼─────────────────────────────┤
54 │MT-Level │MT-Safe │
55 └─────────────────────────────┴─────────────────────────────┘
56
58 mlib_VideoColorMerge2_S16(3MLIB), mlib_VideoColorMerge3(3MLIB),
59 mlib_VideoColorMerge3_S16(3MLIB), mlib_VideoColorMerge4(3MLIB),
60 mlib_VideoColorMerge4_S16(3MLIB), mlib_VideoColorSplit2(3MLIB),
61 mlib_VideoColorSplit2_S16(3MLIB), mlib_VideoColorSplit3(3MLIB),
62 mlib_VideoColorSplit3_S16(3MLIB), mlib_VideoColorSplit4(3MLIB),
63 mlib_VideoColorSplit4_S16(3MLIB), attributes(5)
64
65
66
67SunOS 5.11 2 Mar 2007 mlib_VideoColorMerge2(3MLIB)