Decodes the 8-bit A-law encoded samples to linear samples.
IppStatus ippsALawToLin_8u16s(const Ipp8u* pSrc, Ipp16s* pDst, int len);
IppStatus ippsALawToLin_8u32f(const Ipp8u* pSrc, Ipp32f* pDst, int len);
pSrc |
Pointer to the source vector. |
pDst |
Pointer to the destination vector. |
len |
Number of samples in the vector. |
The function ippsALawToLin is declared in the ipps.h file. This function decodes the 8-bit A-law encoded samples in the vector pSrc to PCM-linear samples and stores them in the vector pDst. Code example shows how to use the function ippsALawToLin_8u32f.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the pDst or pSrc pointer is NULL. |
ippStsSizeErr |
Indicates an error when len is less than or equal to 0. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.