HighPassFilterInit_G729

Initializes the high-pass filter.

Syntax

IppStatus ippsHighPassFilterInit_G729 (Ipp16s* pCoeff, char* pMemUpdated);

Parameters

pCoeff

Pointer to the array of length 6 containing values a0, a1, a2, b0, b1, b2, in Q12 or Q13.

pMemUpdated

Pointer to the memory allocated for the filter.

Description

The function initializes the internal data of the high-pass filter: a0 must be equal to scaled 1 (in Q12 or Q13). The filter history data x-2 , x-1 , y-2 , y-1 are set to zero. The ippsHighPassFilter_G729_16s_ISfs function uses this memory for filtering.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

Submit feedback on this help topic

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