Commits
Commits on
1feddfcdc81f0cbdc13dcb3176cb656f12adc1ddFiltered to scripts/extract_vp8_tables.pyClear filter2026-09-12
ec-vp8 M1: bool arithmetic decoder, frame tag + full first-partition header parsing, RFC-transcribed tablesAhmet Kaan Gümüş · 5233d88
ec-vp8 M1: bool arithmetic decoder, frame tag + full first-partition header parsing, RFC-transcribed tables - bool.rs: RFC 6386 section 7.3 decoder (read_bool/literal/signed_literal/ maybe_signed/prob7/tree incl. the EOB-skipping token-tree form), plus a test-only reference bool encoder; round-trip tests at probability extremes, long LCG streams, literals to 19 bits, tree paths. - frame.rs: 3-byte LE frame tag, key-frame start code + dimensions/scaling, MB geometry. - header.rs: complete partition-1 header in dixie field order — colour space/clamping, segmentation (with cross-frame state), loop filter type/level/sharpness/deltas, token partition size table, quant indices, reference refresh/copies/sign-bias, coefficient probability updates, mb_no_skip_coeff, inter prob_intra/last/gf + ymode/uv/MV probability updates. PersistedState carries entropy/segmentation/filter deltas across frames and resets at key frames. - tables.rs: GENERATED verbatim from the RFC text by scripts/extract_vp8_tables.py (element counts asserted): default + update coefficient probs, kf_bmode_prob, coeff_bands, dequant lookups, Pcat1-6 (sentinel kept), default + update MV probs. - scripts/gen_vp8_fixtures.sh: libvpx-encoded IVF witnesses (6 sizes/q, 60-frame GOP, 8-token-partition vector via local vpxenc, WebP still). - Witness: real vpxenc/ffmpeg-produced streams parse with exact tiling of partition sizes, correct dims (incl. 76x52 non-MB-aligned), 8 partitions; VP8-in-WebP still decodes its header. 12 tests green, zero warnings.