1mlib_VideoColorSplit3_S16(3mMeLdIiBa)Lib Library Funcmtliiobn_sVideoColorSplit3_S16(3MLIB)
2
3
4

NAME

6       mlib_VideoColorSplit3_S16 - color conversion (color channel split)
7

SYNOPSIS

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

DESCRIPTION

17       The mlib_VideoColorSplit3_S16() function performs color channel split.
18
19
20       The  elements of the colors array are selected in consecutive groups of
21       three. As each group is processed, the first element is stored  in  the
22       color1  array;  the  second element, in the color2 array; and the third
23       element, in the color3 array. This process is repeated untill  the  end
24       of the colors array is reached.
25

PARAMETERS

27       The function takes the following arguments:
28
29       color1    Pointer  to  first color component row. color1 must be 8-byte
30                 aligned.
31
32
33       color2    Pointer to second color component row. color2 must be  8-byte
34                 aligned.
35
36
37       colors    Pointer  to colors multi-component row. colors must be 8-byte
38                 aligned.
39
40
41       n         Length of color1, color2, and color3 arrays. Length of colors
42                 must be 3*n.
43
44

RETURN VALUES

46       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
47       MLIB_FAILURE.
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_VideoColorMerge2(3MLIB),         mlib_VideoColorMerge2_S16(3MLIB),
65       mlib_VideoColorMerge3(3MLIB),         mlib_VideoColorMerge3_S16(3MLIB),
66       mlib_VideoColorMerge4(3MLIB),         mlib_VideoColorMerge4_S16(3MLIB),
67       mlib_VideoColorSplit2(3MLIB),         mlib_VideoColorSplit2_S16(3MLIB),
68       mlib_VideoColorSplit3(3MLIB), mlib_VideoColorSplit4(3MLIB), mlib_Video‐
69       ColorSplit4_S16(3MLIB), attributes(5)
70
71
72
73SunOS 5.11                        2 Mar 2007  mlib_VideoColorSplit3_S16(3MLIB)
Impressum