Performs the adaptive codebook search.
IppStatus ippsAdaptiveCodebookSearch_AMRWB_16s(const Ipp16s* pSrcAdptTarget, const Ipp16s* pSrcImpulseResponse, const Ipp16s* pSrcOpenLoopLag, Ipp16s* pPitchLag, Ipp16s* pPitchLagBounds, Ipp16s* pSrcDstExcitation, Ipp16s* pFracPitchLag, Ipp16s* pAdptIndex, int subFrame, IppSpchBitRate mode);
pSrcAdptTarget |
Pointer to the 64-element adaptive target signal vector. |
pSrcImpulseResponse |
Pointer to the 64-element impulse response of the weighted synthesis filter. |
pSrcOpenLoopLag |
Pointer to a two-element vector of the OLP lags. |
pPitchLag |
Pointer to the output previous integral pitch lag. |
pPitchLagBounds |
Pointer to the bounds of the output previous integral pitch lag. |
pSrcDstExcitation |
Pointer to the input/output 321-element excitation vector. |
pFracPitchLag |
Pointer to the output fractional pitch lag obtained during the adaptive codebook search. |
pAdptIndex |
Pointer to the coded closed-loop pitch index. |
subFrame |
Subframe number. |
mode |
Coder mode. |
This function is declared in ippsc.h file. The function performs the adaptive codebook search. The adaptive codebook search consists of a closed-loop pitch search followed by computation of an adaptive excitation vector. The adaptive excitation vector is computed by interpolating the past excitation at the fractional pitch lag obtained during the closed-loop pitch search. The adaptive codebook is searched on every subframe.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
ippStsRangeErr |
Indicates an error when mode is not a valid element of the enumerated type IppSpchBitRate. |
ippStsSizeErr |
Indicates an error when subFrame is less than 0 or greater than 3. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.