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