AdaptiveCodebookSearch_G729

Searches for the integer delay and the fraction delay, and computes the adaptive vector.

Syntax

IppStatus ippsAdaptiveCodebookSearch_G729_16s(Ipp16s valOpenDelay, const Ipp16s* pSrcAdptTarget, const Ipp16s* pSrcImpulseResponse, Ipp16s* pSrcDstPrevExcitation, Ipp16s* pDstDelay, Ipp16s* pDstAdptVector, Ipp16s subFrame);

IppStatus ippsAdaptiveCodebookSearch_G729A_16s(Ipp16s valOpenDelay, const Ipp16s* pSrcAdptTarget, const Ipp16s* pSrcImpulseResponse, Ipp16s* pSrcDstPrevExcitation, Ipp16s* pDstDelay, Ipp16s* pDstAdptVector, Ipp16s subFrame);

IppStatus ippsAdaptiveCodebookSearch_G729D_16s (Ipp16s valOpenDelay, const Ipp16s* pSrcAdptTarget, const Ipp16s* pSrcImpulseResponse, Ipp16s* pSrcDstPrevExcitation, Ipp16s* pDstDelay, Ipp16s subFrame);

Parameters

valOpenDelay

Open-loop delay, in the range [18,145].

pSrcAdptTarget

Pointer to the target signal for adaptive-codebook search vector [40].

pSrcImpulseResponse

Pointer to the impulse response of weighted synthesis filter vector [40], in Q12.

pSrcDstPrevExcitation

Pointer to the previous and updated excitation vector [194].

pDstDelay

Pointer to the integer delay and fraction delay vector [2].

pDstAdptVector

Pointer to the adaptive vector [40].

subFrame

Subframe number, 0 or 1.

Description

These functions are declared in the ippsc.h file. They search for the integer delay T and the fraction delay t, using the target signal and the past filtered excitation, and compute the adaptive vector. They are applied in subframes.

The function ippsAdaptiveCodebookSearch_G729A is designed for G.729A codec [ITU729A].

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsRangeErr

Indicates an error when valOpenDelay is not in the range [18, 145], or subFrame is not 0 or 1.

Submit feedback on this help topic

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