Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
ResizeGetBufSize
Calculates the size of the external work buffer for the function ipprResize.
Syntax
IppStatus ipprResizeGetBufSize(IpprCuboid srcVoi, IpprCuboid dstVoi, int nChannel, int interpolation, int* pSize);
Include Files
ippi.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
srcVoi |
Volume of interest in the source volume. |
dstVoi |
Volume of interest in the destination volume. |
nChannel |
Number of channels, possible value: 1. |
interpolation |
Type of interpolation, the following values are possible:
|
pSize |
Pointer to the size of the external buffer. |
Description
This function calculates the size of the external buffer required for the ipprResize function.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error. |
ippStsNullPtrErr |
Indicates an error when the pSize pointer is NULL. |
ippStsSizeErr |
Indicates an error when width, or height, or depth of the srcVoi or dstVoi is less than, or equal to 0. |
ippStsNumChannelErr |
Indicates an error when nChannel is not equal to 1. |
ippStsInterpolationErr |
Indicates an error when interpolation has an illegal value. |