Content-type: text/html
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> void mlib_VideoColorResizeABGR(mlib_u32 *dst, const mlib_u32 *src, mlib_s32 dst_w, mlib_s32 dst_h, mlib_s32 dst_lb, mlib_s32 src_w, mlib_s32 src_h, mlib_s32 src_lb, mlib_filter filter);
The mlib_VideoColorResizeABGR() function resizes the source image with dimensions src_w, src_h into the destination image with dimensions dst_w, dst_h 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 handled according to the MLIB_EDGE_SRC_EXTEND scheme.
The function takes the following arguments:
dst
src
dst_w
dst_h
dst_lb
src_w
src_h
src_lb
filter
MLIB_NEAREST MLIB_BILINEAR MLIB_BICUBIC
See attributes(5) for descriptions of the following attributes:
|
attributes(5)