Performs decompression of the ADPCM bit-stream.
IppStatus ippsDecode_G726_8u16s (IppsDecoderState_G726_16s* pDecMem, const Ipp8u* pSrc, Ipp16s* pDst, unsigned int len);
pDecMem |
Pointer to the memory buffer that has been initialized for G.726 ADPCM decoder. |
pSrc |
Pointer to the input vector that contains two, three, four, or five binary digits per byte for 16, 24, 32, or 40 Kbit/s ADPCM bit-stream, respectively. |
pDst |
Pointer to the 16-bit linear PCM speech output vector. |
len |
The length of input/output vectors. |
The function ippsDecode_G726 is declared in ippsc.h file. This function performs decompression of the ADPCM bit-stream input (Recommendation G.726) into 16-bit linear PCM. The input bit-stream must be ADPCM compressed on the bit rate for which the G.726 decoder was initialized to operate.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointer is NULL. |
ippStsBadArgErr |
Indicates an error when the len is less than or equal to 0. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.