Developer Reference for Intel® Integrated Performance Primitives
Computes the size of the work buffer for the ippsFilterMedian function.
IppStatus ippsFilterMedianGetBufferSize (int maskSize, IppDataType dataType, int* pBufferSize);
ipps.h
Headers: ippcore.h, ippvm.h
Libraries: ippcore.lib, ippvm.lib
maskSize |
Size of the median mask. |
dataType |
Data type of the source and destination vectors. Possible values are ipp8u, ipp16s, ipp32s, ipp32f, or ipp64f. |
pBufferSize |
Pointer to the computed size of the external work buffer, in bytes. |
The ippsFilterMedianGetBufferSize function computes the size, in bytes, of the external work buffer needed for the ippsFilterMedian function. The result is stored in the pBufferSize parameter.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when pBufferSize is NULL. |
ippStsMaskSizeErr |
Indicates an error when maskSize is less than, or equal to zero. |
ippStsDataTypeErr |
Indicates an error when dataType has an illegal value. |
ippStsEvenMedianMaskSize |
Indicates a warning when maskSize has an even value. |