ALawToLin

Decodes the 8-bit A-law encoded samples to linear samples.

Syntax

IppStatus ippsALawToLin_8u16s(const Ipp8u* pSrc, Ipp16s* pDst, int len);

IppStatus ippsALawToLin_8u32f(const Ipp8u* pSrc, Ipp32f* pDst, int len);

Parameters

pSrc

Pointer to the source vector.

pDst

Pointer to the destination vector.

len

Number of samples in the vector.

Description

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.

Return Values

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.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.