IIRSetDlyLine

Sets the delay line contents in an IIR filter state.

Syntax

IppStatus ippsIIRSetDlyLine32s_16s(IppsIIRState32s_16s* pState, const Ipp32s* pDlyLine);

IppStatus ippsIIRSetDlyLine32f_16s(IppsIIRState32f_16s* pState, const Ipp32f* pDlyLine);

IppStatus ippsIIRSetDlyLine64f_16s(IppsIIRState64f_16s* pState, const Ipp64f* pDlyLine);

IppStatus ippsIIRSetDlyLine64f_32s(IppsIIRState64f_32s* pState, const Ipp64f* pDlyLine);

IppStatus ippsIIRSetDlyLine64f_DF1_32s(IppsIIRState64f_32s* pState, const Ipp32s* pDlyLine);

IppStatus ippsIIRSetDlyLine32sc_16sc(IppsIIRState32sc_16sc* pState, const Ipp32sc* pDlyLine);

IppStatus ippsIIRSetDlyLine32fc_16sc(IppsIIRState32fc_16sc* pState, const Ipp32fc* pDlyLine);

IppStatus ippsIIRSetDlyLine64fc_16sc(IppsIIRState64fc_16sc* pState, const Ipp64fc* pDlyLine);

IppStatus ippsIIRSetDlyLine64fc_32sc(IppsIIRState64fc_32sc* pState, const Ipp64fc* pDlyLine);

IppStatus ippsIIRSetDlyLine_32f(IppsIIRState_32f* pState, const Ipp32f* pDlyLine);

IppStatus ippsIIRSetDlyLine64f_32f(IppsIIRState64f_32f* pState, const Ipp64f* pDlyLine);

IppStatus ippsIIRSetDlyLine_64f(IppsIIRState_64f* pState, const Ipp64f* pDlyLine);

IppStatus ippsIIRSetDlyLine_32fc(IppsIIRState_32fc* pState, const Ipp32fc* pDlyLine);

IppStatus ippsIIRSetDlyLine64fc_32fc(IppsIIRState64fc_32fc* pState, const Ipp64fc* pDlyLine);

IppStatus ippsIIRSetDlyLine_64fc(IppsIIRState_64fc* pState, const Ipp64fc* pDlyLine);

Parameters

pState

Pointer to the IIR filter state structure.

pDlyLine

Pointer to the array holding the delay line values. The number of elements in the array is order for arbitrary filters and 2*numBq for BQ filters. If the pointer is NULL, then the delay line values in the state structure are initialized to zero.

Description

The function ippsIIRSetDlyLine is declared in the ipps.h file. This function copies the delay line values from pDlyLine and stores them into the state structure pState. If the pointer is NULL, then the delay line values in the state structure are initialized to zero.

The filter state must be previously initialized by the one of the initialization functions.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pState 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.