mediaLib Library Functions mlibVideoInterpAveYU8U8(3MLIB)
NAME
mlibVideoInterpAveYU8U8 - half-pixel interpolation in the
Y direction and averaging for reference block
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibVideoInterpAveYU8U8(mlibu8 *currblock,
const mlibu8 *refblock, mlibs32 width, mlibs32 height,
mlibs32 frmstride, mlibs32 fldstride);
DESCRIPTION
The mlibVideoInterpAveYU8U8() function performs half-
pixel interpolation in the Y direction and averaging for a
reference block of data type mlibu8 and a current block of
data type mlibu8. 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
The function takes the following arguments:
currblock Pointer to the current block. currblock must
be 8-byte aligned.
refblock Pointer to the reference block.
width Width of the blocks.
height Height of the blocks.
frmstride Stride, in bytes, between adjacent rows in a
frame in both the current block and the refer-
ence block. frmstride must be a multiple of
eight.
fldstride Stride, in bytes, between adjacent rows in a
field in both the current block and reference
block. fldstride must be a multiple of eight.
RETURN VALUES
The function returns MLIBSUCES if successful. Otherwise
it returns MLIBFAILURE.
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibVideoInterpAveYU8U8(3MLIB)
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibVideoAddBlockU8S16(3MLIB),
mlibVideoCopyRefS16U8(3MLIB),
mlibVideoCopyRefS16U816x16(3MLIB),
mlibVideoCopyRefU8U8(3MLIB),
mlibVideoCopyRefU8U816x16(3MLIB),
mlibVideoCopyRefAveU8U8(3MLIB),
mlibVideoCopyRefAveU8U816x16(3MLIB),
mlibVideoH263OverlappedMCS16U8(3MLIB),
mlibVideoH263OverlappedMCU8U8(3MLIB),
mlibVideoInterpAveXU8U8(3MLIB),
mlibVideoInterpAveXU8U816x16(3MLIB),
mlibVideoInterpAveXYU8U8(3MLIB),
mlibVideoInterpAveXYU8U816x16(3MLIB),
mlibVideoInterpAveYU8U816x16(3MLIB),
mlibVideoInterpXS16U8(3MLIB),
mlibVideoInterpXS16U816x16(3MLIB),
mlibVideoInterpXU8U8(3MLIB),
mlibVideoInterpXYS16U8(3MLIB),
mlibVideoInterpXYS16U816x16(3MLIB),
mlibVideoInterpXYU8U8(3MLIB),
mlibVideoInterpXYU8U816x16(3MLIB),
mlibVideoInterpYS16U8(3MLIB),
mlibVideoInterpYS16U816x16(3MLIB),
mlibVideoInterpYU8U8(3MLIB),
mlibVideoInterpYU8U816x16(3MLIB),
mlibVideoP64DecimateU8U8(3MLIB),
mlibVideoP64LoopS16U8(3MLIB),
mlibVideoP64LoopU8U8(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|