Visible to Intel only — GUID: GUID-3BA64F94-1EFE-4DF6-9D22-0FCC16733192
Visible to Intel only — GUID: GUID-3BA64F94-1EFE-4DF6-9D22-0FCC16733192
WarpBilinearGetBufferSize
Computes the size of the work buffer for bilinear warping.
Syntax
IppStatus ippiWarpBilinearGetBufferSize(IppiSize srcSize, IppiRect srcRoi, IppiRect dstRoi, IppiWarpDirection direction, const double coeffs[2][4], int interpolation, int* pBufSize);
Include Files
ippi.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
srcSize |
Size of the source image, in pixels. | ||||||||
srcRoi |
Source image ROI (of the IppiRect type). | ||||||||
dstRoi |
Destination image ROI (of the IppiRect type). | ||||||||
direction |
Transformation direction. Supported values:
|
||||||||
coeffs |
Coefficients for the perspective transform. | ||||||||
interpolation |
Interpolation mode. Supported values:
|
||||||||
pBufSize |
Pointer to the size, in bytes, of the external buffer. |
Description
This function computes the size of the external work buffer required for bilinear warping of the source image ROI. The result is stored in the pBufSize parameter.
Return Values
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when pBufSize is NULL. |
ippStsSizeErr |
Indicates an error when one of the image dimensions is less than, or equal to zero. |
ippStsWarpDirectionErr |
Indicates an error when direction has an illegal value. |
ippStsCoeffErr |
Indicates an error when bilinear transformation is singular. |
ippStsInterpolationErr |
Indicates an error when interpolation has an illegal value. |
ippStsWrongIntersectQuad |
Indicates a warning that no operation is performed if the transformed source image extended with borders has no intersection with the destination image. |