Developer Reference for Intel® Integrated Performance Primitives
Computes the size of the work buffer.
IppStatus ippiFilterILSGetBufferSize (IppiFilterILSType filter, IppiSize dstRoiSize, IppDataType dataType, int numChannels, int* pSpecSize, int* pBufInitSize, int* pBufferSize);
ippi.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
filter |
Filter type: Norm or Welsch. |
dataType |
Data type flavors. |
dstRoiSize |
Size of the source and destination ROI in pixels. |
numChannels |
Number of channels. |
pSpecSize |
Pointer to the size (in bytes) of the specification structure. |
pBufInitSize |
Pointer to the size (in bytes) of the init temp buffer. |
pBufferSize |
Pointer to the size (in bytes) of the work buffer. |
This function computes the size of the buffers required for filtering operations. Call this function before using the ippiFilterILSInit and ippiFilterILS functions.
ippStsNoErr |
Indicates no error. Any other value indicates an error. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers is NULL. |
ippStsStepErr |
Indicates an error condition if one of the steps has a zero or negative value. |
ippStsSizeErr |
Indicates an error condition if one of the fields of dstRoiSize has a zero or negative value. |