SynthesisFilter

Computes the speech signal by filtering the input speech through the synthesis filter 1/A(z).

Syntax

IppStatus ippsSynthesisFilter_NR_16s_Sfs(const Ipp16s* pLPC, const Ipp16s* pSrc, Ipp16s* pDst, int len, int scaleFactor, const Ipp16s* pMem);

IppStatus ippsSynthesisFilterLow_NR_16s_ISfs(const Ipp16s* pLPC, Ipp16s* pSrcDst, int len, int scaleFactor, const Ipp16s* pMem);

THE FOLLOWING FUNCTION IS DEPRECATED.

IppStatus ippsSynthesisFilter_NR_16s_ISfs(const Ipp16s* pLPC, Ipp16s* pSrcDst, int len, int scaleFactor, const Ipp16s* pMem);

Parameters

pLPC

Pointer to the input filter coefficients a0, a1,...,a10.

pSrc

Pointer to the input vector.

pSrcDst

Pointer to the history input/filtered output vector.

pDst

Pointer to the filtered output.

len

Number of elements in the vector.

scaleFactor

Scale factor for the destination vector.

pMem

Pointer to the memory supplied for filtering. Should be updated outside the function with last 10 values of the destination vector.

Description

Caution iconCaution

THE FUNCTION ippsSynthesisFilter_NR_16s_ISfs IS DEPRECATED. Please use the function ippsSynthesisFilter_NR_16s_Sfs instead.

The function ippsSynthesisFilter is declared in the ippsc.h file. This function filters the input signal through the synthesis filter as follows:



The function flavor ippsSynthesisFilterLow_NR_16s_ISfs performs no saturation and assumes that input data are small enough to ensure correct calculation without checking the overflow condition. This mode of operation is indicated by the suffix Low in the function name.

All flavors perform “nearest right” rounding needed to meet the bit-to-bit exactness requirement.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pSrc, pLPC, pSrcDst, pDst, or pMem pointer is NULL.

ippStsSizeErr

Indicates an error when len is less than or equal to 0.

ippStsScaleRangeErr

Indicates an error when scaleFactor is not equal to 12 or 13.

ippStsOverflow

Indicates a warning that at least one result value was saturated.

Submit feedback on this help topic

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