Applies IIR filter to multiple samples.
IppStatus ippsIIR16s_G728_16s (const Ipp16s* pCoeffs, const Ipp16s* pSrcQntSpeech, Ipp16s* pDstWgtSpeech, int len, IppsIIRState16s_G728_16s* pMem);
pCoeffs |
Pointer to the filter coefficients vector [20]: b0, ..., b9, a0, ..., a9 (in Q14). |
pSrcQntSpeech |
Pointer to the source vector [len]. |
pDstWgtSpeech |
Pointer to the destination vector [len]. |
len |
The number of source and destination samples. |
pMem |
Pointer to the IIR filter state structure. |
The function ippsIIRState16s_G728 is declared in ippsc.h file. This function calculates the synthesized speech output by filtering the input quantized speech through the IIR filter one at a time according to the transfer function:
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointer is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.