opensolaris man page for mlib_videodownsample420

Query: mlib_videodownsample420

OS: opensolaris

Section: 3mlib

Links: opensolaris man pages   all man pages   forum categories

Format:Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

mlib_VideoDownSample420(3MLIB)				    mediaLib Library Functions				    mlib_VideoDownSample420(3MLIB)

NAME
mlib_VideoDownSample420 - down sampling rate conversion in JFIF
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_VideoDownSample420(mlib_u8 *dst, const mlib_u8 *src0, const mlib_u8 *src1, mlib_s32 n);
DESCRIPTION
The mlib_VideoDownSample420() function performs down sampling rate conversion used in JPEG File Interchange Format (JFIF).
PARAMETERS
The function takes the following arguments: dst Pointer to destination row. dst must be 8-byte aligned. src0 Pointer to upper source row. src0 must be 8-byte aligned. src1 Pointer to middle source row. src1 must be 8-byte aligned. n Length of source rows. n must be greater than 1.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
mlib_VideoDownSample420_S16(3MLIB), mlib_VideoDownSample422(3MLIB), mlib_VideoDownSample422_S16(3MLIB), mlib_VideoUpSample420(3MLIB), mlib_VideoUpSample420_Nearest(3MLIB), mlib_VideoUpSample420_Nearest_S16(3MLIB), mlib_VideoUpSample420_S16(3MLIB), mlib_VideoUpSam- ple422(3MLIB), mlib_VideoUpSample422_S16(3MLIB), mlib_VideoUpSample422_Nearest(3MLIB), mlib_VideoUpSample422_Nearest_S16(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_VideoDownSample420(3MLIB)