G.711, G.711 A1 A2

Waveform coder

G.711 is by far, the most commonly supported voice companding algorithm used in telephony

G.711 Appendix 1 (optional) coder is a high quality low-complexity algorithm for packet loss concealment (PLC). It is a highly effective algorithm for concealing lost packets of G.711 data. Speech remains intelligible even under conditions where up to 30% of the packets are lost. Robust packet loss concealment improves voice quality under packet loss conditions.

G.711 Appendix 2 (optional) provides voice activity detection (VAD), discontinuous transmission (DTX), and comfort noise generation (CNG). When combined, these algorithms provide an efficient method for reducing packet bandwidth during portions of a conversation when no voice activity is present. During silence periods, only the bits necessary to model the background noise characteristics

Global communications

Features List

  • Functions are C-callable.
  • Supports both mu-law and a-law
  • ITU G.711 Compliant
  • Robust packet loss concealment

  • Multi-channel capable

Availability

PlatformsG.711G.711-Appendices 1G.711-Appendices 2G.711 Appendices 1 & 2
Arm ® Devices – Armv7-A Cortex-A8 / A9 / A15 | Cortex-M3 / M4 / M7 || Legacy ARM9ELegacy ARM7 / 9E / 11Legacy ARM9E / 11Cortex – A8/A9/A15 | M3/M4/M7 | Legacy ARM9E/11
Texas Instruments – TI TMS320C6000 C64x/C64x+/C66x, C674x, TMS320C5000 C55x / C54xC64x / C55x / C54xC64x / C55x / C54xC55x / C64xC64x+ / C64x / C55x / C54x
Win32 static LIB / DLLWin32 static LIB / DLL
Linux 32 BitLinux 32 Bit

ADT G.711 is available on the above Platforms: Other configurations are available upon request.

Specifications

NOTE: We specify MIPS (Millions of Instructions Per Second) as MCPS (Millions of Instruction Cycles Per Second). Unless otherwise specified, peak MIPS are indicated.

G.711 Cortex-A8 / A9 / A15

CPU Utilization & Memory Requirements
All Memory usage is given in units of byte.
ProductFunctionMIPSProgram MemoryData MemoryPer Channel Data MemoryScratch Memory
G.711A1A2Encode7.992 K5.26 K1640624
Decode2.31776624

G.711 Cortex-M3 / M4 / M7

CPU Utilization & Memory Requirements
All Memory usage is given in units of byte.
ProductFunctionMIPSProgram MemoryData MemoryPer Channel Data Memory
G.711A1A2Encode7.332270028861636
Decode2.51776

G.711 ARM9e / ARM11

CPU Utilization & Memory Requirements
All Memory usage is given in units of byte.
ProductFunctionMIPSProgram MemoryData MemoryPer Channel Data MemoryScratch Memory
G.711A1A2Encode12.161 K5.26 K1640624
Decode3.81776624

G.711 ARM7 – Legacy

CPU Utilization & Memory Requirements
All Memory usage is given in units of byte.
ProductFunction
MIPS (Peak)Program MemoryData MemoryPer-Channel Data Memory
G.711Mu-law (Compress) Encode69
Mu-law (Expand) Decode20
A-law (Compress) Encode70
A-law (Expand) Encode15
G.711 Common/Tables9001024

G.711 C64x / C64x+

CPU Utilization & Memory Requirements
All Memory usage is given in units of byte.
FunctionMIPS (Peak)Program MemoryData MemoryPer-Channel Data Memory
Mu-law Encode0.05
Mu-law Decode0.02
A-law Encode0.05
A-law Encode0.02
G.711 Common/Tables16961024
G.711 Appendix 10.364990961680
VAD – G.711 Appendix 21.731603215481644
VAD – G.711 Appendix 20.443584272104

G.711 C55x

CPU Utilization & Memory Requirements
All Memory usage is given in units of byte.
FunctionMIPS (Peak)Program MemoryData MemoryPer-Channel Data Memory
Mu-law Encode0.14
Mu-law Decode0.07
A-law Encode0.14
A-law Encode0.07
G.711 Common/Tables2621032
G.711 Appendix 10.272162981680
VAD – G.711 Appendix 22.91038834641352
VAD – G.711 Appendix 20.91942682568

G.711 C54x

CPU Utilization & Memory Requirements
All Memory usage is given in units of 16 bit word.
FunctionMIPS (Peak)Program MemoryData MemoryPer-Channel Data Memory
Mu-law Encode0.4
Mu-law Decode0.1
A-law Encode0.25
A-law Encode0.1
G.711 Common/Tables6444
G.711 Appendix 10.37159349836
VAD – G.711 Appendix 23.249351447434
VAD – G.711 Appendix 21.3877181210

G.711 Windows LIB

CPU Utilization & Memory Requirements
All Memory usage is given in units of byte.
ProductFunctionMIPSProgram MemoryData MemoryPer Channel Data MemoryScratch Memory
G.711A1A2Encode7.5961 K5.2 K1640624
Decode2.641776624

G.711 Windows DLL

CPU Utilization & Memory Requirements
All Memory usage is given in units of byte.
ProductFunctionMIPSProgram MemoryData MemoryPer Channel Data MemoryScratch Memory
G.711A1A2Encode8.5861 K5.2 K1640624
Decode2.641776624

G.711 Linux i868

CPU Utilization & Memory Requirements
All Memory usage is given in units of byte.
ProductFunctionMIPSProgram MemoryData MemoryPer Channel Data MemoryScratch Memory
G.711A1A2Encode9.7262 K5.3 K1640624
Decode1.261776624

Description

G.711 is, by far, the most commonly supported voice companding algorithm used in telephony. It has become the de facto standard used to ensure interoperability in voice over Internet protocol (VoIP) applications. Compression is performed on a per sample basis with each uniformly quantized sample producing an 8-bit pulse code modulated (PCM) or companded value.

 

In addition to companding, appendices have been added to the G.711 standard that allow telephony equipment to reduce network traffic by transmitting minimal data during periods of silence and to improve playback quality by synthesizing speech during periods when data has been lost or corrupted.

 

Adaptive Digital’s G.711 waveform coder is a bit exact implementation of the ITU G.711 PCM standard. Adaptive Digital’s G.711 coder converts between 8-bit mu-law (American standard) or a-law (European standard) companded values and 16-bit uniformly quantized values. Although many DSPs support G.711 conversion via hardware interface to TDM highways, it is often necessary to perform G.711 conversion in software, particularly when voice and signaling applications share a common line. Unlike the G.711 companding standard, the two G.711 appendices are not bit-exact. As a result, not all implementations perform identically.

Function APIs

Standard Functions

G711_Encode(. . .)

G711_Decode(. . .)

Performs G.711 encode function

Performs G.711 decode function

Appendix 1 (concealment) functions

G711ErasureInit(. . .)

G711A1Decode(. . .)

Initializes data structures for per channel packet loss concealment
Generates synthesized voice samples to cover missing data

Appendix 1 (VAD/CNG) functions

Vad_ADT_Init(. . .)

Cng_ADT_Init(. . .)

Vad_ADT_Run(. . .)

Cng_ADT_Run(. . .)

Initializes data structures for voice activity detection

Initializes data structures for comfort noise generation
Detects voice or silence and returns comfort noise parameters during silence periods

Generate comfort noise based upon received parameters

Appendix 1 & 2 (integrated) functions

G711_ADT_initEncode (. . .)

G711_ADT_initDecode (. . .)

G711_ADT_encode (. . .)

G711_ADT_decode (. . .)

Initializes G.711 Encode Channel

Initializes G.711 Decode Channel

Perform G.711 encode

Perform G.711 decode

Translate »