Searches for the integer delay and the fraction delay, and computes the adaptive vector.
IppStatus ippsAdaptiveCodebookSearch_G7291_16s(const Ipp16s pSrcAdptTarget[40], const Ipp16s pSrcImpulseResponse[40], const Ipp16s pSrcPrevExcitation[154], Ipp16s pDstDelay[2], Ipp16s lagMin, Ipp16s lagMax, int subFrame);
pSrcAdptTarget |
Pointer to the target signal for the adaptive-codebook search vector. |
pSrcImpulseResponse |
Pointer to the impulse response of the weighted synthesis filter vector. |
pSrcPrevExcitation |
Pointer to the previous and updated excitation vector. |
pDstDelay |
Pointer to the output integer and fraction delays vector. |
lagMin |
Minimum value of the searching range. |
lagMax |
Maximum value of the searching range. |
subFrame |
Subframe number, either 0 or 1. |
The function ippsAdaptiveCodebookSearch_G7291 are declared in the ippsc.h file. It searches for the integer delay T and the fraction delay t, using the target signal and the past filtered excitation, and computes the adaptive vector. The search is performed in the subframes subFrame.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
ippStsRangeErr |
Indicates an error when subFrame is not equal to 0 or 1. |
ippStsRangeErr |
Indicates an error when lagMin is less than 20, or greater than 143 or lagMax. |
ippStsRangeErr |
Indicates an error when lagMax is less than 20, or greater than 143 or lagMin. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.