1mlib_ImageDiv1_Fp_Inp(3MLIBm)ediaLib Library Functionmslib_ImageDiv1_Fp_Inp(3MLIB)
2
3
4
6 mlib_ImageDiv1_Fp_Inp - division, in place
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_ImageDiv1_Fp_Inp(mlib_image *src1dst,
13 const mlib_image *src2);
14
15
17 The mlib_ImageDiv1_Fp_Inp() function divides the second floating-point
18 source image into the first floating-point source image on a pixel-by-
19 pixel basis, in place.
20
21
22 It uses the following equation:
23
24 src1dst[x][y][i] = src1dst[x][y][i] / src2[x][y][i]
25
26
27
28 where the operation follows the IEEE-754 standard.
29
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
40 The function returns MLIB_SUCCESS if successful. Otherwise it returns
41 MLIB_FAILURE.
42
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
58 mlib_ImageDiv_Fp(3MLIB), mlib_ImageDiv2_Fp_Inp(3MLIB), attributes(5)
59
60
61
62SunOS 5.11 2 Mar 2007 mlib_ImageDiv1_Fp_Inp(3MLIB)