1mlib_SignalALaw2uLaw(3MLIB)mediaLib Library Functionsmlib_SignalALaw2uLaw(3MLIB)
2
3
4

NAME

6       mlib_SignalALaw2uLaw - ITU G.711 m-law and A-law compression and decom‐
7       pression
8

SYNOPSIS

10       cc [ flag... ] file... -lmlib [ library... ]
11       #include <mlib.h>
12
13       mlib_status mlib_SignalALaw2uLaw(mlib_u8 *ucode, const mlib_u8 *acode,
14            mlib_s32 n);
15
16

DESCRIPTION

18       The mlib_SignalALaw2uLaw() function performs ITU G.711 m-law and  A-law
19       compression and decompression in compliance with the ITU (Former CCITT)
20       G.711 specification.
21

PARAMETERS

23       The function takes the following arguments:
24
25       ucode    m-law code array.
26
27
28       acode    A-law code array.
29
30
31       n        Number of samples in the source array.
32
33

RETURN VALUES

35       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
36       MLIB_FAILURE.
37

ATTRIBUTES

39       See attributes(5) for descriptions of the following attributes:
40
41
42
43
44       ┌─────────────────────────────┬─────────────────────────────┐
45       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
46       ├─────────────────────────────┼─────────────────────────────┤
47       │Interface Stability          │Committed                    │
48       ├─────────────────────────────┼─────────────────────────────┤
49       │MT-Level                     │MT-Safe                      │
50       └─────────────────────────────┴─────────────────────────────┘
51

SEE ALSO

53       mlib_SignalALaw2Linear(3MLIB), mlib_SignalLinear2ALaw(3MLIB), mlib_Sig‐
54       nalLinear2uLaw(3MLIB),    mlib_SignaluLaw2ALaw(3MLIB),    mlib_Signalu‐
55       Law2Linear(3MLIB), attributes(5)
56
57
58
59SunOS 5.11                        2 Mar 2007       mlib_SignalALaw2uLaw(3MLIB)
Impressum