FIRLMSMRSetTaps

Sets tap values in the multi-rate FIR LMS filter.

Syntax

IppStatus ippsFIRLMSMRSetTaps32s_16s(IppsFIRLMSMRState32s_16s* pState, const Ipp32s* pInTaps);

IppStatus ippsFIRLMSMRSetTaps32sc_16sc(IppsFIRLMSMRState32sc_16sc* pState, const Ipp32sc* pInTaps);

Parameters

pState

Pointer to the filter state structure.

pInTaps

Pointer to the array holding new tap values.

Description

The function ippsFIRLMSMRSetTaps is declared in the ipps.h file. This function sets the filter coefficients stored in the filter state structure pState to the new values stored in an array pointed by the pInTaps pointer. If the pointer is NULL, then the filter coefficients values are set to zero.

Before calling the function ippsFIRLMSMRSetTaps the filter state structure must be initialized by the function ippsFIRLMSMRInitAlloc.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when one of the specified pointers is NULL.

ippStsContextMatchErr

Indicates an error when the state identifier is incorrect.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.