man pages section 3: Multimedia Library Functions

Exit Print View

Updated: July 2014
 
 

mlib_VideoInterpX_Y_XY_U8_U8(3MLIB)

Name

mlib_VideoInterpX_Y_XY_U8_U8 - half-pixel interpolation in both X and Y directions for replenishment mode

Synopsis

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

mlib_status mlib_VideoInterpX_Y_XY_U8_U8(mlib_u8 *outputX,
     mlib_u8 *outputY, mlib_u8 *outputXY, const mlib_u8 *image,
     mlib_s32 stride, mlib_s32 width, mlib_s32 height);

Description

The mlib_VideoInterpX_Y_XY_U8_U8() function performs half-pixel interpolation in both X and Y directions for the replenishment mode.

Parameters

The function takes the following arguments:

outputX

Pointer to the output of X-interpolation. outputX must be 8-byte aligned.

outputY

Pointer to the output of Y-interpolation. outputY must be 8-byte aligned.

outputXY

Pointer to the output of XY-interpolation. outputXY must be 8-byte aligned.

image

Pointer to the image data. image must be 8-byte aligned

stride

Stride, in bytes, between adjacent rows in the image. stride must be a multiple of eight.

width

Width of the image. width must be a multiple of eight.

height

Height of the image. height must be a multiple of two.

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_VideoInterpX_U8_U8(3MLIB), mlib_VideoInterpXY_U8_U8(3MLIB), mlib_VideoInterpY_U8_U8(3MLIB), attributes(5)