FilterSeparableGetBufferSize
Computes the size of the work buffer.
Syntax
IppStatus ippiFilterSeparableGetBufferSize(IppiSize
roiSize
, IppiSize
kernelSize
, IppDataType
dataType
, IppDataType
kernelType
, int
numChannels
, int*
pBufferSize
);
IppStatus ippiFilterSeparableGetBufferSize_L(IppiSizeL
roiSize
, IppiSize
kernelSize
, IppDataType
dataType
, IppDataType
kernelType
, int
numChannels
, IppSizeL*
pBufferSize
);
IppStatus ippiFilterSeparableGetBufferSize_T(IppiSize
roiSize
, IppiSize
kernelSize
, IppDataType
dataType
, IppDataType
kernelType
, int
numChannels
, int*
pBufferSize
);
IppStatus ippiFilterSeparableGetBufferSize_LT(IppiSizeL
roiSize
, IppiSize
kernelSize
, IppDataType
dataType
, IppDataType
kernelType
, int
numChannels
, IppSizeL*
pBufferSize
);
Include Files
ippcv.h
ippcv_l.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
,
ippi.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
,
ippi.lib
Parameters
- roiSize
- Size of the image ROI in pixels.
- kernelSize
- Size of the rectangular kernel in pixels.
- dataType
- Data type of the source image. Possible values areIpp8u,Ipp16s,Ipp16u,Ipp32f.
- kernelType
- Data type of the filter kernel. Possible values areIpp16sandIpp32f.
- numChannels
- Number of channels in the image. Possible values are 1, 3, and 4.
- pBufferSize
- Pointer to the size of the work buffer required for filtering.
Description
This function computes the size of the buffer required for filtering operations. Call this function before using the
ippiFilterSeparable
function.Return Values
- ippStsNoErr
- Indicates no error. Any other value indicates an error.
- ippStsNullPtrErr
- Indicates an error condition if one of the specified pointers isNULL.
- ippStsSizeErr
- Indicates an error condition ifkernelSizehas a field with a zero or negative value.
- ippStsDataTypeErr
- Indicates an error condition ifdataTypehas an illegal value.
- ippStsChannelErr
- Indicates an error condition ifnumChannelshas an illegal value.