WeightingFilter_GSMFR

Calculates the weighting filter.

Syntax

IppStatus ippsWeightingFilter_GSMFR_16s (const Ipp16s* pSrc, Ipp16s* pDst, int dstLen);

Parameters

pSrc

Pointer to the input long-term residual vector [-5,..,dstLen+4].

pDst

Pointer to the filtered output vector [dstLen].

dstLen

The number of filtered elements to calculate.

Description

The function ippsWeightingFilter_GSMFR is declared in ippsc.h file. This function performs filtering of the input signal by symmetric FIR filter with predefined taps given below:

taps[i]=[-134, -374, 0, 2054, 5741, 8192, 5741, 2054, 0, -374, -134], i=0,..,10

The filtering is performing according to formula:



The result of filtering is stored in pDst.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

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.