Updates target vector for codebook search by subtracting adaptive codebook contribution.
IppStatus ippsAdaptiveCodebookContribution_G729_16s (Ipp16s gain, const Ipp16s* pFltAdptVector, const Ipp16s* pSrcAdptTarget, Ipp16s* pDstAdptTarget);
IppStatus ippsAdaptiveCodebookContribution_G729_32f (Ipp32f gain, const Ipp32f* pFltAdptVector, const Ipp32f* pSrcAdptTarget, Ipp32f* pDstAdptTarget);
gain |
Adaptive codebook gain gp. |
pFltAdptVector |
Pointer to the input filtered adaptive codebook vector y( n). |
pSrcAdptTarget |
Pointer to the input target vector x(n). |
pDstAdptTarget |
Pointer to the output updated target vector x'( n). |
The function ippsAdaptiveCodebookContribution_G729 is declared in the ippsc.h file. This function subtracts the adaptive codebook contribution from the target signal and stores updated target vector as follows:
x'( n) = x(n) - gp * y( n) , n = 0,..., 39
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.