1mlib_ImageNotOr_Inp(3MLIB)mediaLib Library Functionsmlib_ImageNotOr_Inp(3MLIB)
2
3
4
6 mlib_ImageNotOr_Inp - NotOr, in place
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_ImageNotOr_Inp(mlib_image *src1dst,
13 const mlib_image *src2);
14
15
17 The mlib_ImageNotOr_Inp() function computes the logical Or of the first
18 and second source images and then takes the logical Not of that result
19 on a pixel-by-pixel basis, in place.
20
21
22 It uses the following equation:
23
24 src1dst[x][y][i] = ~(src1dst[x][y][i] | (src2[x][y][i])
25
26
27
28 The data type of the images can be MLIB_BIT, MLIB_BYTE, MLIB_SHORT,
29 MLIB_USHORT, or MLIB_INT.
30
32 The function takes the following arguments:
33
34 src1dst Pointer to first source and destination image.
35
36
37 src2 Pointer to second source image.
38
39
41 The function returns MLIB_SUCCESS if successful. Otherwise it returns
42 MLIB_FAILURE.
43
45 See attributes(5) for descriptions of the following attributes:
46
47
48
49
50 ┌─────────────────────────────┬─────────────────────────────┐
51 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
52 ├─────────────────────────────┼─────────────────────────────┤
53 │Interface Stability │Committed │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │MT-Level │MT-Safe │
56 └─────────────────────────────┴─────────────────────────────┘
57
59 mlib_ImageNotOr(3MLIB), attributes(5)
60
61
62
63SunOS 5.11 2 Mar 2007 mlib_ImageNotOr_Inp(3MLIB)