man pages section 3: Multimedia Library Functions

Exit Print View

Updated: July 2014
 
 

mlib_VideoUpSample420(3MLIB)

Name

mlib_VideoUpSample420 - up sampling rate conversion in JFIF

Synopsis

cc [ flag... ] file... –lmlib [ library... ]
#include <mlib.h>

mlib_status mlib_VideoUpSample420(mlib_u8 *dst0, mlib_u8 *dst1,
     const mlib_u8 *src0, const mlib_u8 *src1,
     const mlib_u8 *src2, mlib_s32 n);

Description

The mlib_VideoUpSample420() function performs up sampling rate conversion used in JPEG File Interchange Format (JFIF).

Parameters

The function takes the following arguments:

dst0

Pointer to upper destination row. dst0 must be 8-byte aligned.

dst1

Pointer to lower destination row. dst1 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.

src2

Pointer to lower source row. src2 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(3MLIB), mlib_VideoDownSample420_S16(3MLIB), mlib_VideoDownSample422(3MLIB), mlib_VideoDownSample422_S16(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)