1mlib_VideoColorSplit2(3MLIBm)ediaLib Library Functionmslib_VideoColorSplit2(3MLIB)
2
3
4

NAME

6       mlib_VideoColorSplit2 - color conversion (color channel split)
7

SYNOPSIS

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

DESCRIPTION

17       The mlib_VideoColorSplit2() function performs color channel split.
18
19
20       The elements of the colors array are alternately copied into the color1
21       array and color2 array.
22

PARAMETERS

24       The function takes the following arguments:
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       colors    Pointer to colors multi-component row. colors must be  8-byte
35                 aligned.
36
37
38       n         Length  of color1 and color2 arrays. Length of colors must be
39                 2*n.
40
41

RETURN VALUES

43       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
44       MLIB_FAILURE.
45

ATTRIBUTES

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

SEE ALSO

61       mlib_VideoColorMerge2(3MLIB),         mlib_VideoColorMerge2_S16(3MLIB),
62       mlib_VideoColorMerge3(3MLIB),         mlib_VideoColorMerge3_S16(3MLIB),
63       mlib_VideoColorMerge4(3MLIB),         mlib_VideoColorMerge4_S16(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_VideoColorSplit2(3MLIB)
Impressum