Commits
Commits on
6828b152fbb3de7dbfdfdce189e9b72de86552f7Filtered to crates/ec-vorbis/src/codebook.rsClear filter2026-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.