PostFilter_RTA

Restores speech signal from the residual.

Syntax

IppStatus ippsPostFilter_RTA_32f_I(const Ipp32f* pSrcLPC, int order, Ipp32f* pSrcDstSpeech, int len, int pfType, Ipp32f* pMem[33], IppPostFilterState_RTA_32f* pStateMem);

Parameters

pSrcLPC

Pointer to the input vector with LPC coefficients.

order

Order of the LP filter.

pSrcDstSpeech

Pointer to the input/output speech vector.

len

Number of samples.

pfType

Specifies the type of thepost filter. Possible values:

0 - harmonic and full band coding;

1, 2, 3, 4 - subband coding respectively.

pMem

Pointer for the post filter memory vector.

pStateMem

Pointer for the post filter state memory.

Description

The function ippsPostFilter_RTA is declared in the ippsc.h file.

This function restores speech signal from the residual. The function updates pMem and pStateMem memory appropriately. The post filter state memory must be initializes by calling the function ippsPostFilterInit_RTA beforehand.

Return Values

ippStsNoErr

Indicates no error.

IppStsNullPtrErr

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

IppStsSizeErr

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

IppStsRangeErr

Indicates an error when order is less than or equal to 1, or greater than 16, or pfType is less than 0 or greater than 7.

Submit feedback on this help topic

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