mediaLib Library Functions mlibVideoCopyRefAveU8U8(3MLIB)
NAME
mlibVideoCopyRefAveU8U8 - copies and averages a block
from the reference block to the current block
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibVideoCopyRefAveU8U8(mlibu8 *currblock,
const mlibu8 *refblock, mlibs32 width, mlibs32 height,
mlibs32 stride);
DESCRIPTION
The mlibVideoCopyRefAveU8U8() function copies and aver-
ages a block from the reference block to the current block.
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.
stride Stride, in bytes, between adjacent rows in
both the current block and the reference
block. stride must be a multiple of eight.
RETURN VALUES
The function returns MLIBSUCES if successful. Otherwise
it returns MLIBFAILURE.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibVideoCopyRefAveU8U8(3MLIB)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibVideoAddBlockU8S16(3MLIB),
mlibVideoCopyRefS16U8(3MLIB),
mlibVideoCopyRefS16U816x16(3MLIB),
mlibVideoCopyRefU8U816x16(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),
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
|