forge
Explore
Log in

Don't you dare go Hollow

lane-av1-ibcskip2: skipped-intrabc sub8 chroma predicts the DV frame copy

Browse files at this commit

f97f58c7af18328827b0d7b944398321c8dcb2d7Ahmet Kaan GümüşParent: 9aeafc1
sub8_leaf_chroma444's skip arm pushed the intra mode (DC for an intrabc
leaf) with zero residual where libaom's av1_build_inter_predictors_sb
runs for an intrabc block regardless of skip: a skipped intrabc leaf's
chroma is the bare frame copy at the DV. Measured fail-before on
ll444_ibc_rect.obu at this HEAD (the leaf8 chroma-extent fix upstream
lets the fixture decode through): luma clean, U 2794 / V 2830 differing
samples across 180 4x4 cells, 175 of them exactly the frame's 150
skipped intrabc leaves, 5 their poisoned neighbours.

Fix: new first arm in sub8_leaf_chroma444 -- when intrabc_dv is Some and
skip, bilinear MC of the current frame's U/V at the DV armed through
set_palette_pred and pushed with ZERO_RESIDUAL (the luma skip arms'
route); the inherited chroma tx_type slot is disarmed unconsumed.
SKIPPED_INTRABC_DV_COPY_HITS pins the route. The 4:2:0 group-tail skip
arms are RESERVED territory: untouched, byte-for-byte, and 4:2:0 call
sites pass intrabc_dv = None so control flow through the edited function
is identical (420-heavy intrabc/lossless/sb128 batteries green).

The ibc444rect gate a_lossless_444_intrabc_rect_leaf_walks_per_4x4_units
pinned the leaf8 palette_window panic b6d4b528 removed and went red at
this HEAD ((339,339) walk census vs the pinned (3,3)); flipped per its
own r1 doc to the full-frame exact aomdec comparison with the census and
==150 DV-copy counter asserts. Mutation check: count-but-predict-flat
arm leaves the gate red at 'aomdec plane U: 2503 samples differ'.

Green: the flipped gate reports frame sample-exact vs oracle aomdec
(339+339 rect walks, 150 skipped-intrabc DV copies, 0 differing samples
on Y/U/V); every intrabc-named gate (17), lossless-named gate (12) and
sb128-named gate (9) passes; cargo check -p ec-av1 --all-targets 0
warnings. Report: lanes/av1ibcskip2.report.md.
crates/ec-av1/src/decode.rsmodified+72 -2
@@ -3926,6 +3926,30 @@ pub(crate) fn reset_skipped_intrabc_chroma_arm_hits() {
3926 SKIPPED_INTRABC_CHROMA_ARM_HITS.with(|c| c.set(0));3926 SKIPPED_INTRABC_CHROMA_ARM_HITS.with(|c| c.set(0));
3927 }3927 }
3928 3928
3929+thread_local! {
3930+ /// lane-av1-ibcskip2: a sub-8x8 4:4:4 leaf that is BOTH intrabc AND
3931+ /// `skip` -- the arm whose chroma is the bare frame copy at the DV
3932+ /// (libaom `av1_build_inter_predictors_sb` runs regardless of `skip`).
3933+ /// Before the fix this route predicted intra-DC and every one of this
3934+ /// fixture's 150 such cells differed from the oracle on both chroma
3935+ /// planes.
3936+ static SKIPPED_INTRABC_DV_COPY_HITS: std::cell::Cell<usize> =
3937+ const { std::cell::Cell::new(0) };
3938+}
3939+
3940+/// Current value of [`SKIPPED_INTRABC_DV_COPY_HITS`].
3941+#[allow(dead_code)] // read only from the `#[cfg(test)]` gates
3942+pub(crate) fn skipped_intrabc_dv_copy_hits() -> usize {
3943+ SKIPPED_INTRABC_DV_COPY_HITS.with(|c| c.get())
3944+}
3945+
3946+/// Zeroes [`SKIPPED_INTRABC_DV_COPY_HITS`] (gate tests call this before a
3947+/// decode).
3948+#[allow(dead_code)] // read only from the `#[cfg(test)]` gates
3949+pub(crate) fn reset_skipped_intrabc_dv_copy_hits() {
3950+ SKIPPED_INTRABC_DV_COPY_HITS.with(|c| c.set(0));
3951+}
3952+
3929 /// Zeroes [`INTRABC_HITS`] (gate tests call this before a decode).3953 /// Zeroes [`INTRABC_HITS`] (gate tests call this before a decode).
3930 #[allow(dead_code)] // read only from the `#[cfg(test)]` gates3954 #[allow(dead_code)] // read only from the `#[cfg(test)]` gates
3931 pub(crate) fn reset_intrabc_hits() {3955 pub(crate) fn reset_intrabc_hits() {
@@ -18902,7 +18926,10 @@ fn read_intra_mode_sub8(
18902 /// arm for arm at leaf scale: a skipped leaf keeps its CfL contribution, an18926 /// arm for arm at leaf scale: a skipped leaf keeps its CfL contribution, an
18903 /// intrabc leaf predicts a frame copy at its DV with the luma `tx_type`18927 /// intrabc leaf predicts a frame copy at its DV with the luma `tx_type`
18904 /// inherited through [`INTRABC_CHROMA_TX`] (the caller arms it right after18928 /// inherited through [`INTRABC_CHROMA_TX`] (the caller arms it right after
18905-/// the luma read). The chroma position, reach and entropy-context span are18929+/// the luma read) -- and a SKIPPED intrabc leaf is still the DV copy, never
18930+/// an intra prediction (lane-av1-ibcskip2: libaom's
18931+/// `av1_build_inter_predictors_sb` runs for an intrabc block regardless of
18932+/// `skip`). The chroma position, reach and entropy-context span are
18906 /// the leaf's own (ss 0/0); the 4x8/8x4 unit reads the same18933 /// the leaf's own (ss 0/0); the 4x8/8x4 unit reads the same
18907 /// `ChromaRect8x4` tables [`decode_rect_split`] proves for that shape.18934 /// `ChromaRect8x4` tables [`decode_rect_split`] proves for that shape.
18908 /// Records the leaf's own `uv_mode` map entry and chroma above/left state,18935 /// Records the leaf's own `uv_mode` map entry and chroma above/left state,
@@ -18939,7 +18966,50 @@ fn sub8_leaf_chroma444(
18939 } else {18966 } else {
18940 Reach::of_rect(bw, bh, px, py, y.width, y.height, fctx)18967 Reach::of_rect(bw, bh, px, py, y.width, y.height, fctx)
18941 };18968 };
18942- let grids = if skip {18969+ let grids = if let Some(dv) = intrabc_dv.filter(|_| skip) {
18970+ // lane-av1-ibcskip2: a SKIPPED intrabc leaf still predicts the frame
18971+ // copy at its DV -- libaom's `av1_build_inter_predictors_sb` runs for
18972+ // an intrabc block regardless of `skip` (only the residual read is
18973+ // dropped), so the reconstruction is the bare DV copy. The intra push
18974+ // in the next arm is the NON-intrabc route; predicting DC there
18975+ // decoded flat cells where this fixture's oracle copies frame bytes
18976+ // (class skipped-intrabc-predicts-intra,
18977+ // lanes/av1ibcskip2.report.md). Same armed-palette-slot route the
18978+ // leaf's own luma skip arm uses (`decode_leaf_split4` /
18979+ // `decode_leaf_rect8`); the caller already flushed the recon queue
18980+ // before its luma DV copy, so the source samples are current.
18981+ let mut ub = vec![0u16; bw * bh];
18982+ mc::predict_with_filter(
18983+ &u.data, u.width, u.true_width, u.true_height,
18984+ mv_to_q4(px, dv.1, 0), mv_to_q4(py, dv.0, 0),
18985+ bw, bh, mc::InterpFilterKind::Bilinear, &mut ub, fctx,
18986+ );
18987+ let mut vb = vec![0u16; bw * bh];
18988+ mc::predict_with_filter(
18989+ &v.data, v.width, v.true_width, v.true_height,
18990+ mv_to_q4(px, dv.1, 0), mv_to_q4(py, dv.0, 0),
18991+ bw, bh, mc::InterpFilterKind::Bilinear, &mut vb, fctx,
18992+ );
18993+ hit!(SKIPPED_INTRABC_DV_COPY_HITS);
18994+ let zeros = &ZERO_RESIDUAL[..bw * bh];
18995+ if square {
18996+ set_palette_pred(ub, fctx);
18997+ push_intra(1, px, py, 4, DC_PRED, 0, reach, zeros, None, None, smooth_neighbor_uv, fctx);
18998+ set_palette_pred(vb, fctx);
18999+ push_intra(2, px, py, 4, DC_PRED, 0, reach, zeros, None, None, smooth_neighbor_uv, fctx);
19000+ } else {
19001+ set_palette_pred(ub, fctx);
19002+ push_intra_rect(1, px, py, bw, bh, DC_PRED, 0, reach, zeros, None, None, smooth_neighbor_uv, fctx);
19003+ set_palette_pred(vb, fctx);
19004+ push_intra_rect(2, px, py, bw, bh, DC_PRED, 0, reach, zeros, None, None, smooth_neighbor_uv, fctx);
19005+ }
19006+ // The same arm-without-clear route the 4:2:0 tails count: a skipped
19007+ // leaf reads no coefficient, so the inherited chroma `tx_type` is
19008+ // dropped unconsumed.
19009+ hit!(SKIPPED_INTRABC_CHROMA_ARM_HITS);
19010+ fctx.intrabc_chroma_tx.with(|c| c.set(None));
19011+ (Grid::Zero(bw * bh), Grid::Zero(bw * bh), 4, 4)
19012+ } else if skip {
18943 let ac = alpha.map(|_| cfl_src_rect(px, py, bw, bh));19013 let ac = alpha.map(|_| cfl_src_rect(px, py, bw, bh));
18944 if square {19014 if square {
18945 push_intra(1, px, py, 4, uv_predict_mode, 0, reach, &ZERO_RESIDUAL[..16], alpha.zip(ac).map(|((au, _), ac)| (au, ac)), None, smooth_neighbor_uv, fctx);19015 push_intra(1, px, py, 4, uv_predict_mode, 0, reach, &ZERO_RESIDUAL[..16], alpha.zip(ac).map(|((au, _), ac)| (au, ac)), None, smooth_neighbor_uv, fctx);
crates/ec-av1/src/stream.rsmodified+75 -52
@@ -6127,32 +6127,28 @@ pub(crate) mod tests {
6127 /// `LumaRect8x4Inter`/`ChromaRect8x4` rect unit the non-lossless arm6127 /// `LumaRect8x4Inter`/`ChromaRect8x4` rect unit the non-lossless arm
6128 /// reads, and not the lossy per-unit arm's tx_type read.6128 /// reads, and not the lossy per-unit arm's tx_type read.
6129 ///6129 ///
6130- /// The pinned fixture `ll444_ibc_rect.obu` (99614 bytes, provenance and6130+ /// The pinned fixture `ll444_ibc_rect.obu` (99614 bytes, provenance in
6131- /// the full pixel measurement in `lanes/av1ibc444rect.report.md`) is a6131+ /// `lanes/av1ibc444rect.report.md`) is a lossless `--profile=1 --i444
6132- /// lossless `--profile=1 --i444 --enable-intrabc=1` key frame. Its first6132+ /// --enable-intrabc=1` key frame. r1 pinned the (then-known) leaf8
6133- /// unskipped intrabc rect leaf (mi (33,2), 8x4, dv (-64, -832)) must walk6133+ /// `palette_window` panic as its alignment witness; with that blocker
6134- /// its luma + chroma per-4x4 units with the tile's entropy ladder still6134+ /// fixed upstream (lane-av1leaf8oob) the frame decodes to completion and
6135- /// aligned afterwards -- three leaves walk before the frame reaches an6135+ /// this gate is the FULL-FRAME exact `aomdec` comparison its r1 doc
6136- /// intrabc `BLOCK_8X8` leaf, whose llintra-deferred 8x8 chroma prediction6136+ /// promised, flipped by lane-av1-ibcskip2 -- which also closed the
6137- /// buffers6137+ /// SKIPPED intrabc sub8 chroma cells the r1 measurement called out: a
6138- /// (`decode_leaf8`'s 16-sample `ub`/`vb`, their deferral in6138+ /// skipped intrabc leaf's chroma is the bare frame copy at the DV
6139- /// `lanes/av1llintra.report.md`) panic in `palette_window` -- on the6139+ /// (libaom's `av1_build_inter_predictors_sb` runs regardless of `skip`),
6140- /// committed tree that panic is this gate's ALIGNMENT WITNESS: any6140+ /// never the intra-DC push that arm used to run. Fail-before, measured on
6141- /// unit-structure, context or tx_type regression in the walk desyncs the6141+ /// this tree with the DV-copy arm cut back to the intra push: 2794 U +
6142- /// tile long before mi (32,10) and the death signature moves (the6142+ /// 2830 V samples differ across 180 distinct 4x4 cells, 175 of them
6143- /// fail-before was the lossless WHT assert `(4, 8) != (4, 4)` at6143+ /// exactly this frame's skipped intrabc leaves, luma clean; with the arm,
6144- /// `TxParams::run`). Measured with the two-line 8x8 buffer probe applied6144+ /// 0 differing samples on every plane.
6145- /// (never committed): the walk is pixel-exact, luma 0 differing samples
6146- /// on all 339 walked leaves and the walked leaves' chroma clean; the only
6147- /// remaining diffs sit on SKIPPED intrabc blocks (the skipped-intrabc
6148- /// sub8 chroma predictor defect, class-adjacent to the reserved 4:2:0
6149- /// tail skip arm). When the 8x8 buffers are fixed in their owning lane,
6150- /// this gate flips to a full-frame exact `aomdec` comparison.
6151 #[test]6145 #[test]
6152 fn a_lossless_444_intrabc_rect_leaf_walks_per_4x4_units() {6146 fn a_lossless_444_intrabc_rect_leaf_walks_per_4x4_units() {
6153 const NAME: &str = "a_lossless_444_intrabc_rect_leaf_walks_per_4x4_units";6147 const NAME: &str = "a_lossless_444_intrabc_rect_leaf_walks_per_4x4_units";
6154 const FIXTURE_LEN: usize = 99614;6148 const FIXTURE_LEN: usize = 99614;
6155 const FIXTURE_FNV: u64 = 0xa1b6_a84e_ac6a_656f;6149 const FIXTURE_FNV: u64 = 0xa1b6_a84e_ac6a_656f;
6150+ const W: usize = 320;
6151+ const H: usize = 240;
6156 let obu = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))6152 let obu = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
6157 .join("fixtures/ll444_ibc_rect.obu");6153 .join("fixtures/ll444_ibc_rect.obu");
6158 let stream = std::fs::read(&obu).unwrap_or_else(|e| {6154 let stream = std::fs::read(&obu).unwrap_or_else(|e| {
@@ -6167,46 +6163,73 @@ pub(crate) mod tests {
6167 6163
6168 let _guard = lock_gate_counters();6164 let _guard = lock_gate_counters();
6169 crate::decode::reset_ibc444rect_hits();6165 crate::decode::reset_ibc444rect_hits();
6170- // The known leaf8 panic is the expected outcome; keep it out of the6166+ crate::decode::reset_skipped_intrabc_dv_copy_hits();
6171- // test log and catch it as a value.6167+ let frames = decode_stream(&stream).unwrap_or_else(|e| {
6172- let prev_hook = std::panic::take_hook();6168+ panic!("{NAME}: the fixture must decode to completion (the leaf8 \
6173- std::panic::set_hook(std::boxed::Box::new(|_| {}));6169+ chroma buffers were fixed upstream): {e}")
6174- let result = std::panic::catch_unwind(std::panic::AssertUnwindSafe(|| {6170+ });
6175- decode_stream(&stream)6171+ assert_eq!(frames.len(), 1, "{NAME}: shown frame count");
6176- }));
6177- std::panic::set_hook(prev_hook);
6178 let luma = crate::decode::intrabc_rect8_lossless_luma_hits();6172 let luma = crate::decode::intrabc_rect8_lossless_luma_hits();
6179 let chroma = crate::decode::intrabc_rect8_lossless_chroma_hits();6173 let chroma = crate::decode::intrabc_rect8_lossless_chroma_hits();
6180 assert_eq!(6174 assert_eq!(
6181 (luma, chroma),6175 (luma, chroma),
6182- (3, 3),6176+ (339, 339),
6183- "{NAME}: the walk must fire exactly three times before the known \6177+ "{NAME}: the per-4x4 walk must fire on the fixture's full unskipped \
6184- leaf8 death (got luma {luma}, chroma {chroma}) -- zero means the \6178+ intrabc rect census (got luma {luma}, chroma {chroma}) -- zero \
6185- fixture no longer reaches the fixed body (class \6179+ means the fixture no longer reaches the fixed body (class \
6186 gate-blind-to-feature), more means the entropy desynced and \6180 gate-blind-to-feature), more means the entropy desynced and \
6187 garbage blocks read as intrabc rect leaves"6181 garbage blocks read as intrabc rect leaves"
6188 );6182 );
6189- let payload = match result {6183+ let dv_skips = crate::decode::skipped_intrabc_dv_copy_hits();
6190- Err(e) => e,6184+ assert_eq!(
6191- Ok(_) => panic!(6185+ dv_skips, 150,
6192- "{NAME}: the fixture decoded to completion -- the known \6186+ "{NAME}: the skipped-intrabc DV-copy chroma arm must fire on every \
6193- llintra-deferred leaf8 panic at mi (32,10) is gone; flip this \6187+ one of the fixture's 150 skipped intrabc leaves (got {dv_skips}) \
6194- gate to the full-frame exact aomdec comparison"6188+ -- zero means the arm is unreachable (class gate-blind-to-feature)"
6195- ),
6196- };
6197- let msg = payload
6198- .downcast_ref::<String>()
6199- .map(String::as_str)
6200- .or_else(|| payload.downcast_ref::<&'static str>().copied())
6201- .unwrap_or("");
6202- assert!(
6203- msg.contains("range end index 4 out of range for slice of length 0"),
6204- "{NAME}: the decode died somewhere OTHER than the known leaf8 \
6205- palette_window site -- the walk desynced the tile (panic: {msg})"
6206 );6189 );
6190+
6191+ // The oracle aomdec, rawvideo out: one concatenated yuv444p frame.
6192+ if aomdec_path().is_file() {
6193+ let dir = std::env::temp_dir().join(format!("ec-av1-ibcskip2-{}", std::process::id()));
6194+ let _ = std::fs::remove_dir_all(&dir);
6195+ std::fs::create_dir_all(&dir).expect("scratch dir");
6196+ let raw = dir.join("aomdec.raw");
6197+ let out = Command::new(aomdec_path())
6198+ .args(["--codec=av1", "--rawvideo", "-o"])
6199+ .arg(&raw)
6200+ .arg(&obu)
6201+ .stdin(Stdio::null())
6202+ .stdout(Stdio::piped())
6203+ .stderr(Stdio::piped())
6204+ .output()
6205+ .expect("aomdec failed to run");
6206+ assert!(
6207+ out.status.success(),
6208+ "{NAME}: the oracle aomdec refused the stream: {}",
6209+ String::from_utf8_lossy(&out.stderr)
6210+ );
6211+ let ref_raw = std::fs::read(&raw).expect("aomdec rawvideo output");
6212+ let _ = std::fs::remove_dir_all(&dir);
6213+ assert_eq!(ref_raw.len(), W * H * 3, "{NAME}: aomdec raw size");
6214+ let f = &frames[0];
6215+ for (plane, off, p) in
6216+ [(&f.y, 0usize, "Y"), (&f.u, W * H, "U"), (&f.v, 2 * W * H, "V")]
6217+ {
6218+ let want = &ref_raw[off..off + W * H];
6219+ let bad = plane.iter().zip(want).filter(|&(&a, &b)| a as u8 != b).count();
6220+ assert_eq!(
6221+ bad, 0,
6222+ "{NAME}: aomdec plane {p}: {bad} samples differ -- a \
6223+ regression here reopens the skipped-intrabc sub8 chroma \
6224+ predictor or the rect walk"
6225+ );
6226+ }
6227+ } else {
6228+ eprintln!("SKIP {NAME} aomdec arm: no oracle aomdec at {}", aomdec_path().display());
6229+ }
6207 eprintln!(6230 eprintln!(
6208- "{NAME}: walk fired once (luma + chroma), entropy aligned through \6231+ "{NAME}: frame sample-exact vs oracle aomdec; {luma}+{chroma} rect \
6209- the leaf, death at the known leaf8 site"6232+ walks, {dv_skips} skipped-intrabc DV copies"
6210 );6233 );
6211 }6234 }
6212 6235
lanes/av1ibcskip2.report.mdadded+94 -0
@@ -0,0 +1,94 @@
1+# lane-av1-ibcskip2: skipped-intrabc sub8 chroma predicts the DV frame copy (r1)
2+
3+## Charter
4+
5+Close `av1ibc444rect` blocked_by item 2: `sub8_leaf_chroma444`'s skip arm
6+predicted the intra mode (DC for an intrabc leaf) where libaom predicts the
7+frame copy at the DV — `av1_build_inter_predictors_sb` runs for an intrabc
8+block regardless of `skip`; only the residual read is dropped. Work in
9+`edith_codecs-av1ibcskip2` @ b6d4b528 (`f23115aa` + cherry-picked
10+`9dbeafab`, the leaf8 chroma-extent fix that unblocked this fixture). The
11+RESERVED 4:2:0 group-tail chroma SKIP arm is untouched (see collision
12+statement).
13+
14+## Defect (measured on this tree, fail-before)
15+
16+The fixture decodes to completion at this HEAD (the parent lane needed a
17+throwaway leaf8 patch to measure; b6d4b528 landed it). Native reproduction,
18+oracle `aomdec --rawvideo` vs our decode:
19+
20+- luma: 0 differing samples,
21+- U: 2794 differing samples, V: 2830, across 180 distinct 4x4 cells —
22+ 175 of them EXACTLY the frame's skipped intrabc leaves (150 leaves
23+ covering 175 4x4 cells), the other 5 their immediate neighbours
24+ (poisoned edge state),
25+- a throwaway cell trace confirmed every diff cell sits on a
26+ `(intrabc=1, skip=1)` leaf or touches one.
27+
28+Class: `skipped-intrabc-predicts-intra`. The 4:2:0 group-tail twin (flat DC
29+at the tails) is the RESERVED arm — not touched, not fixed here.
30+
31+## Fix
32+
33+New first arm in `sub8_leaf_chroma444` (`if let Some(dv) =
34+intrabc_dv.filter(|_| skip)`): bilinear MC of the CURRENT frame's U/V at the
35+DV (the unskipped arm's own `mv_to_q4` route), armed through
36+`set_palette_pred` and pushed with `ZERO_RESIDUAL` via
37+`push_intra`/`push_intra_rect` — the same armed-palette-slot route the two
38+luma skip arms (`decode_leaf_split4`, `decode_leaf_rect8`) already use; the
39+callers flushed the recon queue before their luma DV copy, so the source
40+samples are current. The inherited chroma `tx_type` slot is disarmed
41+(consumed by nothing — a skipped leaf reads no coefficient), keeping
42+`SKIPPED_INTRABC_CHROMA_ARM_HITS` semantics. Engagement counter
43+`SKIPPED_INTRABC_DV_COPY_HITS` + accessors pin the route for the gate.
44+
45+## Stale gate flip (forced by the cherry-pick)
46+
47+`a_lossless_444_intrabc_rect_leaf_walks_per_4x4_units` was RED at HEAD as
48+committed: it pinned the leaf8 `palette_window` panic ((3, 3) walk hits)
49+which b6d4b528 removed — the walk now fires its full census (339, 339).
50+Flipped per its own r1 doc to the full-frame exact `aomdec` comparison:
51+fixture len/FNV pins kept, (339, 339) census assert, `SKIPPED_INTRABC_
52+DV_COPY_HITS == 150` route assert, `aomdec --rawvideo` 0-diff on all three
53+planes (arm skipped with a notice only when the oracle binary is absent).
54+
55+## Verification (measured)
56+
57+- Mutation check: the arm mutated to count-but-predict-flat (grey 128
58+ prediction, flow intact, counter armed) → gate RED at "aomdec plane U:
59+ 2503 samples differ". The pixel comparison is load-bearing; the ==150
60+ counter assert catches an unreachable arm.
61+- Gate green (post-fix, mutation reverted): "frame sample-exact vs oracle
62+ aomdec; 339+339 rect walks, 150 skipped-intrabc DV copies". Whole-fixture
63+ 0 differing samples on Y, U and V — also re-measured out-of-gate via a
64+ throwaway plane dump + byte diff before the gate existed (0/0/0).
65+- Battery (superset of the parent's 16): every `intrabc`-named gate 17
66+ passed, every `lossless`-named gate 12 passed, every `sb128`-named gate 9
67+ passed (1 ignored diagnostic each where present), including the parent's
68+ full list, the leaf8oob gate from HEAD's cherry-pick, and this flipped
69+ gate. `cargo check -p ec-av1 --all-targets`: 0 warnings, 0 errors.
70+
71+## 4:2:0 / reserved-arm collision statement
72+
73+The diff lands only in `sub8_leaf_chroma444` (444-only: all six call sites
74+sit inside `if chroma_444` blocks; 4:2:0 chroma rides the group tails),
75+the `SKIPPED_INTRABC_DV_COPY_HITS` counter block in decode.rs, and the
76+flipped gate in stream.rs. The 4:2:0 group-tail chroma SKIP arm and the
77+`last_intrabc` tails in `decode_leaf_split4`/`decode_leaf_rect8` — the
78+RESERVED territory — are byte-for-byte untouched, and none of their call
79+sites pass `intrabc_dv = Some`, so 4:2:0 control flow through the edited
80+function is identical; the 420-heavy intrabc/lossless/sb128 battery above
81+confirms bit-identical behaviour.
82+
83+## Not claimed
84+
85+Exactness is claimed for the pinned fixture (whole frame, all planes) and
86+whatever the battery gates already pinned — not a general "every 4:4:4
87+intrabc stream decodes exact" statement. The `444_leaf8_oob.obu`
88+divergence noted in `lanes/av1leaf8oob.report.md` is that lane's deferral,
89+not re-measured here.
90+
91+## Deferred
92+
93+Nothing. The charter's deliverable (skip arm consults the DV, fixture gate,
94+4:2:0 identical, gates green) is complete on this branch.