Decodes the fixed codebook vector.
IppStatus ippsFixedCodebookDecode_GSMAMR_16s(const Ipp16s* pSrcFixedIndex, Ipp16s* pDstFixedVector, Ipp16s subFrame, IppSpchBitRate mode);
pSrcFixedIndex |
Pointer to the fixed codebook index vector. If the mode is 12.2 kbps, the vector length is 10; if the mode is 10.2 kbps, the vector length is 7; otherwise the vector length is 2. |
pDstFixedVector |
Pointer to the 40-element fixed codebook vector. |
subFrame |
Subframe index. |
mode |
Bit rate specifier. Values between IPP_SPCHBR_4750 and IPP_SPCHBR_12200 are valid. |
The function ippsFixedCodebookDecode_GSMAMR is declared in ippsc.h file. This function decodes the fixed codebook vector from the received fixed codebook index.
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 not in the range [0, 3]. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.