PostFilter_G728

Applies the post filter to multiple samples.

Syntax

IppStatus ippsPostFilter_G728_16s (Ipp16s gl, Ipp16s glb, Ipp16s kp, Ipp16s tiltz, const Ipp16s* pCoeffs, const Ipp16s* pSrc, Ipp16s* pDst, IppsPostFilterState_G728_16s* pMem);

Parameters

gl

The LTP scaling factor.

glb

The LTP product term.

kp

The LTP lag, pitch period of the current frame.

tiltz

The STP tilt-compensation coefficient.

pCoeffs

Pointer to the post filter coefficients vector [20]: B1, ..., B10, A1 , ..., A10.

pSrc

Pointer to the input speech vector [5]; elements -kp ,...,-1 must be given as memory of the LTP filter.

pDst

Pointer to the output post-filtered speech vector [5].

pMem

Pointer to the post filter state structure.

Description

The function ippsPostFilter_G728 is declared in ippsc.h file. This function performs filtering of input samples by one at a time according to the transfer function that is comprised of LTP filter and STP filter parts:



Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

Submit feedback on this help topic

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