Module symphonia_core::io::vlc
source · Expand description
The vlc
module provides support for decoding variable-length codes (VLC).
Structs§
Codebook
is a variable-length code decoding table that may be used to efficiently read symbols from a source of bits.CodebookBuilder
generates aCodebook
using a provided codebook specification and description.Entry8x8
is a codebook entry for 8-bit values with codes up-to 8-bits.Entry8x16
is a codebook entry for 8-bit values with codes up-to 16-bits.Entry8x32
is a codebook entry for 8-bit values with codes up-to 32-bits.Entry16x8
is a codebook entry for 16-bit values with codes up-to 8-bits.Entry16x16
is a codebook entry for 16-bit values with codes up-to 16-bits.Entry16x32
is a codebook entry for 16-bit values with codes up-to 32-bits.Entry32x8
is a codebook entry for 32-bit values with codes up-to 8-bits.Entry32x16
is a codebook entry for 32-bit values with codes up-to 16-bits.Entry32x32
is a codebook entry for 32-bit values with codes up-to 32-bits.
Enums§
BitOrder
describes the relationship between the order of bits in the provided codewords and the order in which bits are read.
Traits§
CodebookEntry
provides the functions required for an entry in theCodebook
.