ResidualFilter_AMRWB

Computes the LPC residual

Syntax

IppStatus ippsResidualFilter_AMRWB_16s_Sfs (const Ipp16s* pSrcLpc, int order, const Ipp16s* pSrcSpeech, Ipp16s* pDstResidualSignal, int len, int scaleFactor);

Parameters

pSrcLpc

Pointer to the input LPC.

order

Length of the LPC vector.

pSrcSpeech

Pointer to the input vector [-order, ..,-1,0, ..., len-1].

pDstResidualSignal

Pointer to the output vector of length [len].

len

Length of the vectors.

scaleFactor

Scale factor value.

Description

This function is declared in ippsc.h file. The functionality is the same as for the function ippsResidualFilter_G729E. The only difference is that the function ippsResidualFilter_AMRWB scales the result according to scaleFactor value.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsSizeErr

Indicates an error when order or len is less than or equal to zero, or when order is greater than len.

ippStsScaleRangeErr

Indicates an error when scaleFactor is negative or greater than 15.

Submit feedback on this help topic

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