forge
Explore
Log in

Don't you dare go Hollow

ec-av1: lane-av1-422h r1 -- 4:2:2 chroma refs rng-exact to the bottom SB row; refusal stays

Browse files at this commit

dcd6a078ca722802d1efa3b5b7ce89e09f958889Ahmet Kaan GümüşParent: a43f862
The mi(8,10) premise was false: with EC_PART partition traces (the probe
ships in the oracle tree, never enabled) both decoders read HORZ there.
Four real defects fixed instead: decode_leaf_rect8 now decodes per-strip
chroma under is_chroma_reference (both BLOCK_8X4 strips are refs), the
422 split4 column parity is odd-column per the formula (422f/g's even rule
came from the misread), sub8_leaf_chroma422 anchors odd-column ctx read/
write at the floor chroma cell, and decode_leaf8's 422 chroma ctx reads
the sampled dc votes. Frame 0 now pairs rng-for-rng with aomdec through
328 partition reads (tell +14 const) to the bottom SB row, where our
partial-SB walk skips the gathered 64x64 partition symbol libaom reads at
mi(32,0) -- named stop. All arms keyed on ss (1,0); 420 gates green;
refusal byte-identical and re-proven.
crates/ec-av1/src/decode.rsmodified+106 -12
@@ -18699,6 +18699,19 @@ fn decode_leaf8(
18699 }18699 }
18700 } else if resolved != 4 {18700 } else if resolved != 4 {
18701 let around = neighbours.around_mi(leaf_mi, 8);18701 let around = neighbours.around_mi(leaf_mi, 8);
18702+ // lane-av1-422h: the 4:2:2 chroma rect unit's `get_txb_ctx_general`
18703+ // reads its above votes over CHROMA 4-px cells -- at ss_x 1 one chroma
18704+ // cell spans TWO luma mi columns, so the per-luma-mi sum counts each
18705+ // above chroma column twice and `dc_sign_ctx`'s signum flips whenever
18706+ // the doubled sum crosses zero (the same class
18707+ // [`Neighbours::around_mi_422_chroma`] fixes for the rect readers;
18708+ // measured at mi(2,24) plane 2: ours dc_sign row 0, oracle row 2).
18709+ // The left extent is unsubsquared at ss_y 0 and stays one-to-one.
18710+ let chroma_around = if chroma_422 {
18711+ neighbours.around_mi_422_chroma(leaf_mi, 8, 8)
18712+ } else {
18713+ around
18714+ };
18702 if let Some(buf) = &palette_y_buf {18715 if let Some(buf) = &palette_y_buf {
18703 set_palette_pred(buf.clone(), fctx);18716 set_palette_pred(buf.clone(), fctx);
18704 }18717 }
@@ -18742,14 +18755,14 @@ fn decode_leaf8(
18742 // at ss (1,0) == TX_4X8), covering the plane block exactly, off the18755 // at ss (1,0) == TX_4X8), covering the plane block exactly, off the
18743 // leaf's own 8x8-span entropy context (`chroma_tiled`'s convention).18756 // leaf's own 8x8-span entropy context (`chroma_tiled`'s convention).
18744 u_grid = leaf8_chroma422_unit(18757 u_grid = leaf8_chroma422_unit(
18745- dec, cdfs, around[1], uv_predict_mode, angle_delta_uv, reach,18758+ dec, cdfs, chroma_around[1], uv_predict_mode, angle_delta_uv, reach,
18746 1, alpha.zip(ac).map(|((au, _), ac)| (au, ac)), false,18759 1, alpha.zip(ac).map(|((au, _), ac)| (au, ac)), false,
18747 intrabc_bufs.as_ref().map(|(_, ub, _)| ub.clone())18760 intrabc_bufs.as_ref().map(|(_, ub, _)| ub.clone())
18748 .or_else(|| palette_uv_bufs.as_ref().map(|(ub, _)| ub.clone())),18761 .or_else(|| palette_uv_bufs.as_ref().map(|(ub, _)| ub.clone())),
18749 u, cpx, cpy, smooth_neighbor_uv, fctx,18762 u, cpx, cpy, smooth_neighbor_uv, fctx,
18750 )?;18763 )?;
18751 v_grid = leaf8_chroma422_unit(18764 v_grid = leaf8_chroma422_unit(
18752- dec, cdfs, around[2], uv_predict_mode, angle_delta_uv, reach,18765+ dec, cdfs, chroma_around[2], uv_predict_mode, angle_delta_uv, reach,
18753 2, alpha.zip(ac).map(|((_, av), ac)| (av, ac)), false,18766 2, alpha.zip(ac).map(|((_, av), ac)| (av, ac)), false,
18754 intrabc_bufs.as_ref().map(|(_, _, vb)| vb.clone())18767 intrabc_bufs.as_ref().map(|(_, _, vb)| vb.clone())
18755 .or_else(|| palette_uv_bufs.as_ref().map(|(_, vb)| vb.clone())),18768 .or_else(|| palette_uv_bufs.as_ref().map(|(_, vb)| vb.clone())),
@@ -18920,7 +18933,13 @@ fn decode_leaf8(
18920 }18933 }
18921 }18934 }
18922 let ac = alpha.map(|_| cfl_src(px, py, 8));18935 let ac = alpha.map(|_| cfl_src(px, py, 8));
18923- let chroma_around = neighbours.around_mi(leaf_mi, 8);18936+ // lane-av1-422h: same ss_x-1 dc-vote sampling as the whole-leaf arm
18937+ // above -- the doubled above sum crosses zero at mi(2,24) plane 2.
18938+ let chroma_around = if chroma_422 {
18939+ neighbours.around_mi_422_chroma(leaf_mi, 8, 8)
18940+ } else {
18941+ neighbours.around_mi(leaf_mi, 8)
18942+ };
18924 // lane-av1intrapred: the non-vacuity counter -- armed slot consulted18943 // lane-av1intrapred: the non-vacuity counter -- armed slot consulted
18925 // by this arm's chroma reads means the frame-copy + inherited-type18944 // by this arm's chroma reads means the frame-copy + inherited-type
18926 // route ran; zero at gate time means the fixture stopped reaching it.18945 // route ran; zero at gate time means the fixture stopped reaching it.
@@ -19529,10 +19548,20 @@ fn sub8_leaf_chroma422(
19529 neighbours.record_uv_mode_mi(lmi.0, lmi.1, 1, 1, uv_predict_mode);19548 neighbours.record_uv_mode_mi(lmi.0, lmi.1, 1, 1, uv_predict_mode);
19530 let (px, py) = (lmi.1 * MI, lmi.0 * MI);19549 let (px, py) = (lmi.1 * MI, lmi.0 * MI);
19531 let (cpx, cpy) = (px >> ss_x(fctx), py >> ss_y(fctx));19550 let (cpx, cpy) = (px >> ss_x(fctx), py >> ss_y(fctx));
19551+ // lane-av1-422h: the entropy-context anchor is the unit's FLOOR chroma
19552+ // cell (`pd->above_entropy_context + (mi_col >> ss_x)`): an ODD-column
19553+ // leaf's 4-px unit starts at a chroma px that is NOT cell aligned, and
19554+ // both its ctx read and its ctx write live in the cell containing that
19555+ // start -- one luma mi column to the LEFT of the leaf's own. Even-column
19556+ // (cell-aligned) leaves keep their own column. The state write spans the
19557+ // anchor's two luma mi columns, so the second (odd) leaf of a split group
19558+ // overwrites exactly the cell the first one wrote, as libaom's
19559+ // `av1_set_entropy_contexts` per-TU writes do.
19560+ let ctx_mi = (lmi.0, lmi.1 & !1);
19532 // The square unit takes the leaf's own `Reach::of` (its luma's), the way19561 // The square unit takes the leaf's own `Reach::of` (its luma's), the way
19533 // [`decode_leaf8`]'s 422 arm passes the enclosing block's luma reach.19562 // [`decode_leaf8`]'s 422 arm passes the enclosing block's luma reach.
19534 let reach = Reach::of(4, px, py, y.width, y.height, fctx);19563 let reach = Reach::of(4, px, py, y.width, y.height, fctx);
19535- let chroma_around = neighbours.around_mi_422_chroma(lmi, 8, 4);19564+ let chroma_around = neighbours.around_mi_422_chroma(ctx_mi, 8, 4);
19536 let ac = alpha.map(|_| cfl_src_rect(px, py, 8, 4));19565 let ac = alpha.map(|_| cfl_src_rect(px, py, 8, 4));
19537 let grids: (Grid, Grid) = if skip {19566 let grids: (Grid, Grid) = if skip {
19538 // A skipped chroma-reference leaf still predicts (the CfL contribution19567 // A skipped chroma-reference leaf still predicts (the CfL contribution
@@ -19601,13 +19630,13 @@ fn sub8_leaf_chroma422(
19601 let u_state = neighbour_state(&u_grid);19630 let u_state = neighbour_state(&u_grid);
19602 let v_state = neighbour_state(&v_grid);19631 let v_state = neighbour_state(&v_grid);
19603 if lmi.0 < neighbours.mi_rows {19632 if lmi.0 < neighbours.mi_rows {
19604- neighbours.left[lmi.0][1] = u_state;19633+ neighbours.left[ctx_mi.0][1] = u_state;
19605- neighbours.left[lmi.0][2] = v_state;19634+ neighbours.left[ctx_mi.0][2] = v_state;
19606 }19635 }
19607 for cell in 0..2 {19636 for cell in 0..2 {
19608- if lmi.1 + cell < neighbours.mi_cols {19637+ if ctx_mi.1 + cell < neighbours.mi_cols {
19609- neighbours.above[lmi.1 + cell][1] = u_state;19638+ neighbours.above[ctx_mi.1 + cell][1] = u_state;
19610- neighbours.above[lmi.1 + cell][2] = v_state;19639+ neighbours.above[ctx_mi.1 + cell][2] = v_state;
19611 }19640 }
19612 }19641 }
19613 Ok((u_grid, v_grid))19642 Ok((u_grid, v_grid))
@@ -19699,7 +19728,12 @@ fn decode_leaf_split4(
19699 let has_chroma = if chroma_444 {19728 let has_chroma = if chroma_444 {
19700 true19729 true
19701 } else if chroma_422 {19730 } else if chroma_422 {
19702- (lmi.1 & 1) == 019731+ // lane-av1-422h: `is_chroma_reference`'s column clause at ss_x 1 is
19732+ // `(mi_col & 1)` for a BLOCK_4X4 leaf -- the ODD-column leaf is the
19733+ // chroma reference (oracle, mi(30,42) split group: uv_mode read at
19734+ // mi(30,43) and mi(31,43) only). The even-column rule this
19735+ // replaces came from 422f's pre-partition-trace misreading.
19736+ (lmi.1 & 1) == 1
19703 } else {19737 } else {
19704 i == 319738 i == 3
19705 };19739 };
@@ -20107,6 +20141,15 @@ fn decode_leaf_rect8(
20107 // full-resolution rect chroma unit right after its luma.20141 // full-resolution rect chroma unit right after its luma.
20108 let chroma_444 = ss_x(fctx) == 0 && ss_y(fctx) == 0;20142 let chroma_444 = ss_x(fctx) == 0 && ss_y(fctx) == 0;
20109 let mut last_uv444 = DC_PRED;20143 let mut last_uv444 = DC_PRED;
20144+ // lane-av1-422h: at ss (1,0) `is_chroma_reference`
20145+ // (av1_common_int.h:1459) resolves per strip shape --
20146+ // `((mi_row & 1) || !(bh_mi & 1) || !ss_y) && ((mi_col & 1) || !(bw_mi & 1) || !ss_x)`:
20147+ // a HORZ pair is two BLOCK_8X4 strips at the group's even column, so
20148+ // BOTH strips are chroma references (`!(bw & 1)`); a VERT pair is two
20149+ // BLOCK_4X8 strips, and the column clause keeps only the ODD-column
20150+ // strip (i == 1, the same leaf the 4:2:0 rule reads chroma on).
20151+ let chroma_422 = ss_x(fctx) == 1 && ss_y(fctx) == 0;
20152+ let mut last_uv422 = DC_PRED;
20110 for i in 0..2usize {20153 for i in 0..2usize {
20111 let lmi = if vert {20154 let lmi = if vert {
20112 (leaf_mi.0, leaf_mi.1 + i)20155 (leaf_mi.0, leaf_mi.1 + i)
@@ -20125,7 +20168,13 @@ fn decode_leaf_rect8(
20125 } else {20168 } else {
20126 neighbours.mode_left_mi(lmi.0, lmi.1).unwrap_or(left_mode)20169 neighbours.mode_left_mi(lmi.0, lmi.1).unwrap_or(left_mode)
20127 };20170 };
20128- let has_chroma = chroma_444 || i == 1;20171+ let has_chroma = if chroma_444 {
20172+ true
20173+ } else if chroma_422 {
20174+ !vert || i == 1
20175+ } else {
20176+ i == 1
20177+ };
20129 let skip_ctx = neighbours.skip_txfm_ctx(lmi.0, lmi.1);20178 let skip_ctx = neighbours.skip_txfm_ctx(lmi.0, lmi.1);
20130 let (skip, mode, angle_delta_y, chroma, filter_intra, intrabc) = read_intra_mode_sub8(20179 let (skip, mode, angle_delta_y, chroma, filter_intra, intrabc) = read_intra_mode_sub8(
20131 dec, cdfs, leaf_above, leaf_left, has_chroma, enable_filter_intra,20180 dec, cdfs, leaf_above, leaf_left, has_chroma, enable_filter_intra,
@@ -20312,6 +20361,15 @@ fn decode_leaf_rect8(
20312 neighbours.smooth_uv_neighbour(lmi.0, lmi.1, r, c, fctx), fctx,20361 neighbours.smooth_uv_neighbour(lmi.0, lmi.1, r, c, fctx), fctx,
20313 )?;20362 )?;
20314 last_uv444 = DC_PRED;20363 last_uv444 = DC_PRED;
20364+ } else if chroma_422 {
20365+ // lane-av1-422h: same at ss (1,0) -- the strip's own square
20366+ // TX_4X4 chroma unit at its halved position.
20367+ sub8_leaf_chroma422(
20368+ dec, cdfs, neighbours, lmi, DC_PRED, 0, None, skip,
20369+ Some(dv), y, u, v, scan4, base_q_idx,
20370+ neighbours.smooth_uv_neighbour(lmi.0, lmi.1, r, c, fctx), fctx,
20371+ )?;
20372+ last_uv422 = DC_PRED;
20315 } else {20373 } else {
20316 last_uv = Some((DC_PRED, 0, None));20374 last_uv = Some((DC_PRED, 0, None));
20317 last_intrabc = Some(dv);20375 last_intrabc = Some(dv);
@@ -20469,6 +20527,17 @@ fn decode_leaf_rect8(
20469 neighbours.smooth_uv_neighbour(lmi.0, lmi.1, r, c, fctx), fctx,20527 neighbours.smooth_uv_neighbour(lmi.0, lmi.1, r, c, fctx), fctx,
20470 )?;20528 )?;
20471 last_uv444 = if uv_mode == UV_CFL_PRED { DC_PRED } else { uv_mode };20529 last_uv444 = if uv_mode == UV_CFL_PRED { DC_PRED } else { uv_mode };
20530+ } else if chroma_422 {
20531+ // lane-av1-422h: the strip's own square TX_4X4 chroma unit
20532+ // per plane right after its split luma (one per ref strip).
20533+ let (uv_mode, angle_delta_uv, alpha) =
20534+ chroma.expect("4:2:2 chroma references read uv_mode");
20535+ sub8_leaf_chroma422(
20536+ dec, cdfs, neighbours, lmi, uv_mode, angle_delta_uv, alpha,
20537+ skip, None, y, u, v, scan4, base_q_idx,
20538+ neighbours.smooth_uv_neighbour(lmi.0, lmi.1, r, c, fctx), fctx,
20539+ )?;
20540+ last_uv422 = if uv_mode == UV_CFL_PRED { DC_PRED } else { uv_mode };
20472 } else {20541 } else {
20473 last_uv = chroma;20542 last_uv = chroma;
20474 }20543 }
@@ -20558,6 +20627,20 @@ fn decode_leaf_rect8(
20558 neighbours.smooth_uv_neighbour(lmi.0, lmi.1, r, c, fctx), fctx,20627 neighbours.smooth_uv_neighbour(lmi.0, lmi.1, r, c, fctx), fctx,
20559 )?;20628 )?;
20560 last_uv444 = if uv_mode == UV_CFL_PRED { DC_PRED } else { uv_mode };20629 last_uv444 = if uv_mode == UV_CFL_PRED { DC_PRED } else { uv_mode };
20630+ } else if chroma_422 {
20631+ // lane-av1-422h: the strip's own square TX_4X4 chroma unit
20632+ // per plane right after its luma -- libaom codes each
20633+ // BLOCK_8X4 strip's chroma under the strip itself (both
20634+ // strips of a HORZ pair are chroma references), not one
20635+ // shared group unit.
20636+ let (uv_mode, angle_delta_uv, alpha) =
20637+ chroma.expect("4:2:2 chroma references read uv_mode");
20638+ sub8_leaf_chroma422(
20639+ dec, cdfs, neighbours, lmi, uv_mode, angle_delta_uv, alpha,
20640+ skip, None, y, u, v, scan4, base_q_idx,
20641+ neighbours.smooth_uv_neighbour(lmi.0, lmi.1, r, c, fctx), fctx,
20642+ )?;
20643+ last_uv422 = if uv_mode == UV_CFL_PRED { DC_PRED } else { uv_mode };
20561 } else {20644 } else {
20562 last_uv = chroma;20645 last_uv = chroma;
20563 }20646 }
@@ -20574,6 +20657,15 @@ fn decode_leaf_rect8(
20574 neighbours.above_uv_mode[c] = last_uv444;20657 neighbours.above_uv_mode[c] = last_uv444;
20575 neighbours.left_uv_mode[r] = last_uv444;20658 neighbours.left_uv_mode[r] = last_uv444;
20576 (Grid::Zero(16), Grid::Zero(16))20659 (Grid::Zero(16), Grid::Zero(16))
20660+ } else if chroma_422 {
20661+ // lane-av1-422h: every chroma-reference strip coded and reconstructed
20662+ // its own chroma unit in the loop above (and stamped its own entropy
20663+ // span), so the 4:2:0 shared group unit below must not run. Only the
20664+ // coarse 16x16 slots remain: libaom's `above_uv_mode`/`left_uv_mode`
20665+ // end up holding the LAST chroma reference's mode (decode order).
20666+ neighbours.above_uv_mode[c] = last_uv422;
20667+ neighbours.left_uv_mode[r] = last_uv422;
20668+ (Grid::Zero(16), Grid::Zero(16))
20577 } else {20669 } else {
20578 let (gpx, gpy) = (leaf_mi.1 * MI, leaf_mi.0 * MI);20670 let (gpx, gpy) = (leaf_mi.1 * MI, leaf_mi.0 * MI);
20579 let (cpx, cpy) = (gpx >> ss_x(fctx), gpy >> ss_y(fctx));20671 let (cpx, cpy) = (gpx >> ss_x(fctx), gpy >> ss_y(fctx));
@@ -20698,7 +20790,9 @@ fn decode_leaf_rect8(
20698 }20790 }
20699 // lane-av1-444: at 4:4:4 [`sub8_leaf_chroma444`] already stamped each20791 // lane-av1-444: at 4:4:4 [`sub8_leaf_chroma444`] already stamped each
20700 // leaf's own span as it decoded; these placeholder grids carry no state.20792 // leaf's own span as it decoded; these placeholder grids carry no state.
20701- if !chroma_444 {20793+ // lane-av1-422h: same at ss (1,0) -- [`sub8_leaf_chroma422`] stamped each
20794+ // chroma-reference strip's own span in decode order.
20795+ if !(chroma_444 || chroma_422) {
20702 let round_up_even = |n: usize| n.div_ceil(2) * 2;20796 let round_up_even = |n: usize| n.div_ceil(2) * 2;
20703 let bound_h = round_up_even(neighbours.mi_rows);20797 let bound_h = round_up_even(neighbours.mi_rows);
20704 let bound_w = round_up_even(neighbours.mi_cols);20798 let bound_w = round_up_even(neighbours.mi_cols);
lanes/av1422h.report.mdadded+96 -0
@@ -0,0 +1,96 @@
1+# lane-av1-422h — 4:2:2 sub-8/rect chroma model proven rng-exact to the bottom-edge SBs; refusal stays
2+
3+## Outcome
4+
5+The assignment's premise — "ours reads a non-SPLIT partition at mi(8,10)" — was
6+FALSE, and this round proves it with partition-level oracle traces: at mi(8,10)
7+both decoders read `bsize=3 ctx=0 rng=37068 → value=1` (PARTITION_HORZ).
8+`read_partition` in the oracle source already carried an `EC_PART` probe
9+(patch never enabled by the 422f/g generation recipe), so this round's traces
10+are the first with the walk checkpointed per partition read; pairing them
11+(`EC_PART` rng values, tell offset constant +14) shows the true first
12+divergences and lets every fix below be verified rng-for-rng.
13+
14+Four 4:2:2 chroma-model defects found and fixed (all in `decode_leaf_rect8`,
15+`decode_leaf8`, `decode_leaf_split4`/`sub8_leaf_chroma422`, `decode_block`):
16+
17+1. **`decode_leaf_rect8` (BLOCK_8X4/BLOCK_4X8 strips) used the 4:2:0
18+ `i == 1`-only chroma rule.** `is_chroma_reference`
19+ (av1_common_int.h:1459) at ss (1,0): a HORZ pair's BLOCK_8X4 strips are
20+ BOTH chroma references (`!(bw & 1)`), a VERT pair's BLOCK_4X8 strips keep
21+ the odd-column leaf. Oracle evidence at the mi(8,10) HORZ pair: uv_mode
22+ read at BOTH (8,10) and (9,10), each strip followed by its own one-TX_4X4
23+ chroma unit per plane. Fixed `has_chroma` to `!vert || i == 1` at 4:2:2
24+ and decoded each reference strip's chroma right after its luma via
25+ `sub8_leaf_chroma422` (split path, whole-leaf path, intrabc path), with
26+ the 4:2:0 group tail gated off at 4:2:2 and the coarse uv slots filled
27+ from the last reference strip. The mi(8,10) pair now decodes
28+ rng-for-rng (strip mode reads end at oracle's exact rngs 63250/33264).
29+2. **`decode_leaf_split4`'s 4:2:2 column parity was inverted** (422g's
30+ `(mi_col & 1) == 0` "even-column" rule — derived by 422f from a
31+ pre-partition-trace misreading of the (8,10) HORZ pair as a split
32+ group). Oracle, mi(30,42) split group: uv_mode read at mi(30,43) and
33+ mi(31,43) ONLY — the ODD columns, per the formula's column clause
34+ `(mi_col & 1)`. Fixed to `(lmi.1 & 1) == 1`.
35+3. **`sub8_leaf_chroma422` anchored the odd-column leaf's ctx read/write at
36+ the leaf's own column.** libaom anchors at the FLOOR chroma cell
37+ (`pd->above_entropy_context + blk_col` with `blk_col = mi_col >> ss_x`):
38+ an odd-column 4x4 leaf's unit starts at chroma px 86, whose containing
39+ cell is luma mi col 42, so the ctx read AND the per-TU state write land
40+ on luma mi 42,43, not 43,44. Added `ctx_mi = (lmi.0, lmi.1 & !1)`.
41+4. **`decode_leaf8`'s 4:2:2 chroma rect unit read its txb ctx through the
42+ plain `around_mi`** — the 422f-class dc-vote double-count (one chroma
43+ ctx cell spans TWO luma mi columns at ss_x 1) in the leaf8 path.
44+ Oracle evidence at mi(2,24) plane 2: ours dc_sign row 0, oracle row 2.
45+ Both 422 arms now read `around_mi_422_chroma(leaf_mi, 8, 8)`.
46+
47+## Measurement
48+
49+Fixture `/tmp/t422.obu` reused by hash
50+`d3fa4beeb1309033e4a03f5ae5c431c8fa8386ba1ada088684710423c7938129`
51+(256x144, 22 frames). Oracle
52+`$HOME/.cache/aom-oracle/build/aomdec EC_TRACE=1 EC_TRACE_MODE_STEP=1
53+EC_TRACE_COEFF=1 EC_PALSYN=1` (the `EC_PART` probes ship in the patched
54+tree's `read_partition`); ours `decode_probe` with a LOCAL
55+`EC_AV1_ALLOW_422_PROBE` bypass at the stream.rs refusal — REVERTED before
56+commit, refusal re-proven to fire by name without the env.
57+
58+- After fixes 1–3, the frame-0 partition streams pair 1:1 rng-for-rng from
59+ the tile start through oracle #327 — tell offset constant +14 — covering
60+ every HORZ/VERT 8x8 pair, every split4 group, the (28,44) 16x16 square
61+ (one TX_8X16 chroma per plane, ctx row 9 = our 7-base row 2 after fix 1's
62+ stamp anchor) and the (30,42)/(24,56) bodies.
63+- Fix 4 (leaf8 dc-sign sampling) was located by the same pairing: the
64+ mi(2,24) 8x8 NONE leaf consumed the oracle's exact 13 bits but landed at
65+ rng 53768 vs 61448; the sign phase of its V plane diverged (dcctx 0 vs 2).
66+
67+## Next divergence (named stop, for the lane that owns the partial-SB walk)
68+
69+Frame 0 now desyncs where the bottom superblock row begins: the 64x64 at
70+mi(32,0) hangs over the bottom edge (`has_rows=false`), and libaom READS a
71+gathered two-symbol partition there (`EC_PART mi_row=32 mi_col=0 bsize=12
72+ctx=13 tell=19221 rng=54818` → `EC_PART_VAL value=1`, i.e. HORZ from the
73+`partition_gather_horz_alike` cdf, splitting the SB into two 64x32
74+strips). Our walk reads NO partition symbol for that SB and dispatches
75+straight into a 64x32 strip walk (`EC_RECTCHROMA_GAP luma=64x32
76+tx=32x32 chroma=32x32`), one symbol behind from there. Note the strip
77+reader's 4:2:2 chroma for a 64x32 strip (32x32 square, `ss (1,0)`) rides
78+the existing square arm. The `decode.rs:14888` closed-shape panic and the
79+`decode.rs:19169` skip arm were not touched.
80+
81+## State
82+
83+- Refusal `a chroma format of 4:2:2 (subsampling_x != subsampling_y)...`
84+ byte-identical; `git diff` touches only `decode.rs`; the probe refuses
85+ without `EC_AV1_ALLOW_422_PROBE` (measured this round).
86+- `cargo check -p ec-av1` (private target dir
87+ `$HOME/.cache/cargo-target-av1422h`): 0 warnings.
88+- 420 gates green: `a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_
89+ whose_tx_split_decodes_pixel_exact` 2/2 (both variants) and
90+ `a_non_420_subsampled_sequence_header_is_refused_by_name` 1/1. Every
91+ changed arm is keyed on ss (1,0); the 4:2:0/4:4:4 paths keep their
92+ proven rows and stamps.
93+- Temporary EC_RECTDBG/LEAFDBG/CHROMAWALK instrumentation removed before
94+ commit.
95+- No push. Traces left at /tmp/o_pal.txt (full-probe oracle),
96+ /tmp/o_part.txt, /tmp/u_cur.txt.