Developer Reference for Intel® Integrated Performance Primitives
Computes the size of the work buffer for bilinear warping of an arbitrary quadrangle in the source image ROI to the quadrangle in the destination image.
IppStatus ippiWarpBilinearQuadGetBufferSize(IppiSize srcSize, IppiRect srcRoi, const double srcQuad[4][2], IppiRect dstRoi, const double dstQuad[4][2], int interpolation, int* pBufSize);
ippi.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
srcSize |
Size of the source image, in pixels. | ||||||||
srcRoi |
Source image ROI (of the IppiRect type). | ||||||||
srcQuad |
Quadrangle in the source image. | ||||||||
dstRoi |
Destination image ROI (of the IppiRect type). | ||||||||
dstQuad |
Quadrangle in the destination image. | ||||||||
interpolation |
Interpolation mode. Supported values:
|
||||||||
pBufSize |
Pointer to the size, in bytes, of the external buffer. |
This function computes the size of the external work buffer required for bilinear warping of an arbitrary quadrangle in the source image ROI to the quadrangle in the destination image. The result is stored in the pBufSize parameter.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when pBufSize is NULL. |
ippStsSizeErr |
Indicates an error:
|
ippStsCoeffErr |
Indicates an error when bilinear transformation is singular. |
ippStsInterpolationErr |
Indicates an error when interpolation has an illegal value. |