Developer Reference for Intel® Integrated Performance Primitives 2018

FIRSRGetSize

Computes the size of the constant structure and work buffer for single-rate FIR filtering.

Syntax

IppStatus ippsFIRSRGetSize(int tapsLen, IppDataType tapsType, int* pSpecSize, int* pBufSize);

Include Files

ipps.h

Domain Dependencies

Headers: ippcore.h, ippvm.h

Libraries: ippcore.lib, ippvm.lib

Parameters

tapsLen

Length of the FIR filter.

tapsType

Data type of the coefficients. Support values: ipp32f or ipp64f.

pSpecSize

Pointer to the size of the internal constant specification structure.

pBufSize

Pointer to the size of the work buffer required for FIR filtering.

Description

This function computes the following:

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when one of the specified pointers is NULL.

ippStsSizeErr

Indicates an error when the tapsLen value is less than, or equal to zero.

ippStsAlgTypeErr

Indicates an error when the specified algorithm type is not supported.

See Also