ShortTermAnalysisFilter_GSMFR

Performs short-term analysis filtering.

Syntax

IppStatus ippsShortTermAnalysisFilter_GSMFR_16s_I (const Ipp16s* pRC, Ipp16s* pSrcDstSpch, int len, Ipp16s* pMem);

Parameters

pRC

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

pSrcDstSpch

Pointer to the input pre-processed speech and output short term residual vector [len].

len

Length of the input speech and output residual vectors.

pMem

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

Description

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

ri = ri-1 + ai * mi-1, i= 1,...,8

m0 = s (n)

mi = mi-1 + ai * ri-1, i = 1,...,7

r (n) = r8

where mi, i = 0,...,7 is the filter memory and ri, 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 - 2011, Intel Corporation. All rights reserved.