Searches for the adaptive codebook index and the lag, and computes the adaptive vector.
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);
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. |
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.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.