FIRLMSGetStateSize
FIRLMSGetStateSize
Computes the size of the external buffer for the FIR least mean squares (LMS) filter structure.
Syntax
IppStatus ippsFIRLMSGetStateSize32f_16s(int
tapsLen
, int
dlyIndex
, int*
pBufferSize
);
IppStatus ippsFIRLMSGetStateSize_32f(int
tapsLen
, int
dlyIndex
, int*
pBufferSize
);
Include Files
ipps.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
Libraries:
ippcore.lib
,
ippvm.lib
Parameters
- tapsLen
- Number of elements in the array containing tap values.
- dlyIndex
- Current index of the delay line.
- pBufferSize
- Pointer to the computed buffer size value.
Description
This function computes the size of the external buffer for the FIR LMS filter state structure and stores the result in
pBufferSize
.Return Values
- ippStsNoErr
- Indicates no error.
- ippStsNullPtrErr
- Indicates an error whenpBufferSizeisNULL.
- ippStsFIRLenErr
- Indicates an error whentapsLenis less than, or equal to zero.