1mlib_ImageSqr_Fp(3MLIB) mediaLib Library Functions mlib_ImageSqr_Fp(3MLIB)
2
3
4
6 mlib_ImageSqr_Fp - square
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_ImageSqr_Fp(mlib_image *dst, const mlib_image *src);
13
14
16 The mlib_ImageSqr_Fp() function computes the floating-point square of
17 each pixel in the source image.
18
19
20 It uses the following equation:
21
22 dst[x][y][i] = src[x][y][i] * src[x][y][i]
23
24
26 The function takes the following arguments:
27
28 dst Pointer to destination image.
29
30
31 src Pointer to source image.
32
33
35 The function returns MLIB_SUCCESS if successful. Otherwise it returns
36 MLIB_FAILURE.
37
39 See attributes(5) for descriptions of the following attributes:
40
41
42
43
44 ┌─────────────────────────────┬─────────────────────────────┐
45 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │Interface Stability │Committed │
48 ├─────────────────────────────┼─────────────────────────────┤
49 │MT-Level │MT-Safe │
50 └─────────────────────────────┴─────────────────────────────┘
51
53 mlib_ImageSqr_Fp_Inp(3MLIB), attributes(5)
54
55
56
57SunOS 5.11 2 Mar 2007 mlib_ImageSqr_Fp(3MLIB)