mediaLib Library Functions mlibVideoInterpYS16U8(3MLIB)
NAME
mlibVideoInterpYS16U8 - half-pixel interpolation in the Y
direction
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibVideoInterpYS16U8(mlibs16 *mcblock,
const mlibu8 *refblock, mlibs32 width, mlibs32 height,
mlibs32 frmstride, mlibs32 fldstride);
DESCRIPTION
The mlibVideoInterpYS16U8() function performs half-pixel
interpolation in the Y direction for a reference block of
data type mlibu8 and a current block of data type mlibs16.
In this mode, the output of this function must be added to
the IDCT output to reconstruct the block in the current
frame. Thus, the stride applies only to the input reference
block.
PARAMETERS
The function takes the following arguments:
mcblock Pointer to the motion-compensated reference
block. mcblock 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 the reference block. frmstride must
be a multiple of eight.
fldstride Stride, in bytes, between adjacent rows in a
field in the 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 mlibVideoInterpYS16U8(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),
mlibVideoInterpAveYU8U8(3MLIB),
mlibVideoInterpAveYU8U816x16(3MLIB),
mlibVideoInterpXS16U8(3MLIB),
mlibVideoInterpXS16U816x16(3MLIB),
mlibVideoInterpXU8U8(3MLIB),
mlibVideoInterpXYS16U8(3MLIB),
mlibVideoInterpXYS16U816x16(3MLIB),
mlibVideoInterpXYU8U8(3MLIB),
mlibVideoInterpXYU8U816x16(3MLIB),
mlibVideoInterpYS16U816x16(3MLIB),
mlibVideoInterpYU8U8(3MLIB),
mlibVideoInterpYU8U816x16(3MLIB),
mlibVideoP64DecimateU8U8(3MLIB),
mlibVideoP64LoopS16U8(3MLIB),
mlibVideoP64LoopU8U8(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|