diff --git a/crates/ec-av1/src/cdf.rs b/crates/ec-av1/src/cdf.rs index dd9a40f3..bf8d598e 100644 --- a/crates/ec-av1/src/cdf.rs +++ b/crates/ec-av1/src/cdf.rs @@ -463,7 +463,14 @@ pub const CFL_SIGN: [u16; 9] = [1418, 2123, 13340, 18405, 26972, 28343, 32294, 3 /// the flag was never read at that size at all (libaom reads it for every /// DC_PRED block whose sides are both <= 32), so every DC_PRED 16x8 strip /// dropped one symbol and desynced the tile from that block on. -pub const FILTER_INTRA: [[u16; 3]; 8] = [ +/// `[8]`/`[9]` (lane-fi32x8 r1) add `BLOCK_32X8`/`BLOCK_8X32`'s own rows +/// (18101/20229, `default_filter_intra_cdfs` index 19/18 -- generated by +/// `scripts/extract-filter-intra-cdfs.py`): the four 32x8 (or 8x32) strips a +/// 32x32-level `PARTITION_HORZ_4`/`VERT_4` codes are inside +/// `av1_filter_intra_allowed_bsize`'s "both sides <= 32" bound, so libaom +/// reads `use_filter_intra` there too and the missing rows dropped the +/// symbol on every DC_PRED 1:4 strip. +pub const FILTER_INTRA: [[u16; 3]; 10] = [ [4621, 32768, 0], [7866, 32768, 0], [12408, 32768, 0], @@ -472,6 +479,8 @@ pub const FILTER_INTRA: [[u16; 3]; 8] = [ [14301, 32768, 0], [9394, 32768, 0], [12551, 32768, 0], + [18101, 32768, 0], + [20229, 32768, 0], ]; /// `default_filter_intra_mode_cdf` (entropymode.c): which of the five /// `FILTER_INTRA_MODES` a `use_filter_intra` block picks. diff --git a/crates/ec-av1/src/cdf_state.rs b/crates/ec-av1/src/cdf_state.rs index 07f2c045..aedcfa85 100644 --- a/crates/ec-av1/src/cdf_state.rs +++ b/crates/ec-av1/src/cdf_state.rs @@ -541,7 +541,7 @@ pub(crate) struct Cdfs { /// `[1]`=8x8, `[2]`=16x16, `[3]`=32x32, `[4]`=32x16, `[5]`=16x32, /// `[6]`=16x8, `[7]`=8x16) -- /// see [`cdf::FILTER_INTRA`]. - pub filter_intra: [[u16; 3]; 8], + pub filter_intra: [[u16; 3]; 10], /// Which `FILTER_INTRA_MODES` entry a `use_filter_intra` block picks. pub filter_intra_mode: [u16; 6], /// `TxMode::Select`'s `tx_depth` flag at an 8x8 block, by `tx_size_context` diff --git a/crates/ec-av1/src/decode.rs b/crates/ec-av1/src/decode.rs index d4e361ff..922305bf 100644 --- a/crates/ec-av1/src/decode.rs +++ b/crates/ec-av1/src/decode.rs @@ -956,6 +956,31 @@ pub(crate) fn filter_intra_rect_hits() -> usize { FILTER_INTRA_RECT_HITS.with(|c| c.get()) } +// As [`FILTER_INTRA_RECT_HITS`], counting only the 32x32-level 1:4 strips +// (32x8/8x32, lane-fi32x8 r1) -- the shapes whose `use_filter_intra` symbol +// was never read at all before that round, so a gate needs to prove the flag +// fired at THAT shape and not at a 16x8 one somewhere else in the frame. +// Split by ORIENTATION: rows 8 (32x8) and 9 (8x32) of `cdf::FILTER_INTRA` +// carry different probabilities (18101 vs 20229), so a transposed pair is +// only caught by a gate that sees the flag fire on BOTH shapes (class +// scan-weights-cross-axis). +thread_local! { + static FILTER_INTRA_RECT4_HORZ_HITS: std::cell::Cell = + const { std::cell::Cell::new(0) }; + static FILTER_INTRA_RECT4_VERT_HITS: std::cell::Cell = + const { std::cell::Cell::new(0) }; +} + +/// Current value of [`FILTER_INTRA_RECT4_HORZ_HITS`] (32x8 strips). +pub(crate) fn filter_intra_rect4_horz_hits() -> usize { + FILTER_INTRA_RECT4_HORZ_HITS.with(|c| c.get()) +} + +/// Current value of [`FILTER_INTRA_RECT4_VERT_HITS`] (8x32 strips). +pub(crate) fn filter_intra_rect4_vert_hits() -> usize { + FILTER_INTRA_RECT4_VERT_HITS.with(|c| c.get()) +} + // As [`FILTER_INTRA_RECT_HITS`], counting only the strips BELOW 16x16 // (8x16/16x8 leaves of a 16x16 HORZ/VERT partition, lane-fistrip r1) -- the // shapes whose `use_filter_intra` symbol had no CDF class before this round. @@ -4300,6 +4325,14 @@ fn filter_intra_size_class_rect(bw: usize, bh: usize) -> Option { // identical mode/uv_mode values, range 34808 vs the oracle's 40668). (16, 8) => Some(6), (8, 16) => Some(7), + // lane-fi32x8 r1: same bound, the 32x32-level 1:4 pair + // (`decode_block_rect4`'s 32x8/8x32 strips). `None` here read no + // `use_filter_intra` symbol on those strips although aomenc writes + // one for every DC_PRED block of that shape with + // `--enable-filter-intra=1` (its default), silently desyncing the + // tile (class symbol-consumption-gap). + (32, 8) => Some(8), + (8, 32) => Some(9), _ if bw == bh => filter_intra_size_class(bw), _ => None, } @@ -5887,6 +5920,11 @@ fn decode_block_rect4( neighbours.smooth_uv_neighbour(r * (SUB / MI), c * (SUB / MI), r, c); if filter_intra.is_some() { FILTER_INTRA_RECT_HITS.with(|c| c.set(c.get() + 1)); + if bw > bh { + FILTER_INTRA_RECT4_HORZ_HITS.with(|c| c.set(c.get() + 1)); + } else { + FILTER_INTRA_RECT4_VERT_HITS.with(|c| c.set(c.get() + 1)); + } } let uv_predict_mode = if uv_mode == UV_CFL_PRED { DC_PRED @@ -19004,7 +19042,6 @@ mod tests { "a partition below 8x8 (this decoder codes no leaf smaller than 8x8)"; const PART16: &str = "a HORZ_A/HORZ_B/VERT_A partition below 16x16 (this decoder codes \ only the square arms, HORZ, VERT, VERT_B, and a clean split below 16x16)"; - const PART32: &str = "a 32x32 partition type this decoder does not code (value={part32})"; let libaom: &[(usize, usize, u16, Option<&str>)] = &[ (4, 4, 4621, None), (4, 8, 6743, Some(BELOW_8X8)), @@ -19017,12 +19054,15 @@ mod tests { (32, 16, 12756, None), (32, 32, 22343, None), // The 1:4 strips: a 16x16-level PARTITION_HORZ_4/VERT_4 gives - // 4x16/16x4, a 32x32-level one 8x32/32x8, and both partition - // values refuse by name before any leaf is coded. + // 4x16/16x4 (still refused by name before any leaf is coded), + // a 32x32-level one 8x32/32x8. (4, 16, 12770, Some(PART16)), (16, 4, 10368, Some(PART16)), - (8, 32, 20229, Some(PART32)), - (32, 8, 18101, Some(PART32)), + // lane-fi32x8 r1: the 32-level pair is coded (four 32x8/8x32 + // strips per `PARTITION_HORZ_4`/`VERT_4`) and now owns classes + // 8/9; only the 16-level pair is still refused before any leaf. + (8, 32, 20229, None), + (32, 8, 18101, None), ]; let mut classes_seen = std::collections::BTreeSet::new(); for &(bw, bh, default, refused_by) in libaom { diff --git a/crates/ec-av1/src/stream.rs b/crates/ec-av1/src/stream.rs index d27020fa..247c577f 100644 --- a/crates/ec-av1/src/stream.rs +++ b/crates/ec-av1/src/stream.rs @@ -16926,6 +16926,252 @@ mod tests { } } + /// lane-fi32x8 r1 (class symbol-consumption-gap): the 32x32-level 1:4 + /// strips (32x8/8x32) are inside `av1_filter_intra_allowed_bsize`'s + /// "both sides <= 32" bound, so libaom reads a `use_filter_intra` flag on + /// every DC_PRED one of them -- and `--enable-filter-intra` is ON by + /// aomenc default, so the sibling gate above (which spells it `=0`) could + /// never see it. `filter_intra_size_class_rect` had no row for either + /// shape, so the symbol was never read and the tile desynced silently + /// from that strip on. Same band fixture as the sibling (8-px bands + + /// seeded noise, both orientations), the ONLY recipe change being + /// `--enable-filter-intra=1` appended AFTER the base recipe (aomenc keeps + /// the LAST occurrence of a repeated `--enable-*` flag). The counter is + /// this shape's OWN (`filter_intra_rect4_hits`), not the shared rect one, + /// so a filter-intra 16x8 strip elsewhere in the frame cannot stand in + /// for it; only hits earned inside an attempt that then compared + /// pixel-exact are counted (class gate-skips-on-its-own-failure), and + /// both bit depths are asserted independently. + /// + /// `--enable-tx-size-search=0` is kept from the sibling recipe: a 1:4 + /// strip with `tx_depth != 0` is still refused by name ("a 32x32-level + /// 1:4 strip with a split transform"), so a search-on arm would only + /// harvest refusals, not coverage -- filter intra is proven at depth 0 + /// here and the per-TU case belongs to the round that lifts that refusal. + #[test] + fn a_real_aomenc_stream_with_filter_intra_on_a_32_level_1to4_strip_decodes_pixel_exact() { + const NAME: &str = + "a_real_aomenc_stream_with_filter_intra_on_a_32_level_1to4_strip_decodes_pixel_exact"; + let _gate_lock = lock_gate_counters(); + if !have_ffmpeg() { + eprintln!("SKIP {NAME}: no ffmpeg"); + return; + } + if !have_aomenc() { + eprintln!("SKIP {NAME}: no aomenc at {}", aomenc_path().display()); + return; + } + let (width, height, frame_count) = (192usize, 128usize, 1usize); + let n_attempts: u32 = std::env::var("EC_FI32X8_GATE_ATTEMPTS") + .ok() + .and_then(|s| s.parse().ok()) + // 16, not 12 (measured, r1): the first attempt whose VERT_4 + // (8x32) strips pick filter intra at 8 bit is attempt 13. + .unwrap_or(16); + for bit_depth in [8u32, 10u32] { + let mut named_refusals = 0u32; + let mut matched = 0u32; + let (mut fi_horz_proved, mut fi_vert_proved, mut strips_proved) = (0usize, 0usize, 0usize); + let (mut out_of_scope, mut out_of_scope_mismatch) = (0u32, 0u32); + for attempt in 0..n_attempts { + let seed = 42 + attempt; + let duration = frame_count as f64 / 25.0; + let axis = if attempt % 2 == 0 { "Y" } else { "X" }; + let step = 67 + (attempt / 2) * 12; + // A HEAVIER noise layer than the sibling gate's 6..15 (lane-fi32x8 r1, + // measured): filter intra is what aomenc reaches for when a flat + // band is noisy, so at 6..15 the flag fired on a 1:4 strip in 3 of + // 40 8-bit attempts and in NONE of 40 10-bit ones, while at 18..27 + // it fires in most attempts at BOTH depths. + let noise = 18 + (attempt % 4) * 3; + let source = format!( + "color=c=gray:s={width}x{height}:d={duration}:r=25,format=gray,\ + geq=lum='mod(floor({axis}/8)*{step},256)',\ + noise=alls={noise}:all_seed={seed},format=yuv420p" + ); + let cq_level = format!("--cq-level={}", [32, 45, 55][(attempt / 2 % 3) as usize]); + let pix_fmt = if bit_depth == 10 { "yuv420p10le" } else { "yuv420p" }; + let y4m = Command::new("ffmpeg") + .args([ + "-v", "error", "-f", "lavfi", "-i", &source, "-t", &duration.to_string(), + "-pix_fmt", pix_fmt, "-strict", "-1", "-f", "yuv4mpegpipe", "-", + ]) + .stdin(Stdio::null()) + .stdout(Stdio::piped()) + .stderr(Stdio::piped()) + .output() + .expect("ffmpeg failed to run"); + assert!( + y4m.status.success(), + "{NAME}: ffmpeg refused the {bit_depth}-bit fixture: {}", + String::from_utf8_lossy(&y4m.stderr) + ); + let depth_arg = format!("--bit-depth={bit_depth}"); + let input_depth_arg = format!("--input-bit-depth={bit_depth}"); + let args: Vec<&str> = vec![ + "--codec=av1", + "--passes=1", + "--end-usage=q", + &cq_level, + "--cpu-used=0", + "--threads=1", + "--row-mt=0", + "--sb-size=64", + &depth_arg, + &input_depth_arg, + "--enable-rect-partitions=1", + "--enable-ab-partitions=0", + "--enable-1to4-partitions=1", + "--min-partition-size=8", + "--max-partition-size=32", + "--enable-restoration=0", + "--enable-palette=0", + "--deltaq-mode=0", + "--enable-cfl-intra=0", + "--enable-intrabc=0", + "--enable-tx-size-search=0", + // The competing intra modes off (lane-fi32x8 r1): with + // directional/paeth/smooth intra available, aomenc's RD + // picks filter intra on a 32x8 strip in only ~3 of 40 + // attempts at 8 bit and NEVER at 10 bit (measured, see the + // r1 report), so this shape's own symbol would go + // unexercised at 10 bit. Leaving DC and filter intra as + // the block's luma intra choices makes the flag fire + // without weakening the gate: every decoded frame is + // still compared to ffmpeg in full. + "--enable-directional-intra=0", + "--enable-paeth-intra=0", + "--enable-smooth-intra=0", + // THE override, last (aomenc keeps the last occurrence). + "--enable-filter-intra=1", + "--obu", + "-o", + "-", + "-", + ]; + let mut child = Command::new(aomenc_path()) + .args(&args) + .stdin(Stdio::piped()) + .stdout(Stdio::piped()) + .stderr(Stdio::piped()) + .spawn() + .expect("aomenc failed to start"); + child + .stdin + .take() + .expect("aomenc stdin") + .write_all(&y4m.stdout) + .expect("writing y4m to aomenc"); + let out = child.wait_with_output().expect("aomenc failed to run"); + assert!( + out.status.success(), + "aomenc refused the fixture: {}", + String::from_utf8_lossy(&out.stderr) + ); + let stream = out.stdout; + let before = ( + crate::decode::filter_intra_rect4_horz_hits(), + crate::decode::filter_intra_rect4_vert_hits(), + crate::decode::rect4_32_horz_hits() + crate::decode::rect4_32_vert_hits(), + ); + let frames = match decode_stream(&stream) { + Err(e) => { + let msg = e.to_string(); + assert!( + msg.contains("unsupported"), + "{NAME} failed outright, not a named refusal ({bit_depth}-bit, seed \ + {seed}): {msg}" + ); + named_refusals += 1; + eprintln!("{bit_depth}-bit seed {seed} refusal: {msg}"); + continue; + } + Ok(frames) => frames, + }; + let (fi_horz, fi_vert, strips) = ( + crate::decode::filter_intra_rect4_horz_hits() - before.0, + crate::decode::filter_intra_rect4_vert_hits() - before.1, + crate::decode::rect4_32_horz_hits() + crate::decode::rect4_32_vert_hits() + - before.2, + ); + let fi = fi_horz + fi_vert; + let ffmpeg_frames = if bit_depth == 10 { + ffmpeg_decode_sequence_10bit(&stream, width, height, frame_count) + } else { + ffmpeg_decode_sequence(&stream, width, height, frame_count) + }; + assert_eq!(frames.len(), frame_count); + let mismatched = frames + .iter() + .zip(&ffmpeg_frames) + .any(|(got, want)| got.y != want.y || got.u != want.u || got.v != want.v); + // Per-attempt line (opt-in): which (seed, cq, axis, noise) + // actually made aomenc pick filter intra ON a 1:4 strip is + // exactly what a re-tune of this fixture needs, and it is not + // recoverable from the summary. + if std::env::var_os("EC_FI32X8_VERBOSE").is_some() { + eprintln!( + "{NAME}: {bit_depth}-bit seed {seed} {cq_level} axis={axis} noise={noise} \ + fi={fi_horz}+{fi_vert} strips={strips} mismatched={mismatched}" + ); + } + if fi == 0 { + out_of_scope += 1; + if mismatched { + out_of_scope_mismatch += 1; + eprintln!( + "{NAME}: {bit_depth}-bit seed {seed} MISMATCHES with zero \ + filter-intra 1:4 strips ({strips} plain 1:4 strips) -- a defect of \ + another shape" + ); + } + continue; + } + for (i, (got, want)) in frames.iter().zip(&ffmpeg_frames).enumerate() { + assert_eq!( + got.y, want.y, + "{NAME} frame {i} luma vs ffmpeg ({bit_depth}-bit, seed {seed})" + ); + assert_eq!( + got.u, want.u, + "{NAME} frame {i} U vs ffmpeg ({bit_depth}-bit, seed {seed})" + ); + assert_eq!( + got.v, want.v, + "{NAME} frame {i} V vs ffmpeg ({bit_depth}-bit, seed {seed})" + ); + } + fi_horz_proved += fi_horz; + fi_vert_proved += fi_vert; + strips_proved += strips; + matched += 1; + } + // BOTH orientations, per bit depth: rows 8/9 of `cdf::FILTER_INTRA` + // are asymmetric (18101 for 32x8, 20229 for 8x32), so a one-sided + // assert would pass on a transposed pair. + assert!( + fi_horz_proved > 0 && fi_vert_proved > 0 && matched > 0, + "{NAME}: a 32x8/8x32 strip orientation never read use_filter_intra=1 inside a \ + pixel-exact {bit_depth}-bit attempt (32x8={fi_horz_proved}, \ + 8x32={fi_vert_proved}, {matched} matches, {named_refusals} refusals, \ + {out_of_scope} attempts with no filter-intra 1:4 strip, out of {n_attempts}) \ + -- gate proved nothing this run" + ); + eprintln!( + "{NAME}: {bit_depth}-bit: {named_refusals} named refusals, {matched} pixel-exact \ + matches out of {n_attempts}, filter-intra 1:4 strips={fi_horz_proved}x(32x8)+{fi_vert_proved}x(8x32) of \ + {strips_proved} 1:4 strips, {out_of_scope} attempts carried none \ + ({out_of_scope_mismatch} mismatched)" + ); + assert_eq!( + out_of_scope_mismatch, 0, + "{NAME}: {bit_depth}-bit: {out_of_scope_mismatch} attempt(s) with zero \ + filter-intra 1:4 strips decoded but mismatched ffmpeg -- a defect of another \ + shape, not a pass" + ); + } + } + /// lane-tiles r11: every tile gate before this one turns the coding tools /// OFF (rect/ab partitions, tx-size search, cdef, restoration all `=0`) /// to isolate the per-tile loop, which is exactly the diff --git a/lanes/fi32x8-r1.report.md b/lanes/fi32x8-r1.report.md new file mode 100644 index 00000000..0c78f72c --- /dev/null +++ b/lanes/fi32x8-r1.report.md @@ -0,0 +1,102 @@ +# lane-fi32x8 r1 — 32x8/8x32 strips read `use_filter_intra` + +## Defect (class symbol-consumption-gap), confirmed on main 11633d7 + +`decode_block_rect4` (decode.rs:5817) decodes the 32x32-level `PARTITION_HORZ_4`/ +`PARTITION_VERT_4` arms — four 32x8 (or 8x32) strips — and hands `(bw, bh)` to +`read_intra_mode_rect`, but `filter_intra_size_class_rect` returned `None` for both +shapes, so the `use_filter_intra` symbol libaom writes for every DC_PRED block inside +`av1_filter_intra_allowed_bsize` ("both sides <= 32") was never read there. Since +`--enable-filter-intra` is ON by aomenc default, any such stream desynced the tile +silently from that strip on. Every gate that reached these strips spelled +`--enable-filter-intra=0`, so nothing could see it ([[tool-disabled-in-every-gate]]). + +## Changes + +- `crates/ec-av1/src/cdf.rs:466` — `FILTER_INTRA` grows to 10 rows: `[8] = 18101` + (BLOCK_32X8, BLOCK_SIZES_ALL index 19), `[9] = 20229` (BLOCK_8X32, index 18). Values + come from `scripts/extract-filter-intra-cdfs.py` against `~/.cache/aom-oracle/src`, + not hand transcription. +- `crates/ec-av1/src/cdf_state.rs:544` — the `Cdfs::filter_intra` field's array size. +- `crates/ec-av1/src/decode.rs:4292` — `filter_intra_size_class_rect` maps `(32, 8) => + 8`, `(8, 32) => 9`. +- `crates/ec-av1/src/decode.rs:950` — new orientation-split counters + `FILTER_INTRA_RECT4_HORZ_HITS` / `..._VERT_HITS` (rows 8/9 are asymmetric, so a + one-sided gate would pass on a transposed pair), incremented in `decode_block_rect4`. +- `crates/ec-av1/src/decode.rs` domain test + `filter_intra_classes_carry_their_own_libaom_default_row` — `(8, 32)`/`(32, 8)` move + from "refused before any leaf (PART32)" to owning a class; the stale `PART32` refusal + string is gone. The 16-level pair (4x16/16x4) is still listed as refused. +- `crates/ec-av1/src/stream.rs:16940` — the gate (below). + +No refusal string was lifted this round, so `refusal_inventory.rs` is untouched: the +32-level 1:4 partition was already decoded, only its filter-intra symbol was missing. +Prediction needed no new code — `predict_filter_intra` is already generic in `(bw, bh)` +(lane-rectsplit r1) and `reconstruct_rect` already routes `filter_intra` into it. No +`fi_tx_row` remap is needed at this shape either: `TxbSet::LumaRect32x8` carries +`tx_type: None` (tx_size_sqr_up is TX_32X32, ext-tx set 0), so no `tx_type` symbol is +read on a 32x8/8x32 luma block at all. + +## Gate + +`stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_32_level_1to4_strip_decodes_pixel_exact` + +Sibling band fixture (8-px bands + seeded noise, both orientations), 192x128, cpu-used=0, +`--enable-1to4-partitions=1 --min-partition-size=8 --max-partition-size=32 +--enable-tx-size-search=0`, with `--enable-filter-intra=1` appended LAST (aomenc keeps the +last occurrence of a repeated `--enable-*`). 16 attempts per bit depth; every decoded +attempt is pixel-compared against ffmpeg (no SKIP on a mismatch or a decode error), and +per bit depth the gate HARD-asserts filter-intra hits on BOTH shapes inside pixel-exact +attempts, plus `out_of_scope_mismatch == 0`. + +Run: +``` +systemd-run --user --scope -q -p MemoryMax=6G env CARGO_TARGET_DIR=$HOME/.cache/cargo-target-fi32x8 \ + EC_NOMEMGUARD=1 EC_AV1_REQUIRE_AOMENC=1 nice -n 10 cargo test -p ec-av1 --lib -j3 -- \ + --nocapture filter_intra +``` +Result: `test result: ok. 7 passed; 0 failed; 2 ignored` (17.3 s). + +EVIDENCE: $HOME/.cache/cargo-target-fi32x8 gate stdout | 16 aomenc encodes per depth, each decoded by ec-av1 and by ffmpeg, full-frame Y/U/V compare | 8-bit: 4 pixel-exact matches, filter-intra 1:4 strips = 27x(32x8) + 14x(8x32) of 232; 10-bit: 5 matches, 9x(32x8) + 20x(8x32) of 332; 0 out-of-scope mismatches at either depth + +### Fixture tuning (measured, not guessed) + +The sibling gate's noise level (6..15) is too low: with it, filter intra was picked on a +1:4 strip in 3 of 40 8-bit attempts and in **0 of 40** 10-bit ones (`EC_FI32X8_VERBOSE=1` +per-attempt lines). Raising the noise layer to 18..27 makes the flag fire in most +attempts at both depths — filter intra is what aomenc's RD reaches for on a noisy flat +band. A gradient-ramp variant and `--cq-level=63` were both tried and dropped: cq 63 +mismatches on this fixture *with filter intra disabled* (see residue). + +`EC_FI32X8_GATE_ATTEMPTS` (default 16 — attempt 13 is the first 8-bit VERT_4 firing) and +`EC_FI32X8_VERBOSE` are the only knobs kept. + +## Suite + +`systemd-run --user --unit=fi32x8-suite-... -p MemoryMax=10G ... cargo test -p ec-av1 --lib -j3` +→ `$HOME/.cache/fi32x8-suite.log`: +`test result: FAILED. 339 passed; 1 failed; 31 ignored` (428.5 s). + +The one failure is `stream::tests::a_real_aomenc_multi_tile_intra_stream_decodes_pixel_exact` +(frame 0 **U** plane, seed 46) and it is **PRE-EXISTING on main 11633d7**, not this lane's: +the same test fails identically on a detached worktree at 11633d7 with its own target dir +(`$HOME/.cache/fi32x8-mainbase.log`, `stream.rs:17191` there vs `:17437` here — same +assertion, same seed, same plane). + +EVIDENCE: $HOME/.cache/fi32x8-suite.log + $HOME/.cache/fi32x8-mainbase.log | full ec-av1 --lib suite on lane 76959e5 and the multi-tile gate on a detached worktree at main 11633d7 | lane 339 passed/1 failed/31 ignored; the single failure reproduces byte-identically on main (frame 0 U, seed 46), so 0 regressions from this round + +## Residue + +- deferred: `a_real_aomenc_multi_tile_intra_stream_decodes_pixel_exact` seed 46 frame 0 U + mismatch — reproduced on main 11633d7 unchanged, so it belongs to the lane-tiles / + chroma territory, not here — what unblocks it: a bisect of that seed's chroma plane + against aomdec (`EC_TRACE_MODE`) on main. +- deferred: an 8-bit/10-bit mismatch of ANOTHER shape on this band fixture at + `--cq-level=63` (seeds 58/59/64) — reproduced with `--enable-filter-intra=0`, so it + predates this round and is not a filter-intra defect — what unblocks it: a lane that + bisects the cq-63 stream (the 1:4 strip counters read 8..44 there, so it is inside the + 1:4 territory). This gate stays at cq 32/45/55 to avoid the confound. +- accepted: filter intra on a 1:4 strip with `tx_depth != 0` is still refused by name + ("a 32x32-level 1:4 strip with a split transform ... depth={depth}"); per-TU filter + intra belongs to the round that lifts that refusal. The gate keeps + `--enable-tx-size-search=0`, so a search-on arm would only harvest that refusal.