Developer Reference

  • 2021
  • 06/28/2021
  • Public Content
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.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.