Module lewton::header [] [src]

Header decoding

This module takes care of decoding of the three vorbis headers:

  1. Identification
  2. Comment
  3. Setup

It builds only on the internal bitpacking layer and the internal huffman tree handling mod. Everything else about the headers is decoded in this mod.

Structs

Codebook
CommentHeader
FloorTypeOne
FloorTypeZero
IdentHeader
Mapping
ModeInfo
Residue
ResidueBook
SetupHeader

Enums

Floor
HeaderReadError

Errors that can occur during Header decoding

HuffmanVqReadErr

Small Error type for BitpackCursor::read_huffman_vq.

Functions

read_header_comment

Reading the Comment header

read_header_ident

Reading the Identification header

read_header_setup