HighPassFilterGetDlyLine_AMRWB

Receives the parameters of delay line of high-pass filter.

Syntax

IppStatus ippsHighPassFilterGetDlyLine_AMRWB_16s(const IppsHighPassFilterState_AMRWB_16s* pState, Ipp16s* pDlyLine, Ipp32s order);

Parameters

pState

Pointer to the memory supplied for filtering.

pDlyLine

Pointer to the vector (6-element size for order 2, or 9-element size for order 3) containing the filter memory.

order

The order of high-pass filter; possible value is 2 or 3.

Description

The function ippsHighPassFilterGetDlyLine_AMRWB is declared in ippsc.h file. This function gets the parameters of the delay line of the high-pass filter structure. The layout of the returned filter memory is follows:

Yh2,Yl2, Yh1, Yl1, X0, X1 - for the high-pass filter of order 2.

Yh3,Yl3, Yh2,Yl2, Yh1, Yl1, X0, X1, X2 - the high-pass filter of order 3 ,

where Xi - the memory of the FIR filter part, and Yhi, Yli - the memories of the IIR filter part.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsSizeErr

Indicates an error when order is not equal 2 or 3.

Submit feedback on this help topic

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