forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 176bd7ccf255b16bbab0a34f46f234a09d4bb4fd

2026-09-28

lane-av1422warp: ladder walked -- first-delta read is the luma mode at mi(64,24)Ahmet Kaan Gümüş · 176bd7c
lane-av1422warp: ladder walked -- first-delta read is the luma mode at mi(64,24)

Report only; tree byte-identical to ac874969, bypass reverted, aomdec
rebuilt to its committed shape (grep -c bitpos = 0, MODECTX = 0).

Ladder rebuilt with round 13's emission fix on both sides, then
reverted. Instrument note: the two rung SETS differ per path (the
oracle emits a tx_type step this decoder's rect reader has no print
for), so a strict index walk breaks immediately; the ladder is walked
on the all_zero anchors both sides emit once per transform unit, and
the delta map is read off the bit positions in between.

Delta map: constant -14 for every transform unit 0..2427, -11 at 2428.
Inside that window, every oracle read up to and including mi(64,24)'s
dq has a counterpart on our side at +14; the first read without one is
mi(64,24)'s luma mode.

NAMED: the luma mode symbol of mi(64,24). Oracle mode val=6, ours
val=1. The oracle's read spans 92323->92327 (4 bits), ours 92337->92342
(5 bits). Every earlier read pairs exactly; the deviation begins here
and persists to the window end, which is where the -14 -> -11 step
comes from. Same block as the round-7 structural consequence (one 32x32
luma TU against 8x8 leaves).

NOT yet named: same block size and same bit position, different symbol
VALUE, so the divergence is the kf_y_mode[above_ctx][left_ctx] CONTEXT.
This lane tried to print it on both sides and did not get a paired
measurement -- our block reaches read_intra_mode_rect, not the square
read_intra_mode the print was placed in, and the oracle-side MODECTX
rung did not fire in the time available. Both reverted; no fix claimed.

Unblock: print the mode context at mi(64,24) on both sides (ours from
read_intra_mode_rect, the path that block takes; the oracle's from
get_y_mode_cdf) and compare above_mode/left_mode. The unit ladder is
now trustworthy, so once the context pairs the fix follows directly
and the ladder re-run confirms it.

Credit: round 13's instrument correction is what made this round
possible; rounds 11 and 12 both reported artefacts of that placement.
lane-av1422warp: SETTLED -- the oracle consumes use_filter_intra/filter_intra_mode and our reads matchAhmet Kaan Gümüş · 4fe52c7
lane-av1422warp: SETTLED -- the oracle consumes use_filter_intra/filter_intra_mode and our reads match

Report only; tree byte-identical to 76d692e7, bypass reverted, aomdec
rebuilt to its committed shape (grep -c bitpos = 0).

Rung emission fixed: the bit position is appended BEFORE the format
string's \n so it lands on the same physical line (18 EC_ISTEP and 14
EC_COEFF_STEP sites). With correct emission the oracle at mi(68,16) reads

    angle_uv -2 @92312, use_filter_intra 1 @92312,
    filter_intra_mode 3 @92313, next block skip @92323

which is IDENTICAL to ours -- same values, same bit positions, same
next-block position. The oracle consumes both symbols. This window is
closed and the two extra reads rounds 11 and 12 chased never existed.

Mechanism, recorded so it is not repeated: with the position on the
previous line, a record-wise parse (split on EC_ISTEP, read bitpos from
inside the record) attributes each read's position to the PRECEDING
read, because that is the line it was physically printed on. The two
filter_intra reads therefore carried the positions of the reads before
them, and a window bounded on those positions silently excluded them.
Sharper than round 8's lesson: with a multi-field rung a positional
parse is only as good as the field's placement, and a field landing on
an adjacent line does not announce itself, it just misattributes.

The round-10 '3 bits short' measurement stands but its window does NOT
contain the divergence -- the mode reads there are now proven to match
symbol for symbol and bit for bit. Re-anchoring the ladder past
mi(68,16) to find the real first-delta read is the next step and is
unchanged; this lane ran out of budget before it.
lane-av1422warp: RETRACT round 11's conclusion -- libaom's own predicate says allowed=1Ahmet Kaan Gümüş · b16dd2a
lane-av1422warp: RETRACT round 11's conclusion -- libaom's own predicate says allowed=1

Report only; tree byte-identical to 6bb5595a, bypass reverted, aomdec
rebuilt to its committed shape (grep -c PALSZ = 0).

Round 11 was wrong twice, both from trusting a print without checking
how it is emitted.

Error 1, parse artefact: the oracle's EC_ISTEP bit position is inserted
after the format string's \n, so it lands on the PREVIOUS line, and
round 11's line-filtered window dropped every oracle
use_filter_intra/filter_intra_mode line it was hunting. Re-parsed
record-wise the oracle emits 241 use_filter_intra lines, and the
observation survives: at mi(68,16) we read use_filter_intra val=1 and
filter_intra_mode val=3 between angle_uv and the next block, and the
oracle shows none there.

Error 2, and this one kills the conclusion: round 11 said
av1_filter_intra_allowed should have suppressed those reads and that
enable_filter_intra or palette_size[0] was the disagreeing input.
Measured with a rung inside libaom's own read_filter_intra_mode_info:

    PALSZ mi=68,16 bsize=8 mode=0 psize0=0 efi=1 wide=32 high=16 allowed=1

allowed=1. libaom's predicate IS satisfied -- DC_PRED, palette_size 0,
enable_filter_intra 1, 32x16 within wide<=32 && high<=32. Both
previously-unmeasured inputs AGREE with us. There is no stale palette
state and no header-bit disagreement, and round 11's framing is wrong.

What remains: our two reads are real in the bit stream while libaom's
predicate says the corresponding reads are allowed, so the divergence is
not a missing/extra gate in the sense round 11 described and this lane
cannot say what it is. The residual tension is internal to the
instrumented oracle -- its allowed=1 and its absent use_filter_intra
EC_ISTEP at mi(68,16) do not sit together, which points at the
oracle's instrumentation rather than at a decoder defect.

Unblock restated: do NOT gate our use_filter_intra read. First settle
the oracle -- does aomdec consume the symbol at mi(68,16)? Compare its
bit position after angle_uv with the mode-info trace, with the bit
position emitted on the SAME line. Only if the oracle genuinely does not
consume it is our read the defect.
lane-av1422warp: name the two extra reads -- use_filter_intra + filter_intra_mode at mi(68,16)Ahmet Kaan Gümüş · bec2869
lane-av1422warp: name the two extra reads -- use_filter_intra + filter_intra_mode at mi(68,16)

Report only; tree byte-identical to 4cc74580, bypass reverted, aomdec
rebuilt to its committed shape (grep -c bitpos = 0).

Mode-rung bit positions added on both sides (our EC_ISTEP per-symbol
macro, the oracle's twelve EC_ISTEP prints in decodemv.c), paired
bit-position-anchored throughout, then reverted.

With the constant -14 folded in, the window shows the oracle's mode info
for mi(68,16) ending at angle_uv while ours continues with TWO EXTRA
reads:

    ours 92326 use_filter_intra val=1    <-- EXTRA
         92327 filter_intra_mode val=3   <-- EXTRA

The oracle's silence is not a rung gap: its use_filter_intra print sits
inside if (av1_filter_intra_allowed(cm, mbmi)) and its filter_intra_mode
print inside if (...use_filter_intra) (decodemv.c:638-656), so a missing
line means the read did not happen.

The block is the same on both sides, enum-resolved per the round-8
lesson: oracle EC_IMODE bsize=8 and enums.h:100-115 makes 8 =
BLOCK_32X16; ours reads fn=rect bw=32 bh=16. Same footprint, same bit
position.

The gate that should have suppressed them is av1_filter_intra_allowed
(reconintra.h:75-79): mode == DC_PRED && palette_size[0] == 0 &&
(enable_filter_intra && wide <= 32 && high <= 32). The block satisfies
the mode and size conditions, so the suppressing input is one of the two
this lane did NOT measure -- the sequence header's enable_filter_intra
or the block's palette_size[0]. This lane ran out of budget before
measuring either and does not claim which.

Unblock is now short: print enable_filter_intra and palette_size[0] for
this block on both sides and compare against the predicate. One boolean,
and the fix is one gate on the use_filter_intra read.
lane-av1422warp: second window bisect -- 3 bits short, in the mode readsAhmet Kaan Gümüş · 9048e8a
lane-av1422warp: second window bisect -- 3 bits short, in the mode reads

Report only; tree byte-identical to a7506ee2, bypass reverted, aomdec
rebuilt to its committed shape (grep -c bitpos = 0).

EC_COEFF_STEP bitpos re-added on both sides, paired, reverted again. The
bit delta is the same constant -14 for every coefficient unit from 0
through 2427 and changes at 2428: the oracle consumes 18 bits across
that unit, we consume 15. We are 3 BITS SHORT -- the mirror image of
round 6, where we were 6 bits long.

The window holds only two all_zero=1 skips, so no coefficient read falls
inside it; the three bits live in the block-mode reads (skip, cdef,
delta_q, mode, angle_delta, uv_mode, angle_delta_uv, use_filter_intra,
filter_intra_mode) that no rung on either side currently carries a bit
position for.

A trap recorded per the round-8 lesson: the unit INDEX pairing is only
valid while the bit delta is constant, and it stops being a safe guide
exactly here. Our decoder emits 2680 coefficient units against the
oracle's 2512, and a skipped unit's txb_skip read can cost as few as one
bit, so extra skip units coexist with a constant delta. In the window
the oracle's unit 2427 is plane=2 and ours is plane=0 -- the indices no
longer name the same block though the bit positions still agree. Pair
bit positions, never unit indices, from here on.

Enum discipline applied to what is printed: plane=0/1/2 is libaom's
PLANE_TYPE_Y/U/V; side=8 is our square reconstruct's side (an 8x8
transform unit); ctx on both lines is the txb_skip context, NOT a
tx_size context. Nothing here is claimed to be a bsize, partition or
tx_size category, so no enum lookup is needed to read it.

Unblock: add a bit position to the MODE rung on both sides (our EC_ISTEP
per symbol, and decodeframe.c's intra mode-info read on the oracle) and
pair the eight mode reads across the window. Three bits across seven or
eight reads is a single short read.
lane-av1422warp: RETRACT round 8's bsize claim; same block size, same tx contextAhmet Kaan Gümüş · 439da94
lane-av1422warp: RETRACT round 8's bsize claim; same block size, same tx context

Report only; tree byte-identical to 4dfeb024, bypass reverted, a420.obu
still byte-exact.

Round 8 read the oracle's PARTB bsize=9 as BLOCK_64X32 and concluded the
block size entering the partition read was the divergence. The real enum
(enums.h:100-115) makes bsize=9 BLOCK_32X32 -- the SAME block size we
decode. Round 8 also mis-called bsize=15 a 64x16 (it is BLOCK_128X128,
the superblock root) and bsize=12 a BLOCK_128X64 (it is BLOCK_64X64).
That conclusion is retracted in the report rather than left standing.

Round 9, with the enum right: at mi(64,24) both decoders are on a 32x32
block and read the same tx_size row at the same context -- oracle
EC_TXCTXB maxw=32 maxh=32 ctx=1, ours tx_depth ctx=1, and
bsize_to_tx_size_cat(BLOCK_32X32)==2 matches our max_tx==32 arm. So the
tx_size lookup is not the divergence either.

The reader state already differs at mi(64,24)'s FIRST symbol (skip,
oracle rng 39524 vs ours 40716) while the coefficient ladder pairs
through unit 2427, so the desync window is the reads between unit
2427's block and mi(64,24)'s skip -- the same narrow between-two-units
window round 6 characterised, at its second occurrence. The structural
difference at mi(64,24) is real and downstream; the desync is upstream
of it and is still to find.
lane-av1422warp: the mi(64,24) partition reads PAIR -- the bsize entering them does notAhmet Kaan Gümüş · 3a293e4
lane-av1422warp: the mi(64,24) partition reads PAIR -- the bsize entering them does not

Report only; tree byte-identical to 20929703, bypass reverted, aomdec
rebuilt to its committed shape (grep -c PARTB = 0).

Partition rungs added and reverted on both sides. Two results:

1. Bottom-edge truncation is RULED OUT. libaom recomputes
   has_rows = (mi_row + hbs) < mi_rows with the CURRENT bsize's hbs
   (decodeframe.c:1292) and so does ours, per level; both go has_rows=0
   at the SB and 64 level and has_rows=1 from the 64x32 level down. The
   edge arithmetic agrees at every level of SB row 64.

2. The partition reads themselves are IDENTICAL -- same bit positions
   under the constant -14, same values:

     mi=64,16 bsize=9  bitpos 92247/92261  value 1/1
     mi=64,24 bsize=9  bitpos 92321/92335  value 0/0
     mi=64,32 bsize=9  bitpos 92356/93518  value 3/2  <- diverged

At mi=64,32 we are 1162 bits behind. The gap opens in the block AFTER
mi=64,24: the oracle spends 33 bits there, we spend ~1183.

So the named divergence is the BLOCK SIZE entering the partition read,
not the partition symbol. The oracle reads it for a BLOCK_64X32 and
lands PARTITION_NONE on a 64x32 leaf (one 32x32 luma TU + 16x32 chroma);
we read a partition at the same bit with the same value and land on a
32x32 SQUARE coded as 8x8 leaves. Same position, same symbol, different
bsize in and different block out -- so the bsize is decided one or more
levels ABOVE mi(64,24), in the HORZ/SPLIT walk that produced the child.

Left, and deliberately not started here: tracing the bsize lineage from
the SB root down to mi(64,24 needs the bsize field on our rung, which
is another instrumentation round rather than a continuation of this one.
The scan-table question stays open and cannot be re-checked until the
partition tree is right.
lane-av1422warp: localize the mi(64,24) boundary to a partition/bsize decisionAhmet Kaan Gümüş · a3d0b2b
lane-av1422warp: localize the mi(64,24) boundary to a partition/bsize decision

Report only; tree byte-identical to b23a3047, bypass reverted, a420.obu
still byte-exact.

At mi(64,24) the oracle walks a 64x32 rect (bsize=9) and codes a 32x32
luma TU; we walk a 32x32 SQUARE and code 8x8 leaves (tx_depth=2 on a 32
side). So the PARTITION symbol is where the decoders part company, not
tx_depth and not a neighbour vote. The block is on the frame's last
superblock row (32 rows of 288), inside SB(mi_row 64, mi_col 0).

Both step traces already differ at that block's first symbol while the
coefficient ladder pairs through unit 2427 (mi(68,16)'s V chroma), so
the desync window is the reads between mi(68,16)'s chroma tail and
mi(64,24)'s mode read.

Stopping here because the partition rungs this lane has do not fire for
these blocks and the round 5-6 bit-position rungs are reverted: closing
it needs a fresh instrumentation round aimed at the superblock partition
symbol and its context. That is a scheduling decision, not another step
inside this lane. The scan-table disagreement from round 5 is in the
same structure family and is flagged to be looked at alongside it.
lane-av1422warp: report -- defect 3 partially fixed, new class handed offAhmet Kaan Gümüş · 62e9236
lane-av1422warp: report -- defect 3 partially fixed, new class handed off

Records the landed rect-leaf dc-sign fix (abae108a) with its before/after
vote, the 1418->2427 boundary move, the 16-frame red/green, the four
identity proofs, and the new mi(64,24) 32x32-vs-8x8 boundary as a
different class (block/partition structure, not a neighbour vote).
lane-av1422warp: a 4:2:2 rect leaf's chroma dc-sign vote must sample chroma cellsAhmet Kaan Gümüş · cb5d22b
lane-av1422warp: a 4:2:2 rect leaf's chroma dc-sign vote must sample chroma cells

decode_leaf_rect's around_mi_rect call was the one 4:2:2 chroma gather in
the file still ungated: at ss (1,0) a 16x8/8x16 luma leaf's chroma is a
SQUARE (side/2, side) block, so `side` chroma 4-px cells above it spread
over `side` LUMA mi columns, one chroma column per PAIR of luma mi cells,
and both cells of a pair carry the covering unit's whole-unit dc sign. The
per-mi rect gather therefore double-counts every chroma column's sign.
around_mi_422_chroma's every-second above-cell sampling IS libaom's
txb_w_unit sum, and every sibling gather in this file already routes
through it under `ss_x == 1 && ss_y == 0`; this one did not, so a 4:2:2
rect leaf voted over luma unit counts.

Measured on the pinned 4:2:2 rotzoom stream (a1.obu frame 0, cut to
a1_f0.obu). The 16x8 leaf at mi(48,28) resolved its V plane's dc sign
from vote 0 -- dc_sign_cdf[0] -- where the oracle resolves a negative
vote, dc_sign_cdf[1]:

  before  EC_DCDUMP    mi=(48,28) plane=2 wh=(16,8) vote=0
          above=[None/6,None/6,Some(false)/7,Some(false)/7]  FOUR cells
  after   EC_DCDUMP422 mi=(48,28) plane=2 wh=(16,8) vote=-1
          above=[None/6,Some(false)/7]                       TWO cells

Red/green. The bit offset between the two decoders is a clean constant
through coefficient unit 1418 and turned 6 bits at 1419; after this fix
unit 1418 pairs and the first divergence moves to unit 2427. Frame 0
coefficient units: 1959 wrong-shaped before, 2680 after (oracle 2512).
Whole stream, 16 frames vs aomdec --rawvideo: 1619115 -> 1380482
differing samples. Still 0/16 frames exact -- see the hand-off below.

Identity, measured four ways, all unchanged:
 - 4:2:0 control a420.obu byte-identical to aomdec --rawvideo. The gate
   is ss (1,0), so the sampler is not reached at 4:2:0 or 4:4:4; `chroma_422`
   is already computed in this arm for the scan selection.
 - 4:4:4 444_sb128rect_lr_witness.obu byte-identical to the pre-lane build.
 - pinned 422_allskip_2f.obu (2 frames) and 422_sb128_3f.obu (3 frames)
   still pixel-exact against aomdec.
 - the decodetxb/aomdec EC_DCSIGN and EC_COEFF_STEP bitpos rungs used to
   pin this are all reverted; aomdec is rebuilt to its committed shape.

Hand-off: the new first divergence is at coefficient unit 2427 / TU 2428,
mi(64,24), where the oracle codes a 32x32 luma TU and we code 8x8 leaves.
That is a different CLASS from this fix -- block/partition structure, not a
neighbour vote -- so it is reported rather than chased.
lane-av1422warp: the defect-3 dc-sign VERDICT -- our value is wrong, the rect path votes over luma unit countsAhmet Kaan Gümüş · 3d97c32
lane-av1422warp: the defect-3 dc-sign VERDICT -- our value is wrong, the rect
path votes over luma unit counts

Report only. No code change; the tree is byte-identical to 2959d233, the
EC_AV1_ALLOW_422_PROBE bypass is reverted, and the oracle's instrumented
aomdec is rebuilt to its committed shape (grep -c DCSIGN = 0).

VERDICT, the thing the last round left open: our dc_sign_ctx value is
GENUINELY wrong, not a drifted CDF adaptation state.

First, a wrong turn recorded so nobody repeats it: our dc_sign_ctx TABLE is
correct. libaom's dc_sign_contexts is 65 entries read at dc_sign + 32;
extracted programmatically it is dc_sign < 0 -> 1, == 0 -> 0, > 0 -> 2,
which is exactly what dc_sign_ctx's signum buckets compute. A hand count
of that table literal reads as a different mapping and would have sent the
next lane after a non-bug. Verified programmatically, not by eye.

The VOTE differs. Ours resolves ctx 0, libaom resolves ctx 1, i.e.
libaom's dc_sign is negative and ours is 0. Our own EC_DCDUMP at the block
in question names the input:

    EC_DCDUMP mi=(48,28) plane=2 wh=(16,8) vote=0
      above=[None/6, None/6, Some(false)/7, Some(false)/7]   FOUR cells
      left =[Some(true)/7, Some(true)/7]                     TWO cells

wh=(16,8) is the block's LUMA footprint, so the rect path summed the vote
over 4 above + 2 left cells. The unit being decoded is the 8x8 V CHROMA
transform, whose own txb_w_unit/txb_h_unit are 2 and 2 -- libaom reads two
above cells. Dropping two above cells can drop a negative contribution and
produce exactly the 0 we resolve.

THE CAUSE: the 4:2:2 chroma correction exists but is not wired into this
path. around_mi_422_chroma -- whose own comment says libaom reads its above
votes over txb_w_unit CHROMA 4-px cells and that sampling every second above
cell IS libaom's sum -- is reached 1653 times on this stream, but NOT for
this block: mi(48,28) prints EC_DCDUMP, not EC_DCDUMP422. The rect path
(around_mi_rect) has no 4:2:2 variant, so a 4:2:2 RECT block votes over the
luma unit counts. Same neighbour-read family as the smooth_uv fix, same
file, same reason: a per-axis shape correction applied to some paths and
not to the rect one.

This lane ran out of budget before landing the fix; handed off with the
evidence. Refined unblock: route the rect path's dc-sign vote through
around_mi_422_chroma the way the square/leaf paths already are.

On Main's caution about the scan-table finding: CHECKED, and the caution
does not explain it. Unit 1418 is mi(48,28) plane 2 and it PAIRED on both
sides as 8x8 with an identical prediction sum (9024); the tiling divergence
(TX_4X4 vs TX_8X8) is at unit 1419, the NEXT unit. So unit 1418 is 8x8
on both sides and "a different scan table by design because the tx size
differs" does not apply to it. The finding stands, second priority.
lane-av1422warp: name the defect-3 read -- the DC sign context, dcctx 1 vs 0Ahmet Kaan Gümüş · 50a0927
lane-av1422warp: name the defect-3 read -- the DC sign context, dcctx 1 vs 0

Report only. No code change; the tree is byte-identical to b0f19759, the
EC_AV1_ALLOW_422_PROBE bypass is reverted, and the oracle's instrumented
aomdec is rebuilt to its committed shape (grep -c bitpos = 0).

Extended bitpos to EVERY EC_COEFF_STEP rung on both sides and paired
inside the single transform unit at index 1418, on the unit's own
coordinates. That enumerates the window in full -- 27 oracle reads against
28 of ours, the extra one a duplicate PRINT at the same bit, not a second
read.

Through the entire base/br/Golomb loop the two sides are IDENTICAL: same
tags, same order, same values, same bit positions under the constant -14.

The divergence is the first SIGN read. Both decode the same value (1) but
from a different CDF row:

    oracle  tag=sign     c=0 sign=1 dcctx=1  bit=56491
    ours    tag=sign_rect pos=0 sign=1 dcctx=0 bit=56506

The DC sign context is 1 on the oracle and 0 on ours. Same symbol value,
different row, so the range coder leaves in a different state and every
later bit in the window shifts -- that is the 6-bit excess measured last
round, and it is why the rng pairing turns over exactly at the sign pass
rather than anywhere in the base loop.

libaom takes that context from txb_ctx->dc_sign_ctx (decodetxb.c:366), a
3-symbol read from dc_sign_cdf_extra[plane_type] taken ONCE per transform
block. No EC_COEFF_STEP rung prints that symbol on either side, so this
lane could not pair it and does not claim whether our value is wrong or
merely reflects an already-drifted dc_sign_cdf_extra adaptation state. The
report says exactly that rather than guessing.

Second, independent finding recorded in the same window: our scan table
maps scan indices to different raster positions than the oracle's for this
unit (oracle c1->pos 8, c2->pos 1; ours c1->pos 1, c2->pos 8). Coefficient
VALUES match by scan index on both sides, so this does not by itself move a
bit, but it places coefficients in the wrong cells and would corrupt the
transform independently of the entropy question.

Refined unblock: add a rung for the dc_sign_cdf_extra symbol on BOTH
sides -- it is the one read in the unit that no EC_COEFF_STEP print covers
-- and pair it.
lane-av1422warp: run the bit-position bisect on defect 3; narrows it to 6 bitsAhmet Kaan Gümüş · 5a6ca9d
lane-av1422warp: run the bit-position bisect on defect 3; narrows it to 6 bits

Report only. No code change -- the tree is byte-identical to 109e8e6f. The
EC_AV1_ALLOW_422_PROBE bypass is reverted, and the oracle's instrumented
aomdec has been rebuilt to its committed shape (my EC_COEFF_STEP bitpos
prints are gone; `strings aomdec | grep -c bitpos` = 0).

I added an exact bit position to the coefficient rungs on BOTH sides --
ours via the existing SymbolDecoder::debug_bitpos() (msac.rs:520), the
oracle via aom_reader_tell(r) in decodetxb.c -- rebuilt aomdec with
ninja, and paired the all_zero-level traces on bit position instead of
the colliding 16-bit rng.

The result is a clean constant, and it is the strongest statement this
lane can make about the desync: the offset is a CONSTANT -14 for every
coefficient unit from 0 through 1418 (a fixed convention difference
between the two tell()s), and at unit 1419 it becomes -20. Relative to
that baseline we are exactly 6 BITS AHEAD. Whatever the defect is,
between unit 1418's txb_skip read and unit 1419's we consume 6 more
bits than libaom -- a small, bounded magnitude, not a whole skipped
block or a mis-sized symbol read.

It does not name the symbol, and the report says so rather than guessing.
I extended the same bitpos field to the per-coefficient tag=base /
tag=br prints to bisect inside the window; a bit-anchored greedy
alignment of the two step streams does not work, because the two readers
traverse a transform unit's coefficients in DIFFERENT ORDERS (the oracle
runs read_coeffs_reverse_2d with c descending; ours emits a different
unit's c=53,52,51) and the streams have no index correspondence --
32500 oracle steps against 16464 of ours. Matching on bit position alone
is ambiguous and the alignment breaks within the first few hundred
steps, far short of the window. The report records this so the next lane
does not trust a step-index pairing here.

Refined unblock, replacing the previous one: restrict the per-coefficient
pairing to ONE transform unit at a time (pair on the unit's own
coordinates, per ec-av1-oracle-trace-pairing's "restrict pairing to one
frame/block" rule) rather than to the whole step stream. The 6-bit
magnitude says the target is very close -- that unit's tail, or the mode
reads between two units.
lane-av1422warp: correct defect 3's class and hand it off with paired dumpsAhmet Kaan Gümüş · 287d154
lane-av1422warp: correct defect 3's class and hand it off with paired dumps

Report only. No code change; the tree is byte-identical to 4b9c4cd8 and the
EC_AV1_ALLOW_422_PROBE bypass stays reverted.

The previous Defect 3 section mis-attributed the class as 4:2:2
transform-size selection for a twice-as-tall plane block. Paired traces
refute that and the report now says so explicitly.

What the paired evidence actually shows, on a clean single-frame cut of
a1.obu's frame 0 (a1_f0.obu, 11802 B, one frame on both sides):

- Two independent ladders agree on the boundary. The coefficient ladder
  (EC_COEFF_STEP vs ours, paired on all_zero + post-read rng) and the
  prediction ladder (EC_PREDOUT8 vs OUR_PRED, paired on sum + shape) both
  pair exactly through index 1418 and first mismatch at 1419. Oracle
  2512 units, ours 1959.

- It is an ENTROPY DESYNC, not a transform choice. EC_TRACE_MODE_STEP
  exists on both sides: at mi(50,28) the oracle reads uv_mode 4 and
  use_filter_intra 1, we read uv_mode 13 and use_filter_intra 0, from
  different reader states at the block's first read. Our unit 1419
  averages 89.0 against the oracle's 89.3 over the same footprint, so the
  luma CONTENT agrees and only the tiling differs -- the TX_8X8-vs-TX_4X4
  split is downstream damage.

- Ruled out for the desync, with libaom citations in the report: the
  tx_size lookup (both read tx_size_cdf[0] at ctx 2; bsize_to_tx_size_cat
  maps both BLOCK_8X8 and BLOCK_16X8 to 0, blockd.h:1344), the tx_size
  context (pred_common.h:348-384 is the above+left form we already
  implement), the frame header (read_tx_mode, decodeframe.c:139, matches
  crates/ec-av1-syntax/src/frame.rs:1039), and the 4:2:2 chroma sharing
  (mi(50,26) is even and owns the shared chroma; all three of its units
  pair and the oracle codes no block at mi(50,27)).

One symbol is consumed or skipped between mi(50,26)'s last unit and
mi(50,28)'s skip, and this lane did not identify which. The report says
so rather than guessing, and records why the obvious instrument cannot
close it: the oracle's EC_ISTEP has no tx_depth print anywhere (a rung
gap, not a missing read) and its line order is not comparable with ours.
The unblock is to bisect the BIT POSITION directly with an EC_BITPOS rung
on both sides rather than the 16-bit rng the rungs print, which collides
and interleaves differently.

This is a 4:2:2-only desync. Both controls stayed byte-exact throughout.
lane-av1422warp: correct the chroma-reference comment and report; no behaviour changeAhmet Kaan Gümüş · 10647bf
lane-av1422warp: correct the chroma-reference comment and report; no behaviour change

Comment-only. The decode paths are byte-identical to a9611ea2; re-verified
after the edit: the 4:2:0 control a420.obu is still byte-exact against
aomdec --rawvideo and 444_sb128rect_lr_witness.obu is still byte-identical
to the pre-lane build.

Two false statements are corrected, in decode.rs's
smooth_uv_neighbour_unsnapped comment and in the lane report.

1. The left-reference derivation. The comment claimed
`base_mi[ss_y*mi_stride - 1]` is a COLUMN offset of -1 whose row delta is 0
"at every subsampling, since the row term is at most `stride - 1`
elements". That is arithmetically wrong: at `ss_y == 1` the offset is a
FULL row down less one element, so the row delta is 1 and the column
delta -1. The comment also contradicted itself -- one line said "ss_y ROWS
down", the next claimed row delta 0. The block now states the two
offsets as plain (row, column) deltas and drops the bogus arithmetic.

2. "only 4:2:2 takes the new column" was wrong. The above column term is
`+ss_x`, so it moves the read at 4:2:0 and 4:4:0 as well (both have
`ss_x == 1`); only 4:4:4 (`ss_x == 0`) leaves it alone. What the
measurement actually showed is that the resulting boolean was unchanged
on the 4:2:0 control -- not that the shift is the identity there. The
comment and the report now say that.

Both now also carry the consequence as a NAMED UNRESOLVED discrepancy
rather than a settled one: the left read's `+ss_y` row term is NOT
shipped, because no committed fixture presents a 1-mi-tall left
neighbour (an 8x4 leaf's left block) at 4:2:0/4:4:0 and so nothing in
the tree can witness the correct term today. Unblock is one such stream.

History note: the a9611ea2 commit message overreaches. It asserts the
shipped form "is libaom's own at every subsampling" and that the left read
"never moved" -- both follow from the wrong arithmetic corrected here.
Left unamended per history hygiene; this commit supersedes it.
lane-av1422warp: report -- 4:2:2 witness, two fixes, the transform-size handoffAhmet Kaan Gümüş · 2459fe8
lane-av1422warp: report -- 4:2:2 witness, two fixes, the transform-size handoff

Records both fixes with their identity proofs, the red/green numbers, the
third defect left for its owning lane, and the two refuted smooth-type
hypotheses so the next lane does not re-chase them.
lane-av1422warp: the chroma-above reference is one mi column right of libaom'sAhmet Kaan Gümüş · cc66ecf
lane-av1422warp: the chroma-above reference is one mi column right of libaom's

smooth_uv_neighbour_unsnapped read the above chroma neighbour at
(mi_r - 1, mi_c) and the left at (mi_r, mi_c - 1). libaom's
set_mi_row_col (av1_common_int.h:1395-1412) puts them at
base_mi[-stride + ss_x] and base_mi[ss_y*stride - 1], with base_mi the
block's own mi already de-offset by (mi_row & ss_y) / (mi_col & ss_x) --
which is exactly the snap the caller applies. So the above read is
(mi_r - 1, mi_c + ss_x) and the left read is (mi_r, mi_c - 1): the
ss_y*stride term is a COLUMN offset of -1 (row delta 0) at every
subsampling, so only the above COLUMN gains ss_x. One chroma column
spans two luma mi columns, so the chroma edge reaches into the right-hand
luma block's territory and that is where its reference lives.

Measured on the pinned 4:2:2 rotzoom stream (a1.obu, frame 0 PREFILT vs
aomdec): 56142 -> 53395 diffing samples. The first divergent block is
fixed outright -- the chroma 4x8 D67_PRED block at chroma (88, 72) =
mi(18,44) now reproduces the oracle's prediction exactly (row0
132,150,157,148) instead of the strength-0 edge (135,147,172,145), and
its reconstructed U row is byte-equal.

Identity, measured three ways:
 - 4:2:0 control (a420.obu, same recipe at --profile=0) byte-identical to
   aomdec --rawvideo before and after;
 - 4:4:4 (444_sb128rect_lr_witness.obu) output byte-identical to this
   branch's pre-change build (ss_x == 0 makes the column term vanish);
 - the left read is unchanged, so the one term an earlier attempt got
   wrong (applying ss_y to the left ROW) is gone -- that term alone was
   what regressed 4:2:0.
lane-av1422warp: OBMC strides the 4:2:2 chroma prediction with the plane block's own widthAhmet Kaan Gümüş · 16a2dff
lane-av1422warp: OBMC strides the 4:2:2 chroma prediction with the plane block's own width

obmc_plan/obmc_run carried the enclosing square chroma_side and used it as
the chroma PREDICTION buffer's stride. At 4:2:2 that buffer is
(chroma_stride, chroma_buf_h) = (plane block width, plane block height)
since lane-av1-422blockhalf, so every chroma blend read row r at r*side
instead of r*chroma_stride. Measured on a real aomenc --profile=2 stream
(256x288, 16 frames): a 32x16 luma strip's left-pass chroma blend wrote row
15 at index 15*32 = 480 of the 256-sample 16x16 buffer -- the
index-out-of-bounds panic in obmc_blend_h. The stream decoded zero frames
before this and all 16 after.

All four chroma blend call sites and both EC_MCB prediction dumps now use
chroma_stride, matching every other consumer of pred_u/pred_v in the same
block. chroma_stride == chroma_side at 4:2:0 and 4:4:4, so those are
unchanged: a same-recipe 4:2:0 control stream (a420.obu, sha256
1f43ef1a) is byte-identical to aomdec --rawvideo before and after.

2026-09-27

Merge 86b328fd (422stripanchor) — suite green: 422stripanchor 624/0Ahmet Kaan Gümüş · ba6dea5
Merge 86b328fd (422stripanchor) — suite green: 422stripanchor 624/0

# Conflicts:
#	crates/ec-av1/src/decode.rs
Merge 1f4b8afb (422stripwrite) — suite green: 422stripwrite GREEN 625/0Ahmet Kaan Gümüş · f0a8ab2
Merge 1f4b8afb (422stripwrite) — suite green: 422stripwrite GREEN 625/0

# Conflicts:
#	crates/ec-av1/src/decode.rs
Merge 39f45c31 (422bigblock) — suite green: 422bigblock 624/0Ahmet Kaan Gümüş · 4f37b0b
Merge 39f45c31 (422bigblock) — suite green: 422bigblock 624/0

# Conflicts:
#	crates/ec-av1/src/decode.rs
Merge faa7fdab (422ctxgather) — suite green: 422ctxgather GREEN 623/0 23904s on server-3Ahmet Kaan Gümüş · ee9bb04
Merge faa7fdab (422ctxgather) — suite green: 422ctxgather GREEN 623/0 23904s on server-3

# Conflicts:
#	crates/ec-av1/src/decode.rs
#	lanes/av1422ctxgather.report.md
Merge c5d88f0b (422mi24) — suite green: 422mi24 623/0Ahmet Kaan Gümüş · 80e4cb4
Merge c5d88f0b (422mi24) — suite green: 422mi24 623/0

# Conflicts:
#	crates/ec-av1/src/decode.rs
Merge 05263618 (422blockhalf) — suite green: review PASS 0.86 on 213c1eb0, suite queued READYAhmet Kaan Gümüş · a6aa444
Merge 05263618 (422blockhalf) — suite green: review PASS 0.86 on 213c1eb0, suite queued READY

# Conflicts:
#	crates/ec-av1/src/decode.rs
Merge 1191a48f (422sub8rect) — suite green: 422sub8rect GREEN 623/0 locallyAhmet Kaan Gümüş · abb068f
Merge 1191a48f (422sub8rect) — suite green: 422sub8rect GREEN 623/0 locally

# Conflicts:
#	crates/ec-av1/src/decode.rs
#	lanes/av1422filter.report.md
Merge e93418a9 (ibcskip2) — suite green: ibcskip2-suite GREEN 629/0 23997s on server-3Ahmet Kaan Gümüş · 4df88f7
Merge e93418a9 (ibcskip2) — suite green: ibcskip2-suite GREEN 629/0 23997s on server-3

# Conflicts:
#	crates/ec-av1/src/stream.rs
Merge cc09f390 (444interband) — suite green: 444interband 628/0Ahmet Kaan Gümüş · 64940fd
Merge cc09f390 (444interband) — suite green: 444interband 628/0

# Conflicts:
#	crates/ec-av1/src/stream.rs

2026-09-26

ec-av1: fix the transposed 4:2:0 odd-dimension figures in the gap noteAhmet Kaan Gümüş · 49b9fe2
ec-av1: fix the transposed 4:2:0 odd-dimension figures in the gap note

Second re-review pass, doc and report only, no behaviour change.

The previous commit reported the under-declaration count as 12160 of the
16256 pairs with w >= 2 (and a phantom 12288 of 16384). The figures are
transposed: running every 4:2:0 count over the 1..=128 square through the
shipping helper, 12160 of the **16384** pairs under-declare, 12033 of them
with w >= 2, and 127 in the w == 1 column (at 1x1 the 4:4:4 arm catches
the count and (1, 1) is exact). The phantom 12288 is deleted.

Also stated explicitly: under-declaration at h == 1 is zero over the whole
square -- there the 4:2:0 count equals the 4:2:2 count, routes into the
4:2:2 arm, and lands on the correct (round_ss(w, 1), 1). h == 1 belongs
to the parent-difference sentence alone, not to the under-declaration one.

And the code doc's absolute "byte-identical to what the two-way test
produced" is softened to "is what the two-way test produced" with the
h == 1 exception carried alongside, so it no longer contradicts the
report in the same commit.

`cargo check -p ec-av1 --all-targets`: 0 warnings, 0 errors.
ec-av1: correct the ref_chroma_shape doc's 4:2:0 claimsAhmet Kaan Gümüş · ce4a898
ec-av1: correct the ref_chroma_shape doc's 4:2:0 claims

Re-review found two false claims in the doc comment (and the matching
report bullet):

1. "zero 4:2:0 shapes differ" was wrong as an argument. The floor arm is
   byte-identical to the parent -- that is the real and sufficient point --
   but it does differ from the *true* 4:2:0 shape (the producer's
   `round_ss` ceil crops) on every odd dimension. Now stated as: the floor
   under-declares in 12160 of the 16256 grid pairs with w >= 2 (12288 of
   all 16384 including the w == 1 column), and at h == 1 -- the 127 pairs
   with w >= 2 -- it differs from the parent only by correcting it, since
   the parent claimed zero rows for a plane holding round_ss(w, 1) samples.

2. The w == 1 "the counts genuinely coincide, so no length test can
   separate them" claim was false: a 4:2:0 count at w == 1, h >= 2
   collides with neither the 4:4:4 nor the 4:2:2 count (measured: zero
   collisions). The length test does route it into the 4:2:0 arm; the floor
   fallback simply cannot express `(1, round_ss(h, 1))`. Reworded as an
   open 4:2:0 odd-dimension gap: pre-existing, parent-identical, and not
   taken here because a ceil fallback would depart from the parent on every
   odd-dimension 4:2:0 shape with no in-tree coverage to justify it.

No behaviour change. `cargo check -p ec-av1 --all-targets`: 0 warnings,
0 errors.
ec-av1: 422 reference chroma shape read off the sample count (ceil)Ahmet Kaan Gümüş · 9b02987
ec-av1: 422 reference chroma shape read off the sample count (ceil)

Review findings closed:

1. The first cut inferred a 4:2:2 reference's half width with a bare
   `width / 2`, but the producer stores chroma through `round_ss`
   (decode.rs:25806) and `round_ss(dim, 1) == (dim + 1) >> 1` is a CEIL.
   The floor test passed every even-width case -- the pinned fixture's
   256-wide frame included -- and dropped every odd-width 4:2:2 reference
   into the 4:2:0 arm, i.e. the same defect one dimension over.
   `ref_chroma_shape` now tests `round_ss(width, 1) * height`. The 4:2:0
   arm stays at the old `(width / 2, height / 2)` verbatim.

2. No gate covered that arithmetic. Two unit tests added:
   `a_reference_chroma_sample_count_routes_back_to_its_own_format` drives
   all three formats off the producer's own `round_ss` crops over odd AND
   even widths and heights, and
   `a_422_reference_claims_the_full_chroma_height` pins the t422 shape
   (256x144 luma -> 128x144 chroma, not the 72 rows the bug claimed).
   Mutation proof: with `half_w` back at `width / 2` the first test fails
   ("4:2:2 reference of 3x2 (chroma 4 samples) must route back to its own
   shape") and passes again on the restored ceil form.

3. The doc comment still described the counts with floor halvings; it now
   states the `round_ss` crops, the odd-width failure mode, and the
   measured ambiguity bound: brute-forced over every w,h in 1..=128 the
   three counts route correctly for every w >= 2 && h >= 2, and every
   misread is confined to w == 1 / h == 1 where the counts genuinely
   coincide and no length test could separate them.

Evidence: 16-frame t422 ladder re-run on this tree -- 0 diffs on every
plane of every frame 0..15 at prefilt, post-deblock and post-CDEF (48
stage-frame-plane groups) and the final post-loop-restoration dump
byte-identical for all 16 frames. Identity gates (own target dir):
17 passed, 0 failed, 3 ignored, 665 filtered out.

Untouched: the 4:2:2 header refusal in stream.rs (byte-identical,
unconditional; the local probe bypass was applied and reverted), the
group-tail chroma SKIP arm, and every temporary debug rung.
ec-av1: lane-av1422stripwrite -- the 4:2:2 residual was not the rect-strip chroma write/anchor: a stored reference's chroma plane was SHAPED from a two-way subsampling guess (luma-sized = 4:4:4, else a quarter = 4:2:0) that folds 4:2:2 into 4:2:0, so every 4:2:2 reference claimed h/2 rows while holding h; every chroma MC sourcing a row at or past the frame's midpoint was then clamped against true_heightAhmet Kaan Gümüş · 35d5774
ec-av1: lane-av1422stripwrite -- the 4:2:2 residual was not the rect-strip chroma write/anchor: a stored reference's chroma plane was SHAPED from a two-way subsampling guess (luma-sized = 4:4:4, else a quarter = 4:2:0) that folds 4:2:2 into 4:2:0, so every 4:2:2 reference claimed h/2 rows while holding h; every chroma MC sourcing a row at or past the frame's midpoint was then clamped against true_height

The parent lane's named site (frame-1 prefilt chroma first diff U/V at
(88,104)) measured as two BLOCK_8X4 inter strips at luma (88,208) and
(88,216) -- the top strips of the 8x8 groups at mi (11,26) and (11,27),
each its own chroma TX_4x4 at chroma (88,104) / (88,108)
(is_chroma_reference at ss (1,0): libaom's mi_size_wide[BLOCK_8X4] is 2 in
4x4-mi units, so the !(bw & 1) column clause holds for both). Not a strip
pair: the strips below (luma rows 92..95) are intra.

The write rect, the anchor, the mv, the filters, the scale and the
reference CONTENTS were all already correct: our raw pre-MC reference
sample dump at the unit was byte-identical to the oracle's src0
([202 204 204 167 / 185 190 190 165 / ...]). What was wrong was the MC's
output: our reference plane reported true_height 72 on a 144-tall frame,
so rows >= 72 clamped and the 4x4 unit came out as 206 204 202 200 on
every row. The parent read this as a write/anchor defect; the anchor was
right and the declared plane shape, one layer up, was not.

Fix: ref_chroma_shape() reads the chroma format off the stored plane's
own sample count, which is exact and unambiguous for all three formats
(w*h = 4:4:4, (w/2)*h = 4:2:2, (w/2)*(h/2) = 4:2:0). Both call sites in
RefPix::planes use it, and Picture's u/v doc now states the real contract
(half width, the frame's own chroma height). 4:2:0 and 4:4:4 take the SAME
branch as the old two-way test, so they are value-identical.

The pinned 16-frame t422 4:2:2 stream is now byte-exact: 0 diffs on every
plane of every frame 0..15 at prefilt, post-deblock and post-CDEF (48
stage-frame groups) and a byte-identical final post-loop-restoration dump
for all 16. Before: frame 1 Y 0 / U 2231 (first (88,104) 206 vs 202) /
V 2197. The 4:2:2 header refusal stays unconditional and byte-identical;
the local EC_AV1_ALLOW_422_PROBE bypass used for the probe runs is
reverted. cargo check -p ec-av1 --all-targets: 0 warnings, 0 errors.
ec-av1: sub-8 422 chroma CfL anchor + split4 plane fixesAhmet Kaan Gümüş · 722dffd
ec-av1: sub-8 422 chroma CfL anchor + split4 plane fixes

lane-av1-422sub8pix. Full narrative:

ec-av1: lane-av1422sub8pix -- the sub-8 4:2:2 chroma pixel defect fixed at source: sub8_leaf_chroma422's CfL AC signal was sourced at the odd leaf's own luma x instead of the floored unit anchor, so every CFL unit of a split group averaged half its span from the RIGHT neighbour group (t422 frame-1 leaf (1,23): unit reconstructs chroma px 44..47 from luma 88..95, the px-anchored source averaged 92..99); and decode_inter_sub8_split4's 4:2:2 inter piece arm fed the left 2x4 half's prediction from the left piece's U reference plane for BOTH chroma planes (V cols 44..45 read U samples; U was exact, V wasn't) -- the loop now picks the left piece's matching plane per iteration. Both sites are ss (1,0)-only code; 4:2:0/4:4:4 byte-identical (lossless gates green). t422 ladder: frame 0 exact at prefilt/postdeb/postcdef, LUMA 0 diffs on every frame 1-15 at all three stages (the f15 postcdef Y=5059 CDEF knock-on is gone), chroma frame 1 U 4175->3837 V 4636->3879 with the named mi(0,22) sites pixel-exact; next residual site narrowed to the square-8x8 chroma class at U (32,87)/V (32,80), blocks mi(8,42)/mi(8,40)
ec-av1: lane-av1-422bigblock review close -- the 128-rect walk reshaped onto the reviewed 349b3918 expression form and the report's 4:4:4 evidence made honestAhmet Kaan Gümüş · c818774
ec-av1: lane-av1-422bigblock review close -- the 128-rect walk reshaped onto the reviewed 349b3918 expression form and the report's 4:4:4 evidence made honest

Review findings closed: the decode_block_128rect chroma walk now uses the
same ss-parameterized expression the reviewed lane-av1-444sb fix (349b3918)
landed -- cn = ((64 >> ss_x)/chroma_tx).max(1) for the width axis with the
added cn_h = ((64 >> ss_y)/chroma_tx).max(1) for the height axis, per-axis
(64 >> ss) chunk offsets and (16 >> ss) clamp strides -- so at ss(0,0) this
lane's code reduces line-for-line to that reviewed form and the eventual
merge of the two chains is a semantic union, not a conflict; at ss(1,0) the
two axes' counts part ways (1 x 2 stacked TX_32X32).

The 444_sb128rect_lr_witness (sha 27825e14) was decoded on this tree: its
output is byte-identical to the parent commit's on the same stream (measured
by stash-and-rebuild, all three frames), so the rewrite is proven
output-neutral on it; the stream still diverges from aomdec identically
before and after because this branch predates the 444 chain's chroma-context
fixes (9e77c16b, 76f8c3fe) and the desync starts at frame-0 Y sample 128,
before the first 128-rect block ever fires -- 349b3918's own frames-0/1 gate
remains the merged-tree pin.

Report corrections: the lossless sb128 gate is a 4:2:0 stream (seq_profile 0
in the fixture bytes) and is relabeled as such -- it never proved 4:4:4; the
4:4:4 behavior change of the 128rect rewrite (parent was assert-broken
there) and the ceil-vs-floor half-width edge of the RefPix three-way
inference at odd reference dimensions are now disclosed in the report.
ec-av1: lane-av1-422bigblock -- the 128-root 4:2:2 chroma chunk de-square-cut on the per-axis plane-block model and the reference plane resolution taught the third subsampling shapeAhmet Kaan Gümüş · c74c912
ec-av1: lane-av1-422bigblock -- the 128-root 4:2:2 chroma chunk de-square-cut on the per-axis plane-block model and the reference plane resolution taught the third subsampling shape

Both witnessed defects are fixed and both pinned witnesses decode pixel-exact
vs aomdec on the local EC_AV1_ALLOW_422_PROBE patch-run-restore build.

Defect 1 (422_allskip_2f.obu) does NOT reproduce at this HEAD: the block-half
port already entropy-locks it -- all 20 key-frame coefficient units pair
rng-for-rng with the instrumented oracle and the all-skip inter frame reads
zero units on both sides; the shown frame is byte-identical to aomdec.
Re-verified, no change needed.

Defect 2 (422_sb128_3f.obu, the f2 128x128 PARTITION_NONE non-skip inter
block) had three stacked causes under the historical range-end panic:
decode_inter_block's mu-chunk chroma walk cut each chunk's 32x64 chroma into
a chroma_side-square 64x64 (twice the oracle's 16 units, 8 per plane, 2
stacked per chunk) -- now per-axis with per-unit luma spans through
around_mi_rect and per-axis record_mi_chroma; the unit prediction window was
indexed at the square chroma_side instead of the buffer's own chroma_stride
(the empty-slice densify panic) -- now the real stride while the assembled
grid keeps the square stride the block-tail re-stamp already indexes; and
RefPix::planes guessed every non-4:4:4 reference quarter-height, so inter
prediction off the slot read a clamped row-63 edge over chroma rows 64..127
-- now a three-way length inference (luma-sized, half-width, quarter) that is
exact for every dimension.

Defect 3 (s2.obu crash, via parent IRC): the same class in
decode_block_128rect's intra chroma walk -- square cn, chunk offsets and
clamp strides, square around_mi/tu_reach -- now per-axis; s2 decodes all 16
frames with no panic. Its remaining frame-0 divergence is named in the report
for the owning lane: an entropy desync from coefficient unit 38, a plane-2
TX_4X8 chroma unit at mi(12,24) (oracle 1089 units, ours 541), the sub-8
4:2:2 class, pre-existing -- the base tree panics at frame 0 and never
produced pixels. decode_intrabc_128rect carries the same square-cut walk
unwitnessed; deferred with its unblock named in the report.

4:2:0/4:4:4 identity: the 10-bit inter sequence gate, the two-tile-rows
aomenc gate, the 4:4:4 lossless sb128 gate and both 128-root encoder
round-trip gates are green; t422 frame 0 stays byte-exact vs the instrumented
oracle at PREFILT, POSTDEBLOCK, POSTCDEF and FINAL on all three planes.
Both witnesses are pinned with git add -f and gated by
the_pinned_422_bigblock_witnesses_are_present_and_refuse_by_name (byte pins
plus the unconditional refusal-by-name contract; the decode-level assertions
are probe-measured and reproducible from the report's recipe because
decode_stream still refuses 4:2:2 unconditionally). cargo check: 0 warnings.
ec-av1: lane-av1422ctxgather -- review P2: the around_c comment and the report sentence claimed every VERT shape keeps the plain per-mi gather; false for 4:2:2 VERT -- the ss-gated reroute catches it (pair span (8,16), above side one chroma column per two luma mi, same double-count) and is oracle-correct there. Comment and report corrected; only 4:2:0/4:4:4 VERT keep the plain gather. No code change.Ahmet Kaan Gümüş · a34d785
ec-av1: lane-av1422ctxgather -- review P2: the around_c comment and the
report sentence claimed every VERT shape keeps the plain per-mi gather;
false for 4:2:2 VERT -- the ss-gated reroute catches it (pair span (8,16),
above side one chroma column per two luma mi, same double-count) and is
oracle-correct there. Comment and report corrected; only 4:2:0/4:4:4 VERT
keep the plain gather. No code change.
ec-av1: 422 strip chroma entropy ctx gather fixed (clobber + 3 sites)Ahmet Kaan Gümüş · d80593a
ec-av1: 422 strip chroma entropy ctx gather fixed (clobber + 3 sites)

lane-av1-422ctxgather. Full root-cause narrative:

ec-av1: lane-av1422ctxgather -- the 4:2:2 strip chroma entropy context
fixed at source: decode_inter_block's pair write and around_c gather kept
the 4:2:0 pair span (16,8) for a HORZ strip that at ss (1,0) is its OWN
chroma reference, so the strip at mi(8,4) zeroed left[9][1] under the
mi(8,2) 8x8 leaf's level 5 and the mi(9,4) strip's U all_zero read one
ctx row low (t422 frame 1, the parent lane's anchor; the write span is
(16,4) at ss (1,0)); the strip chroma gathers (decode_rect4_16_strip's
else arm, decode_inter_block's around_c, read_inter_rect_chroma's chunked
units) route through around_mi_422_chroma at ss (1,0) -- one chroma column
spans two luma mi at ss_x 1 and the per-mi gather double-counts each
column's dc sign; 4:2:0/4:4:4 take the original expressions verbatim (all
edits gated ss_x==1 && ss_y==0), lossless 4:4:4 stream gates green,
frame 0 of the pinned t422 fixture exact at all ladder stages, the inter
divergence drops 10x on frame 1 (Y 23948 -> 1739) with no frame regressed
and the residual attributed downstream (first diffs Y (96,240), U (2,44),
V (0,44)); the 4:2:2 header refusal stays unconditional
ec-av1: lane-av1422ctxgather -- the 4:2:2 strip chroma entropy context fixed at source: decode_inter_block's pair write and around_c gather kept the 4:2:0 pair span (16,8) for a HORZ strip that at ss (1,0) is its OWN chroma reference, so the strip at mi(8,4) zeroed left[9][1] under the mi(8,2) 8x8 leaf's level 5 and the mi(9,4) strip's U all_zero read one ctx row low (t422 frame 1, the parent lane's anchor; the write span is (16,4) at ss (1,0)); the strip chroma gathers (decode_rect4_16_strip's else arm, decode_inter_block's around_c, read_inter_rect_chroma's chunked units) route through around_mi_422_chroma at ss (1,0) -- one chroma column spans two luma mi at ss_x 1 and the per-mi gather double-counts each column's dc sign; 4:2:0/4:4:4 take the original expressions verbatim (all edits gated ss_x==1 && ss_y==0), lossless 4:4:4 stream gates green, frame 0 of the pinned t422 fixture exact at all ladder stages, the inter divergence drops 10x on frame 1 (Y 23948 -> 1739) with no frame regressed and the residual attributed downstream (first diffs Y (96,240), U (2,44), V (0,44)); the 4:2:2 header refusal stays unconditionalAhmet Kaan Gümüş · 76c3466
ec-av1: lane-av1422ctxgather -- the 4:2:2 strip chroma entropy context
fixed at source: decode_inter_block's pair write and around_c gather kept
the 4:2:0 pair span (16,8) for a HORZ strip that at ss (1,0) is its OWN
chroma reference, so the strip at mi(8,4) zeroed left[9][1] under the
mi(8,2) 8x8 leaf's level 5 and the mi(9,4) strip's U all_zero read one
ctx row low (t422 frame 1, the parent lane's anchor; the write span is
(16,4) at ss (1,0)); the strip chroma gathers (decode_rect4_16_strip's
else arm, decode_inter_block's around_c, read_inter_rect_chroma's chunked
units) route through around_mi_422_chroma at ss (1,0) -- one chroma column
spans two luma mi at ss_x 1 and the per-mi gather double-counts each
column's dc sign; 4:2:0/4:4:4 take the original expressions verbatim (all
edits gated ss_x==1 && ss_y==0), lossless 4:4:4 stream gates green,
frame 0 of the pinned t422 fixture exact at all ladder stages, the inter
divergence drops 10x on frame 1 (Y 23948 -> 1739) with no frame regressed
and the residual attributed downstream (first diffs Y (96,240), U (2,44),
V (0,44)); the 4:2:2 header refusal stays unconditional