CalcGlobalMV_MPEG4

Calculates Global Motion Vector for one macroblock.

Syntax

IppStatus ippiCalcGlobalMV_MPEG4(int xOffset, int yOffset, IppMotionVector* pGMV, const IppiWarpSpec_MPEG4* pSpec);

Parameters

xOffset

The left coordinate of top-left corner of luma 16x16 block.

yOffset

The top coordinate of top-left corner of luma 16x16 block.

pGMV

Pointer to the resulting motion vector.

pSpec

Pointer to the structure with motion parameters.

Description

The function ippiCalcGlobalMV_MPEG4 is declared in the ippvc.h file. This function calculates a global motion vector for a macroblock and clips it to lie in range [-2 fcode+4;2fcode+4-1] as it described in [ISO14496], subclause 7.8.7.3.

This function 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 when at least one input pointer is NULL.


Submit feedback on this help topic

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