HighPassFilterInit_AMRWB

Initializes the state memory of high-pass filter.

Syntax

IppStatus ippsHighPassFilterInit_AMRWB_16s(Ipp16s* pFilterCoeffA, Ipp16s* pFilterCoeffB, int order, IppsHighPassFilterState_AMRWB_16s* pState);

Parameters

order

The order of high-pass filter; orders of 2 and 3 are currently supported.

pFilterCoeffA

Pointer to the vector of order size containing the IIR part of the filter coefficients .

pFilterCoeffB

Pointer to the vector of order size containing the FIR part of the filter coefficients.

pState

Pointer to the memory supplied for filtering.

Description

This function is declared in ippsc.h file. It sets the coefficients and initializes the state memory of the high-pass filter.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsRangeErr

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

Submit feedback on this help topic

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