FIRLMSMRSetDlyLine

Gets and sets the delay line contents of a multi-rate FIR LMS filter state.

Syntax

IppStatus ippsFIRLMSMRSetDlyLine32s_16s(IppsFIRLMSMRState32s_16s* pState, const Ipp16s* pInDlyLine, int dlyLineIndex);

IppStatus ippsFIRLMSMRSetDlyLine32sc_16sc(IppsFIRLMSMRState32sc_16sc* pState, const Ipp16sc* pInDlyLine, int dlyLineIndex);

Parameters

pState

Pointer to the filter state structure.

pInDlyLine

Pointer to the array containing the new delay line values.The number of elements in the array is tapsLen*dlyStep+updateDly.

dlyLineIndex

Initial index of the delay line to be stored in pState.

Description

The function ippsFIRLMSMSetDlyLine is declared in the ipps.h file. This function copies the new values stored in the pInDlyLine and corresponding delay line index from dlyLineIndex and stores them into the state structure pState. If the pointer pInDlyLine is NULL, the delay line values are set to zero.

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

Return Values

ippStsNoErr

Indicates no error.

ippStsContextMatchErr

Indicates an error when the state identifier is incorrect.

Submit feedback on this help topic

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