Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

FIRGenGetBufferSize

Computes the size of the internal buffer required for computation of FIR coefficients.

Syntax

IppStatus ippsFIRGenGetBufferSize(int tapsLen, int* pBufferSize);

Include Files

ipps.h

Domain Dependencies

Headers: ippcore.h, ippvm.h

Libraries: ippcore.lib, ippvm.lib

Parameters

tapsLen

Number of taps.

pBufferSize

Pointer to the calculated buffer size (in bytes).

Description

This function computes the size of the buffer that is required for ippsFIRGenBandpass, ippsFIRGenBandstop, ippsFIRGenHighpass, and ippsFIRGenLowpass internal calculations.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsIIRGenOrderErr

Indicates an error when the length of the coefficients array is less than 5.

See Also