1mlib_ImageAnd_Inp(3MLIB) mediaLib Library Functions mlib_ImageAnd_Inp(3MLIB)
2
3
4
6 mlib_ImageAnd_Inp - computes the And of two image, in place
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_ImageAnd_Inp(mlib_image *scr1dst, const mlib_image *src2);
13
14
16 The mlib_ImageAnd_Inp() function computes the And of two images, in
17 place, according to the following equation:
18
19 src1dst[x][y][i] = src1dst[x][y][i] & src2[x][y][i]
20
21
22
23 The data type of the images can be MLIB_BIT, MLIB_BYTE, MLIB_SHORT,
24 MLIB_USHORT, or MLIB_INT.
25
27 The function takes the following arguments:
28
29 src1dst Pointer to first source and destination image.
30
31
32 src2 Pointer to second source image.
33
34
36 The function returns MLIB_SUCCESS if successful. Otherwise it returns
37 MLIB_FAILURE.
38
40 See attributes(5) for descriptions of the following attributes:
41
42
43
44
45 ┌─────────────────────────────┬─────────────────────────────┐
46 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
47 ├─────────────────────────────┼─────────────────────────────┤
48 │Interface Stability │Committed │
49 ├─────────────────────────────┼─────────────────────────────┤
50 │MT-Level │MT-Safe │
51 └─────────────────────────────┴─────────────────────────────┘
52
54 mlib_ImageAnd(3MLIB), attributes(5)
55
56
57
58SunOS 5.11 30 Aug 2007 mlib_ImageAnd_Inp(3MLIB)