CodebookSearchTCQ_G728

Performs codebook search by trellis-coded quantization.

Syntax

IppStatus ippsCodebookSearchTCQ_G728_16s8u (const Ipp16s pSrc[5], const Ipp16s pSrcLPC[10], Ipp8u pDst[5], Ipp16s pSrcDstWindow[20], Ipp16s pSrcDstResidual[8], Ipp32s* pSrcDstBestNode, Ipp32s_EC_Sfs invGain, Ipp32s_EC_Sfs excGain);

Parameters

pSrc

Pointer to the input speech frame vector.

pSrcLPC

Pointer to the LPC coefficients vector.

pDst

Pointers to the output vector containing the indexes of the “best path”.

pSrcDstWindow

Pointer to the synthesis filter hybrid window vector.

pSrcDstResidual

Pointer to the input/output quantized residuals vector.

pSrcDstBestNode

Pointer to input/output trellis survivor node value.

invGain

Inverted gain scaled value, structure with gain value ans its scale.

excGain

Linear excitation gain scaled value.

Description

The ipps ippsCodebookSearchTCQ_G728 function is declared in the ippsc.h file. The function performs codebook search by the trellis-coded quantization (TCQ) for given gains. TCQ trellis is parsed for best path and survivor node. For every next stage one of the two incoming branches is selected and marked as 'new' survivor. The final trellis survivor node and best path indexes are stored in pSrcDstBestNode and pDst respectively. For detailed description of the TCQ see [ITU728] Annex J, clause 4.1.1.

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.