Developer Reference for Intel® Integrated Performance Primitives
Initializes the filter specification structure.
IppStatus ippiFilterBorderInit_16s(const Ipp16s* pKernel, IppiSize kernelSize, int divisor, IppDataType dataType, int numChannels, IppRoundMode roundMode, IppiFilterBorderSpec* pSpec);
IppStatus ippiFilterBorderInit_32f(const Ipp32f* pKernel, IppiSize kernelSize, IppDataType dataType, int numChannels, IppRoundMode roundMode, IppiFilterBorderSpec* pSpec);
IppStatus ippiFilterBorderInit_64f(const Ipp64f* pKernel, IppiSize kernelSize, IppDataType dataType, int numChannels, IppRoundMode roundMode, IppiFilterBorderSpec* pSpec);
ippi.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
pKernel |
Pointer to the kernel values. |
||||||||
kernelSize |
Size of the rectangular kernel in pixels. |
||||||||
divisor |
Integer value by which the computed result is divided. |
||||||||
dataType |
Data type of the source image. Possible values are ipp8u, ipp16u, ipp16s, ipp32f, or ipp64f. |
||||||||
numChannels |
Number of channels in the image. Possible values are 1, 3, or 4. |
||||||||
roundMode |
Rounding mode, possible values:
|
||||||||
pSpec |
Pointer to the filter specification structure. |
This function initializes the filter specification structure pSpec in the external buffer. Before using this function, you need to compute the size of the specification structure using the FilterBorderGetSize function. This structure is used by the FilterBorder function that performs filtering operations on the source image pixels.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error when kernelSize has a field with a zero or negative value. |
ippStsDataTypeErr |
Indicates an error when dataType has an illegal value. |
ippStsRoundModeNotSupportedErr |
Indicates an error when the specified rounding mode is not supported. |
ippStsAccurateModeNotSupported |
Indicates a warning when the ippRndHintAccurate mode is not supported. |