MuLawToLin

Decodes samples from 8-bit μ-law encoded format to linear samples.

Syntax

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

IppStatus ippsMuLawToLin_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 ippsMuLawToLin is declared in the ipps.h file. This function decodes the 8-bit μ-law encoded samples in the vector pSrc to PCM-linear samples and stores them in the vector pDst.

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.