forge
Explore
Log in

Don't you dare go Hollow

lane-av1-444sbf2: f2 still red after d5325172; gate not extended

Browse files at this commit

ef0d01e8c3636df9e12f090d759d327ea4648f60Ahmet Kaan GümüşParent: 11dc087
Measured the pinned 444 sb128 witness at 85ce04de with a fresh target dir
and per-frame strided slices: f2 vs aomdec AND ffmpeg is Y 7308 / U 9685 /
V 13854 (both oracles sample-agree with each other; f0/f1 byte-exact).
Stage ladder: f2 diverges at PREFILT -- Y 6952 / U 9568 / V 13496, first
diffs Y col128 row98, U col128 row64, V col128 row0 -- reconstruction,
before any loop filter; deblock/CDEF/LR only carry it. Every rung matches
av1lrflush r3's base measurements sample-for-sample, so the d5325172
entropy fix is inert on this fixture: the residual is DEFECT A unchanged,
the inter rect-strip recon/band-stamping reads on f2's inter 64x128 at
(128,0), no entropy desync. Gate stays take(2) (no wrong samples pinned);
the stale LR scoping comment stays for the paired take(3)+comment edit
once the entropy lane clears f2. Report-only commit; no decoder edit.
lanes/av1444sbf2.report.mdadded+74 -0
@@ -0,0 +1,74 @@
1+# lane-av1-444sbf2 — the 444sb witness f2 after d5325172: NOT exact; residual re-measured sample-identical to DEFECT A; gate NOT extended (r1)
2+
3+## Outcome
4+
5+1. Gate-extension precondition FAILED — frame 2 is not byte-exact, so
6+ `a_444_sb128_root_rect_stream_with_restoration_decodes_pixel_exact` stays at
7+ `take(2)`. Measured at HEAD 85ce04de (48411287 + the d5325172 cherry-pick)
8+ with the pinned fixture (`crates/ec-av1/fixtures/444_sb128rect_lr_witness.obu`,
9+ sha256 re-verified `27825e14633a4b23e37d48a2acdc7f5d814ca4fadd0b8797d72a1ffb34061e80`),
10+ a FRESH target dir (`cargo-target-av1444sbf2` did not exist before this lane;
11+ probe binary sha256
12+ `9f50af10a11fb77a3461e35427e75e616e29c3ff0403978db4a503e4ccecde3f`), and
13+ per-frame strided slices (92160 bytes/frame, W*H*3, planes Y/U/V at
14+ 0/30720/61440). Frame 2 vs BOTH oracles: **Y 7308 / U 9685 / V 13854**, and
15+ the two oracles agree with each other sample-for-sample on all three frames
16+ (ours is the diverging side; no measurement-method ambiguity this time).
17+ Frames 0/1: byte-exact vs both.
18+2. Stage ladder (instrumented oracle + ours, decode-order `.fN` dumps, 92160-byte
19+ crop-shaped files on both sides, default serial filter path): f0/f1 EXACT at
20+ PREFILT, POSTDEBLOCK, POSTCDEF and FINAL. f2 diverges already at **PREFILT** —
21+ Y 6952 / U 9568 / V 13496, first diffs Y (col 128, row 98), U (col 128,
22+ row 64), V (col 128, row 0) — i.e. in reconstruction, BEFORE any loop filter.
23+ The filters only carry the damage downstream: POSTDEBLOCK 6956/9568/13614,
24+ POSTCDEF 7307/9685/13722, FINAL 7308/9685/13854.
25+3. The residual is UNCHANGED by d5325172. av1lrflush r3 measured the identical
26+ ladder at base 48411287 (without the cherry-pick): PREFILT 6952/9568/13496
27+ with the same three first-diff samples, POSTCDEF 7307/9685/13722 — every rung
28+ I can cross-check matches my with-fix numbers exactly. The inter 1:4 strip
29+ chroma pair-rewrite fix (its t6 class) is inert on this fixture: f2's damage
30+ is a different (or wider) instance of the same inter rect-strip class, not
31+ the one d5325172 fixed. (The old r2 "FINAL V 14012" was r3's identified
32+ one-rung-off comparison artifact, not a fix effect.)
33+4. Site (STOP-WITH-SITE, unchanged from av1lrflush r3's DEFECT A): the inter
34+ rect-strip entropy/recon path on f2's inter 64x128 block at (128,0) — all
35+ three planes' first diffs enter at column 128 inside that block and
36+ everything downstream carries it. There is no entropy desync: both decoders
37+ consume the full stream and complete the frame with bounded diffs, so the
38+ symbol reads are identical and the divergence is in the strip's
39+ reconstruction / band-stamping reads — Agent044's `decode_rect4_16_strip`
40+ territory (their t6-adjacent class). r2's LR-stripe-0 attribution stays
41+ refuted (av1lrflush r3); the gate's scoping comment naming it is now stale
42+ but is deliberately left untouched here: per av1lrflush r3 §6 the comment
43+ fix and the `take(3)` extension land together in the SAME deferred edit
44+ once the entropy fix actually clears f2 — a comment-only commit on another
45+ lane's gate would split that pairing.
46+5. No decoder edit on this lane: 4:2:0 identity untouched by construction; no
47+ cargo check owed.
48+
49+## Verification
50+
51+- `a_444_sb128_root_rect_stream_with_restoration_decodes_pixel_exact`
52+ (unmodified): PASS at this HEAD — f0/f1 pins intact, non-vacuity
53+ `intra_sb128_hits` delta fires (target `cargo-target-av1444sbf2`).
54+- Ladder + slice numbers above produced from that same fresh target dir; the
55+ throwaway decode example and all `/tmp` dumps were deleted before commit.
56+- Both oracle references regenerated this session (aomdec
57+ `~/.cache/aom-oracle/build` binary, 2026-09-25 17:46; ffmpeg 8.1.2) and
58+ cross-agreed before any diff was trusted.
59+
60+## Decision
61+
62+- Gate NOT extended (assignment branch 2: "do not extend … do not pin wrong
63+ samples"). Asserting f2's current samples would freeze DEFECT A into the
64+ gate.
65+- Next owner: the entropy lane (inter rect-strip band stamping,
66+ `decode_rect4_16_strip`). Re-run THIS measurement (stage ladder + per-frame
67+ strided slices + fresh target dir, both oracles) after that fix lands; extend
68+ `take(2)`→`take(3)` and fix the stale scoping comment in the same edit only
69+ when f2 goes byte-exact.
70+
71+## State
72+
73+- Commit on lane-av1-444sbf2 (no push): this report only; production tree
74+ untouched since 85ce04de.