forge
Explore
Log in

Don't you dare go Hollow

Gate the square intra path with tx-size search ON and real chroma

Browse files at this commit

213865e1aba505d9b429410f32772ddc28450ebeAhmet Kaan GümüşParent: 2bfe1bb
  • test
    • gate the square intra path with tx-size search ON and real chroma
    • the chartered square-path chroma defect does not reproduce
Show full message
test(av1): gate the square intra path with tx-size search ON and real chroma; the chartered square-path chroma defect does not reproduce

lane-rectsplit r1 recorded, in a comment on two live gates, that a plain
SQUARE-partition intra key frame with real chroma and aomenc's tx-size search
left at its default (ON) mismatches on the U plane, and guarded both gates with
`-vf hue=s=0`. Re-measured at HEAD, that is false: seeds 42..61 at cq 45 and at
cq 20, plus testsrc2/mandelbrot/smptebars/rgbtestsrc at cq 12/32, with and
without CFL and filter intra, all decode pixel-exact against ffmpeg on all three
planes (`--enable-rect-partitions=0`, the charter's own recipe). Seed 42 does
fire the pairing the defect was attributed to -- 6 blocks with `tx_depth != 0`
and uv_modes 0/1/2/5/11 -- and still matches.

So this ships the gate that was missing rather than a fix:
`a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact`
sweeps 10 8-bit square streams (cq 20/40) plus one 10-bit stream of the same
recipe (his films are yuv420p10le; sequence-header bit_depth asserted before any
pixel compare), and hard-asserts a new `sq_chroma_tx_hits()` counter -- square
blocks whose luma transform split under a non-DC `uv_mode` -- summed only over
attempts that decoded AND pixel-compared, so a refusing stream cannot lend it
firings. 11/11 exact, 23 firing blocks 8-bit + 2 10-bit, 0 refusals.

The stale `hue=s=0` guard is dropped from both live rect gates (and the ignored
SB-strip one); both stay green with real chroma, so they now cover chroma too.
crates/ec-av1/src/decode.rsmodified+20 -0
@@ -737,6 +737,23 @@ thread_local! {
737 const { std::cell::Cell::new(0) };737 const { std::cell::Cell::new(0) };
738 }738 }
739 739
740+// How many plain SQUARE intra blocks (lane-sqchroma r1) resolved a luma
741+// transform smaller than their own side (`tx_depth != 0`) while coding a
742+// chroma prediction other than `DC_PRED` -- the pair the square path's chroma
743+// only exercises with aomenc's tx-size search left ON (its default), which
744+// every older recipe in this file pins off. Counted at the block, so a stream
745+// where RD happened to give every split-transform block a DC chroma mode
746+// reads as zero rather than silently passing for free.
747+thread_local! {
748+ static SQ_CHROMA_TX_HITS: std::cell::Cell<usize> =
749+ const { std::cell::Cell::new(0) };
750+}
751+
752+/// Current value of [`SQ_CHROMA_TX_HITS`].
753+pub(crate) fn sq_chroma_tx_hits() -> usize {
754+ SQ_CHROMA_TX_HITS.with(|c| c.get())
755+}
756+
740 /// Current value of [`TX_DEPTH_HITS`].757 /// Current value of [`TX_DEPTH_HITS`].
741 pub(crate) fn tx_depth_hits() -> usize {758 pub(crate) fn tx_depth_hits() -> usize {
742 TX_DEPTH_HITS.with(|c| c.get())759 TX_DEPTH_HITS.with(|c| c.get())
@@ -5617,6 +5634,9 @@ fn decode_block(
5617 } else {5634 } else {
5618 (side, luma_tx)5635 (side, luma_tx)
5619 };5636 };
5637+ if tx_select && logical_tx < side && uv_mode != DC_PRED {
5638+ SQ_CHROMA_TX_HITS.with(|c| c.set(c.get() + 1));
5639+ }
5620 let luma_set = if tx_select {5640 let luma_set = if tx_select {
5621 txbset_for(logical_tx, reduced_tx_set)5641 txbset_for(logical_tx, reduced_tx_set)
5622 } else {5642 } else {
crates/ec-av1/src/stream.rsmodified+209 -26
@@ -9920,6 +9920,196 @@ mod tests {
9920 );9920 );
9921 }9921 }
9922 9922
9923+ /// lane-sqchroma r1 gate: a plain SQUARE-partition intra key frame with
9924+ /// REAL chroma (no `hue=s=0` guard) and aomenc's tx-size search left at
9925+ /// its own DEFAULT (on) -- the combination the user's films hit
9926+ /// everywhere and that no gate in this file covered: every older recipe
9927+ /// pins `--enable-tx-size-search=0`, and the one that does not
9928+ /// (`a_real_aomenc_stream_with_a_split_transform_horz_vert_strip_decodes_pixel_exact`)
9929+ /// desaturates its fixture. With the search on, RD gives a square block a
9930+ /// luma transform smaller than its own side while chroma keeps the
9931+ /// block's single `side/2` transform and its own `uv_mode`-derived
9932+ /// `tx_type` -- the pair [`crate::decode::sq_chroma_tx_hits`] counts and
9933+ /// this gate hard-asserts, so a stream whose split-transform blocks all
9934+ /// landed on `DC_PRED` chroma cannot pass for free.
9935+ ///
9936+ /// Sweeps seeds 8-bit and finishes with one 10-bit stream of the same
9937+ /// recipe (his films are `yuv420p10le`), whose sequence header's
9938+ /// `bit_depth` is asserted before any pixel is compared. Only a missing
9939+ /// tool SKIPs: a decode error that is not a named refusal, and every
9940+ /// pixel mismatch, FAIL.
9941+ #[test]
9942+ fn a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact() {
9943+ const NAME: &str =
9944+ "a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact";
9945+ let _gate_lock = lock_gate_counters();
9946+ if !have_ffmpeg() {
9947+ eprintln!("SKIP {NAME}: no ffmpeg");
9948+ return;
9949+ }
9950+ if !have_aomenc() {
9951+ eprintln!("SKIP {NAME}: no aomenc at {}", aomenc_path().display());
9952+ return;
9953+ }
9954+ let (width, height) = (192usize, 128usize);
9955+ // NOTE: no `--enable-tx-size-search=0` (the point of this gate), and
9956+ // no chroma filter on the fixture (the other point). Square
9957+ // partitions only: rect/AB/1to4 all off.
9958+ let base_args: Vec<&str> = vec![
9959+ "--codec=av1",
9960+ "--passes=1",
9961+ "--end-usage=q",
9962+ "--cpu-used=0",
9963+ "--threads=1",
9964+ "--row-mt=0",
9965+ "--sb-size=64",
9966+ "--enable-rect-partitions=0",
9967+ "--enable-ab-partitions=0",
9968+ "--enable-1to4-partitions=0",
9969+ "--min-partition-size=16",
9970+ "--max-partition-size=32",
9971+ "--enable-restoration=0",
9972+ "--enable-palette=0",
9973+ "--deltaq-mode=0",
9974+ "--enable-intrabc=0",
9975+ "--limit=1",
9976+ ];
9977+ let encode = |y4m: &[u8], extra: &[&str]| -> Vec<u8> {
9978+ let mut args = base_args.clone();
9979+ args.extend_from_slice(extra);
9980+ args.extend_from_slice(&["--obu", "-o", "-", "-"]);
9981+ let mut child = Command::new(aomenc_path())
9982+ .args(&args)
9983+ .stdin(Stdio::piped())
9984+ .stdout(Stdio::piped())
9985+ .stderr(Stdio::piped())
9986+ .spawn()
9987+ .expect("aomenc failed to start");
9988+ child
9989+ .stdin
9990+ .take()
9991+ .expect("aomenc stdin")
9992+ .write_all(y4m)
9993+ .expect("writing y4m to aomenc");
9994+ let out = child.wait_with_output().expect("aomenc failed to run");
9995+ assert!(
9996+ out.status.success(),
9997+ "aomenc refused the fixture: {}",
9998+ String::from_utf8_lossy(&out.stderr)
9999+ );
10000+ assert!(!out.stdout.is_empty(), "{NAME}: aomenc wrote an empty stream");
10001+ out.stdout
10002+ };
10003+ let render = |source: &str, pix_fmt: &str| -> Vec<u8> {
10004+ let y4m = Command::new("ffmpeg")
10005+ .args([
10006+ "-v", "error", "-f", "lavfi", "-i", source, "-t", "0.04", "-pix_fmt", pix_fmt,
10007+ "-strict", "-1", "-f", "yuv4mpegpipe", "-",
10008+ ])
10009+ .stdin(Stdio::null())
10010+ .stdout(Stdio::piped())
10011+ .stderr(Stdio::piped())
10012+ .output()
10013+ .expect("ffmpeg failed to run");
10014+ assert!(
10015+ y4m.status.success(),
10016+ "ffmpeg fixture: {}",
10017+ String::from_utf8_lossy(&y4m.stderr)
10018+ );
10019+ y4m.stdout
10020+ };
10021+ let mut named_refusals = 0u32;
10022+ let mut matched = 0u32;
10023+ // Hits counted ONLY over attempts that decoded AND pixel-compared:
10024+ // a stream that later refuses must not lend its firings to the
10025+ // assertion below (class refusal-hides-a-defect).
10026+ let mut firing = 0usize;
10027+ let n_attempts: u32 = std::env::var("EC_SQCHROMA_GATE_ATTEMPTS")
10028+ .ok()
10029+ .and_then(|s| s.parse().ok())
10030+ .unwrap_or(10);
10031+ for attempt in 0..n_attempts {
10032+ let seed = 42 + attempt;
10033+ // Two quantisers per seed: the coarse one keeps most blocks on
10034+ // one transform, the fine one is what actually splits them.
10035+ let cq = if attempt % 2 == 0 { "--cq-level=20" } else { "--cq-level=40" };
10036+ let y4m = render(
10037+ &gradients_source(seed, width, height, "duration=0.04:rate=25"),
10038+ "yuv420p",
10039+ );
10040+ let stream = encode(&y4m, &[cq]);
10041+ let before = crate::decode::sq_chroma_tx_hits();
10042+ let frames = match decode_stream(&stream) {
10043+ Err(e) => {
10044+ let msg = e.to_string();
10045+ assert!(
10046+ msg.contains("unsupported"),
10047+ "{NAME} failed outright, not a named refusal (seed {seed}): {msg}"
10048+ );
10049+ named_refusals += 1;
10050+ continue;
10051+ }
10052+ Ok(frames) => frames,
10053+ };
10054+ let ffmpeg_frames = ffmpeg_decode_sequence(&stream, width, height, 1);
10055+ assert_eq!(frames.len(), 1, "{NAME}: expected one frame (seed {seed})");
10056+ assert_eq!(frames[0].y, ffmpeg_frames[0].y, "{NAME} luma vs ffmpeg (seed {seed})");
10057+ assert_eq!(frames[0].u, ffmpeg_frames[0].u, "{NAME} U vs ffmpeg (seed {seed})");
10058+ assert_eq!(frames[0].v, ffmpeg_frames[0].v, "{NAME} V vs ffmpeg (seed {seed})");
10059+ firing += crate::decode::sq_chroma_tx_hits() - before;
10060+ matched += 1;
10061+ }
10062+ // Same recipe, 10-bit: his two films are both yuv420p10le, so the
10063+ // square+tx-search+chroma claim is only worth anything if it holds
10064+ // at their bit depth too.
10065+ let y4m10 = render(
10066+ &gradients_source(42, width, height, "duration=0.04:rate=25"),
10067+ "yuv420p10le",
10068+ );
10069+ let stream10 = encode(&y4m10, &["--cq-level=20", "--input-bit-depth=10", "--bit-depth=10"]);
10070+ let mut probe = Av1Parser::new();
10071+ let mut pos = 0usize;
10072+ while pos < stream10.len() && probe.sequence_header().is_none() {
10073+ let obu = probe.parse_obu(&stream10[pos..]).unwrap();
10074+ pos += obu.total_size;
10075+ }
10076+ assert_eq!(
10077+ probe
10078+ .sequence_header()
10079+ .expect("stream has a sequence header OBU")
10080+ .color_config
10081+ .bit_depth,
10082+ 10,
10083+ "{NAME}: aomenc did not actually write a 10-bit sequence header"
10084+ );
10085+ let before10 = crate::decode::sq_chroma_tx_hits();
10086+ let frames10 = match decode_stream(&stream10) {
10087+ Ok(frames) => frames,
10088+ Err(e) => panic!("{NAME}: decode_stream refused the 10-bit stream: {e}"),
10089+ };
10090+ let ffmpeg10 = ffmpeg_decode_sequence_10bit(&stream10, width, height, 1);
10091+ assert_eq!(frames10[0].y, ffmpeg10[0].y, "{NAME} luma vs ffmpeg (10-bit)");
10092+ assert_eq!(frames10[0].u, ffmpeg10[0].u, "{NAME} U vs ffmpeg (10-bit)");
10093+ assert_eq!(frames10[0].v, ffmpeg10[0].v, "{NAME} V vs ffmpeg (10-bit)");
10094+ let firing10 = crate::decode::sq_chroma_tx_hits() - before10;
10095+ firing += firing10;
10096+ matched += 1;
10097+ assert!(
10098+ matched > 1,
10099+ "{NAME}: every 8-bit attempt refused; the gate decoded only the 10-bit stream"
10100+ );
10101+ assert!(
10102+ firing > 0,
10103+ "{NAME}: zero square blocks split their luma transform under a non-DC chroma mode \
10104+ ({matched} matches, {named_refusals} refusals) -- gate proved nothing this run"
10105+ );
10106+ eprintln!(
10107+ "{NAME}: {matched} pixel-exact decodes ({named_refusals} named refusals out of \
10108+ {n_attempts} 8-bit attempts), split-tx-with-chroma blocks: {firing} \
10109+ (10-bit stream: {firing10})"
10110+ );
10111+ }
10112+
9923 /// lane-rectsplit r1 gate (a): a real `aomenc` key frame whose 32x3210113 /// lane-rectsplit r1 gate (a): a real `aomenc` key frame whose 32x32
9924 /// quadrants split HORZ/VERT into true 32x16/16x32 strips, with the10114 /// quadrants split HORZ/VERT into true 32x16/16x32 strips, with the
9925 /// tx-size search left at aomenc's own default (ON) -- every sibling10115 /// tx-size search left at aomenc's own default (ON) -- every sibling
@@ -9963,17 +10153,14 @@ mod tests {
9963 let y4m = Command::new("ffmpeg")10153 let y4m = Command::new("ffmpeg")
9964 .args([10154 .args([
9965 "-v", "error", "-f", "lavfi", "-i", &source,10155 "-v", "error", "-f", "lavfi", "-i", &source,
9966- // Desaturated (`hue=s=0`, the same guard10156+ // REAL chroma (lane-sqchroma r1 dropped the `hue=s=0`
9967- // `a_real_aomenc_intra_stream_with_tx_select_decodes_pixel_exact`10157+ // guard this recipe carried): the "PRE-EXISTING square-path
9968- // uses): with the tx-size search ON, a real chroma10158+ // chroma defect" that guard named does not reproduce at
9969- // gradient hits a PRE-EXISTING chroma defect on the plain10159+ // HEAD -- seeds 42..61, cq 12/20/32/45, plus testsrc2 and
9970- // SQUARE path -- measured this round with10160+ // mandelbrot, all decode pixel-exact with
9971- // `--enable-rect-partitions=0` on this very recipe, seed10161+ // `--enable-rect-partitions=0`, and this gate is green with
9972- // 42, U plane, i.e. with no rect strip in the stream at10162+ // the filter gone. Its own gate is
9973- // all. Flat chroma keeps that unrelated defect out of10163+ // `a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact`.
9974- // this gate (gate-recipe-confound class); it is open
9975- // residue in lanes/rectsplit-r1.report.md, not fixed here.
9976- "-vf", "hue=s=0",
9977 "-pix_fmt", "yuv420p", "-f",10164 "-pix_fmt", "yuv420p", "-f",
9978 "yuv4mpegpipe", "-",10165 "yuv4mpegpipe", "-",
9979 ])10166 ])
@@ -10135,10 +10322,9 @@ mod tests {
10135 let y4m = Command::new("ffmpeg")10322 let y4m = Command::new("ffmpeg")
10136 .args([10323 .args([
10137 "-v", "error", "-f", "lavfi", "-i", &source,10324 "-v", "error", "-f", "lavfi", "-i", &source,
10138- // Same `hue=s=0` guard as gate (a): a real chroma gradient10325+ // Real chroma: the `hue=s=0` guard gate (a) carried is
10139- // under the tx-size search hits a PRE-EXISTING square-path10326+ // gone (lane-sqchroma r1 -- the square-path chroma defect
10140- // chroma defect that has nothing to do with this lane.10327+ // it named does not reproduce at HEAD).
10141- "-vf", "hue=s=0",
10142 "-pix_fmt", "yuv420p", "-f", "yuv4mpegpipe", "-",10328 "-pix_fmt", "yuv420p", "-f", "yuv4mpegpipe", "-",
10143 ])10329 ])
10144 .stdin(Stdio::null())10330 .stdin(Stdio::null())
@@ -10335,17 +10521,14 @@ mod tests {
10335 let y4m = Command::new("ffmpeg")10521 let y4m = Command::new("ffmpeg")
10336 .args([10522 .args([
10337 "-v", "error", "-f", "lavfi", "-i", &source,10523 "-v", "error", "-f", "lavfi", "-i", &source,
10338- // Desaturated (`hue=s=0`, the same guard10524+ // REAL chroma (lane-sqchroma r1 dropped the `hue=s=0`
10339- // `a_real_aomenc_intra_stream_with_tx_select_decodes_pixel_exact`10525+ // guard this recipe carried): the "PRE-EXISTING square-path
10340- // uses): with the tx-size search ON, a real chroma10526+ // chroma defect" that guard named does not reproduce at
10341- // gradient hits a PRE-EXISTING chroma defect on the plain10527+ // HEAD -- seeds 42..61, cq 12/20/32/45, plus testsrc2 and
10342- // SQUARE path -- measured this round with10528+ // mandelbrot, all decode pixel-exact with
10343- // `--enable-rect-partitions=0` on this very recipe, seed10529+ // `--enable-rect-partitions=0`, and this gate is green with
10344- // 42, U plane, i.e. with no rect strip in the stream at10530+ // the filter gone. Its own gate is
10345- // all. Flat chroma keeps that unrelated defect out of10531+ // `a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact`.
10346- // this gate (gate-recipe-confound class); it is open
10347- // residue in lanes/rectsplit-r1.report.md, not fixed here.
10348- "-vf", "hue=s=0",
10349 "-pix_fmt", "yuv420p", "-f",10532 "-pix_fmt", "yuv420p", "-f",
10350 "yuv4mpegpipe", "-",10533 "yuv4mpegpipe", "-",
10351 ])10534 ])
lanes/sqchroma-r1.report.mdadded+86 -0
@@ -0,0 +1,86 @@
1+# lane-sqchroma r1 — the chartered square-path chroma defect does not reproduce
2+
3+## Verdict
4+
5+The charter's premise is FALSE at HEAD (f31a2c5). A plain SQUARE-partition intra key
6+frame with real chroma and aomenc's tx-size search left ON decodes **pixel-exact**, in
7+every recipe I could build around the chartered one, 8-bit and 10-bit. Nothing was
8+fixed because nothing was broken; what shipped is the missing gate that pins the
9+capability, and the removal of the stale `hue=s=0` guard the (wrong) premise put into
10+two live rect gates.
11+
12+## Reproduction attempt (the chartered recipe, exactly)
13+
14+`gradients_source(seed, 192x128, duration=0.04:rate=25)` -> `yuv420p` (NO `hue=s=0`) ->
15+aomenc `--cpu-used=0 --threads=1 --row-mt=0 --sb-size=64 --enable-rect-partitions=0
16+--enable-ab-partitions=0 --enable-1to4-partitions=0 --min-partition-size=16
17+--max-partition-size=32 --enable-restoration=0 --enable-palette=0 --deltaq-mode=0
18+--enable-filter-intra=0 --enable-cfl-intra=0 --enable-intrabc=0` (no
19+`--enable-tx-size-search=0`), decoded by `examples/decode_probe` and diffed plane by
20+plane against `ffmpeg -i s.obu -pix_fmt yuv420p -f rawvideo`.
21+
22+- seeds 42..61 at cq 45: 20/20 exact (Y=0 U=0 V=0 mismatching bytes).
23+- seeds 42..61 at cq 20: 20/20 exact.
24+- seed 42 (the charter's named seed) traced: `tx_depth != 0` fires 6 times, `uv_mode`
25+ takes values 0/1/2/5/11 -- the exact "luma tx_depth>0 with a non-DC uv_mode" pairing
26+ the defect was attributed to. Seed 55: 10 depth hits, uv_modes 0/2/7/12. Still exact.
27+- harder content, same square recipe, cq 12 and 32: `testsrc2`, `mandelbrot`,
28+ `smptebars`, `rgbtestsrc` -- 8/8 exact (streams up to 4 KB, i.e. real chroma residual).
29+- with `--enable-cfl-intra=1 --enable-filter-intra=1` (the CFL-under-split-luma
30+ candidate the charter names): testsrc2 + mandelbrot at cq 12/32, 4/4 exact.
31+- free partition tree (no min/max pin) + CFL: 5/6 exact, 1 named refusal
32+ (`HORZ_A/HORZ_B/VERT_A below 16x16` -- an unrelated, already-named refusal).
33+
34+So no divergence to localise: no EC_AV1_PREFILT_DUMP split, no EC_TRACE_COEFF ladder,
35+no lane-sub8 cherry-pick needed (`decode_block` already computes `smooth_neighbor_uv`
36+from `above_uv_mode`/`left_uv_mode` at decode.rs:5696 -- the square >=16 path never
37+passed `false`; only the leaf8/split4 paths did, and lane-sub8 r5 fixed those).
38+
39+Most likely origin of the premise: it was measured on the pre-merge lane-rectsplit
40+branch, not on main-with-everything-merged (main f31a2c5 carries lane-tiny, lane-seg,
41+lane-intrabc and the rectsplit merge itself), and it was recorded as fact in a comment
42+rather than re-checked. Class: my-charters-shipped-stale-premises.
43+
44+## What changed
45+
46+- `crates/ec-av1/src/decode.rs:735` — new `SQ_CHROMA_TX_HITS` counter + `sq_chroma_tx_hits()`;
47+ bumped at `decode.rs:5638` in `decode_block` when `tx_select && logical_tx < side &&
48+ uv_mode != DC_PRED` (square block whose luma transform split under a non-DC chroma mode).
49+- `crates/ec-av1/src/stream.rs:9924` — new gate
50+ `a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact`.
51+- `crates/ec-av1/src/stream.rs` (3 sites) — `-vf hue=s=0` dropped from the two live rect
52+ gates and the ignored SB-strip gate; the stale "PRE-EXISTING square-path chroma defect"
53+ comments replaced with what was actually measured. Both live gates stay green with real
54+ chroma, so those gates now cover chroma too.
55+
56+## Gate
57+
58+`a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact`:
59+square partitions only, tx-size search at aomenc's default (ON), real chroma, 10 8-bit
60+attempts (seeds 42..51, cq alternating 20/40) plus one 10-bit stream (`--bit-depth=10`,
61+sequence-header `bit_depth == 10` asserted before any pixel compare). Hits counted only
62+over attempts that decoded AND pixel-compared; `firing > 0` hard-asserted; a non-refusal
63+decode error or any pixel mismatch FAILS, only a missing tool SKIPs.
64+
65+```
66+CARGO_TARGET_DIR=$HOME/.cache/cargo-target-sqchroma EC_AV1_REQUIRE_AOMENC=1 \
67+ cargo test -p ec-av1 --lib a_real_aomenc_intra_stream_with_tx_size_search_and_chroma -- --nocapture
68+```
69+
70+EVIDENCE: gate stderr | 10 8-bit aomenc streams + 1 10-bit, decoded and diffed vs ffmpeg | `11 pixel-exact decodes (0 named refusals out of 10 8-bit attempts), split-tx-with-chroma blocks: 23 (10-bit stream: 2)` — test ok
71+EVIDENCE: scratchpad sweep.sh/src2.sh output | 40 gradient streams (seeds 42..61 at cq 45 and cq 20) + 12 testsrc2/mandelbrot/smptebars/rgbtestsrc streams, square-only recipe, decode_probe vs ffmpeg rawvideo | every plane Y=0 U=0 V=0 mismatching bytes
72+EVIDENCE: rectsplit gates with the hue filter removed | `cargo test -p ec-av1 --lib split_transform_horz_vert filter_intra_on_a_horz_vert_strip` | both ok (16 decoded seeds, split-tx delta 3; 30 matches, filter_intra_rect delta 9)
73+
74+## Refusals
75+
76+None lifted (none were in the way -- the path already decodes). `refusal_inventory` and
77+`gate_coverage` untouched and green.
78+
79+## Residue
80+
81+- accepted: the charter's localisation plan (PREFILT dump, chroma tx_type derivation,
82+ CFL-under-split-luma, chroma edge-filter type) was not executed -- there is no
83+ divergence to localise. The tx_type/CFL rules were therefore NOT re-audited against
84+ libaom this round; if a real square chroma defect turns up later it is unexamined ground.
85+- deferred(rectsplit r2): `a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact`
86+ stays `#[ignore]`d (measured RED on luma, seed 50) -- untouched by this lane beyond its comment.