Developer Reference for Intel® Integrated Performance Primitives
Calculates the size of the external buffer for the affine transform.
IppStatus ipprWarpAffineGetBufSize(IpprVolume srcVolume, IpprCuboid srcVoi, IpprCuboid dstVoi, const double coeffs[3][4], int nChannel, int interpolation, int* pSize);
Threading Layer (TL) function
IppStatus ipprWarpAffineGetBufSize_T (IpprVolume srcVolume, IpprCuboid srcVoi, IpprCuboid dstVoi, const double coeffs[3][4], int nChannel, int interpolation, int* pSize);
ippi.h
ippi_tl.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
srcVolume |
Size of the source volume. |
srcVoi |
Region of interest of the source volume. |
dstVoi |
Region of interest of the destination volume. |
coeffs |
Affine transform matrix. |
nChannel |
Number of channel or planes, possible value is 1. |
interpolation |
Type of interpolation, the following values are possible:
|
pSize |
Pointer to the size of the external buffer. |
This function calculates the size (in bytes) of the external buffer that is required for the ipprWarpAffine function. (In some cases the function returns zero size of the buffer).
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error when pSizeor coeffsis NULL. |
ippStsSizeErr |
Indicates an error if width, or height, or depth of the srcVoi or dstVoi is less than, or equal to zero. |
ippStsNumChannelErr |
Indicates an error when nChannel has an illegal value. |
ippStsInterpolationErr |
Indicates an error when interpolation has an illegal value. |