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