forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 8a5feaaf4eec5ffa092cf5d42e7919f05c221426Filtered to crates/ec-vorbis/src/codebook.rsClear filter

2026-08-21

2026-08-14

feat(vorbis): Vorbis I decoder and encoderAhmet Kaan Gümüş · c0023ff
feat(vorbis): Vorbis I decoder and encoder

Decode is the whole format: codebooks with the entry-order codeword rule
(not sorted-canonical - a Laplacian book assigns differently and every
packet desynchronises silently), floor 0 and floor 1, residues 0/1/2,
square-polar coupling, every blocksize and the four long-window shapes.
Encode writes its own codebooks and a setup header per channel layout,
centres the first block on input sample 0 so no caller pre-roll is needed,
and states the input's own sample count as the last granule.