forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-09-30

refutation pass: land the independent audit of the six exactness merges, and annotate the four reports whose figures it correctedAhmet Kaan Gümüş · 00ec0ee
refutation pass: land the independent audit of the six exactness merges, and annotate the four reports whose figures it corrected

No fix is refuted. 5 of 6 exactness claims CONFIRMED with every headline integer reproduced on the
lane's own before/after pair, measured with a comparator written from scratch (geometry an explicit
argument, both sides genuinely read, and per-cell liveness proven by flipping one oracle byte in each
of Y/U/V). The defects are all in report tables, and they are corrected in place rather than rewritten:

- av1444altref: the decode-order TOTAL is 397 (0 Y / 185 U / 212 V), not 317 -- 317 is the DISPLAY-order
  figure (it reproduces exactly on that basis), and the gap is the hidden picture. Per-picture f13 is
  15, not 80. The merge is still the commit that moves ll444_c: its first parent a20aba01 and the base
  3698787d both give 8/18 decode-order exact (0/185/212), 9367642a and all descendants give 18/18 (0/0/0).
- av1422llpred: X_intrabc_tiled is not 'no change' -- its U plane moves 421744 -> 421746 (+2) on the
  report's own display-order basis; W is exactly delta 0.
- av1422lpf: the 'Golomb tail' refusal on W/X does not occur at 3698787d (17/17 pictures, no message),
  and 'they do not decode to completion' is false -- rung 12 zips 17 frames per side. The
  4:2:0-specificity evidence does not reproduce either: the '1028 out of range for slice of length 1024'
  panic appears only on ll422_noibc, a 4:2:2 cell, and the cell the report used is pinned by no sha.
- av1422llinter2: '24 of 31 exact before' vs its own table's 23, and decode.rs:24618 is statically
  UNREACHABLE (24544 subsumes it) rather than 'already shape-generic' -- the conclusion 'no fourth
  reachable site' holds.

The six fixes themselves are untouched: the merge that closes the panic family panics at
decode.rs:37565:24 on its base exactly as reported and decodes 17/17 with exit 0 after; the altref gate's
comparator runs aomdec as a subprocess and reads its file off disk; and llinter2's three fixed arms were
re-measured with counters at 131/356/202 (W), 148/376/178 (X), 3/166/565 (Y).
lane-av1422llpred: per-axis reach for lossless 4:2:2 chroma (r1: the found fix; r2: the class sweep)Ahmet Kaan Gümüş · 177f6ca
lane-av1422llpred: per-axis reach for lossless 4:2:2 chroma (r1: the found fix; r2: the class sweep)

r1 -- THE FIX (lane-av1422llpred). read_intra_chroma_lossless computed the per-TU Reach with
tu_reach(side, side, col_off, row_off, 4 << ss_x(fctx), ...), and tu_reach takes ONE transform size and
passes it as BOTH tx_w and tx_h, so the transform HEIGHT came from ss_x instead of ss_y. A TX_4x4
chroma unit is 4 << ss_x luma px WIDE but 4 << ss_y luma px TALL; at 4:2:0 and 4:4:4 the two shifts are
identical, which is exactly why both formats have been byte-exact and only 4:2:2 could reach it.
Now tu_reach_rect with tx_h = 4 << ss_y(fctx) (decode.rs:37568). The sibling walk in decode_block
already did this correctly with separate spans.

libaom: av1_dr_prediction_z3_c (reconintra.c:609) with the reach decided by has_bottom_left
(reconintra.c:411) -- row_off + tx_size_high_unit[TX_4X4] < AOMMAX(mi_size_high[bsize] >> ss_y, 1).
Ours before: row_off + tx_h < bh -> 0 + 8 < 8 -> false, so below_left was denied. After: 0 + 4 < 8 -> true.
WHY INTERIOR-ONLY: build_directional_and_filter_intra_predictors (reconintra.c:1150) fills left_col[0..3]
and only extends to [4..7] when n_bottomleft_px > 0; with the reach denied our Edges::build replicated
left_col[3] across 4..7. z3 reads left_col[base]/[base+1] with base = (23*(c+1)+r)>>6, so row0 and col0
only read [0..3] (byte-identical) while the interior reads the replicated tail. Feeding libaom's own
formula the 8-sample left column reproduces the oracle's col0 exactly -- the arithmetic was right, the
edge was short.

MEASURED by Main on a bypassed release build of this branch vs the oracle (aomdec --rawvideo, per
plane, 320x240 4:2:2 intra): ll422_allintra Y 0 / U 3126 -> 2984 / V 3139 -> 3067. Prediction-sum
disagreements 490 -> 453 of 9600 paired units. W_intrabc and X_intrabc_tiled UNCHANGED
(917974/474506/487694 and 864325/421718/414871) -- both are inter/intrabc streams and the changed
function is reached only from intra lossless 4:2:2. Oracle-flip control: one oracle V byte rotated
moves V by exactly +1.

r2 -- THE CLASS SWEEP, done by Main, because r1 fixed one instance of a shape with more. tu_reach takes
ONE size for two axes; grepping every call site for a subsampled single size found TWO more, both in
decode_rect4_16_strip (18985 and 19072), both converted to tu_reach_rect with tx_h = 4 << ss_y(fctx).
The remaining 15 tu_reach sites pass no subsampled size, and the sites that already used separate sizes
(19022/19116/37613/37783) were already correct. MEASURED: a no-op on both 4:2:2 cells we have
(W_intrabc byte-for-byte the same counts; ll422_allintra unchanged), so those two are recorded as
correct-for-the-4:2:2-port and NOT as a measured win -- they are provably an identity at 4:2:0 and 4:4:4
where ss_x == ss_y, which is the only reason they are safe to land unmeasured.

NOT GATEABLE, stated plainly: 4:2:2 is refused at the sequence header (stream.rs:1803), so no committed
test build can reach read_intra_chroma_lossless at ss (1,0) and no committed test can gate this. The
evidence is the measurement table plus the oracle-flip isolation control -- no source-scan substitute,
and this change is NOT described as gated. Regression: 422/lossless/444/warp/intra -> 175 passed,
0 failed, 2 ignored.