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

NAME

6       mlib_ImageNot_Inp - Not
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_ImageNot_Inp(mlib_image *srcdst);
13
14

DESCRIPTION

16       The mlib_ImageNot_Inp() function computes the logical Not of each pixel
17       in the source image, in place.
18
19
20       It uses the following equation:
21
22         srcdst[x][y][i] = ~srcdst[x][y][i]
23
24
25
26       The data type of the images can  be  MLIB_BIT,  MLIB_BYTE,  MLIB_SHORT,
27       MLIB_USHORT, or MLIB_INT.
28

PARAMETERS

30       The function takes the following arguments:
31
32       srcdst    Pointer to source and destination image.
33
34

RETURN VALUES

36       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
37       MLIB_FAILURE.
38

ATTRIBUTES

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

SEE ALSO

54       mlib_ImageNot(3MLIB), attributes(5)
55
56
57
58SunOS 5.11                        2 Mar 2007          mlib_ImageNot_Inp(3MLIB)
Impressum