diff --git a/lanes/vp8.report.md b/lanes/vp8.report.md index 6a6816a3..6d9ec550 100644 --- a/lanes/vp8.report.md +++ b/lanes/vp8.report.md @@ -9,8 +9,8 @@ Never merged, never pushed. Pins untouched (no ec-av1 changes at all). |---|---|---| | M1 bool decoder + frame tag + full first-partition header | **done/verified** | commit `57b5a53a`; 12 unit tests green; real vpxenc/ffmpeg streams (6 sizes/q, 8-token-partition, WebP still) parse with exact partition tiling, correct dims (incl. 76x52 non-MB-aligned), 0 desyncs | | M2 key-frame-only decode, sample-exact vs ffmpeg | **root cause FIXED, verified at frame level** — decision-exact vs the reference model for the whole frame (19131 reads, 0 diffs) and frame-0 byte-exact vs ffmpeg on ALL 8 kf/mparts fixtures; the `keyframe_exact` suite goes 3/3 when inter frames land (each fixture carries 1 KF + inter frames), see M3 | commits `20f7d742`, `072f842f`, M2-fix commit (this one) | -| M3 inter frames | **major fix landed — gop frames 0-3 byte-exact; walled at frame 4+** — THREE M3 bugs fixed this session: (1) census above-left third-candidate merge is ALIVE (decodemv.c:366), (2) model hasy2 clobber for SPLITMV, (3) **long MV components must read bits 9,8,7,6,5,4 (mvlong_width=10) — bit 9 was missing**, which corrupted every large MV. Inter decode now: gop 4/60 frames exact, clip-obs 4/169, mparts 3/30, altref 1/90 (frame 0s + following); gop frame 1 at 95.3% then diverges. Remaining: next parse/reconstruct divergence from frame 4 (altref hits a hard decode Err at frame 35 — trace state committed). All traces (B/G/CNT/SP/TB/TBE/IMB/STAGE) in place for the next iteration | commits `151ef8ff`, `e01bec40`, `6152922e`, `e1eeec8d`, `8e1a04a9` | -| M4 public API + docs | **not attempted** | `Decoder::decode(&[u8]) -> Result>` exists; ec-av1-style `decode_stream` not yet | +| M3 inter frames | **done/verified — ALL fixtures byte-exact vs ffmpeg, every frame** | commits `151ef8ff`..`8e1a04a9` (M3 campaign) + `b0a648b0` (completion). Completion-pass fixes: (4) inter-frame B_PRED subblock modes use the FLAT vp8_bmode_prob `{120,90,79,133,87,85,80,111,151}` with no above/left context (libvpx decodemv.c:467 `fc.bmode_prob`; the kf_bmode context table is key-frame-only) — `decode.rs` `parse_inter_modes`; (5) MC filter is per-frame from the tag version bits (`vp8_setup_version`): version 0 = six-tap for BOTH planes — chroma was hardcoded bilinear; version 3 `fullpixel_mask` (~7) applied to chroma MV derivation (`decode.rs` Decoder::mc_bilinear/mc_fullpel, `mc.rs` sixtap/bilinear dispatch, `modes.rs` chroma_mv_*); (6) SPLITMV chroma quadrants are 4×4 CHROMA pixels at 4-px offsets predicted per quadrant — the old loop wrote 8×8 at 8-px offsets and the residual add read only the top-left quadrant's prediction (whole-MB modes masked it; every SPLITMV MB had wrong chroma); (7) key frame with refresh_entropy==0 reverts entropy to DEFAULTS (libvpx init_frame resets fc before lfc=fc), not the pre-keyframe context. Witnesses: `interframe_streams_match_ffmpeg` — gop-160x96 (60f), clip-obs-320x192 (169f), altref-160x96 (90f, frame-35 Err resolved) + mparts (30f) + all kf fixtures byte-exact; B-stream trace Rust↔model 0 diffs across full streams. Oracle model fixed to match libvpx (inter ymode/uv defaults [112,86,140,37]/[162,101,204], flat inter bmode). Suite 55 lib + 4 header_parse + 4 keyframe_exact, zero rustc warnings | +| M4 public API + docs | **done/verified** | commit `4b8b11d3`: `stream::decode_stream(IVF) -> Result>` + `stream::decode_stream_with` sink form `(picture, decode_idx, pts)` (hidden frames produce no sink call); container validated as ec_core::Error (DKIF/VP80/framing); `Picture: Clone`. Witness `tests/stream_exact.rs`: byte-exact vs ffmpeg on ALL 12 IVF fixtures + malformed-container error tests. Suite totals 55+4+4+2 green, zero warnings | ## What shipped (M1 `57b5a53a`, M2 WIP `20f7d742`)