Developer Reference for Intel® Integrated Performance Primitives
Computes the size of the external buffer for ippiFilterWiener function.
IppStatus ippiFilterWienerGetBufferSize(IppiSize dstRoiSize, IppiSize maskSize, int channels, int* pBufferSize);
ippi.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
dstRoiSize |
Size of the destination ROI in pixels. |
maskSize |
Size of the mask in pixels. |
channels |
Number of channels in the image. |
pBufferSize |
Pointer to the computed value of the external buffer size. |
This function computes the size in bytes of an external memory buffer that is required for the function ippiFilterWiener, and stores the result in the pBufferSize.
ippStsNoErr |
Indicates no error. Any other value indicates an error. |
ippStsNullPtrErr |
Indicates an error condition if the pBufferSize pointer is NULL. |
ippStsSizeErr |
Indicates an error condition if one of the fields of dstRoiSize has a zero or negative value. |
ippStsMaskSizeErr |
Indicates an error condition if one of the fields of maskSize has a value less than or equal to 1. |
ippStsNumChannelsErr |
Indicates an error condition if channels is not 1, 3 or 4. |