mediaLib Library Functions mlib_SignaluLaw2ALaw(3MLIB)
NAME
mlib_SignaluLaw2ALaw - ITU G.711 m-law and A-law compression
and decompressionSYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlib_status mlib_SignaluLaw2ALaw(mlib_u8 *acode,
const mlib_u8 *ucode, mlib_s32 n);
DESCRIPTION
The mlib_SignaluLaw2ALaw() 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:acode A-law code 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 attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
mlib_SignalALaw2Linear(3MLIB), mlib_SignalALaw2uLaw(3MLIB),
mlib_SignalLinear2ALaw(3MLIB),
mlib_SignalLinear2uLaw(3MLIB),
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlib_SignaluLaw2ALaw(3MLIB)
mlib_SignaluLaw2Linear(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2