mediaLib Library Functions mlibVideoP64DecimateU8U8(3MLIB)
NAME
mlibVideoP64DecimateU8U8 - averages the source raster
image over 2x2 blocks and writes the results to the destina-
tion raster image
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibVideoP64DecimateU8U8(mlibu8 *dst,
const mlibu8 *src, mlibs32 width, mlibs32 height,
mlibs32 dststride, mlibs32 srcstride);
DESCRIPTION
The mlibVideoP64DecimateU8U8() function averages the
source raster image over 2x2 blocks and writes the results
to the destination raster image. This function is used when
the remote side is only capable of QCIF and our scanned
image is source to the encoder in CIF format.
PARAMETERS
The function takes the following arguments:
dst Pointer to the destination raster image.
src Pointer to the source raster image.
width Width of the image.
height Height of the image.
dststride Stride, in bytes, between adjacent rows in the
destination image.
srcstride Stride, in bytes, between adjacent rows in the
source image.
RETURN VALUES
The function returns MLIBSUCES if successful. Otherwise
it returns MLIBFAILURE.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibVideoP64DecimateU8U8(3MLIB)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibVideoAddBlockU8S16(3MLIB),
mlibVideoCopyRefS16U8(3MLIB),
mlibVideoCopyRefS16U816x16(3MLIB),
mlibVideoCopyRefU8U816x16(3MLIB),
mlibVideoCopyRefAveU8U816x16(3MLIB),
mlibVideoH263OverlappedMCS16U8(3MLIB),
mlibVideoH263OverlappedMCU8U8(3MLIB),
mlibVideoInterpAveXU8U8(3MLIB),
mlibVideoInterpAveXU8U816x16(3MLIB),
mlibVideoInterpAveXYU8U8(3MLIB),
mlibVideoInterpAveXYU8U816x16(3MLIB),
mlibVideoInterpAveYU8U8(3MLIB),
mlibVideoInterpAveYU8U816x16(3MLIB),
mlibVideoInterpXS16U8(3MLIB),
mlibVideoInterpXS16U816x16(3MLIB),
mlibVideoInterpXU8U8(3MLIB),
mlibVideoInterpXYS16U8(3MLIB),
mlibVideoInterpXYS16U816x16(3MLIB),
mlibVideoInterpXYU8U8(3MLIB),
mlibVideoInterpXYU8U816x16(3MLIB),
mlibVideoInterpYS16U8(3MLIB),
mlibVideoInterpYS16U816x16(3MLIB),
mlibVideoInterpYU8U8(3MLIB),
mlibVideoInterpYU8U816x16(3MLIB),
mlibVideoP64DecimateU8U8(3MLIB),
mlibVideoP64LoopS16U8(3MLIB),
mlibVideoP64LoopU8U8(3MLIB),
mlibVideoP64LoopS16U8(3MLIB),
mlibVideoP64LoopU8U8(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|