1mlib_ImageConstMul_Inp(3MLImBe)diaLib Library Functiomnlsib_ImageConstMul_Inp(3MLIB)
2
3
4

NAME

6       mlib_ImageConstMul_Inp - multiply with a constant
7

SYNOPSIS

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

DESCRIPTION

16       The mlib_ImageConstMul_Inp() function multiplies each pixel in an image
17       by a constant value on a pixel-by-pixel basis, in place.
18
19
20       It uses the following equation:
21
22         srcdst[x][y][i] = c[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
31       c         Constant by which each pixel is multiplied. c[i] contains the
32                 constant for channel i.
33
34

RETURN VALUES

36       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
37       MLIB_FAILURE.
38

ATTRIBUTES

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

SEE ALSO

54       mlib_ImageConstMul(3MLIB), mlib_ImageConstMul_Fp(3MLIB), mlib_ImageCon‐
55       stMul_Fp_Inp(3MLIB),  mlib_ImageConstMulShift(3MLIB),  mlib_ImageConst‐
56       MulShift_Inp(3MLIB), attributes(5)
57
58
59
60SunOS 5.11                        2 Mar 2007     mlib_ImageConstMul_Inp(3MLIB)
Impressum