forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to lanes/av1422444b.report.mdClear filter

2026-09-30

lane-av1422444b: the census annotations are folded in (additive, nothing rewritten), and my own comparator's three bugs are written down with their fixesAhmet Kaan Gümüş · 4fe36ff
lane-av1422444b: the census annotations are folded in (additive, nothing rewritten), and my own comparator's three bugs are written down with their fixes

Report-only. No source change; nothing pushed; committed on lane/av1422444b in this lane's
own worktree with absolute paths, rebased onto 36c6f731 first so the census edit applies to
the merged copy.

CENSUS ANNOTATIONS (4 sites, additive). Every original sentence and table row is left
standing, so the record still shows what was believed on which tree; each correction is a
bracketed [CORRECTED 2026-09-30 by lane-av1422444b: ...] note naming the tree (ed7c99bc was
36 commits behind main), the fix (f3afa5b7, an ancestor of main) and the numbers (0/0/0 vs
ffmpeg on 16 shown frames, 0/0/0 vs instrumented aomdec on all 17 decode-order frames):
  1. section 3.2's still-diverging table, after the s444_352x242_10b row -- superseded;
  2. section 3.4's "4:4:4 controls: 21 of 22, single exception" -- true only of the census's
     own two trees; at main 22/22, and the control it carried now holds twice over;
  3. section 7.1's class D row -- class D is EMPTY; placed AFTER the table so the table is
     not split (my first attempt cut it in half and was corrected);
  4. section 7.2's "A lift would not fix class D" -- the constraint is GONE, so no 4:4:4
     exception bounds a lift. The two 4:2:2 bullets there are explicitly untouched.

COMPARATOR BUGS, now section 3.2 of my own report, each with its fix and its tell:
  1. missing plane offset on the OURS buffer (oracle indexed per frame, ours read at
     per-plane-zero) -- reported 1362686/1362769 wrong chroma samples on an EXACT cell;
     fix is one `base` per plane added to BOTH sides' indices. Tell: implausible magnitude
     and a first divergence at (0,0) of a non-luma plane.
  2. geometry parsed from the cell's FILE NAME -- s444_320x240 read as 320x320, and the
     4:2:0 cells reported as "ours=16 ref=8", which reads like a decoder dropping frames;
     fix is ffprobe width/height/pix_fmt on the cell itself, chroma extents as
     ceil(w/2**ss_x) x ceil(h/2**ss_y). Tell: a frame count that disagrees with
     -count_frames.
  3. bps hardcoded to 2 -- every 8-bit cell's frame size doubled, so the oracle length
     stopped being a multiple of it, an error that reads like a truncated oracle; fix is
     bps derived from the cell's own pix_fmt. Tell: the not-a-multiple hard error firing
     only on the 8-bit cells.
The general lesson recorded with them: all three report a NUMBER rather than refusing to,
which is why the liveness controls are ordered before the verdicts and why a comparator
should hard-error on a geometry it cannot account for.
lane-av1422444b: s444_352x242_10b is ALREADY byte-exact at main -- the census row is superseded by f3afa5b7, and here is the measurementAhmet Kaan Gümüş · 990a9b4
lane-av1422444b: s444_352x242_10b is ALREADY byte-exact at main -- the census row is superseded by f3afa5b7, and here is the measurement

REPORT ONLY, no source change. The tree is byte-identical to main (affe70dc); git diff is
clean after the mutation of section 4 was reverted. The 4:2:2 sequence-header refusal is
untouched and EC_AV1_ALLOW_422_PROBE was never needed -- 4:4:4 is a supported format, so
this cell decodes on the shipped tree with no bypass.

OUTCOME: the cell is byte-exact against ffmpeg 8.1.3 on all 16 shown frames (0/0/0, no
first divergence, empty wrong-sample bbox) AND against instrumented aomdec on all 17
decode-order frames including the hidden altref (0/0/0). The census's 0/1166/1413 was a
true reading of ed7c99bc, a tree that predates f3afa5b7, which this lane confirms is an
ancestor of main. The committed fixture is byte-identical to the census cell
(sha256 84df2f37...), so the two measurements are of the same bitstream.

CAUSE, and it is 4:4:4-SPECIFIC, not shared with the 4:2:2 family: decode_block_rect64
(decode.rs:20051) caps chroma units at 32, so at ss=00 a 64-axis luma strip's chroma is
TILED, and both tiled arms handed each unit the WHOLE block's palette prediction buffer
while PlaneBuf::reconstruct reads its first side*side entries. Unit (0,1) reconstructed
the block's row-0 palette where libaom writes row 32's. f3afa5b7 routes both arms through
palette_window (decode.rs:3009). The 4:2:2 family's b8eed69f is a different arm at a
different depth (sub8_leaf_chroma422's skipped-INTRABC DV copy), and 4:2:0 is structurally
immune here because nw*nh == 1 on every 4:2:0 block. The sensitive axis is CHROMA UNIT
COUNT, not frame width or height -- which is why the sibling geometries at the same
depth were already exact.

GATE: pre-existing and pinning this exact cell, so no duplicate was added --
a_444_lossy_palette_chroma_unit_window_is_byte_exact_at_352x242_10bit (stream.rs:51024).
Green at main (17 decode frames, 1 hidden, 4 windowed units). RED PROVEN BY MUTATION on
this tree: with palette_window reverted in both tiled arms the gate fails at decode frame
0 byte 328192 (ours 209 vs 216), and the ffmpeg comparator measures 0/1112/1362 with the
first divergence at frame 0 plane U row 224 col 64 -- a 32x32 unit plus the 19 columns a
neighbouring PAETH block propagates, with luma 0 in every frame, so it is a per-frame
chroma RECONSTRUCTION error and not an entropy-read desync. Restored to green.

COMPARATOR LIVENESS, proven before any exact verdict was read: one-sample flip on the
byte-exact cell moves each plane by exactly +1 and leaves the other two at 0, all three
arms; ffmpeg and aomdec rawvideo are byte-identical over all 8177664 B; and the mutated
tree reds on the same comparator. Two of my own instrument bugs were caught by these
controls rather than by reading a verdict and are recorded in the report: an ours-buffer
plane offset that reported 1.36M wrong samples on an exact cell, and a file-name-parsed
geometry that miscounted the 4:2:0 cells.

FAMILY SWEEP at main, no skips: 18/18 fresh 4:4:4 sweep cells, 18/18 fresh 4:2:0 sweep
cells, 36/36 committed 4:4:4 fixtures, 69/69 committed 4:2:0 fixtures, all 0/0/0. The
sibling gate for the horizontal arm of the same walk
(a_444_palette_chroma_horizontal_unit_window_is_byte_exact_10bit_and_12bit) is also ok.
Section 6 lists the three census edits this supersedes, left to that report's owner.