forge
Explore
Log in

Don't you dare go Hollow

Cherry-pick lane-rectsplit r4 (7b55227) -- base_ctx generating rule + SB split-tx per-TU strips

Browse files at this commit

30e5597b64b470513c20001c7cd994e0ba5d3475Ahmet Kaan GümüşParent: b583cf2
  • chore
    • cherry-pick lane-rectsplit r4 (7b55227) -- base_ctx generating rule + SB split-tx per-TU strips
    • r2's nz_map test dropped for r4's whole-domain one
Show full message
chore(av1): cherry-pick lane-rectsplit r4 (7b55227) -- base_ctx generating rule + SB split-tx per-TU strips; r2's nz_map test dropped for r4's whole-domain one
crates/ec-av1/src/decode.rsmodified+103 -40
@@ -1800,33 +1800,30 @@ fn base_ctx(
1800 // (lane-sbpart r8 root cause: `(row=1, col=0)` reads ctx 2 under the1800 // (lane-sbpart r8 root cause: `(row=1, col=0)` reads ctx 2 under the
1801 // square table vs the real ctx 13 the rect table gives).1801 // square table vs the real ctx 13 the rect table gives).
1802 TxClass::TwoD => {1802 TxClass::TwoD => {
1803- // OPEN (lane-rectsplit r3, measured): the two rect1803+ // lane-rectsplit r4: apply libaom's GENERATING RULE
1804- // transcriptions in [`cdf`] are packed `[col][row]` -- libaom's1804+ // (`txb_common.h:199-209`) directly instead of indexing the
1805- // `av1_nz_map_ctx_offset_32x64` is a FLAT 1024-entry array whose1805+ // transcribed 5x5 tables. `av1_nz_map_ctx_offset[tx_size]` is a
1806- // `coeff_idx` is COLUMN-major with stride 32 (`TX_CLASS_HORIZ`1806+ // FLAT array read at `coeff_idx`, and `coeff_idx` is COLUMN-major
1807- // reads its column back as `coeff_idx >> bhl`), and entries1807+ // (libaom decomposes it as `col = coeff_idx >> bhl`, `bhl` the
1808- // 0..5 / 32..35 match the generating rule (txb_common.h:199-209)1808+ // ADJUSTED height's log2, 5 for both `TX_64X32` and `TX_32X64`),
1809- // only under `flat[col * 32 + row]`;1809+ // so 32 consecutive entries are one COLUMN: the [`cdf`]
1810- // `nz_map_ctx_offset_tables_match_the_rect_rule` pins that.1810+ // transcriptions are `[col][row]` and this read had them as
1811- // Yet reading `[col][row]` here BREAKS1811+ // `[row][col]` -- the transpose, i.e. the other shape's rule with
1812- // `a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_decodes_pixel_exact`1812+ // 11 and 16 swapped. Same values as [`base_ctx_rect`] now, stated
1813- // (seed 43) while `[row][col]` breaks the split-transform SB gate1813+ // once; `base_ctx_rect_offsets_match_the_transcribed_tables_over_the_whole_domain`
1814- // (seed 50); swapping the shape test as well fails BOTH ways. So1814+ // pins the rule against the tables over their whole 5x5 domain.
1815- // this read is not the defect -- our (row, col) here come from a1815+ if let Some((w, h)) = rect_shape {
1816- // square 32x32-corner scan whose orientation relative to libaom's1816+ if std::env::var_os("EC_NZOFF_DUMP").is_some() {
1817- // column-major `coeff_idx` is what is really unproven, and each1817+ eprintln!("NZOFF side={side} shape={w}x{h} row={row} col={col}");
1818- // "fix" only moves which rare corner position desyncs. Left at1818+ }
1819- // the r1 reading, the one every merged gate is green under.1819+ if w < h && row < 2 {
1820- // `EC_NZOFF_DUMP=1` prints every rect-shaped read.1820+ return ctx + 11;
1821- let table = match rect_shape {1821+ }
1822- Some((w, h)) if w < h => &cdf::NZ_MAP_CTX_OFFSET_32X64,1822+ if w > h && col < 2 {
1823- Some((w, h)) if w > h => &cdf::NZ_MAP_CTX_OFFSET_64X32,1823+ return ctx + 16;
1824- _ => &cdf::NZ_MAP_CTX_OFFSET_32,1824+ }
1825- };
1826- if std::env::var_os("EC_NZOFF_DUMP").is_some() {
1827- eprintln!("NZOFF side={side} shape={rect_shape:?} row={row} col={col}");
1828 }1825 }
1829- ctx + table[row.min(4)][col.min(4)] as usize1826+ ctx + cdf::NZ_MAP_CTX_OFFSET_32[row.min(4)][col.min(4)] as usize
1830 }1827 }
1831 TxClass::Horiz => ctx + nz_map_ctx_offset_1d(col.min(31)),1828 TxClass::Horiz => ctx + nz_map_ctx_offset_1d(col.min(31)),
1832 TxClass::Vert => ctx + nz_map_ctx_offset_1d(row.min(31)),1829 TxClass::Vert => ctx + nz_map_ctx_offset_1d(row.min(31)),
@@ -2282,6 +2279,15 @@ fn read_coeffs(
2282 } else {2279 } else {
2283 let ctx = base_ctx(&levels, side, row, col, class, rect_shape);2280 let ctx = base_ctx(&levels, side, row, col, class, rect_shape);
2284 let v = dec.symbol(&mut coding.base[ctx]) as i32;2281 let v = dec.symbol(&mut coding.base[ctx]) as i32;
2282+ if ec_trace_coeff {
2283+ let (rng, _) = dec.debug_state();
2284+ // `pos` in libaom's column-major `coeff_idx` convention, so
2285+ // the ladder lines up with instrumented `aomdec`.
2286+ let apos = col * side + row;
2287+ eprintln!(
2288+ "EC_COEFF_STEP tag=base c={scan_idx} pos={apos} ctx={ctx} level={v} rng={rng}"
2289+ );
2290+ }
2285 if trace {2291 if trace {
2286 eprintln!(2292 eprintln!(
2287 "TRACE base scan_idx={scan_idx} pos={pos} row={row} col={col} ctx={ctx} value={v}"2293 "TRACE base scan_idx={scan_idx} pos={pos} row={row} col={col} ctx={ctx} value={v}"
@@ -2375,6 +2381,7 @@ fn read_coeffs_rect(
2375 ) -> Result<(Vec<i32>, TxType)> {2381 ) -> Result<(Vec<i32>, TxType)> {
2376 let ec_trace_coeff = std::env::var_os("EC_TRACE_COEFF").is_some();2382 let ec_trace_coeff = std::env::var_os("EC_TRACE_COEFF").is_some();
2377 let mut grid = vec![0i32; w * h];2383 let mut grid = vec![0i32; w * h];
2384+ let trace = std::env::var_os("EC_TRACE_COEFF").is_some();
2378 let all_zero = dec.symbol(&mut coding.txb_skip[skip_ctx]) == 1;2385 let all_zero = dec.symbol(&mut coding.txb_skip[skip_ctx]) == 1;
2379 if ec_trace_coeff {2386 if ec_trace_coeff {
2380 let (rng, _) = dec.debug_state();2387 let (rng, _) = dec.debug_state();
@@ -2406,6 +2413,8 @@ fn read_coeffs_rect(
2406 for scan_idx in (0..eob).rev() {2413 for scan_idx in (0..eob).rev() {
2407 let pos = scan[scan_idx] as usize;2414 let pos = scan[scan_idx] as usize;
2408 let (row, col) = (pos / w, pos % w);2415 let (row, col) = (pos / w, pos % w);
2416+ // libaom's column-major `coeff_idx`, for ladder comparison.
2417+ let apos = col * h + row;
2409 let level = if scan_idx == eob - 1 {2418 let level = if scan_idx == eob - 1 {
2410 let ctx = eob_coeff_ctx(scan_idx, w * h);2419 let ctx = eob_coeff_ctx(scan_idx, w * h);
2411 let l = dec.symbol(&mut coding.base_eob[ctx]) as i32 + 1;2420 let l = dec.symbol(&mut coding.base_eob[ctx]) as i32 + 1;
@@ -4234,6 +4243,13 @@ fn decode_rect_split(
4234 dc_sign_ctx(around[plane_idx].2),4243 dc_sign_ctx(around[plane_idx].2),
4235 default_tx,4244 default_tx,
4236 )?;4245 )?;
4246+ // The same delta_q proof the unsplit rect64 path records
4247+ // (lane-rectsplit r4: lifting the split-transform refusal moved
4248+ // superblock strips onto this path, so only counting there would
4249+ // leave the delta_q gate's counter silent for them).
4250+ if bw.max(bh) == 64 && CURRENT_Q_IDX.with(|c| c.get()) != i32::from(base_q_idx) {
4251+ RECT64_QIDX_DRIFT_HITS.with(|c| c.set(c.get() + 1));
4252+ }
4237 let residual = dequant_and_inverse_typed_wh(4253 let residual = dequant_and_inverse_typed_wh(
4238 &levels,4254 &levels,
4239 chroma_w,4255 chroma_w,
@@ -4897,20 +4913,34 @@ fn decode_block_rect64(
4897 };4913 };
4898 if depth != 0 {4914 if depth != 0 {
4899 TX_DEPTH_HITS.with(|c| c.set(c.get() + 1));4915 TX_DEPTH_HITS.with(|c| c.set(c.get() + 1));
4900- // lane-rectsplit r1/r3: [`decode_rect_split`] handles this shape too4916+ // lane-rectsplit r1/r4: the superblock-level strip splits its
4901- // and the per-unit port is wired here, but the gate4917+ // transform through the very same per-unit path as its 32x32-level
4902- // (`a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact`,4918+ // sibling (`sub_tx_size_map[TX_64X32] == TX_32X32`, square from the
4903- // `#[ignore]`d with its measurement) is still RED at seed 50 (luma4919+ // first step on, so `bw.min(bh) >> (depth - 1)` names the unit).
4904- // (171,56), ours 147 vs ffmpeg 148). r2 believed the cause was a4920+ let tx = bw.min(bh) >> (depth - 1);
4905- // transposed `av1_nz_map_ctx_offset` read; r3 measured that4921+ if std::env::var_os("EC_SBPART_DUMP64").is_some() {
4906- // transposing it turns THIS gate green and the merged SB-level4922+ eprintln!(
4907- // HORZ/VERT partition gate RED (seed 43), so the cause is still4923+ "DUMP64SPLIT mi_r={mi_r} mi_c={mi_c} px={px} py={py} bw={bw} bh={bh} \
4908- // open. A refusal this lane cannot lift is not one it may ship wrong4924+ depth={depth} tx={tx} mode={mode} uv={uv_predict_mode} skip={skip} \
4909- // pixels past.4925+ angle_y={angle_delta_y}"
4910- return Err(unsupported(4926+ );
4911- "a superblock-level HORZ/VERT strip with a split transform (per-unit rect \4927+ }
4912- prediction is not ported)",4928+ let modes = RectStripModes {
4913- ));4929+ skip,
4930+ mode,
4931+ angle_delta_y,
4932+ uv_predict_mode,
4933+ angle_delta_uv,
4934+ alpha,
4935+ filter_intra,
4936+ smooth_neighbor,
4937+ smooth_neighbor_uv,
4938+ };
4939+ decode_rect_split(
4940+ dec, cdfs, neighbours, at, bw, bh, tx, &modes, y, u, v, base_q_idx, reduced_tx_set,
4941+ )?;
4942+ RECT_PARTITION_HITS.with(|c| c.set(c.get() + 1));
4943+ return Ok(());
4914 }4944 }
4915 let (tx_w, tx_h) = (bw, bh);4945 let (tx_w, tx_h) = (bw, bh);
4916 let (cpx, cpy) = (px / 2, py / 2);4946 let (cpx, cpy) = (px / 2, py / 2);
@@ -16476,6 +16506,39 @@ mod tests {
16476 }16506 }
16477 }16507 }
16478 16508
16509+ /// lane-rectsplit r4 (class `enumerate-table-domain`): [`base_ctx`]'s
16510+ /// `TX_CLASS_2D` arm must, over the WHOLE 5x5 domain of both rect shapes
16511+ /// and the square one, return exactly what libaom's
16512+ /// `av1_nz_map_ctx_offset[tx_size][coeff_idx]` holds -- the flat tables
16513+ /// transcribed in [`cdf`], read at libaom's own COLUMN-major
16514+ /// `coeff_idx = col * 32 + row`, i.e. `table[col][row]`. r1..r3 read them
16515+ /// `[row][col]`, which is the transpose (the OTHER shape's rule, with 11
16516+ /// and 16 swapped): it desynced the first superblock strip whose luma
16517+ /// corner held a coefficient off the first row/column.
16518+ #[test]
16519+ fn base_ctx_rect_offsets_match_the_transcribed_tables_over_the_whole_domain() {
16520+ let grid = [0i32; 32 * 32];
16521+ for (shape, table) in [
16522+ (Some((64usize, 32usize)), &cdf::NZ_MAP_CTX_OFFSET_64X32),
16523+ (Some((32, 64)), &cdf::NZ_MAP_CTX_OFFSET_32X64),
16524+ (None, &cdf::NZ_MAP_CTX_OFFSET_32),
16525+ ] {
16526+ for row in 0..5usize {
16527+ for col in 0..5usize {
16528+ // An all-zero neighbourhood makes the magnitude term 0,
16529+ // so `base_ctx` returns the offset itself.
16530+ let got = base_ctx(&grid, 32, row, col, TxClass::TwoD, shape);
16531+ let want = if row == 0 && col == 0 {
16532+ 0
16533+ } else {
16534+ table[col][row] as usize
16535+ };
16536+ assert_eq!(got, want, "{shape:?} at (row {row}, col {col})");
16537+ }
16538+ }
16539+ }
16540+ }
16541+
16479 // `crate::tile`'s `flat_key_frame_tile`/`dc_key_frame_tile_levels`/16542 // `crate::tile`'s `flat_key_frame_tile`/`dc_key_frame_tile_levels`/
16480 // `split_dc_key_frame_tile` are not exercised here: they are synthetic16543 // `split_dc_key_frame_tile` are not exercised here: they are synthetic
16481 // single-purpose writers with their own skip-context rule (keyed to16544 // single-purpose writers with their own skip-context rule (keyed to
crates/ec-av1/src/refusal_inventory.rsmodified+0 -1
@@ -44,7 +44,6 @@ const REFUSALS: &[&str] = &[
44 "a 16x16 inter block whose true edge cuts through both axes needs a rectangular transform this decoder does not code yet",44 "a 16x16 inter block whose true edge cuts through both axes needs a rectangular transform this decoder does not code yet",
45 "a 32x32 partition type this decoder does not code (value={part32})",45 "a 32x32 partition type this decoder does not code (value={part32})",
46 "a Golomb tail longer than this decoder reads",46 "a Golomb tail longer than this decoder reads",
47- "a superblock-level HORZ/VERT strip with a split transform (per-unit rect prediction is not ported)",
48 "a tx_type symbol outside its CDF's own set: {t}",47 "a tx_type symbol outside its CDF's own set: {t}",
49 "an INTER 32x32 partition type this decoder does not code (value={part32})",48 "an INTER 32x32 partition type this decoder does not code (value={part32})",
50 "a superblock-level partition value outside PARTITION_NONE..PARTITION_VERT_4",49 "a superblock-level partition value outside PARTITION_NONE..PARTITION_VERT_4",
crates/ec-av1/src/stream.rsmodified+14 -8
@@ -12292,14 +12292,20 @@ mod tests {
12292 /// which is the per-unit availability rule this port exists for, and no12292 /// which is the per-unit availability rule this port exists for, and no
12293 /// gate fired one before this round.12293 /// gate fired one before this round.
12294 ///12294 ///
12295- /// This gate was `#[ignore]`d RED through r1 (seed 50 luma (171,56)).12295+ /// This gate was `#[ignore]`d RED through r3 (seed 50 luma (171,56)).
12296- /// Root cause, r2: not availability at all -- `av1_nz_map_ctx_offset` is12296+ /// Root cause, r4, TWO defects, neither of them availability -- the
12297- /// packed COLUMN-major, so [`crate::decode::base_ctx`] read the12297+ /// strip's own per-unit prediction was exact all along:
12298- /// `TX_32X64`/`TX_64X32` offset tables transposed and desynced the first12298+ /// 1. `av1_nz_map_ctx_offset` is indexed by libaom's COLUMN-major
12299- /// SB-level strip whose luma corner held a coefficient below row 1 (see12299+ /// `coeff_idx = col * 32 + row`, so [`crate::decode::base_ctx`] read
12300- /// that function's comment). The strip's own per-unit prediction was12300+ /// the `TX_32X64`/`TX_64X32` offset tables transposed (r2 saw this and
12301- /// already exact.12301+ /// r3 reverted it, because "fixing" it turned the merged SB HORZ/VERT
12302- #[ignore = "lane-rectsplit r3: RED at seed 50; the nz_map transposition r2 blamed turns the merged SB HORZ/VERT partition gate RED at seed 43, cause still open"]12302+ /// gate RED at seed 43);
12303+ /// 2. that seed-43 RED was a SECOND defect the first one had been hiding
12304+ /// behind a refusal: `EOB_PT_512_CHROMA` was transcribed from
12305+ /// `av1_default_eob_multi512_cdfs`'s `eob_multi_ctx = 1` row (the flat
12306+ /// `V_DCT`/`H_DCT` distribution), so the first real 32x16 chroma
12307+ /// transform read `eob_pt` 7 where aomdec read 2. With both fixed,
12308+ /// seeds 43 and 50 are pixel-exact.
12303 #[test]12309 #[test]
12304 fn a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact() {12310 fn a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact() {
12305 const NAME: &str = "a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact";12311 const NAME: &str = "a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact";
lanes/rectsplit-r4.report.mdadded+97 -0
@@ -0,0 +1,97 @@
1+# lane-rectsplit r4 — SB-level split-transform strips: TWO root causes, refusal lifted
2+
3+Branch `lane-rectsplit` off `4c3389a` (r3's safe state). No rebase needed: `main` is still
4+`3808cf8`, the branch's merge base.
5+
6+## Headline
7+
8+r3's four-way table was not a contradiction — it was two defects stacked, the first hiding
9+the second behind a refusal:
10+
11+1. **`base_ctx` read the rect `av1_nz_map_ctx_offset` tables transposed.** libaom indexes
12+ them by its own `coeff_idx`, and `get_nz_map_ctx_from_stats` decomposes that as
13+ `col = coeff_idx >> bhl`, `bhl` = log2 of the *adjusted* height (5 for both `TX_64X32`
14+ and `TX_32X64`): `coeff_idx = col * 32 + row`, so 32 consecutive flat entries are one
15+ COLUMN and the `cdf.rs` 5x5 transcriptions are `[col][row]`. `decode.rs:1162` read them
16+ `[row][col]` = the transpose = the other shape's rule with 11 and 16 swapped.
17+ Fixed by stating libaom's generating rule (`txb_common.h:199-209`) once, exactly as
18+ `base_ctx_rect` already did, instead of indexing the tables at all.
19+2. **`EOB_PT_512_CHROMA` was transcribed from the wrong row of
20+ `av1_default_eob_multi512_cdfs[q][plane][2]`.** The last index is `eob_multi_ctx`
21+ (0 = `TX_CLASS_2D`, 1 = `V_DCT`/`H_DCT`), not a q-context: the flat
22+ `3277, 6554, ...` distribution our table held is the 1D-class row, identical for both
23+ planes at every q, and the real chroma 2D row has four q-context variants like every
24+ other coefficient table. The FIRST real 32x16 chroma transform read `eob_pt` 7 where
25+ aomdec read 2 — that is what made seed 43 RED once defect 1 was fixed. Under r3's
26+ shipped code seed 43 never reached it: it desynced 13 elements EARLIER and exited
27+ through a named refusal, which the gate counts as a pass (class `refusal-hides-a-defect`).
28+
29+## Changed
30+
31+- `crates/ec-av1/src/decode.rs:1162` `base_ctx` — the `TX_CLASS_2D` rect arm now applies
32+ libaom's generating rule (`row < 2 -> 11` when w<h, `col < 2 -> 16` when w>h, else the
33+ square table), no transposable table read left.
34+- `crates/ec-av1/src/cdf.rs:269` — `EOB_PT_512_CHROMA` corrected to the 2D chroma row plus
35+ new `_Q0`/`_Q1`/`_Q3` siblings; `cdf_state.rs:1015` now `pick()`s by q-context.
36+- `crates/ec-av1/src/decode.rs:4102` `decode_block_rect64` — the split-transform refusal is
37+ LIFTED, wired to `decode_rect_split` (r1's per-unit port), `RECT_PARTITION_HITS` bumped.
38+- `crates/ec-av1/src/decode.rs:3428` `decode_rect_split` — records `RECT64_QIDX_DRIFT_HITS`
39+ for 64-level strips, which now reach this path.
40+- `crates/ec-av1/src/refusal_inventory.rs:49` — refusal string removed.
41+- `crates/ec-av1/src/stream.rs:9778` — gate (b) un-`#[ignore]`d, its doc records both causes.
42+- Instruments kept: `read_coeffs`/`read_coeffs_rect` print an `EC_COEFF_STEP` ladder under
43+ `EC_TRACE_COEFF` in instrumented-aomdec format, with `pos` converted to libaom's
44+ column-major `coeff_idx` so the two ladders `diff` line by line.
45+- New unit test `decode::tests::base_ctx_rect_offsets_match_the_transcribed_tables_over_the_whole_domain`
46+ — evaluates `base_ctx` over the WHOLE 5x5 domain of 64x32 / 32x64 / square against
47+ `table[col][row]` (class `enumerate-table-domain`).
48+
49+## Refusals lifted
50+
51+- `"a superblock-level HORZ/VERT strip with a split transform (per-unit rect prediction is not ported)"`
52+ — with `a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact`
53+ green, hard-asserting `rect_split_sb_interior_tu_hits` (SB-level AND tx depth >= 2) sampled
54+ per compared attempt.
55+
56+## Gates and evidence
57+
58+EVIDENCE: msac range ladders `scratchpad/n_ours43.txt` vs `scratchpad/n_aom43.txt` | `EC_TRACE_COEFF=1 decode_probe seed43.obu` vs `EC_TRACE_COEFF=1 aomdec` on the gate-dumped seed-43 stream | first divergent element = the chroma `eob` of the 64x32 strip at mi (0,16): ours `eob_pt` group 8 (eob 103), aomdec group 3 (eob 3), at identical range 44680 — i.e. a CDF-content defect, not a context one
59+EVIDENCE: `scratchpad/r4_ours43.yuv` vs `scratchpad/r4_aom43.yuv` | `decode_probe seed43.obu out.yuv`; `aomdec --rawvideo` | `cmp` byte-identical (was: frame-0 luma mismatch)
60+EVIDENCE: `EC_AV1_REQUIRE_AOMENC=1 cargo test -p ec-av1 --lib -j3 -- --test-threads=1 --include-ignored superblock_level_horz_vert_partition split_transform_horz_vert_strip filter_intra_on_a_horz split_transform_superblock_strip refusal_inventory gate_coverage nz_map` | gates (a) (b) (c) + merged SB HORZ/VERT + inventory/coverage/table tests | 10 passed, 1 failed (81.41s) — the failure is the already-`#[ignore]`d `..._and_delta_q_...` gate, which fails its own drift counter, not a pixel compare (27/40 pixel-exact, 13 named refusals)
61+EVIDENCE: third leg from lane-tx64x16 — `scratchpad` sweep seeds 42..81, 192x128 gradients, merged-gate recipe with `--min-partition-size=16 --enable-1to4-partitions=1` | encode with the oracle aomenc, `decode_probe` vs `aomdec --rawvideo`, `cmp` | 33 EXACT, 7 named refusals (6x SB-level AB partition, 1x screen-content strip), 0 mismatches — seed 55 (reported 3944 wrong luma samples, first at (154,59)) is now byte-exact
62+EVIDENCE: full `EC_AV1_REQUIRE_AOMENC=1 cargo test -p ec-av1 --lib -j3` | whole crate lib | **272 passed, 0 failed, 23 ignored**, 490.90s (r3's expectation was 270/0/24; +1 un-ignored gate, +1 new unit test)
63+
64+## Film check (ReelB, the lane's critical path)
65+
66+`decode_probe` on the coordinator's mid-film extract (`ffmpeg -ss 600 -t 0.5 ... -f obu`,
67+11.5 MB, 10-bit 2160p, `.../cdc46329-.../scratchpad/reelb5.obu`), which stopped at exactly this
68+lane's refusal on main:
69+
70+```
71+before (main 06d856d): REFUSED: a superblock-level HORZ/VERT strip with a split transform ...
72+after (this branch): REFUSED: AV1 tile (a 32x32 partition type this decoder does not code (value=8))
73+```
74+
75+EVIDENCE: `.../cdc46329-.../scratchpad/reelb5.obu` | `cargo run -p ec-av1 --example decode_probe` on `lane-rectsplit` r4 | the film advances past this lane's refusal to `PARTITION_HORZ_4` (value 8), a 1:4-partition gap owned by lane-part32/tx64x16
76+
77+## Sibling sweep (defect class)
78+
79+- Class `table-transcribed-from-the-wrong-row-of-a-multi-dimensional-default`: every other
80+ coefficient CDF in `Cdfs::new` already goes through `pick(q_ctx, ...)`; a grep of
81+ `cdf.rs` for libaom's flat 1D rows (`3277, 6554` / `2979, 5958` / ...) finds no second
82+ instance. `EOB_PT_512_CHROMA` was the only coefficient table initialised without `pick`.
83+- Class `reference-layout-not-spec` (transposed table): the only other rect offset consumer,
84+ `base_ctx_rect`, already stated the rule and is unchanged; the new domain test covers both.
85+
86+## Residue
87+
88+- deferred(lane-part32 / lane-tx64x16 — 1:4 partitions): both films and 7/40 seeds of the
89+ third-leg sweep now stop at `PARTITION_HORZ_4/VERT_4` or SB-level AB partitions.
90+- deferred(lane-rect64q): `a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_and_delta_q_decodes_pixel_exact`
91+ stays `#[ignore]`d as r3 left it — its 40 attempts pixel-match (27 compared, 13 named
92+ refusals) but `deltaq-mode=1` never drifts `CURRENT_Q_IDX` inside a 64-level strip in
93+ that recipe. r4 added the missing counter bump on the split path; the gate still needs a
94+ recipe that actually drifts.
95+- accepted: the third-leg recipe (`--min-partition-size=16 --enable-1to4-partitions=1`) is
96+ measured here but NOT added as a gate arm — its remaining refusals are 1:4/AB partitions
97+ owned by other lanes, so the arm would be RED for reasons outside this lane.