mlib_VideoColorResizeABGR man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

mlib_VideoColorResizeABGR(mediaLib Library Funmlib_VideoColorResizeABGR(3MLIB)

NAME
       mlib_VideoColorResizeABGR - image resize

SYNOPSIS
       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);

DESCRIPTION
       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.

PARAMETERS
       The function takes the following arguments:

       dst	 Pointer to output image.

       src	 Pointer to input image.

       dst_w	 Output image width in pixels.

       dst_h	 Output image height in rows.

       dst_lb	 Input image width in pixels.

       src_w	 Linebytes for input buffer.

       src_h	 Input image height in lines.

       src_lb	 Linebytes for input image.

       filter	 Type of interpolation filter. It can be one of the following:

		   MLIB_NEAREST
		   MLIB_BILINEAR
		   MLIB_BICUBIC

RETURN VALUES
       None.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │MT-Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       attributes(5)

SunOS 5.10			  2 Mar 2007  mlib_VideoColorResizeABGR(3MLIB)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net