mediaLib Library Functions mlibSignalALaw2uLaw(3MLIB)
NAME
mlibSignalALaw2uLaw - ITU G.711 m-law and A-law compression
and decompression
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibSignalALaw2uLaw(mlibu8 *ucode, const mlibu8 *acode,
mlibs32 n);
DESCRIPTION
The mlibSignalALaw2uLaw() function performs ITU G.711 m-law
and A-law compression and decompression in compliance with
the ITU (Former CIT) G.711 specification.
PARAMETERS
The function takes the following arguments:
ucode m-law code array.
acode A-law code array.
n Number of samples in the source array.
RETURN VALUES
The function returns MLIBSUCES if successful. Otherwise
it returns MLIBFAILURE.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibSignalALaw2Linear(3MLIB),
mlibSignalLinear2ALaw(3MLIB),
mlibSignalLinear2uLaw(3MLIB), mlibSignaluLaw2ALaw(3MLIB),
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibSignalALaw2uLaw(3MLIB)
mlibSignaluLaw2Linear(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|