Performs the adaptive codebook search.
IppStatus ippsAdaptiveCodebookSearch_AMRWBE_16s(const Ipp16s* pSrcAdptTarget, const Ipp16s* pSrcImpulseResponse, const Ipp16s* pSrcOpenLoopLag, Ipp16s* pPitchLag, Ipp16s* pPitchLagBounds, Ipp16s* pSrcDstExcitation, Ipp16s* pFracPitchLag, Ipp16s* pAdptIndex, int subFrame, IppSpchBitRate mode, Ipp16s pitchOffset);
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. |
pitchOffset |
Offset for the pitch adjustment, value range (-17, 17). |
The ippsAdaptiveCodebookSearch_AMRWBE function is declared in ippsc.h file. This function is the extension of the function ippsAdaptiveCodebookSearch_AMRWB. The pitchOffset parameter controls the adjustment of the search ranges. If value of pitchOffset = 0, both functions are identical.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointer is NULL. |
ippStsSizeErr |
Indicates an error when pitchOffset is out of the range (-17, 17), or when mode has an illegal value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.