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

NAME

6       mlib_ImageOr_Inp - Or, in place
7

SYNOPSIS

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

DESCRIPTION

16       The  mlib_ImageOr_Inp()  function  computes the logical Or of the first
17       source image with the second source image on a pixel-by-pixel basis, in
18       place.
19
20
21       It uses the following equation:
22
23         src1dst[x][y][i] = src1dst[x][y][i] | src2[x][y][i]
24
25
26
27       The  data  type  of  the images can be MLIB_BIT, MLIB_BYTE, MLIB_SHORT,
28       MLIB_USHORT, or MLIB_INT.
29

PARAMETERS

31       The function takes the following arguments:
32
33       src1dst    Pointer to first source and destination image.
34
35
36       src2       Pointer to second source image.
37
38

RETURN VALUES

40       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
41       MLIB_FAILURE.
42

ATTRIBUTES

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

SEE ALSO

58       mlib_ImageOr(3MLIB), attributes(5)
59
60
61
62SunOS 5.11                        2 Mar 2007           mlib_ImageOr_Inp(3MLIB)
Impressum