1mlib_VideoColorResizeABGR(3mMeLdIiBa)Lib Library Funcmtliiobn_sVideoColorResizeABGR(3MLIB)
2
3
4

NAME

6       mlib_VideoColorResizeABGR - image resize
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       void mlib_VideoColorResizeABGR(mlib_u32 *dst,
13            const mlib_u32 *src, mlib_s32 dst_w,
14            mlib_s32 dst_h, mlib_s32 dst_lb,
15            mlib_s32 src_w, mlib_s32 src_h,
16            mlib_s32 src_lb, mlib_filter filter);
17
18

DESCRIPTION

20       The  mlib_VideoColorResizeABGR() function resizes the source image with
21       dimensions src_w, src_h into  the  destination  image  with  dimensions
22       dst_w, dst_h using nearest-neighbor, bilinear interpolation, or bicubic
23       interpolation. The source buffer can contain multi-banded pixel stream,
24       in  which case, each band is resized independently. Edge conditions are
25       handled according to the MLIB_EDGE_SRC_EXTEND scheme.
26

PARAMETERS

28       The function takes the following arguments:
29
30       dst       Pointer to output image.
31
32
33       src       Pointer to input image.
34
35
36       dst_w     Output image width in pixels.
37
38
39       dst_h     Output image height in rows.
40
41
42       dst_lb    Input image width in pixels.
43
44
45       src_w     Linebytes for input buffer.
46
47
48       src_h     Input image height in lines.
49
50
51       src_lb    Linebytes for input image.
52
53
54       filter    Type of interpolation filter. It can be one of the following:
55
56                   MLIB_NEAREST
57                   MLIB_BILINEAR
58                   MLIB_BICUBIC
59
60
61

RETURN VALUES

63       None.
64

ATTRIBUTES

66       See attributes(5) for descriptions of the following attributes:
67
68
69
70
71       ┌─────────────────────────────┬─────────────────────────────┐
72       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
73       ├─────────────────────────────┼─────────────────────────────┤
74       │Interface Stability          │Committed                    │
75       ├─────────────────────────────┼─────────────────────────────┤
76       │MT-Level                     │MT-Safe                      │
77       └─────────────────────────────┴─────────────────────────────┘
78

SEE ALSO

80       attributes(5)
81
82
83
84SunOS 5.11                        2 Mar 2007  mlib_VideoColorResizeABGR(3MLIB)
Impressum