mediaLib Library Functions mlibVideoColorResizeABGR(3MLIB)
NAME
mlibVideoColorResizeABGR - image resize
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
void mlibVideoColorResizeABGR(mlibu32 *dst,
const mlibu32 *src, mlibs32 dstw,
mlibs32 dsth, mlibs32 dstlb,
mlibs32 srcw, mlibs32 srch,
mlibs32 srclb, mlibfilter filter);
DESCRIPTION
The mlibVideoColorResizeABGR() function resizes the source
image with dimensions srcw, srch into the destination
image with dimensions dstw, dsth using nearest-neighbor,
bilinear interpolation, or bicubic interpolation. The source
buffer can contain multi-banded pixel stream, in which case,
each band is resized independently. Edge conditions are han-
dled according to the MLIBEDGESRCEXTEND scheme.
PARAMETERS
The function takes the following arguments:
dst Pointer to output image.
src Pointer to input image.
dstw Output image width in pixels.
dsth Output image height in rows.
dstlb Input image width in pixels.
srcw Linebytes for input buffer.
srch Input image height in lines.
srclb Linebytes for input image.
filter Type of interpolation filter. It can be one of the
following:
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibVideoColorResizeABGR(3MLIB)
MLIBNEAREST
MLIBILINEAR
MLIBICUBIC
RETURN VALUES
None.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|