Initializes IppiWarpSpec_MPEG4 structure for further usage in GMC or Sprite reconstruction.
IppStatus ippiWarpInit_MPEG4(IppiWarpSpec_MPEG4* pSpec, const int* pDU, const int* pDV, int numWarpingPoints, int spriteType, int warpingAccuracy, int roundingType, int quarterSample, int fcode, const IppiRect* pSpriteRect, const IppiRect* pVopRect);
pSpec |
Pointer to IppiWarpSpec_MPEG4 structure. |
pDU |
Pointer to an array of x-coordinate of warping points. |
pDV |
Pointer to an array of y-coordinate of warping points. |
numWarpingPoints |
Number of warping points, valid in [0-4]. |
spriteType |
Indicates a sprite coding mode, takes values IPPVC_SPRITE_STATIC, indicating static sprites IPPVC_SPRITE_GMC, indicating GMC. |
warpingAccuracy |
Accuracy of warping, valid in [0-3]. |
roundingType |
Parameter that determines type of rounding for pixel approximation; may be 0 or 1. |
quarterSample |
Parameter that indicates a quarter sample mode; may be 0 or 1. |
fcode |
Parameter that determines the range of motion vector, valid in the range [1,7]. |
pSpriteRect |
Parameter that determines rectangle region for Sprite (or reference VOP for GMC). |
pVopRect |
Parameter that determines rectangle region for current VOP. |
The function ippiWarpInit_MPEG4 is declared in the ippvc.h file. This function initializes the IppiWarpSpec_MPEG4 structure for further usage in GMC or Sprite reconstruction. The meaning of parameters is described in [ISO14496], subclause 7.8.
This function is used in the MPEG-4 encoder and decoder included into Intel IPP Samples. See introduction to MPEG-4.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when at least one input pointer is NULL. |
ippStsSizeErr |
Indicates no error when width or height of images is less than or equal to zero. |
ippStsOutOfRangeErr |
Indicates an error when numWarpingPoints, warpingAccuracy, or fcode are out of the valid range. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.