HighPassFilter_G729

Performs G729 high-pass filtering.

Syntax

IppStatus ippsHighPassFilter_G729_16s_ISfs (Ipp16s* pSrcDst, int len, int scaleFactor, char* pMemUpdated);

Parameters

pSrcDst

Pointer to the source and destination vector [len].

len

Number of elements in the source and destination vectors.

scaleFactor

Scale factor for output data scaling.

pMemUpdated

Pointer to the memory allocated for the filter.

Description

The function ippsHighPassFilter_G729 is declared in the ippsc.h file. This function performs the input signal pre-processing or the output signal post-processing using the high-pass filter:



Currently, only a0=1 (in Q12 or Q13) is supported. The function uses the scale factor value equal to 12 for input data pre-filtering, and equal to 13 for output data post-filtering.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsScaleRangeErr

Indicates an error when scaleFactor is not equal to 12 or 13.

ippStsSizeErr

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

Submit feedback on this help topic

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