DESCRIPTION

Each of these functions performs half-pixel interpolation in the Y direction for a reference block of data type mlib_u8 and a current block of data type mlib_u8. In this mode, the motion-compensated reference block becomes the current block. Thus, the stride applies to both the input reference
block and the current block.

PARAMETERS

Each of the functions takes the following arguments:

curr_block

Pointer to the current block. curr_block must be 8-byte aligned.

ref_block

Pointer to the reference block.

frm_stride

Stride, in bytes, between adjacent rows in a frame in both the current block and reference block. frm_stride must be a multiple of eight.

fld_stride

Stride, in bytes, between adjacent rows in a field in both the current block and reference block. fld_stride must be a multiple of eight.

RETURN VALUES

Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.