DecodeAdaptiveVector_G723

Restores the adaptive codebook vector from excitation, pitch, and adaptive gain.

Syntax

IppStatus ippsDecodeAdaptiveVector_G723_16s(Ipp16s valBaseDelay, Ipp16s valCloseLag, Ipp16s valAdptGainIndex, const Ipp16s* pSrcPrevExcitation, Ipp16s* pDstAdptVector, IppSpchBitRate bitRate);

Parameters

valBaseDelay

Base delay, in the range [18,145].

valCloseLag

Lag of close pitch.

valAdptGainIndex

Index of adaptive gain.

pSrcPrevExcitation

Pointer to the past excitations vector [145].

bitRate

Transmit bit rate, equal to either IPP_SPCHBR_6300 or IPP_SPCHBR_5300.

pDstAdptVector

Pointer to the adaptive codebook vector [60].

Description

The function ippsDecodeAdaptiveVector_G723 is declared in the ippsc.h file. This function decodes the adaptive vector from excitation, close loop pitch, and adaptive gain index. It is applied in subframes.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsRangeErr

Indicates an error when valBaseDelay is not in the range [18, 145]; or valCloseLag is not in the range [0, 2]; or valAdptGainIndex is not in the range [0, 169], or bitRate is not a valid element of the enumerated type IppSpchBitRate.

Submit feedback on this help topic

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