forge
Explore
Log in

Don't you dare go Hollow

Merge lane-av1422luma: 4:2:2 IntraBC 1:4 strips code their OWN chroma -- six sweep cells byte-exact, and the luma-wrong cell was a chroma-origin ENTROPY desync

Browse files at this commit

2a729cd6862bca640f90b034ff6574120e798c04Ahmet Kaan GümüşParent: 09027b47105e65
The frame-0 chroma family (five cells) and the luma-wrong cell `s422_416x250_10b` all close with one fix at one
arm: `decode_rect4_16_intrabc`. The 4:2:0 1:4 PAIR rule (`is_chroma_reference`) was applied at every ss except the
4:4:4 arm, but at ss (1,0) it is true for EVERY block, so a 4:2:2 strip codes its own chroma at its own origin.
Five edits land the own-chroma treatment: `cw,ch` from `(bw>>ss_x, bh>>ss_y)`; `pair_mi = lmi`; `cpx,cpy` from
`(px>>ss_x, py>>ss_y)` (the pair's (144,62) was the wrong row -- 66 rows high); BOTH chroma coefficient-context
gathers over the strip's own extent, routed through `around_mi_422_chroma` at ss (1,0) only (4:4:4 deliberately
keeps `around_mi_rect`, since at ss_x 0 a chroma column IS a luma mi column); and the mi-map publication the next
block reads (`record_uv_mode_mi` plus the two left/above skip loops) over the strip's own extent.

**The luma-wrong cell was the same constant, one read later, and this is the part worth remembering**: with the
origin moved but the gather left on the 4:2:0 pair, the U/V `txb_skip` read of the intra-BC 16x4 strip at mi
(51,84) took its LEFT flag one mi row high (ours ctx 2, oracle ctx 8), `all_zero` decoded 1 instead of 0, the
frame desynced, and luma went 0 -> 5958 wrong -- exactly the regression the earlier write-side-only attempt
produced. So the defect chain is: wrong chroma origin -> wrong coefficient-context gather -> wrong skip read ->
entropy desync -> wrong luma for the rest of the frame. The first divergence for that cell is a chroma
`txb_skip` read at mi (51,84); the intra ladder pairs the first 450 frame-0 blocks exactly on (mi_row, mi_col,
rng) and forks at index 450 (ours 8x16 vs oracle 16x16); the partition ladder shows 367 identical-rng reads with
a constant +15-bit tell; the per-TU ladder is +15 through TU 1918 with the same BIT but a different CDF state at
TU 1919; and the oracle's own dump for that unit shows ctx 8 above [23,23] left [0] against our ctx 2
`around=(true,true,5)`. Filters are inert: prefilter/deblock/CDEF/final all carry the same 6538 luma count.

Measured after: all six cells **0/0/0** per plane per frame vs ffmpeg 8.1.3 (`s422_320x246` 0/7810/5531 ->
0/0/0, `s422_322x240` 0/22003/21625 -> 0/0/0, `s422_322x246` 0/3437/2222 -> 0/0/0, `s422_352x242_10b`
0/4653/3777 -> 0/0/0, `s422_416x242_10b` 0/5740/4348 -> 0/0/0, `s422_416x250_10b` 99011/61486/60106 ->
0/0/0), three of them also 17/17 byte-exact in DECODE order against the instrumented aomdec with the hidden
altref included. Controls unchanged: 4:2:0 10-bit and 4:4:4 10-bit sample cells 0/0/0 before and after, the
pre-existing gate `a_444_intrabc_rect4_reads_its_own_chroma_plane_block` passes with UNCHANGED numbers (23
own-chroma strips at 4:4:4, 0 at 4:2:0), the 26 intrabc-named tests pass, and liveness is proven post-fix by
per-plane single-sample flips (Y, U and V each move by exactly +1 and leave the other two planes at 0).

`s422_384x240` is explicitly NOT this arm: it stays 0/1780/1871, luma-exact, first bad frame 1, and belongs to
the reserved group-tail chroma SKIP arm's new owner.
crates/ec-av1/src/decode.rsmodified+100 -16
@@ -6116,6 +6116,27 @@ thread_local! {
6116 static INTRABC_RECT4_OWN_CHROMA444_HITS: std::cell::Cell<usize> = const { std::cell::Cell::new(0) };6116 static INTRABC_RECT4_OWN_CHROMA444_HITS: std::cell::Cell<usize> = const { std::cell::Cell::new(0) };
6117 }6117 }
6118 6118
6119+// lane-av1422luma: the ss (1,0) twin of `INTRABC_RECT4_OWN_CHROMA444_HITS`
6120+// -- how many intra-BC 1:4 strips at 4:2:2 took the own-chroma (no pair)
6121+// route. Same caveat as the 4:4:4 counter: it proves REACH and nothing else,
6122+// and 4:2:2 is refused at the sequence header, so no committed test can read
6123+// it (the count in `lanes/av1422luma.report.md` is from a bypassed probe build).
6124+thread_local! {
6125+ static INTRABC_RECT4_OWN_CHROMA422_HITS: std::cell::Cell<usize> = const { std::cell::Cell::new(0) };
6126+}
6127+
6128+/// Current value of [`INTRABC_RECT4_OWN_CHROMA422_HITS`].
6129+#[allow(dead_code)] // read only from the `#[cfg(test)]` gates
6130+pub(crate) fn intrabc_rect4_own_chroma422_hits() -> usize {
6131+ INTRABC_RECT4_OWN_CHROMA422_HITS.with(std::cell::Cell::get)
6132+}
6133+
6134+/// Resets [`INTRABC_RECT4_OWN_CHROMA422_HITS`] before a decode.
6135+#[allow(dead_code)] // read only from the `#[cfg(test)]` gates
6136+pub(crate) fn reset_intrabc_rect4_own_chroma422_hits() {
6137+ INTRABC_RECT4_OWN_CHROMA422_HITS.with(|c| c.set(0));
6138+}
6139+
6119 /// Current value of [`INTRABC_RECT4_OWN_CHROMA444_HITS`].6140 /// Current value of [`INTRABC_RECT4_OWN_CHROMA444_HITS`].
6120 #[allow(dead_code)] // read only from the `#[cfg(test)]` gates6141 #[allow(dead_code)] // read only from the `#[cfg(test)]` gates
6121 pub(crate) fn intrabc_rect4_own_chroma444_hits() -> usize {6142 pub(crate) fn intrabc_rect4_own_chroma444_hits() -> usize {
@@ -18218,10 +18239,31 @@ fn decode_rect4_16_intrabc(
18218 // `--enable-intrabc=0` at the same settings is byte-exact, and the 4:2:018239 // `--enable-intrabc=0` at the same settings is byte-exact, and the 4:2:0
18219 // twin of the same recipe is byte-exact.18240 // twin of the same recipe is byte-exact.
18220 //18241 //
18221- // 4:2:0 and 4:2:2 keep every constant below verbatim -- the arm is gated on18242+ // 4:2:0 alone keeps every constant below verbatim: a 1:4 strip's chroma
18222- // the full ss (0,0), not on a per-axis shift, so `pw / 2` and the literal18243+ // plane block is 4:2:0's PAIR (the block above / beside it), because at
18223- // halving are untouched for both.18244+ // ss (1,1) the strip's 8x2 chroma lies INSIDE that neighbour's chroma.
18245+ //
18246+ // lane-av1422luma: at ss (1,0) that containment is gone -- 4:2:2 subsamples
18247+ // x only, so the strip's chroma is 8x4 (full height) at the STRIP'S OWN
18248+ // origin, and libaom's own clause agrees: `is_chroma_reference`
18249+ // (av1_common_int.h:1454) ends in `|| !subsampling_y`, which answers TRUE
18250+ // for every block at ss_y 0. Reading the strip's chroma at the 4:2:0 pair
18251+ // origin instead puts the unit one mi row high: on `s422_416x250_10b`
18252+ // (416x250 10-bit, sha256 d6aa7f45...) that is the V/U pair's `txb_skip`
18253+ // read at mi (51,84) -- ctx 2 where the oracle reads 8, `all_zero` decoded
18254+ // as 1 instead of 0, and the frame desyncs from there (luma included).
18255+ // The origin half is `lane/av1422seed`'s unlanded hunk, reproduced here so
18256+ // the arm is measurable whole; the gather and the publication extents
18257+ // below are this lane's. VERT_4 stays on the pair: `ss_size_lookup
18258+ // [BLOCK_4X16][1][0]` is BLOCK_INVALID at 4:2:2, so only HORZ reaches it.
18224 let own444 = ss_x(fctx) == 0 && ss_y(fctx) == 0;18259 let own444 = ss_x(fctx) == 0 && ss_y(fctx) == 0;
18260+ let own422 = ss_x(fctx) == 1 && ss_y(fctx) == 0 && horz;
18261+ if own422 && has_chroma {
18262+ hit!(INTRABC_RECT4_OWN_CHROMA422_HITS);
18263+ }
18264+ // One predicate for "this strip IS its own chroma reference": the strip's
18265+ // own mi position, its own luma extent, and per-axis subsampled sizes.
18266+ let own_chroma = own444 || own422;
18225 if ss_x(fctx) == 0 && ss_y(fctx) == 0 && has_chroma {18267 if ss_x(fctx) == 0 && ss_y(fctx) == 0 && has_chroma {
18226 hit!(INTRABC_RECT4_OWN_CHROMA444_HITS);18268 hit!(INTRABC_RECT4_OWN_CHROMA444_HITS);
18227 }18269 }
@@ -18232,9 +18274,13 @@ fn decode_rect4_16_intrabc(
18232 } else {18274 } else {
18233 (8, 16)18275 (8, 16)
18234 };18276 };
18235- let (cw, ch) = if own444 { (bw, bh) } else { (pw / 2, ph / 2) };18277+ let (cw, ch) = if own_chroma {
18278+ (bw >> ss_x(fctx), bh >> ss_y(fctx))
18279+ } else {
18280+ (pw / 2, ph / 2)
18281+ };
18236 let pair_mi = if has_chroma {18282 let pair_mi = if has_chroma {
18237- if own444 {18283+ if own_chroma {
18238 lmi18284 lmi
18239 } else if horz {18285 } else if horz {
18240 (lmi.0 - 1, lmi.1)18286 (lmi.0 - 1, lmi.1)
@@ -18245,8 +18291,8 @@ fn decode_rect4_16_intrabc(
18245 lmi18291 lmi
18246 };18292 };
18247 let (cpx, cpy) = if has_chroma {18293 let (cpx, cpy) = if has_chroma {
18248- if own444 {18294+ if own_chroma {
18249- (px, py)18295+ (px >> ss_x(fctx), py >> ss_y(fctx))
18250 } else {18296 } else {
18251 (pair_mi.1 * MI / 2, pair_mi.0 * MI / 2)18297 (pair_mi.1 * MI / 2, pair_mi.0 * MI / 2)
18252 }18298 }
@@ -18528,7 +18574,25 @@ fn decode_rect4_16_intrabc(
18528 Grid::Own(vo)18574 Grid::Own(vo)
18529 };18575 };
18530 } else if has_chroma {18576 } else if has_chroma {
18531- let around = neighbours.around_mi_rect(pair_mi, pw, ph);18577+ // lane-av1422luma: the own-chroma route reads its context over its
18578+ // OWN extent; at ss (1,0) it additionally goes through the
18579+ // every-second-column gather (one chroma 4-px column spans two
18580+ // luma mi columns, so the per-mi gather would count each column's
18581+ // whole-unit dc sign twice and OR in cells the unit does not
18582+ // cover) -- the same choice the `decode_rect4_16` chroma arm
18583+ // makes at `decode.rs:19577`. 4:4:4 keeps the per-mi gather: at
18584+ // ss_x 0 a chroma column IS a luma mi column, so sampling would
18585+ // halve its own above span.
18586+ let (gmi, gw, gh) = if own_chroma {
18587+ (lmi, bw, bh)
18588+ } else {
18589+ (pair_mi, pw, ph)
18590+ };
18591+ let around = if own422 {
18592+ neighbours.around_mi_422_chroma(gmi, gw, gh)
18593+ } else {
18594+ neighbours.around_mi_rect(gmi, gw, gh)
18595+ };
18532 let (ug, _) = read_inter_plane_rect(18596 let (ug, _) = read_inter_plane_rect(
18533 dec,18597 dec,
18534 cdfs,18598 cdfs,
@@ -18589,7 +18653,18 @@ fn decode_rect4_16_intrabc(
18589 luma_grid = g;18653 luma_grid = g;
18590 chroma_stamped_per_unit = false;18654 chroma_stamped_per_unit = false;
18591 if has_chroma {18655 if has_chroma {
18592- let around = neighbours.around_mi_rect(pair_mi, pw, ph);18656+ // lane-av1422luma: as the lossless twin above -- own extent, and
18657+ // the sampled gather at 4:2:2 only.
18658+ let (gmi, gw, gh) = if own_chroma {
18659+ (lmi, bw, bh)
18660+ } else {
18661+ (pair_mi, pw, ph)
18662+ };
18663+ let around = if own422 {
18664+ neighbours.around_mi_422_chroma(gmi, gw, gh)
18665+ } else {
18666+ neighbours.around_mi_rect(gmi, gw, gh)
18667+ };
18593 let (ug, _) = read_inter_plane_rect(18668 let (ug, _) = read_inter_plane_rect(
18594 dec,18669 dec,
18595 cdfs,18670 cdfs,
@@ -18652,24 +18727,33 @@ fn decode_rect4_16_intrabc(
18652 let mut last_uv = None;18727 let mut last_uv = None;
18653 if has_chroma {18728 if has_chroma {
18654 hit!(RECT4_16_CHROMA_HITS);18729 hit!(RECT4_16_CHROMA_HITS);
18655- neighbours.record_uv_mode_mi(pair_mi.0, pair_mi.1, pw / MI, ph / MI, DC_PRED);18730+ // lane-av1422luma: the uv-mode publication and the left/above skip
18731+ // state below are the STRIP's own at 4:2:2 / 4:4:4 -- publishing the
18732+ // pair extent (one mi row off, `ph`/`pw`) is what the NEXT block's
18733+ // chroma skip context then reads.
18734+ let (rmi, rw, rh) = if own_chroma {
18735+ (lmi, bw, bh)
18736+ } else {
18737+ (pair_mi, pw, ph)
18738+ };
18739+ neighbours.record_uv_mode_mi(rmi.0, rmi.1, rw / MI, rh / MI, DC_PRED);
18656 if !chroma_stamped_per_unit {18740 if !chroma_stamped_per_unit {
18657 let u_state = neighbour_state(&u_grid);18741 let u_state = neighbour_state(&u_grid);
18658 let v_state = neighbour_state(&v_grid);18742 let v_state = neighbour_state(&v_grid);
18659 let round_up_even = |n: usize| n.div_ceil(2) * 2;18743 let round_up_even = |n: usize| n.div_ceil(2) * 2;
18660 let bound_h = round_up_even(neighbours.mi_rows);18744 let bound_h = round_up_even(neighbours.mi_rows);
18661 let bound_w = round_up_even(neighbours.mi_cols);18745 let bound_w = round_up_even(neighbours.mi_cols);
18662- for cell in 0..(ph / MI) {18746+ for cell in 0..(rh / MI) {
18663- if pair_mi.0 + cell < bound_h18747+ if rmi.0 + cell < bound_h
18664- && let Some(slot) = neighbours.left.get_mut(pair_mi.0 + cell)18748+ && let Some(slot) = neighbours.left.get_mut(rmi.0 + cell)
18665 {18749 {
18666 slot[1] = u_state;18750 slot[1] = u_state;
18667 slot[2] = v_state;18751 slot[2] = v_state;
18668 }18752 }
18669 }18753 }
18670- for cell in 0..(pw / MI) {18754+ for cell in 0..(rw / MI) {
18671- if pair_mi.1 + cell < bound_w18755+ if rmi.1 + cell < bound_w
18672- && let Some(slot) = neighbours.above.get_mut(pair_mi.1 + cell)18756+ && let Some(slot) = neighbours.above.get_mut(rmi.1 + cell)
18673 {18757 {
18674 slot[1] = u_state;18758 slot[1] = u_state;
18675 slot[2] = v_state;18759 slot[2] = v_state;
lanes/av1422luma.report.mdadded+511 -0
@@ -0,0 +1,511 @@
1+# lane-av1422luma — `s422_416x250_10b` is BYTE-EXACT: the luma desync is a 4:2:2 chroma-ORIGIN error in the IntraBC 1:4 strip arm
2+
3+**Outcome in one line: the one 4:2:2 cell whose luma was also wrong was an
4+ENTROPY desync, not a luma defect — `decode_rect4_16_intrabc` reads a 16x4
5+intra-BC strip's chroma at 4:2:0's pair origin at ss (1,0), the wrong
6+`txb_skip` context makes `all_zero` decode as 1 instead of 0, and the frame
7+desyncs from that read onward; giving the strip its own chroma at 4:2:2
8+(own origin, own extent, own 4:2:2 gather) closes SIX sweep cells including
9+this one, 25 of 26 swept cells byte-exact, 4:2:0/4:4:4 untouched.**
10+
11+Tip: branch `lane/av1422luma`, base `1bc6f543` (`main` at charter time),
12+fix commit `459e425d`. Worktree `/home/user/.cache/wt/av1422luma`.
13+Ours = `examples/decode_probe`, release, private
14+`CARGO_TARGET_DIR=/home/user/.cache/tgt/av1422luma`, with the
15+local-only `EC_AV1_ALLOW_422_PROBE` bypass applied **in a separate detached
16+worktree** (`/home/user/.cache/wt/av1422luma-probe`) by a patch-run-restore
17+script. **The shipped tree refuses 4:2:2 by name and still does**:
18+`stream.rs:1803` reads `if seq.subsampling_x != seq.subsampling_y {` in the
19+committed tree, `grep -c 'if false &&' crates/ec-av1/src/stream.rs` = 0.
20+
21+Reproducer: `/home/user/.cache/census422b/sweep/s422_416x250_10b.obu`,
22+sha256 `d6aa7f450f54d6fb381400a0a0226da87599c00509eeb5031abe63383e272627`,
23+416x250, ss (1,0), 10-bit, 17 decode frames (16 shown + 1 hidden alt-ref),
24+encoded by the census's `mksweep.sh` recipe (`aomenc --profile=2
25+--input-bit-depth=10 --limit=16 --lag-in-frames=25 --auto-alt-ref=1
26+--enable-global-motion=1 --pass=1 --cq-level=24 --threads=4 --kf-min-dist=0
27+--kf-max-dist=999999 --cpu-used=0 --obu`).
28+
29+---
30+
31+## 1. Oracle, instrument, and the liveness proof
32+
33+Pixel oracle: **ffmpeg 8.1.3** (`libdav1d`), `ffmpeg -v error -i <cell>.obu
34+-f rawvideo -pix_fmt yuv422p10le -`, 16 shown frames of 416000 B each
35+(416x250 + 2x208x250, 2 B/sample). Geometry is an explicit argument to the
36+comparator, parsed from `ffprobe` (`width=416 height=250
37+pix_fmt=yuv422p10le`), never from a file size; a frame whose length disagrees
38+with the geometry is a hard error. A wrong SAMPLE is one 2-byte unit at
39+10-bit, so the top bits cannot hide. A count over zero frames is a hard
40+error, so a vacuous 0/0/0 cannot be reported.
41+
42+**Flip controls (the comparator is shown to bite before any "exact" is
43+read).** One oracle sample's low byte bit 0 flipped per plane, in a named
44+frame:
45+
46+| cell | build | baseline Y/U/V | flip | result |
47+|---|---|---|---|---|
48+| `s422_416x250_10b` | post-fix | 0/0/0 | frame 0 Y (x=10,y=5) | **Y 0→1**, U 0, V 0, first-Y = the flipped sample |
49+| `s422_416x250_10b` | post-fix | 0/0/0 | frame 0 V chroma (x=10,y=96) | **V 0→1**, U 0, Y 0, first-V = the flipped sample |
50+| `s422_416x242_10b` | post-fix | 0/0/0 | frame 0 U chroma (x=168,y=100) | **U 0→1**, Y 0, V 0 |
51+| `s422_416x242_10b` | post-fix | 0/0/0 | frame 0 V chroma (x=168,y=100) | **V 0→1**, Y 0, U 0 |
52+
53+Each arm moves exactly one plane by exactly +1 and leaves the other two and
54+all other frames alone.
55+
56+A second, independent oracle is used for the hidden alt-ref frame ffmpeg
57+never presents: the instrumented libaom
58+(`/home/user/.cache/aom-oracle/build/aomdec`) with
59+`EC_AV1_FINAL_DUMP`, i.e. **DECODE order**, 17 frames, geometry explicit,
60+compared with the census's own `cmp422.compare`. Post-fix,
61+`s422_416x250_10b`, `s422_416x242_10b` and `s422_320x246` are **17/17
62+byte-exact** in that view too (§5).
63+
64+## 2. The first divergence, and that it is ENTROPY, not reconstruction
65+
66+Pre-fix, per shown frame (`s422_416x250_10b`, ffmpeg oracle):
67+
68+```
69+frame 0: Y=6538 U=3527 V=3514 first Y frame 0 (x=384,y=128) ours=370 orc=371
70+ first U frame 0 chroma (x=168,y=100) ours=830 orc=810
71+ first V frame 0 chroma (x=168,y=100) ours=963 orc=897
72+```
73+
74+Two filters were INERT, so the difference is already in reconstruction and
75+not introduced by a post-reconstruction filter:
76+
77+| stage (ours, depth-correct `*_DUMP16`) | frame 0 Y wrong vs ffmpeg |
78+|---|---|
79+| `EC_AV1_PREFILT_DUMP16` (pre-loop-filter) | 6538, first (384,128) |
80+| `EC_AV1_POSTDEBLOCK_DUMP16` | 6538, first (384,128) |
81+| `EC_AV1_POSTCDEF_DUMP16` | 6538, first (384,128) |
82+| `EC_AV1_FINAL_DUMP` | 6538, first (384,128) |
83+
84+The wrong luma region is a staircase inside superblock row 1 (rows 128-249,
85+cols 320..415 growing leftward as rows increase; per-8x8-block wrong counts
86+63-64 of 64 over most of it), with constant per-block offsets (`+131`,
87+`+2`, `+27`, `-53`, `+1`) in the flat blocks and growing errors elsewhere —
88+the profile of a wrong value fed into intra prediction, not of a wrong
89+filter.
90+
91+**But it is a PARSE desync, and the ladders say so.** Paired against the
92+instrumented aomdec:
93+
94+1. `EC_TRACE_MODE=1` intra ladder (`EC_IMODE`/`EC_IMODE_VAL`, per block,
95+ `rng` = msac state): the first **450** blocks of frame 0 pair
96+ **element-for-element on `(mi_row, mi_col, rng)`**. The first mismatch is
97+ index 450, at **mi (52,80)** = luma (320,208): the oracle reads a 16x16
98+ block, we read 8x16, `rng` 42970 vs 56224.
99+2. `EC_TRACE=1` partition ladder (`EC_PART`, which also prints the bit
100+ position): for the first 367 partition reads of frame 0 our `rng` equals
101+ the oracle's exactly and our bit position is a constant +15 (a tell
102+ convention offset). At the 16x16 read of **mi (52,80)** the oracle is
103+ `ctx=5 value=0` and we are `ctx=1 value=2`; our bit position has moved to
104+ +5, i.e. **we consumed 10 fewer bits than the oracle inside the block
105+ before it** (mi (51,84), a 16x4 intra-BC strip).
106+3. Per-TU ladder (a local `EC_TU` rung added in the probe worktree only,
107+ mirroring the oracle's `EC_ECDUMP_IN`, which prints plane, mi, tx, ctx
108+ and the exact bit position): through TU 1918 the bit offset is the
109+ constant +15 and the rng matches at every TU. **TU 1919 — the V-plane
110+ transform unit of the intra-BC block at mi (51,84) — is the first
111+ divergence**: oracle `bit=46696 rng=45064`, ours `bit=46701 rng=53200`.
112+ The bit position still matches (offset +5 after the drop from +15), so
113+ this is not a bit-position slip: the **Coder STATE** differs at the same
114+ bit, which is the signature of a wrong CDF row on the read that precedes
115+ it.
116+4. The preceding read is the U-plane unit of the same block. The oracle
117+ reads `all_zero=0` (25 bits, `eob=8`, `tx=6` = TX_8X4); we read
118+ `all_zero=1` and read no coefficients at all. The oracle's
119+ `EC_ECDUMP` for that unit is `plane=1 mi=(51,84) bc=0 br=0 tx=6 ctx=8
120+ above=[23,23,] left=[0,]`; our `EC_RCT` rung for the same unit is
121+ `skip_ctx=2 around=(true, true, 5)`. libaom's chroma skip context is
122+ `combine_entropy_contexts(above, left) + 7` = 1 + 7 = **8** (above
123+ non-skip, left skip); ours is 1 + 1 = **2**, i.e. **our LEFT flag was
124+ wrong**, because we gathered it one mi row higher than the unit is.
125+
126+**Verdict: an entropy desync whose first wrong read is the chroma
127+`txb_skip` of an intra-BC 16x4 strip — a chroma-plane error that corrupts
128+luma because the desync runs to the end of the frame.** This is why this is
129+the one 4:2:2 cell with luma wrong: in the chroma-only cells the same
130+misplacement happens to leave `all_zero` at 1 on both sides, so the parse
131+survives and only the reconstruction is wrong.
132+
133+## 3. The owning arm, and the fix
134+
135+`crates/ec-av1/src/decode.rs`, `decode_rect4_16_intrabc` (the intra-BC 1:4
136+strip: 16x4 HORZ / 4x16 VERT).
137+
138+A 16x4 luma strip's chroma plane block is **its own** at 4:2:2, not 4:2:0's
139+pair: 4:2:2 subsamples x only, so the chroma is 8x4 — full height — at the
140+strip's own origin, and libaom's own clause agrees
141+(`av1_common_int.h:1454`, `is_chroma_reference` ends in
142+`... || !subsampling_y`, true for every block at ss_y 0). The function gated
143+that whole geometry on ss (0,0) and left 4:2:2 on the 4:2:0 constants
144+(`decode.rs:18243` before the change said so in as many words: *"4:2:0 and
145+4:2:2 keep every constant below verbatim"*). Reach in the reproducer alone:
146+**56 HORZ 1:4 strips in frame 0** (56 `EC_IMODE ... bsize=17` lines).
147+
148+Four sites move together, all gated on the new
149+`own422 = ss_x==1 && ss_y==0 && horz`:
150+
151+| site | before | after (4:2:2) | whose |
152+|---|---|---|---|
153+| `cw, ch` | `(pw/2, ph/2)` = (8,4) | `(bw>>ss_x, bh>>ss_y)` = (8,4) | av1422seed |
154+| `pair_mi` | `(lmi.0-1, lmi.1)` | `lmi` | av1422seed |
155+| `cpx, cpy` | `(pair_mi.1*MI/2, pair_mi.0*MI/2)` | `(px>>ss_x, py>>ss_y)` | av1422seed |
156+| chroma context gather (x2) | `around_mi_rect(pair_mi, pw, ph)` | `around_mi_422_chroma(lmi, bw, bh)` | **this lane** |
157+| uv-mode + left/above publication | `(pair_mi, pw, ph)` | `(lmi, bw, bh)` | **this lane** |
158+
159+`cw,ch` was already accidentally right at (8,4) (that is what the report
160+`lanes/av1422seed.report.md` §3.1 says); the origin and the gather were not,
161+and the origin is what put the unit a mi row high.
162+
163+**Ownership, stated because it matters for the merge:** the first three rows
164+are `lane/av1422seed`'s hunk. It was NOT in the tree when this lane started
165+(`git diff main lane/av1422seed` = empty; only the report had landed), and
166+that lane's own measurement of the write-side half alone REGRESSED luma
167+(`0 -> 5958` wrong luma samples on `s422_320x246`) because the gather stayed
168+on the pair extent — which is exactly the split this report's §2 measures.
169+Reproducing the origin half here is what makes the arm measurable whole and
170+is what closes their five cells plus mine. **Agent19-3 was messaged before
171+either hunk was written; do not land a second copy of the origin hunk.**
172+
173+Deliberately NOT changed: VERT_4 stays on the pair
174+(`ss_size_lookup[BLOCK_4X16][1][0]` is `BLOCK_INVALID` at 4:2:2, so a 4x16
175+strip is not codable there); 4:2:0 is untouched by construction (every new
176+branch is `own422`-gated); 4:4:4 keeps the **per-mi** gather, because at
177+ss_x 0 a chroma column IS a luma mi column and `around_mi_422_chroma`'s
178+every-second-column sampling would halve its own above span (measured: the
179+4:4:4 witness's first-wrong index and entropy fork are unmoved, §4).
180+
181+## 4. Gate
182+
183+`a_444_intrabc_rect4_reads_its_own_chroma_plane_block` (`stream.rs:9586`)
184+passes, and its printed numbers are **identical before and after** the
185+change: `23 own-chroma intra-BC strip(s) at 4:4:4, 0 at 4:2:0; 4:2:0 twin
186+byte-exact; 4:4:4 intra-BC CHROMA still OPEN (U/V first wrong at index
187+20532, entropy fork read 12465 at mi (90,108))`. That is the 4:2:0/4:4:4
188+control for this hunk: the route counter is unchanged at 4:4:4, the 4:2:0
189+twin of the same recipe is byte-exact against the oracle, and the 4:4:4
190+intra-BC chroma residual has not moved. The 26 `intrabc`-named tests pass
191+(1 pre-existing `#[ignore]`).
192+
193+**What cannot be gated, said plainly:** 4:2:2 is refused at the sequence
194+header, so no committed fixture or test can reach this route — a
195+pixel assertion for it is not expressible today. The honest package is the
196+counter `INTRABC_RECT4_OWN_CHROMA422_HITS` /
197+`intrabc_rect4_own_chroma422_hits()` (reach only; same caveat as its 4:4:4
198+twin, and it needs a bypassed build to read), plus the measurement below. A
199+source-scan substitute is not a gate and is not offered as one.
200+
201+## 5. Measurement
202+
203+Instrument: `/home/user/.cache/w422luma/sweep.sh` + `cmp2.py` (per-plane,
204+per-SHOWN-frame wrong-sample counts and first divergence, geometry explicit,
205+ffmpeg 8.1.3 oracle) and `cmp_decode_order.py` (the census's
206+`cmp422.compare` over `EC_AV1_FINAL_DUMP` on both sides, DECODE order).
207+`pre` = `main` 1bc6f543 with the same bypass, built into a separate target
208+dir; `post` = this tree, same bypass, same comparator, same cells.
209+8-bit cells go through `EC_PROBE_OUT` (8-bit planes) and 10-bit through
210+`EC_PROBE_OUT16` (u16 LE) — mixing them is the instrument bug that once
211+reported 1.2 M wrong luma samples on a cell that is exact.
212+
213+### 5.1 Whole sweep, one line per cell (16 shown frames, wrong samples Y/U/V)
214+
215+| cell | geometry | pre | post |
216+|---|---|---|---|
217+| `s422_320x240` | 320x240 8b | 0/0/0 | 0/0/0 |
218+| `s422_320x242` | 320x242 8b | 0/0/0 | 0/0/0 |
219+| `s422_320x246` | 320x246 8b | 0/7810/5531 | **0/0/0** |
220+| `s422_322x240` | 322x240 8b | 0/22003/21625 | **0/0/0** |
221+| `s422_322x242` | 322x242 8b | 0/0/0 | 0/0/0 |
222+| `s422_322x246` | 322x246 8b | 0/3437/2222 | **0/0/0** |
223+| `s422_326x240` | 326x240 8b | 0/0/0 | 0/0/0 |
224+| `s422_326x242` | 326x242 8b | 0/0/0 | 0/0/0 |
225+| `s422_326x246` | 326x246 8b | 0/0/0 | 0/0/0 |
226+| `s422_384x240` | 384x240 8b | 0/1780/1871 | 0/1780/1871 (unchanged, §6) |
227+| `s422_384x242` | 384x242 8b | 0/0/0 | 0/0/0 |
228+| `s422_384x246` | 384x246 8b | 0/0/0 | 0/0/0 |
229+| `s422_320x242_10b` | 320x242 10b | 0/0/0 | 0/0/0 |
230+| `s422_320x250_10b` | 320x250 10b | 0/0/0 | 0/0/0 |
231+| `s422_352x242_10b` | 352x242 10b | 0/4653/3777 | **0/0/0** |
232+| `s422_352x250_10b` | 352x250 10b | 0/0/0 | 0/0/0 |
233+| `s422_416x242_10b` | 416x242 10b | 0/5740/4348 | **0/0/0** |
234+| **`s422_416x250_10b`** | **416x250 10b** | **99011/61486/60106** | **0/0/0** |
235+| `s420_416x250_10b` | 416x250 10b 4:2:0 | 0/0/0 | 0/0/0 |
236+| `s420_416x242_10b` | 416x242 10b 4:2:0 | 0/0/0 | 0/0/0 |
237+| `s420_352x242_10b` | 352x242 10b 4:2:0 | 0/0/0 | 0/0/0 |
238+| `s420_320x242_10b` | 320x242 10b 4:2:0 | 0/0/0 | 0/0/0 |
239+| `s420_320x250_10b` | 320x250 10b 4:2:0 | 0/0/0 | 0/0/0 |
240+| `s444_416x250_10b` | 416x250 10b 4:4:4 | 0/0/0 | 0/0/0 |
241+| `s444_352x242_10b` | 352x242 10b 4:4:4 | 0/0/0 | 0/0/0 |
242+| `s444_320x250_10b` | 320x250 10b 4:4:4 | 0/0/0 | 0/0/0 |
243+
244+25 of 26 byte-exact after the change; six cells moved; **no 4:2:0 and no
245+4:4:4 cell moved**, which is the load-bearing control (the delta is
246+4:2:2-specific by construction and by measurement).
247+
248+### 5.2 Per-frame, per-plane, every cell the change touched
249+
250+See §6 of this file for the full per-frame tables (16 rows per cell).
251+
252+### 5.3 DECODE order (17 frames, hidden alt-ref included) vs instrumented aomdec
253+
254+| cell | pre-fix | post-fix |
255+|---|---|---|
256+| `s422_416x250_10b` | DIVERGES (the census's 17-frame 103250/64191/62834) | **17/17 BYTE-EXACT**, 0 wrong samples, no frame with any |
257+| `s422_416x242_10b` | DIVERGES | **17/17 BYTE-EXACT** |
258+| `s422_320x246` | DIVERGES | **17/17 BYTE-EXACT** |
259+
260+The hidden alt-ref frame is in that count: `ls` shows 17 `.f<N>` dumps per
261+side, and the comparator hard-errors on a frame-count mismatch, so the
262+16-shown/17-decode distinction is measured, not assumed.
263+
264+## 6. Per-frame tables
265+
266+### `s422_416x250_10b` (416x250 ss=10 depth=10), 16 shown frames, wrong samples Y/U/V
267+| frame | pre Y | pre U | pre V | post Y | post U | post V |
268+|---|---|---|---|---|---|---|
269+| 0 **<-first** | 6538 | 3527 | 3514 | 0 | 0 | 0 |
270+| 1 | 7159 | 4303 | 4259 | 0 | 0 | 0 |
271+| 2 | 7135 | 4341 | 4268 | 0 | 0 | 0 |
272+| 3 | 6729 | 3980 | 3992 | 0 | 0 | 0 |
273+| 4 | 6560 | 4118 | 3969 | 0 | 0 | 0 |
274+| 5 | 6549 | 3985 | 3869 | 0 | 0 | 0 |
275+| 6 | 6952 | 4152 | 4105 | 0 | 0 | 0 |
276+| 7 | 6335 | 3752 | 3698 | 0 | 0 | 0 |
277+| 8 | 6239 | 3990 | 3855 | 0 | 0 | 0 |
278+| 9 | 6272 | 4113 | 3939 | 0 | 0 | 0 |
279+| 10 | 5999 | 4089 | 3922 | 0 | 0 | 0 |
280+| 11 | 5760 | 3596 | 3488 | 0 | 0 | 0 |
281+| 12 | 5814 | 3810 | 3598 | 0 | 0 | 0 |
282+| 13 | 5485 | 3548 | 3395 | 0 | 0 | 0 |
283+| 14 | 5246 | 3477 | 3382 | 0 | 0 | 0 |
284+| 15 | 4239 | 2705 | 2853 | 0 | 0 | 0 |
285+| **total** | **99011** | **61486** | **60106** | **0** | **0** | **0** |
286+
287+### `s422_416x242_10b` (416x242 ss=10 depth=10), 16 shown frames, wrong samples Y/U/V
288+| frame | pre Y | pre U | pre V | post Y | post U | post V |
289+|---|---|---|---|---|---|---|
290+| 0 **<-first** | 0 | 63 | 59 | 0 | 0 | 0 |
291+| 1 | 0 | 380 | 317 | 0 | 0 | 0 |
292+| 2 | 0 | 434 | 348 | 0 | 0 | 0 |
293+| 3 | 0 | 288 | 218 | 0 | 0 | 0 |
294+| 4 | 0 | 332 | 258 | 0 | 0 | 0 |
295+| 5 | 0 | 356 | 293 | 0 | 0 | 0 |
296+| 6 | 0 | 451 | 339 | 0 | 0 | 0 |
297+| 7 | 0 | 292 | 229 | 0 | 0 | 0 |
298+| 8 | 0 | 419 | 281 | 0 | 0 | 0 |
299+| 9 | 0 | 437 | 312 | 0 | 0 | 0 |
300+| 10 | 0 | 541 | 384 | 0 | 0 | 0 |
301+| 11 | 0 | 338 | 266 | 0 | 0 | 0 |
302+| 12 | 0 | 263 | 218 | 0 | 0 | 0 |
303+| 13 | 0 | 408 | 290 | 0 | 0 | 0 |
304+| 14 | 0 | 506 | 358 | 0 | 0 | 0 |
305+| 15 | 0 | 232 | 178 | 0 | 0 | 0 |
306+| **total** | **0** | **5740** | **4348** | **0** | **0** | **0** |
307+
308+### `s422_352x242_10b` (352x242 ss=10 depth=10), 16 shown frames, wrong samples Y/U/V
309+| frame | pre Y | pre U | pre V | post Y | post U | post V |
310+|---|---|---|---|---|---|---|
311+| 0 **<-first** | 0 | 85 | 84 | 0 | 0 | 0 |
312+| 1 | 0 | 194 | 169 | 0 | 0 | 0 |
313+| 2 | 0 | 232 | 197 | 0 | 0 | 0 |
314+| 3 | 0 | 245 | 199 | 0 | 0 | 0 |
315+| 4 | 0 | 268 | 201 | 0 | 0 | 0 |
316+| 5 | 0 | 280 | 223 | 0 | 0 | 0 |
317+| 6 | 0 | 349 | 279 | 0 | 0 | 0 |
318+| 7 | 0 | 241 | 202 | 0 | 0 | 0 |
319+| 8 | 0 | 324 | 233 | 0 | 0 | 0 |
320+| 9 | 0 | 406 | 320 | 0 | 0 | 0 |
321+| 10 | 0 | 470 | 371 | 0 | 0 | 0 |
322+| 11 | 0 | 368 | 302 | 0 | 0 | 0 |
323+| 12 | 0 | 390 | 323 | 0 | 0 | 0 |
324+| 13 | 0 | 301 | 244 | 0 | 0 | 0 |
325+| 14 | 0 | 295 | 258 | 0 | 0 | 0 |
326+| 15 | 0 | 205 | 172 | 0 | 0 | 0 |
327+| **total** | **0** | **4653** | **3777** | **0** | **0** | **0** |
328+
329+### `s422_320x246` (320x246 ss=10 depth=8), 16 shown frames, wrong samples Y/U/V
330+| frame | pre Y | pre U | pre V | post Y | post U | post V |
331+|---|---|---|---|---|---|---|
332+| 0 **<-first** | 0 | 58 | 51 | 0 | 0 | 0 |
333+| 1 | 0 | 269 | 169 | 0 | 0 | 0 |
334+| 2 | 0 | 308 | 225 | 0 | 0 | 0 |
335+| 3 | 0 | 371 | 278 | 0 | 0 | 0 |
336+| 4 | 0 | 410 | 310 | 0 | 0 | 0 |
337+| 5 | 0 | 348 | 254 | 0 | 0 | 0 |
338+| 6 | 0 | 580 | 402 | 0 | 0 | 0 |
339+| 7 | 0 | 608 | 425 | 0 | 0 | 0 |
340+| 8 | 0 | 620 | 423 | 0 | 0 | 0 |
341+| 9 | 0 | 634 | 430 | 0 | 0 | 0 |
342+| 10 | 0 | 621 | 444 | 0 | 0 | 0 |
343+| 11 | 0 | 655 | 481 | 0 | 0 | 0 |
344+| 12 | 0 | 640 | 460 | 0 | 0 | 0 |
345+| 13 | 0 | 575 | 405 | 0 | 0 | 0 |
346+| 14 | 0 | 584 | 400 | 0 | 0 | 0 |
347+| 15 | 0 | 529 | 374 | 0 | 0 | 0 |
348+| **total** | **0** | **7810** | **5531** | **0** | **0** | **0** |
349+
350+### `s422_322x240` (322x240 ss=10 depth=8), 16 shown frames, wrong samples Y/U/V
351+| frame | pre Y | pre U | pre V | post Y | post U | post V |
352+|---|---|---|---|---|---|---|
353+| 0 **<-first** | 0 | 1786 | 1784 | 0 | 0 | 0 |
354+| 1 | 0 | 1786 | 1766 | 0 | 0 | 0 |
355+| 2 | 0 | 1871 | 1815 | 0 | 0 | 0 |
356+| 3 | 0 | 1701 | 1718 | 0 | 0 | 0 |
357+| 4 | 0 | 1642 | 1641 | 0 | 0 | 0 |
358+| 5 | 0 | 1577 | 1611 | 0 | 0 | 0 |
359+| 6 | 0 | 1550 | 1508 | 0 | 0 | 0 |
360+| 7 | 0 | 1440 | 1459 | 0 | 0 | 0 |
361+| 8 | 0 | 1180 | 1120 | 0 | 0 | 0 |
362+| 9 | 0 | 1204 | 1170 | 0 | 0 | 0 |
363+| 10 | 0 | 1240 | 1184 | 0 | 0 | 0 |
364+| 11 | 0 | 1125 | 1096 | 0 | 0 | 0 |
365+| 12 | 0 | 1035 | 1040 | 0 | 0 | 0 |
366+| 13 | 0 | 922 | 912 | 0 | 0 | 0 |
367+| 14 | 0 | 912 | 891 | 0 | 0 | 0 |
368+| 15 | 0 | 1032 | 910 | 0 | 0 | 0 |
369+| **total** | **0** | **22003** | **21625** | **0** | **0** | **0** |
370+
371+### `s422_322x246` (322x246 ss=10 depth=8), 16 shown frames, wrong samples Y/U/V
372+| frame | pre Y | pre U | pre V | post Y | post U | post V |
373+|---|---|---|---|---|---|---|
374+| 0 **<-first** | 0 | 62 | 47 | 0 | 0 | 0 |
375+| 1 | 0 | 233 | 145 | 0 | 0 | 0 |
376+| 2 | 0 | 267 | 174 | 0 | 0 | 0 |
377+| 3 | 0 | 212 | 142 | 0 | 0 | 0 |
378+| 4 | 0 | 238 | 150 | 0 | 0 | 0 |
379+| 5 | 0 | 332 | 212 | 0 | 0 | 0 |
380+| 6 | 0 | 255 | 167 | 0 | 0 | 0 |
381+| 7 | 0 | 118 | 87 | 0 | 0 | 0 |
382+| 8 | 0 | 184 | 113 | 0 | 0 | 0 |
383+| 9 | 0 | 316 | 219 | 0 | 0 | 0 |
384+| 10 | 0 | 204 | 131 | 0 | 0 | 0 |
385+| 11 | 0 | 190 | 124 | 0 | 0 | 0 |
386+| 12 | 0 | 244 | 177 | 0 | 0 | 0 |
387+| 13 | 0 | 167 | 93 | 0 | 0 | 0 |
388+| 14 | 0 | 249 | 139 | 0 | 0 | 0 |
389+| 15 | 0 | 166 | 102 | 0 | 0 | 0 |
390+| **total** | **0** | **3437** | **2222** | **0** | **0** | **0** |
391+
392+### `s422_384x240` (384x240 ss=10 depth=8), 16 shown frames, wrong samples Y/U/V
393+| frame | pre Y | pre U | pre V | post Y | post U | post V |
394+|---|---|---|---|---|---|---|
395+| 0 **<-first** | 0 | 0 | 0 | 0 | 0 | 0 |
396+| 1 | 0 | 0 | 0 | 0 | 0 | 0 |
397+| 2 | 0 | 0 | 0 | 0 | 0 | 0 |
398+| 3 | 0 | 0 | 0 | 0 | 0 | 0 |
399+| 4 | 0 | 0 | 0 | 0 | 0 | 0 |
400+| 5 | 0 | 0 | 0 | 0 | 0 | 0 |
401+| 6 | 0 | 4 | 12 | 0 | 4 | 12 |
402+| 7 | 0 | 50 | 60 | 0 | 50 | 60 |
403+| 8 | 0 | 96 | 104 | 0 | 96 | 104 |
404+| 9 | 0 | 138 | 150 | 0 | 138 | 150 |
405+| 10 | 0 | 210 | 210 | 0 | 210 | 210 |
406+| 11 | 0 | 250 | 258 | 0 | 250 | 258 |
407+| 12 | 0 | 292 | 303 | 0 | 292 | 303 |
408+| 13 | 0 | 290 | 303 | 0 | 290 | 303 |
409+| 14 | 0 | 248 | 261 | 0 | 248 | 261 |
410+| 15 | 0 | 202 | 210 | 0 | 202 | 210 |
411+| **total** | **0** | **1780** | **1871** | **0** | **1780** | **1871** |
412+
413+### `s420_416x250_10b` (416x250 ss=11 depth=10), 16 shown frames, wrong samples Y/U/V
414+| frame | pre Y | pre U | pre V | post Y | post U | post V |
415+|---|---|---|---|---|---|---|
416+| 0 **<-first** | 0 | 0 | 0 | 0 | 0 | 0 |
417+| 1 | 0 | 0 | 0 | 0 | 0 | 0 |
418+| 2 | 0 | 0 | 0 | 0 | 0 | 0 |
419+| 3 | 0 | 0 | 0 | 0 | 0 | 0 |
420+| 4 | 0 | 0 | 0 | 0 | 0 | 0 |
421+| 5 | 0 | 0 | 0 | 0 | 0 | 0 |
422+| 6 | 0 | 0 | 0 | 0 | 0 | 0 |
423+| 7 | 0 | 0 | 0 | 0 | 0 | 0 |
424+| 8 | 0 | 0 | 0 | 0 | 0 | 0 |
425+| 9 | 0 | 0 | 0 | 0 | 0 | 0 |
426+| 10 | 0 | 0 | 0 | 0 | 0 | 0 |
427+| 11 | 0 | 0 | 0 | 0 | 0 | 0 |
428+| 12 | 0 | 0 | 0 | 0 | 0 | 0 |
429+| 13 | 0 | 0 | 0 | 0 | 0 | 0 |
430+| 14 | 0 | 0 | 0 | 0 | 0 | 0 |
431+| 15 | 0 | 0 | 0 | 0 | 0 | 0 |
432+| **total** | **0** | **0** | **0** | **0** | **0** | **0** |
433+
434+### `s444_416x250_10b` (416x250 ss=00 depth=10), 16 shown frames, wrong samples Y/U/V
435+| frame | pre Y | pre U | pre V | post Y | post U | post V |
436+|---|---|---|---|---|---|---|
437+| 0 **<-first** | 0 | 0 | 0 | 0 | 0 | 0 |
438+| 1 | 0 | 0 | 0 | 0 | 0 | 0 |
439+| 2 | 0 | 0 | 0 | 0 | 0 | 0 |
440+| 3 | 0 | 0 | 0 | 0 | 0 | 0 |
441+| 4 | 0 | 0 | 0 | 0 | 0 | 0 |
442+| 5 | 0 | 0 | 0 | 0 | 0 | 0 |
443+| 6 | 0 | 0 | 0 | 0 | 0 | 0 |
444+| 7 | 0 | 0 | 0 | 0 | 0 | 0 |
445+| 8 | 0 | 0 | 0 | 0 | 0 | 0 |
446+| 9 | 0 | 0 | 0 | 0 | 0 | 0 |
447+| 10 | 0 | 0 | 0 | 0 | 0 | 0 |
448+| 11 | 0 | 0 | 0 | 0 | 0 | 0 |
449+| 12 | 0 | 0 | 0 | 0 | 0 | 0 |
450+| 13 | 0 | 0 | 0 | 0 | 0 | 0 |
451+| 14 | 0 | 0 | 0 | 0 | 0 | 0 |
452+| 15 | 0 | 0 | 0 | 0 | 0 | 0 |
453+| **total** | **0** | **0** | **0** | **0** | **0** | **0** |
454+
455+### `s420_320x242_10b` (320x242 ss=11 depth=10), 16 shown frames, wrong samples Y/U/V
456+| frame | pre Y | pre U | pre V | post Y | post U | post V |
457+|---|---|---|---|---|---|---|
458+| 0 **<-first** | 0 | 0 | 0 | 0 | 0 | 0 |
459+| 1 | 0 | 0 | 0 | 0 | 0 | 0 |
460+| 2 | 0 | 0 | 0 | 0 | 0 | 0 |
461+| 3 | 0 | 0 | 0 | 0 | 0 | 0 |
462+| 4 | 0 | 0 | 0 | 0 | 0 | 0 |
463+| 5 | 0 | 0 | 0 | 0 | 0 | 0 |
464+| 6 | 0 | 0 | 0 | 0 | 0 | 0 |
465+| 7 | 0 | 0 | 0 | 0 | 0 | 0 |
466+| 8 | 0 | 0 | 0 | 0 | 0 | 0 |
467+| 9 | 0 | 0 | 0 | 0 | 0 | 0 |
468+| 10 | 0 | 0 | 0 | 0 | 0 | 0 |
469+| 11 | 0 | 0 | 0 | 0 | 0 | 0 |
470+| 12 | 0 | 0 | 0 | 0 | 0 | 0 |
471+| 13 | 0 | 0 | 0 | 0 | 0 | 0 |
472+| 14 | 0 | 0 | 0 | 0 | 0 | 0 |
473+| 15 | 0 | 0 | 0 | 0 | 0 | 0 |
474+| **total** | **0** | **0** | **0** | **0** | **0** | **0** |
475+
476+### `s444_352x242_10b` (352x242 ss=00 depth=10), 16 shown frames, wrong samples Y/U/V
477+| frame | pre Y | pre U | pre V | post Y | post U | post V |
478+|---|---|---|---|---|---|---|
479+| 0 **<-first** | 0 | 0 | 0 | 0 | 0 | 0 |
480+| 1 | 0 | 0 | 0 | 0 | 0 | 0 |
481+| 2 | 0 | 0 | 0 | 0 | 0 | 0 |
482+| 3 | 0 | 0 | 0 | 0 | 0 | 0 |
483+| 4 | 0 | 0 | 0 | 0 | 0 | 0 |
484+| 5 | 0 | 0 | 0 | 0 | 0 | 0 |
485+| 6 | 0 | 0 | 0 | 0 | 0 | 0 |
486+| 7 | 0 | 0 | 0 | 0 | 0 | 0 |
487+| 8 | 0 | 0 | 0 | 0 | 0 | 0 |
488+| 9 | 0 | 0 | 0 | 0 | 0 | 0 |
489+| 10 | 0 | 0 | 0 | 0 | 0 | 0 |
490+| 11 | 0 | 0 | 0 | 0 | 0 | 0 |
491+| 12 | 0 | 0 | 0 | 0 | 0 | 0 |
492+| 13 | 0 | 0 | 0 | 0 | 0 | 0 |
493+| 14 | 0 | 0 | 0 | 0 | 0 | 0 |
494+| 15 | 0 | 0 | 0 | 0 | 0 | 0 |
495+| **total** | **0** | **0** | **0** | **0** | **0** | **0** |
496+
497+## 7. What this lane did not do, and what is left
498+
499+* **`s422_384x240` (384x240 8-bit) is unchanged at 0/1780/1871** and is NOT
500+ this arm: it is luma-exact both before and after, and its wrong region is
501+ the census's "starts at decode frame 1, 11/17 frames" cell. Not
502+ investigated here; named so it is not mistaken for a closed cell.
503+* The 4:4:4 intra-BC chroma residual the 4:4:4 gate already names (first
504+ wrong sample index 20532, entropy fork read 12465 at mi (90,108)) is
505+ untouched, as its numbers show.
506+* No product decision is recommended: the 4:2:2 sequence-header refusal is
507+ still in the tree, and lifting it is a separate step.
508+* The bypass, the `EC_TU`/`EC_RCT` probe rungs and the sweep scripts live
509+ in `/home/user/.cache/w422luma/` and the detached probe worktree. None
510+ of them is in the commit; `git status --porcelain` on this branch is
511+ empty apart from this report.