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

NAME

6       mlib_ImageDiv_Fp - division
7

SYNOPSIS

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

DESCRIPTION

17       The  mlib_ImageDiv_Fp()  function  divides  the  second  floating-point
18       source image into the first floating-point source image on a  pixel-by-
19       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       where the operation follows the IEEE-754 standard.
29

PARAMETERS

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

RETURN VALUES

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

ATTRIBUTES

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

SEE ALSO

61       mlib_ImageDiv1_Fp_Inp(3MLIB),             mlib_ImageDiv2_Fp_Inp(3MLIB),
62       attributes(5)
63
64
65
66SunOS 5.11                        2 Mar 2007           mlib_ImageDiv_Fp(3MLIB)
Impressum