Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 3/22/2024
Public
Document Table of Contents

FilterSeparableGetSpecSize

Computes the size of the filter specification structure.

Syntax

IppStatus ippiFilterSeparableGetSpecSize(IppiSize kernelSize, IppDataType dataType, int numChannels, int* pSpecSize);

IppStatus ippiFilterSeparableGetSpecSize_L(IppiSize kernelSize, IppDataType dataType, int numChannels, int* pSpecSize);

IppStatus ippiFilterSeparableGetSpecSize_T(IppiSize kernelSize,IppDataType dataType, int numChannels, int* pSpecSize);

IppStatus ippiFilterSeparableGetSpecSize_LT(IppiSize kernelSize,IppDataType dataType, int numChannels, int* pSpecSize);

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

kernelSize

Size of the rectangular kernel in pixels.

dataType

Data type of the source image. Possible values are Ipp16s, Ipp32f.

numChannels

Number of channels in the image. Possible values are 1, 3, and 4.

pSpecSize

Pointer to the size of the filter specification structure.

Description

This function computes the size of the filter specification structure pSpec. Call this function before using the ippiFilterSeparableInit function.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error.

ippStsNullPtrErr

Indicates an error condition if one of the specified pointers is NULL.

ippStsSizeErr

Indicates an error condition if kernelSize has a field with a zero or negative value.

ippStsDataTypeErr

Indicates an error condition if dataType has an illegal value.

ippStsChannelErr

Indicates an error condition if numChannels has an illegal value.

See Also