Calculates the gain of the adaptive-codebook vector and the filtered codebook vector.
IppStatus ippsAdaptiveCodebookGain_G729_16s(const Ipp16s* pSrcAdptTarget, const Ipp16s* pSrcImpulseResponse, const Ipp16s* pSrcAdptVector, Ipp16s* pDstFltAdptVector, Ipp16s* pResultAdptGain);
IppStatus ippsAdaptiveCodebookGain_G729A_16s(const Ipp16s* pSrcAdptTarget, const Ipp16s* pSrcLPC, const Ipp16s* pSrcAdptVector, Ipp16s* pDstFltAdptVector, Ipp16s* pResultAdptGain);
pSrcAdptTarget |
Pointer to the adaptive target signal vector [40]. |
pSrcImpulseResponse |
Pointer to the impulse response of the perceptual weighting filter vector [40], in Q12. |
pSrcAdptVector |
Pointer to the adaptive-codebook vector [40], in Q12 (for ippsAdaptiveCodebookGain_G729_16s) or in Q10 (for ippsAdaptiveCodebookGain_G729A_16s). |
pSrcLPC |
Pointer to the LPC coefficients of the synthesis filter vector [11], in Q12. |
pDstFltAdptVector |
Pointer to the filtered adaptive-codebook vector [40]. |
pResultAdptGain |
Pointer to the adaptive-codebook gain, in Q14. |
These functions are declared in the ippsc.h file. They compute the gain of the adaptive-codebook vector, and calculate the filtered adaptive-codebook vector, respectively. Both functions are applied in subframes.
The function ippsAdaptiveCodebookGain_G729 is designed for G.729/B codec [ITU729B].
The function ippsAdaptiveCodebookGain_G729A is designed for G.729A codec [ITU729A].
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.