Content-type: text/html Man page of mlib_SignaluLaw2Linear

mlib_SignaluLaw2Linear

Section: mediaLib Library Functions (3MLIB)
Updated: 2 Mar 2007
Index Return to Main Contents
 

NAME

mlib_SignaluLaw2Linear - ITU G.711 m-law and A-law compression and decompression  

SYNOPSIS

cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>

mlib_status mlib_SignaluLaw2Linear(mlib_s16 *pcm, 
    const mlib_u8 *ucode, mlib_s32 n);

 

DESCRIPTION

The mlib_SignaluLaw2Linear() function performs ITU G.711 m-law and A-law compression and decompression in compliance with the ITU (formerly CCITT) G.711 specification.  

PARAMETERS

The function takes the following arguments:

pcm

Linear PCM sample array.

ucode

m-law code array.

n

Number of samples in the input array.

 

RETURN VALUES

The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.  

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE

Interface StabilityCommitted

MT-Level

 

SEE ALSO

mlib_SignalALaw2Linear(3MLIB), mlib_SignalALaw2uLaw(3MLIB), mlib_SignalLinear2ALaw(3MLIB), mlib_SignalLinear2uLaw(3MLIB), mlib_SignaluLaw2ALaw(3MLIB), attributes(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUES
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:38:18 GMT, October 02, 2010