Module tables

Source
Expand description

Lookup table utilities for codec optimizations

Statics§

ALAW_DECODE_TABLE
Pre-computed A-law decoding table (8-bit A-law to 16-bit linear)
MULAW_DECODE_TABLE
Pre-computed μ-law decoding table (8-bit μ-law to 16-bit linear)

Functions§

decode_alaw_batch
Batch A-law decoding using lookup tables
decode_alaw_table
Fast A-law decoding using lookup table
decode_mulaw_batch
Batch μ-law decoding using lookup tables
decode_mulaw_table
Fast μ-law decoding using lookup table
encode_alaw_batch
Batch A-law encoding using lookup tables
encode_alaw_table
Fast A-law encoding using direct computation
encode_mulaw_batch
Batch μ-law encoding using lookup tables
encode_mulaw_table
Fast μ-law encoding using direct computation
get_table_memory_usage
Get memory usage of lookup tables
init_tables
Initialize all lookup tables