man pages section 3: Multimedia Library Functions

Exit Print View

Updated: July 2014
 
 

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_VideoUpSample422(3MLIB), mlib_VideoUpSample422_S16(3MLIB), mlib_VideoUpSample422_Nearest(3MLIB), mlib_VideoUpSample422_Nearest_S16(3MLIB), attributes(5)