av1: the per-unit bit-interval ladder, and the second 4:4:4 intra-BC witness at full exactness
The 4:4:4 intra-BC chroma fork at mi (20,40) is NOT an entropy fork, and the
count asymmetry that named it does not exist. Re-measured on
444_intrabc_rect4_witness.obu with a per-unit BIT-INTERVAL ladder against the
oracle's EC_ECDUMP_IN/_OUT/_END: 512 real txb_skip reads against the oracle's
513, not the ~1069 fewer an earlier round reported (that figure counted the
1883 zero-bit reads the rung fires for, and filtered one side only). Every one
of the 2365 in-stream units agrees on entry, post-txb_skip AND end-of-unit
position at a MEASURED constant offset of +14 bits; all_zero agrees on all 2395.
The 30 tail mismatches are end-of-buffer padding, not a fork. There is no first
divergent symbol, because there is no divergence in the coefficient ladder.
What the ladder ruled out is the finding. With entropy excluded and the filters
exonerated (oracle PREFILT == oracle FINAL on all three planes), the fork was a
wrong-PLACE write: our PREDICTION at the first divergent sample was byte-identical
to the oracle's (sum 26258 both, same first row), so the defect had to be a later
different write -- and the MC/inter write path had no rung to say so. Hence
EC_MCWR (the write's origin and shape) and EC_MCPUSH (the push site,
#[track_caller]), which named decode_intrabc_owned_rect's skip arm committing a
32x16 chroma window at (px/2, py/2) = (160,80) and leaving its own 64x32
footprint at (320,160) unwritten. Two difference components, 8 cells sharp and
1182 over the whole quadrant: one wrong-place write, not two defects.
That fix is ALREADY ON MAIN, in a more general form than this lane first wrote
it: 5324a685 (lane-av1chromarect) made the extent and origins ss-derived for
this whole function, skip arm included, after solving the missing-TxbSet blocker
that had forced this lane to scope its fix to the skip arm; 2c0fd2b9
(lane-av1chromadc) windowed the skipped-block chroma override per unit. Main's
version is kept, for a substantive reason: scoping to the skip arm would have
left a known-wrong shape in the arm that actually reads coefficients. This branch
is rebuilt from 79b2a73f and carries only the instrument, the gate and the
report; the pre-rebase commit e0a7b744 is on backup-av1ibcfork for the record.
With both landed the witness is byte-exact on all three planes, including the
"(416,192) residual tail" this lane had called a separate open defect -- it was a
consequence of the same wrong-place write, not an independent one.
Gate a_444_intrabc_rect4_witness_is_byte_exact_after_the_skip_arm_footprint: a
SECOND witness, not a repeat of chromarect's r512.obu gate, because the two
shapes fail differently -- r512's 128-root strips fail as a sizing error inside
the coefficient walk, while this witness's 64x32 skip block read no coefficient
at all, so its only symptom was pixels. Four arms: 4:4:4 header asserted, the
4:2:0 twin byte-exact (where >> ss_x IS / 2, so it is the measurement),
IBC_OWNED_RECT_CHROMA_FOOTPRINT_444_HITS >= 1, and FULL byte-exactness on all
three planes. Mutating the function back to the halving reds it at (x=160, y=80)
-- the same sample this lane measured by hand before the gate existed.
Also: SymbolDecoder::symr_mi(), because a per-unit rung needs a mi and
set_symr_mi only wrote it.