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.
FilterGetBufSize
Calculates the size of the working buffer.
Syntax
IppStatus ipprFilterGetBufSize(IpprVolume dstVolume, IpprVolume kernelVolume, int nChannel, int* pSize);
Include Files
ippi.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
dstVolume |
Size of the processed volume. |
kernelVolume |
Size of the kernel volume. |
nChannel |
Number of channels or planes, possible value is one. |
pSize |
Pointer to the size of the external buffer. |
Description
This function operates with VOI. This function computes the size of the working buffer pSize that is required for the function ipprFilter.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error. |
ippStsNullPtrErr |
Indicates an error condition if pSize pointer is NULL. |
ippStsNumChannelErr |
Indicates an error condition if nChannel has an illegal value. |
ippStsSizeErr |
Indicates an error condition if dstVolume or kernelVolume has a field with zero or negative value. |