Developer Reference for Intel® Integrated Performance Primitives
Calculates the size of the working buffer.
IppStatus ipprFilterGetBufSize(IpprVolume dstVolume, IpprVolume kernelVolume, int nChannel, int* pSize);
ippi.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
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. |
This function operates with VOI. This function computes the size of the working buffer pSize that is required for the function ipprFilter.
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. |