1mlib_ImageConstDiv_Fp_Inp(3mMeLdIiBa)Lib Library Funcmtliiobn_sImageConstDiv_Fp_Inp(3MLIB)
2
3
4

NAME

6       mlib_ImageConstDiv_Fp_Inp - division into a constant
7

SYNOPSIS

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

DESCRIPTION

17       The mlib_ImageConstDiv_Fp_Inp() function divides each pixel in a float‐
18       ing-point image by a constant  value  on  a  pixel-by-pixel  basis,  in
19       place.
20
21
22       It uses the following equation:
23
24         srcdst[x][y][i] = c[i] / srcdst[x][y][i]
25
26
27
28       where the operation follows the IEEE-754 standard.
29

PARAMETERS

31       The function takes the following arguments:
32
33       srcdst    Pointer to source and destination image.
34
35
36       c         Constant  into which each pixel is divided. c[i] contains the
37                 constant for channel i.
38
39

RETURN VALUES

41       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
42       MLIB_FAILURE.
43

ATTRIBUTES

45       See attributes(5) for descriptions of the following attributes:
46
47
48
49
50       ┌─────────────────────────────┬─────────────────────────────┐
51       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
52       ├─────────────────────────────┼─────────────────────────────┤
53       │Interface Stability          │Committed                    │
54       ├─────────────────────────────┼─────────────────────────────┤
55       │MT-Level                     │MT-Safe                      │
56       └─────────────────────────────┴─────────────────────────────┘
57

SEE ALSO

59       mlib_ImageConstDiv(3MLIB), mlib_ImageConstDiv_Fp(3MLIB), mlib_ImageCon‐
60       stDiv_Inp(3MLIB),  mlib_ImageConstDivShift(3MLIB),   mlib_ImageConstDi‐
61       vShift_Inp(3MLIB), attributes(5)
62
63
64
65SunOS 5.11                        2 Mar 2007  mlib_ImageConstDiv_Fp_Inp(3MLIB)
Impressum