ShortTermSynthesisFilter_GSMFR

Performs short-term synthesis filtering.

Syntax

IppStatus ippsShortTermSynthesisFilter_GSMFR_16s (const Ipp16s* pRC, const Ipp16s* pSrcResidual, Ipp16s* pDstSpch, int len, Ipp16s* pMem);

Parameters

pRC

Pointer to the input reflection coefficients vector [8]: Pointer to the input reflection coefficients vector [8]: a1, a2,..., a8.

pSrcResidual

Pointer to the input reconstructed short term residual vector [len].

pDstSpch

Pointer to the output speech vector [len].

len

Length of the input residual and output speech vectors.

pMem

Pointer to the filter memory vector [8]: m0, m1,..., m7.

Description

The function ippsShortTermSynthesisFilter_GSMFR is declared in ippsc.h file. This function performs filtering of the input reconstructed short-term residual r( n) and stores the result in the output speech vector s( n) as given below:

s0 = r( n)

si = si-1 - a9-i * m8-i , i = 1,...,8

m8-i = m7-i + - a9-i * si , i = 1,...,7

s (n) = s8

m0 = s (n)

where mi , i = 0,...,7 is the filter memory and si , i = 0,...,8 is the reusable local memory.

The initial filter memory vector will be zeroed.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsRangeErr

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.