AdaptiveCodebookSearch_RTA

Searches for the adaptive codebook index and the lag, and computes the adaptive vector.

Syntax

IppStatus ippsAdaptiveCodebookSearch_RTA_32f(const Ipp32f* pSrcAdptTarget, const Ipp32f* pSrcImpulseResponse, int subFrameSize, const Ipp32f* pSrcBoundary[4], Ipp32f* pSrcDstExc[372], Ipp32f* pSrcDstLag, int* pDstAdptIndex, Ipp32f* pDstAdptContribution, int deltaSearchRange, int searchFlag);

Parameters

pSrcAdptTarget

Pointer to the input target signal [subFrameSize].

pSrcImpulseResponse

Pointer to the input impulse response [subFrameSize].

subFrameSize

Size of the subframe.

pSrcBoundary

Pointer to the input adaptive codebook search boundary.

pSrcDstExc

Pointer to the input/output excitation buffer.

pSrcDstLag

Pointer to the input/output lag.

pDstAdptIndex

Pointer to the output adaptive codebook search index.

pDstAdptContribution

Pointer to the output adaptive codebook search contribution [subFrameSize].

deltaSearchRange

Delta search range value.

searchFlag

Search flag, possible values: 0 - full search. 1 - search around OLP.

Description

The function ippsAdaptiveCodebookSearch_RTA is declared in the ippsc.h file.

This function searches for the adaptive codebook index and the lag, using the target signal and the past filtered excitation, and computes the adaptive vector. The result is applied to the subframe.

Return Values

ippStsNoErr

Indicates no error.

IppStsNullPtrErr

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

IppStsSizeErr

Indicates an error when subFrameSize is less than or equal to 0; or searchFlag is not equal to 0 or 1.

Submit feedback on this help topic

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