Initializes the memory for the G726 decoder.
IppStatus ippsDecodeInit_G726_8u16s (IppsDecoderState_G726_16s* pDecMem, IppSpchBitRate rate, IppPCMLaw law);
pDecMem |
Pointer to the input memory buffer of size needed to properly initialize the G.726 decoder. |
rate |
Decode bit rate of the G.726 decoder, must be one of IPP_SPCHBR_16000, IPP_SPCHBR_24000, IPP_SPCHBR_32000, or IPP_SPCHBR_40000. |
law |
Output speech PCM law: must be one of IPP_PCM_MULAW, IPP_PCM_ALAW or IPP_PCM_LINEAR. |
The function ippsDecodeInit_G726 is declared in ippsc.h file. This function initializes the memory given by the pointer pDecMem to enable ADPCM decompression starting from the reset state.
ippStsNoErr |
Indicates no error. |
IppStsNullPtrErr |
Indicates an error when the pDecMem pointer is NULL. |
ippStsBadArgErr |
Indicates an error when rate or law has an illegal value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.