FIRGenGetBufferSize
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 isNULL.
- ippStsIIRGenOrderErr
- Indicates an error when the length of the coefficients array is less than 5.