Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference
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
FIRGenBandpass Computes bandpass FIR filter coefficients.
FIRGenBandstop Computes bandstop FIR filter coefficients.
FIRGenHighpass Computes highpass FIR filter coefficients.
FIRGenLowpass Computes lowpass FIR filter coefficients.