AdaptiveCodebookContribution_G729

Updates target vector for codebook search by subtracting adaptive codebook contribution.

Syntax

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);

Parameters

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).

Description

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

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

Submit feedback on this help topic

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