1mlib_ImageSqr_Fp_Inp(3MLIB)mediaLib Library Functionsmlib_ImageSqr_Fp_Inp(3MLIB)
2
3
4

NAME

6       mlib_ImageSqr_Fp_Inp - square, in place
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_ImageSqr_Fp_Inp(mlib_image *srcdst);
13
14

DESCRIPTION

16       The  mlib_ImageSqr_Fp_Inp() function computes the floating-point square
17       of each pixel in the source image.
18
19
20       It uses the following equation:
21
22         srcdst[x][y][i] = srcdst[x][y][i] * srcdst[x][y][i]
23
24

PARAMETERS

26       The function takes the following arguments:
27
28       srcdst    Pointer to source and destination image.
29
30

RETURN VALUES

32       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
33       MLIB_FAILURE.
34

ATTRIBUTES

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

SEE ALSO

50       mlib_ImageSqr_Fp(3MLIB), attributes(5)
51
52
53
54SunOS 5.11                        2 Mar 2007       mlib_ImageSqr_Fp_Inp(3MLIB)
Impressum