HighPassFilter_AMRWB

Performs high-pass filtering.

Syntax

IppStatus ippsHighPassFilter_AMRWB_16s_Sfs (const Ipp16s* pSrc, Ipp16s* pDst, int len, IppsHighPassFilterState_AMRWB_16s* pState, int scaleFactor);

IppStatus ippsHighPassFilter_AMRWB_16s_ISfs (Ipp16s* pSrcDst, int len, IppsHighPassFilterState_AMRWB_16s* pState, int scaleFactor);

IppStatus ippsHighPassFilter_Direct_AMRWB_16s (const Ipp16s* pSrcCoeff, const Ipp16s* pSrc, Ipp16s* pDst, int len, int borderMode);

Parameters

pSrc

Pointer to the vector containing input signal.

pDst

Pointer to the vector containing filtered signal.

pSrcDst

Pointer to the input/output vector.

pState

Pointer to the memory supplied for filtering.

scaleFactor

Scale factor of the input signal.

pSrcCoeff

Pointer to a 2-element vector containing the coefficients of the filter.

len

Length of the input and output vectors.

borderMode

if borderMode = 0 then pSrc[-1] and pSrc[len] are equal to zero; otherwise these values must be given.

Description

These functions are declared in ippsc.h file.

ippsHighPassFilter_AMRWB_16s. This function performs the high-pass filtering of the input signal by the following transfer function:



Currently, only a0 = 1.0 is supported. The scale factor is used to update the filter memory according to the input signal.

ippsHighPassFilter_Direct_AMRWB_16s. This function performs the high-pass filtering of the input signal by the following transfer function:



Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsSizeErr

Indicates an error when len is less than or equal to zero.

Submit feedback on this help topic

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