1mlib_VideoColorMerge3(3MLIBm)ediaLib Library Functionmslib_VideoColorMerge3(3MLIB)
2
3
4
6 mlib_VideoColorMerge3 - color conversion (color channel merge)
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_VideoColorMerge3(mlib_u8 *colors, const mlib_u8 *color1,
13 const mlib_u8 *color2, const mlib_u8 *color3, mlib_s32 n);
14
15
17 The mlib_VideoColorMerge3() function performs color channel merge.
18
20 The function takes the following arguments:
21
22 colors Pointer to colors multi-component row. colors must be 8-byte
23 aligned.
24
25
26 color1 Pointer to first color component row. color1 must be 8-byte
27 aligned.
28
29
30 color2 Pointer to second color component row. color2 must be 8-byte
31 aligned.
32
33
34 color3 Pointer to third color component row. color3 must be 8-byte
35 aligned.
36
37
38 n Length of color1, color2 and color3 arrays. Length of colors
39 must be 3*n.
40
41
43 The function returns MLIB_SUCCESS if successful. Otherwise it returns
44 MLIB_FAILURE.
45
47 See attributes(5) for descriptions of the following attributes:
48
49
50
51
52 ┌─────────────────────────────┬─────────────────────────────┐
53 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │Interface Stability │Committed │
56 ├─────────────────────────────┼─────────────────────────────┤
57 │MT-Level │MT-Safe │
58 └─────────────────────────────┴─────────────────────────────┘
59
61 mlib_VideoColorMerge2(3MLIB), mlib_VideoColorMerge2_S16(3MLIB),
62 mlib_VideoColorMerge3_S16(3MLIB), mlib_VideoColorMerge4(3MLIB),
63 mlib_VideoColorMerge4_S16(3MLIB), mlib_VideoColorSplit2(3MLIB),
64 mlib_VideoColorSplit2_S16(3MLIB), mlib_VideoColorSplit3(3MLIB),
65 mlib_VideoColorSplit3_S16(3MLIB), mlib_VideoColorSplit4(3MLIB),
66 mlib_VideoColorSplit4_S16(3MLIB), attributes(5)
67
68
69
70SunOS 5.11 2 Mar 2007 mlib_VideoColorMerge3(3MLIB)