OBMC8x8HP_MPEG4, OBMC16x16HP_MPEG4, OBMC8x8QP_MPEG4

Perform overlapped block motion compensation (OBMC) for one luminance block.

Syntax

IppStatus ippiOBMC8x8HP_MPEG4_8u_C1R(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, const IppMotionVector* pMVCur, const IppMotionVector* pMVLeft, const IppMotionVector* pMVRight, const IppMotionVector* pMVAbove, const IppMotionVector* pMVBelow, int rounding);

IppStatus ippiOBMC16x16HP_MPEG4_8u_C1R(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, const IppMotionVector* pMVCur, const IppMotionVector* pMVLeft, const IppMotionVector* pMVRight, const IppMotionVector* pMVAbove, const IppMotionVector* pMVBelow, int rounding);

IppStatus ippiOBMC8x8QP_MPEG4_8u_C1R(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, const IppMotionVector* pMVCur, const IppMotionVector* pMVLeft, const IppMotionVector* pMVRight, const IppMotionVector* pMVAbove, const IppMotionVector* pMVBelow, int rounding);

Parameters

pSrc

Pointer to the source blockcoallocated with the destination block.

srcStep

Width in bytes of the source plane.

pDst

Pointer to the destination block.

dstStep

Width in bytes of the destination plane.

pMVCur

Pointer to the motion vector for the current block.

pMVLeft

Pointer to the motion vector for the left block.

pMVRight

Pointer to the motion vector for the right block.

pMVAbove

Pointer to the motion vector for the above block.

pMVBelow

Pointer to the motion vector for the below block.

rounding

Parameter that determines type of rounding for half pixel approximation; may be 0 or 1.

Description

The functions ippiOBMC8x8HP_MPEG4_8u_C1R, ippiOBMC16x16HP_MPEG4_8u_C1R, and ippiOBMC8x8QP_MPEG4_8u_C1R are declared in the ippvc.h file. The functions ippiOBMC8x8HP_MPEG4_8u_C1R and ippiOBMC16x16HP_MPEG4_8u_C1R perform the overlapped block motion compensation of the pSrc with the half-pixel accuracy ([ISO14496], subclause 7.6.2.1) and ippiOBMC8x8QP_MPEG4_8u_C1R - with quarter-pixel accuracy ([ISO14496], subclause 7.6.2.2) and store the results in the destination block pDst. Overlapped motion compensation is specified in [ISO14496], subclause 7.6.6. ippiOBMC16x16HP_MPEG4_8u_C1R should be used for overlapped motion compensation in Reduced Resolution VOPs as specified in [ISO14496], subclause 7.6.10.

The function ippiOBMC8x8HP_MPEG4_8u_C1R is used in the H.263 and MPEG-4 encoders and decoders included into Intel IPP Samples. The function ippiOBMC8x8QP_MPEG4_8u_C1R is used in the MPEG-4 encoder and decoder included into Intel IPP Samples. See introduction to MPEG-4.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if one of the specified pointers is NULL.


Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.