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

ID 790148
Date 10/31/2024
Public
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