1mlib_ImageConstMul_Fp_Inp(3mMeLdIiBa)Lib Library Funcmtliiobn_sImageConstMul_Fp_Inp(3MLIB)
2
3
4

NAME

6       mlib_ImageConstMul_Fp_Inp - multiply with a constant
7

SYNOPSIS

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

DESCRIPTION

17       The  mlib_ImageConstMul_Fp_Inp()  function  multiplies  each pixel in a
18       floating-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

PARAMETERS

28       The function takes the following arguments:
29
30       srcdst    Pointer to source and destination image.
31
32
33       c         Constant by which each pixel is multiplied. c[i] contains the
34                 constant for channel i.
35
36

RETURN VALUES

38       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
39       MLIB_FAILURE.
40

ATTRIBUTES

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

SEE ALSO

56       mlib_ImageConstMul(3MLIB), mlib_ImageConstMul_Fp(3MLIB), mlib_ImageCon‐
57       stMul_Inp(3MLIB),  mlib_ImageConstMulShift(3MLIB),  mlib_ImageConstMul‐
58       Shift_Inp(3MLIB), attributes(5)
59
60
61
62SunOS 5.11                        2 Mar 2007  mlib_ImageConstMul_Fp_Inp(3MLIB)
Impressum