Decodes the adaptive codebook vector.
IppStatus ippsAdaptiveCodebookDecode_AMRWBE_16s(Ipp32s valAdptIndex, Ipp16s* pSrcDstExcitation, Ipp16s* pSrcDstPitchLag, Ipp16s* pSrcDstFracPitchLag, Ipp16s* pSrcDstPitchLagBounds, int subFrame, Ipp32s bfi, ipp32s pitchOffset);
valAdptIndex |
Adaptive codebook index. |
pSrcDstExcitation |
Pointer to the 321-element excitation vector. |
pSrcDstPitchLag |
Pointer to the integral pitch lag. |
pSrcDstFracPitchLag |
Pointer to the fractional pitch lag obtained during the adaptive codebook search. |
pPitchLagBounds |
Pointer to the previous integral pitch lag bounds. |
subFrame |
Subframe number. |
bfi |
Bad frame indicator. Value "0" signifies a good frame; any other value signifies a bad frame. |
pitchOffset |
Offset for the pitch adjustment, value range (-17, 17). |
The ippsAdaptiveCodebookDecode_AMRWBE function is declared in ippsc.h file. This function is similar to the function ippsAdaptiveCodebookDecode_AMRWB but has additional parameter pitchOffset that 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.