forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-09-30

lane-av1txctxband2 r2: the mixed-lossless RESIDUE arms are the SAME missing publish, not three more defectsAhmet Kaan Gümüş · a87fc0c
lane-av1txctxband2 r2: the mixed-lossless RESIDUE arms are the SAME missing publish, not three more defects

lane-av1mixllconj §7 named three residuals on this recipe and declined to claim
them ("separate defects this change shrinks but does not remove"). Measured, they
are this lane's defect at smaller frame sizes: a lossy block reading a band a
lossless block above it should have published into and did not.

Measured on f2dd27b0~1 (= 0bfee517) against aomdec EC_AV1_FINAL_DUMP, decode
order, per differing frame:

  420_mixll_256x128_6f.obu  7 dumps  red f1..f6: 6051/4115/2962/26566/41876/14749
  420_mixll_320x240_5f.obu  6 dumps  red f1..f5: 15031/16259/21932/65405/90077
  420_mixll_320x240_6f.obu  7 dumps  red f6 only: 19398

With the one publish: 7/7, 6/6 and 7/7 byte-exact, 0 differing bytes on every
plane of every decode-order frame. Recipes reproduce mixllconj §1's byte counts
and sha prefixes (37fbe7cb, 40d613fd); m5_320x240's f2/f3 read 16259/21932 here
against the 16006/21930 that report records, because its table predates
lane-av1offtile's chroma-plane clip — f1/f4/f5 and both other cells match exactly.

- three fixtures, pinned by fnv1a64, and a second gate
  a_420_mixed_lossless_residue_arms_are_byte_exact_in_decode_order asserting all
  three (decode-order dumps, hidden frames, and the route-counter delta > 0)
- mutation proof widened: removing the one set_txfm_ctxs call turns the residue
  gate red on a PIXEL diff (6051 bytes on 420_mixll_256x128_6f frame 1 — the same
  number the pre-fix tree produced) while the 640x480 gate turns red on the
  REFUSAL, so neither gate is carried by the other
- lane-av1mixllconj's own 256x128 pin gate stays green under that mutation, which
  is the control that the fix is not what already made the pin exact

Reported independently by lane-av1mixllres, whose one-line fix is this lane's
already-landed line; measured here on this tip rather than taken on report.
lane-av1txctxband2: a LOSSLESS block still publishes its txfm band; the 640x480 mixed-lossless cell goes REFUSED -> 6/6 and 7/7 byte-exactAhmet Kaan Gümüş · e226c3b
lane-av1txctxband2: a LOSSLESS block still publishes its txfm band; the 640x480 mixed-lossless cell goes REFUSED -> 6/6 and 7/7 byte-exact

libaom's parse_decode_block is an EITHER/OR: the var-tx branch's condition
carries !xd->lossless[segment_id] as a conjunct, and the else branch runs
read_tx_size AND THEN set_txfm_ctxs. read_tx_size returns TX_4X4 on its
first line, so a lossless block skips the SYMBOL READ, not the PUBLISH.

read_block_tx_size's lossless early return skipped the publish too. On a
mixed frame every lossless square block therefore left above_txfm holding
whatever an earlier lossy block wrote. Measured on the 640x480 cell: the
abutting 8x8 INTRA lossless block at mi(78,110) left above_txfm[110] at the
16 a skipped 16-px inter block at mi(36,108) had written 43 mi rows earlier,
and the 8x4 intra leaf with use_filter_intra at mi(80,110) then read
tx_size_cat0[2] where libaom reads row 1 (oracle EC_TXCTXB: abv=4 lft=8
above=0 left=1 ctx=1). The tile desynced and the frame refused.

The RECT twin read_block_tx_size_rect has published on the same arm since
lane-av1lm444loss; only the square arm had the hole, which is why the class
was never swept.

- the cell decodes, 6/6 decode-order frames byte-exact at --limit=5 and 7/7 at
  --limit=6; the whole-stream paired EC_SYMR ladder is bit-identical over ALL
  457907 reads, the same count the inherited forced-ctx=1 mask reached
- corpus sweep, 110 committed fixtures before and after: 100 EXACT / 10
  REFUSED both sides, ZERO rows changing (all ten refusals are the pre-existing
  by-name 4:2:2 chroma refusal); 176x144, 352x288 and the 256x128 pin
  re-measured 6/6 byte-exact with the fix
- route counter LOSSLESS_SQ_TXFM_BAND_OVERWRITE_HITS on the DECISION (the
  publish overwrote a size an earlier block of the same frame had left), so
  the gate cannot be armed by merely decoding a lossless fixture
- gate a_420_mixed_lossless_alt_ref_640x480_txfm_band_publish_is_byte_exact_in_decode_order,
  fixture pinned by fnv1a64; mutation proof: removing the one set_txfm_ctxs
  call turns it red on the exact refusal
- class sweep context-band-not-published over 5 sites with a measured verdict
  each; the one other real gap (read_block_tx_size_rect's lossless arm missing
  the skip && is_inter term) is REACHED 29/1/9/6/16 times yet correcting it is
  a no-op on every fixture that reaches it, so it is handed over, not shipped
  without a red-before