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

NAME

6       mlib_ImageSub1_Inp - subtraction, in place
7

SYNOPSIS

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

DESCRIPTION

17       The  mlib_ImageSub1_Inp()  function  subtracts  the second source image
18       from the first source image on a pixel-by-pixel basis, in 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

PARAMETERS

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

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_ImageSub(3MLIB),        mlib_ImageSub_Fp(3MLIB),       mlib_Image‐
55       Sub1_Fp_Inp(3MLIB),      mlib_ImageSub2_Fp_Inp(3MLIB),      mlib_Image‐
56       Sub2_Inp(3MLIB), attributes(5)
57
58
59
60SunOS 5.11                        2 Mar 2007         mlib_ImageSub1_Inp(3MLIB)
Impressum