mediaLib Library Functions mlib_VideoP64Loop_S16_U8(3MLIB)
NAME
mlib_VideoP64Loop_S16_U8 - applies a 2-dimensional (2D) 3x3
spatial filter on the reference blockSYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlib_status mlib_VideoP64Loop_S16_U8(mlib_s16 mc_block[64],
const mlib_u8 *ref_block, mlib_s32 stride);
DESCRIPTION
The mlib_VideoP64Loop_S16_U8() function applies a 2-
dimensional (2D) 3x3 spatial filter on the reference block. The filter is separable into 1D horizontal and vertical functions, where the filter coefficients are 0.25, 0.5, 0.25, except at the block edges where the coefficients are 0, 1, 0. In this mode, the output 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. Thisfunction requires the motion-compensated block to be 8-bit
aligned.PARAMETERS
The function takes the following arguments:mc_block Pointer to the motion-compensated reference
block.ref_block Pointer to the reference block.
stride Stride, in bytes, between adjacent rows in the reference block.RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise
it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlib_VideoP64Loop_S16_U8(3MLIB)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
mlib_VideoAddBlock_U8_S16(3MLIB),
mlib_VideoCopyRef_S16_U8(3MLIB),
mlib_VideoCopyRef_S16_U8_16x16(3MLIB),
mlib_VideoCopyRef_U8_U8_16x16(3MLIB),
mlib_VideoCopyRefAve_U8_U8_16x16(3MLIB),
mlib_VideoH263OverlappedMC_S16_U8(3MLIB),
mlib_VideoH263OverlappedMC_U8_U8(3MLIB),
mlib_VideoInterpAveX_U8_U8(3MLIB),
mlib_VideoInterpAveX_U8_U8_16x16(3MLIB),
mlib_VideoInterpAveXY_U8_U8(3MLIB),
mlib_VideoInterpAveXY_U8_U8_16x16(3MLIB),
mlib_VideoInterpAveY_U8_U8(3MLIB),
mlib_VideoInterpAveY_U8_U8_16x16(3MLIB),
mlib_VideoInterpX_S16_U8(3MLIB),
mlib_VideoInterpX_S16_U8_16x16(3MLIB),
mlib_VideoInterpX_U8_U8(3MLIB),
mlib_VideoInterpXY_S16_U8(3MLIB),
mlib_VideoInterpXY_S16_U8_16x16(3MLIB),
mlib_VideoInterpXY_U8_U8(3MLIB),
mlib_VideoInterpXY_U8_U8_16x16(3MLIB),
mlib_VideoInterpY_S16_U8(3MLIB),
mlib_VideoInterpY_S16_U8_16x16(3MLIB),
mlib_VideoInterpY_U8_U8(3MLIB),
mlib_VideoInterpY_U8_U8_16x16(3MLIB),
mlib_VideoP64Decimate_U8_U8(3MLIB),
mlib_VideoP64Loop_U8_U8(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2