Performs de-emphasis filtering.
IppStatus ippsDeemphasize_AMRWB_NR_16s_I(Ipp16s gamma, Ipp16s* pSrcDst, Ipp16s len, Ipp16s* pMem);
IppStatus ippsDeemphasize_AMRWB_32s16s(Ipp16s gamma, const Ipp32s* pSrc, Ipp16s* pDst, int len, Ipp16s* pMem);
gamma |
De-emphasis factor. |
pSrc |
Pointer to the input vector. |
pDst |
Pointer to the output vector. |
pSrcDst |
Pointer to the input/output vector. |
len |
Length of the input/output vector. |
pMem |
Pointer to the filter memory element. |
This function is declared in ippsc.h file. It performs de-emphasis of the input synthesized signal by filtering it with the following transfer function:
H(z) = 1/(1 - γ*z-1)
The initial memory of the filter must be set to zero. The memory value pMem[0] is updated by pDst[len -1] or pSrcDst[len -1].
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 zero. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.