Developer Reference for Intel® Integrated Performance Primitives
Computes the size of the work buffer for the warp transform.
IppStatus ippiWarpGetBufferSize(const IppiWarpSpec* pSpec, IppiSize dstRoiSize, int* pBufSize);
ippi.h
Flavors with the _L suffix: ippi_l.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
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. |
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.
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. |