1mlib_ImageAdd_Fp_Inp(3MLIB)mediaLib Library Functionsmlib_ImageAdd_Fp_Inp(3MLIB)
2
3
4
6 mlib_ImageAdd_Fp_Inp - computes the addition of two images on a pixel-
7 by-pixel basis
8
10 cc [ flag... ] file... -lmlib [ library... ]
11 #include <mlib.h>
12
13 mlib_status mlib_ImageAdd_Fp_Inp(mlib_image *src1dst,
14 const mlib_image *src2);
15
16
18 The mlib_ImageAdd_Fp_Inp() function computes the addition of two float‐
19 ing-point images on a pixel-by-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
28 The function takes the following arguments:
29
30 src1dst Pointer to first source and destination image.
31
32
33 src2 Pointer to second source image.
34
35
37 The function returns MLIB_SUCCESS if successful. Otherwise it returns
38 MLIB_FAILURE.
39
41 See attributes(5) for descriptions of the following attributes:
42
43
44
45
46 ┌─────────────────────────────┬─────────────────────────────┐
47 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
48 ├─────────────────────────────┼─────────────────────────────┤
49 │Interface Stability │Committed │
50 ├─────────────────────────────┼─────────────────────────────┤
51 │MT-Level │MT-Safe │
52 └─────────────────────────────┴─────────────────────────────┘
53
55 mlib_ImageAdd(3MLIB), mlib_ImageAdd_Fp(3MLIB),
56 mlib_ImageAdd_Inp(3MLIB), attributes(5)
57
58
59
60SunOS 5.11 2 Mar 2007 mlib_ImageAdd_Fp_Inp(3MLIB)