1mlib_VideoColorSplit4_S16(3mMeLdIiBa)Lib Library Funcmtliiobn_sVideoColorSplit4_S16(3MLIB)
2
3
4

NAME

6       mlib_VideoColorSplit4_S16 - color conversion (color channel split)
7

SYNOPSIS

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

DESCRIPTION

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

PARAMETERS

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

RETURN VALUES

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

ATTRIBUTES

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

SEE ALSO

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