1mlib_ImageNotAnd(3MLIB)   mediaLib Library Functions   mlib_ImageNotAnd(3MLIB)
2
3
4

NAME

6       mlib_ImageNotAnd - NotAnd
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_ImageNotAnd(mlib_image *dst, const mlib_image *src1,
13            const mlib_image *src2);
14
15

DESCRIPTION

17       The  mlib_ImageNotAnd()  function computes the logical And of the first
18       source image with the second source image and then  takes  the  logical
19       Not of that result on a pixel-by-pixel basis.
20
21
22       It uses the following equation:
23
24         dst[x][y][i] = ~(src1[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

PARAMETERS

32       The function takes the following arguments:
33
34       dst     Pointer to destination image.
35
36
37       src1    Pointer to first source image.
38
39
40       src2    Pointer to second source image.
41
42

RETURN VALUES

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

ATTRIBUTES

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

SEE ALSO

62       mlib_ImageNotAnd_Inp(3MLIB), attributes(5)
63
64
65
66SunOS 5.11                        30 Aug 2007          mlib_ImageNotAnd(3MLIB)
Impressum