1mlib_ImageAbs_Fp_Inp(3MLIB)mediaLib Library Functionsmlib_ImageAbs_Fp_Inp(3MLIB)
2
3
4
6 mlib_ImageAbs_Fp_Inp - computes the absolute value of the image pixels
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_ImageAbs_Fp_Inp(mlib_image *srcdst);
13
14
16 The mlib_ImageAbs_Fp_Inp() function computes the floating-point abso‐
17 lute value of the image pixels, in place.
18
19
20 It uses the following equation:
21
22 srcdst[x][y][i] = |srcdst[x][y][i]|
23
24
26 The function takes the following arguments:
27
28 srcdst Pointer to source and destination image.
29
30
32 The function returns MLIB_SUCCESS if successful. Otherwise it returns
33 MLIB_FAILURE.
34
36 See attributes(5) for descriptions of the following attributes:
37
38
39
40
41 ┌─────────────────────────────┬─────────────────────────────┐
42 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
43 ├─────────────────────────────┼─────────────────────────────┤
44 │Interface Stability │Committed │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │MT-Level │MT-Safe │
47 └─────────────────────────────┴─────────────────────────────┘
48
50 mlib_ImageAbs(3MLIB), mlib_ImageAbs_Fp(3MLIB), mlib_Image‐
51 Abs_Inp(3MLIB), attributes(5)
52
53
54
55SunOS 5.11 2 Mar 2007 mlib_ImageAbs_Fp_Inp(3MLIB)