Visible to Intel only — GUID: GUID-130CAB34-F949-4A97-82E7-29DC73780E3B
Visible to Intel only — GUID: GUID-130CAB34-F949-4A97-82E7-29DC73780E3B
WarpGetBufferSize
Computes the size of the work buffer for the warp transform.
Syntax
IppStatus ippiWarpGetBufferSize(const IppiWarpSpec* pSpec, IppiSize dstRoiSize, int* pBufSize);
Include Files
ippi.h
Flavors with the _L suffix: ippi_l.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
pSpec |
Pointer to the specification structure for the warp operation. |
dstRoiSize |
Size of the processed destination image ROI, in pixels. |
pBufSize |
Pointer to the size of the external buffer, in bytes. |
Description
This function computes the size of the external buffer for the warp transform. The specification structure pointed by pSpec defines the warp algorithm parameters.
Before using this function, you need to initialize the specification structure using one of the following functions: WarpAffineNearestInit, WarpAffineLinearInit, or WarpAffineCubicInit.
Return Values
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
ippStsContextMatchErr |
Indicates an error when the specification structure is invalid. |
ippStsSizeErr |
Indicates an error in the following cases:
|
ippStsSizeWrn |
Indicates a warning when the size of the destination image is more than the size of the destination image origin. |