Merge lane-av1422ffmpegbase: the 4:2:2 lift's measurement base (ffmpeg oracle) and its checklist
Browse files at this commit1 changed file +522 -0
- lanes/av1422ffmpegbase.report.md +522 -0
lanes/av1422ffmpegbase.report.mdadded+522 -0
| @@ -0,0 +1,522 @@ | ||
| 1 | +# lane-av1422ffmpegbase — the 4:2:2 measurement BASE, re-taken against ffmpeg, and the lift checklist | |
| 2 | + | |
| 3 | +**Status: measurement only.** No decoder source was edited, and the 4:2:2 sequence-header | |
| 4 | +refusal is still in the tree at `crates/ec-av1/src/stream.rs:1803`. Tree measured: `main` = | |
| 5 | +`affe70dc`. Oracle: **ffmpeg 8.1.3** (`/usr/bin/ffmpeg`, `libdav1d`/`libaom-av1`), | |
| 6 | +`/home/user/.cache/tgt/probe422base/release/examples/dump_yuv` on our side. | |
| 7 | + | |
| 8 | +**Headline: the ffmpeg-oracle census and the aomdec-oracle census AGREE on every one of | |
| 9 | +the 51 4:2:2 cells — 44 byte-exact, 7 diverging, the same 7 cells — and they disagree on | |
| 10 | +exactly one cell in the whole 95-cell set, `s444_352x242_10b`, where the aomdec row is a | |
| 11 | +stale-tree artefact, not an oracle disagreement.** The per-cell wrong counts differ on all | |
| 12 | +7 diverging cells, and that difference is *exactly* the hidden alt-ref frame the ffmpeg | |
| 13 | +path cannot see (§3.2), which makes the two oracles a cross-check on each other rather | |
| 14 | +than two opinions. | |
| 15 | + | |
| 16 | +The census of record for the lift decision is `lanes/av1422census2.report.md` §3.2 | |
| 17 | +(44 exact / 7 diverging). This report re-measures the same 95 cells, same tree, with the | |
| 18 | +other oracle, and confirms that number. | |
| 19 | + | |
| 20 | +--- | |
| 21 | + | |
| 22 | +## 0. The instrument, and its one non-obvious choice | |
| 23 | + | |
| 24 | +`/home/user/.cache/census422b/ffcensus.py` (driver + comparator), | |
| 25 | +`/home/user/.cache/census422b/ffliveness.py` (liveness control). | |
| 26 | + | |
| 27 | +**Pairing basis: DISPLAY order, SHOWN frames only, on both sides.** | |
| 28 | + | |
| 29 | +| side | producer | what it emits | | |
| 30 | +|---|---|---| | |
| 31 | +| ours | `dump_yuv` (`crates/ec-av1/examples/dump_yuv.rs`) | `<prefix>.f<N>.yuv`, indexed by `decode_stream`'s output — display order, hidden alt-refs never emitted, at the depth the stream's own sequence header carries (8-bit u8, 10/12-bit u16 LE) | | |
| 32 | +| theirs | `ffmpeg -i cell.obu -pix_fmt <fmt> -f rawvideo -` | exactly the shown frames, display order, u8 or u16 LE native | | |
| 33 | + | |
| 34 | +The aomdec census paired **decode** order on both sides (`EC_AV1_FINAL_DUMP`, hidden | |
| 35 | +alt-refs included). ffmpeg does not expose hidden alt-refs at all — `-flags2 +showall` | |
| 36 | +emits the identical byte count on `s422_320x242` with `libaom-av1`, `libdav1d` and the | |
| 37 | +native `av1` decoder — so display order is the only basis on which an ffmpeg comparison is | |
| 38 | +well posed. Both bases are reported, because a verdict that depends on the basis is itself | |
| 39 | +a finding; §3.2 shows it does not. | |
| 40 | + | |
| 41 | +**Geometry is an explicit argument, and it comes from the oracle.** `ffprobe -show_streams` | |
| 42 | +reports `width`/`height`/`pix_fmt` from the same libavcodec decoder; the frame length is | |
| 43 | +derived from that (`plane_spans`), and a frame whose byte length disagrees is a hard error. | |
| 44 | +A count over zero frames is a hard error, never a vacuous `0/0/0`. | |
| 45 | + | |
| 46 | +**One measured instrument trap, and it would have faked 18 red cells.** | |
| 47 | +`ffmpeg -f yuv4mpegpipe` is the natural geometry source (it is what the aomdec census | |
| 48 | +parsed out of aomdec's y4m header), and it **cannot carry any 10-bit cell in ffmpeg 8.1.3**: | |
| 49 | + | |
| 50 | +``` | |
| 51 | +$ ffmpeg -loglevel error -i s422_320x242_10b.obu -frames:v 1 -f yuv4mpegpipe - | |
| 52 | +Conversion failed! # vf#0:0 Task finished with error code: -22 | |
| 53 | +``` | |
| 54 | + | |
| 55 | +The same stream's `-f rawvideo -pix_fmt yuv422p10le` path decodes it fine (4 956 160 B = | |
| 56 | +16 × 309 760). My first full run therefore recorded 18 of the 18 ten-bit cells as | |
| 57 | +`ORACLE-REFUSED` — a false red produced by the muxer's format list, not by any decode. | |
| 58 | +The census now takes geometry from `ffprobe` and packs `-pix_fmt` explicitly. Anyone | |
| 59 | +re-deriving this census from a y4m header will hit the same 18 false reds. | |
| 60 | + | |
| 61 | +**Our side is the 4:2:2 bypass build.** `decode_stream` refuses 4:2:2 at the sequence | |
| 62 | +header, so the 51 4:2:2 cells cannot be decoded by a build of `affe70dc` at all. The | |
| 63 | +measurement used a scratch, detached, never-committed worktree | |
| 64 | +`/home/user/.cache/wt/probe422base` at `affe70dc` with the guard condition at | |
| 65 | +`stream.rs:1803` neutered (`if false && seq.subsampling_x != seq.subsampling_y`), marked | |
| 66 | +`// TEMP-PROBE-BYPASS: EC_AV1_ALLOW_422_PROBE`. Note that `EC_AV1_ALLOW_422_PROBE=1` on its | |
| 67 | +own is inert — the shipped code never reads it; the bypass is patch-run-restore. The 4:2:0 | |
| 68 | +and 4:4:4 control rows in §2 were produced by the same build and are therefore unaffected | |
| 69 | +by the patch (the patched branch is unreachable for `subsampling_x == subsampling_y`). | |
| 70 | + | |
| 71 | +--- | |
| 72 | + | |
| 73 | +## 1. Cell list and encoder provenance | |
| 74 | + | |
| 75 | +95 cells: the census's own list (`cells_full.json`), with the nine committed pins repathed | |
| 76 | +onto this worktree. **sha256 of all 95 files verified against `cells_full.json`: 0 | |
| 77 | +mismatches** (`cells_ff.json` is the repathed copy). | |
| 78 | + | |
| 79 | +| origin | n | where | encoder recipe | | |
| 80 | +|---|---|---|---| | |
| 81 | +| `COMMITTED-PIN` | 9 | `crates/ec-av1/fixtures/*.obu` | committed fixtures; recipes recorded per cell in `lanes/av1422lpf.report.md:58-64` (`testsrc2` 320x240 4:2:2 + `--lossless=1`; `+ --tile-columns=1 --tile-rows=1`; the same at 10-bit) | | |
| 82 | +| `probe-cache` | 23 | `/home/user/.cache/cells/av1422lpf/{lossy_all,probe}/*.obu` | the `--lossless=1` / odd-geometry / tiled corpora of `lane-av1422lpf`; per-cell recipe column at `lanes/av1422lpf.report.md:58` | | |
| 83 | +| `probe-cache-control` | 8 | `/home/user/.cache/cells/av1422lpf/{regress_420,regress_444,probe}/*.obu` | `ll420_a/c/d`, `ll444_a/b/c`, `ll420_allintra`, `ll444_allintra` — the same recipe at 4:2:0 / 4:4:4, kept as the format controls | | |
| 84 | +| `fresh-reproducer` | 1 | `/home/user/.cache/lane-av1422ctintrabc/cells/R422_320x242.obu` | `lane-av1422ctintrabc`'s own reproducer | | |
| 85 | +| `fresh-sweep` | 54 | `/home/user/.cache/census422b/sweep/*.obu` | the census's `mksweep.sh` recipe — quoted in full in §5 | | |
| 86 | + | |
| 87 | +**The sweep recipe** (all 54 sweep cells; `--cpu-used` 0, `--cq-level` 24, 16 frames): | |
| 88 | + | |
| 89 | +``` | |
| 90 | +ffmpeg -v error -f lavfi -i "testsrc2=size=${w}x${h}:rate=25" -frames:v 16 \ | |
| 91 | + -pix_fmt yuv422p|yuv420p|yuv444p{,10le} -f rawvideo cell.raw | |
| 92 | +# y4m built BY HAND: header line, then b"FRAME\n" + one frame of planes per frame. | |
| 93 | +# libaom's y4minput.c:1163-1171 requires the six bytes "FRAME\n" before EVERY frame; | |
| 94 | +# a y4m that repeats the full header per frame encodes ZERO frames. | |
| 95 | +aomenc --codec=av1 --profile=$prof --input-bit-depth=$d --bit-depth=$d --limit=16 \ | |
| 96 | + --lag-in-frames=25 --auto-alt-ref=1 --enable-global-motion=1 --pass=1 \ | |
| 97 | + --cq-level=24 --threads=4 --kf-min-dist=0 --kf-max-dist=999999 \ | |
| 98 | + --width=$w --height=$h --cpu-used=0 --obu -o cell.obu cell.y4m | |
| 99 | +``` | |
| 100 | + | |
| 101 | +(`--auto-alt-ref=1` is why every sweep cell has 17 decode frames and 16 shown — see §3.2.) | |
| 102 | + | |
| 103 | +**`cells_recipe.json` provenance, stated exactly:** it holds 16 entries, all | |
| 104 | +`origin: "recipe-sweep"`, `committed: false`, all `--cpu-used ∈ {0,2,4,6}` × | |
| 105 | +{320x242, 320x246, 322x240, 322x242} 4:2:2 encodes used to test whether a verdict depends | |
| 106 | +on the recipe. **None of the 95 census cells is one of those 16** — they are a separate | |
| 107 | +probe set. Their sha256, e.g. `rc0_s422_320x242` = `909e58db18fd4b75…`, are recorded in | |
| 108 | +`cells_recipe.json` and in `recipe_pre.json` / `recipe_post.json`. | |
| 109 | + | |
| 110 | +--- | |
| 111 | + | |
| 112 | +## 2. THE CENSUS — 95 cells, ffmpeg 8.1.3 oracle, tree `affe70dc` | |
| 113 | + | |
| 114 | +Counts are wrong **samples** per plane, over shown/display frames. | |
| 115 | +`frames` = shown frames (ffmpeg's count, and ours). | |
| 116 | + | |
| 117 | +#### 4:2:2 | |
| 118 | + | |
| 119 | +| cell | geometry | ss | depth | disp frames | ffmpeg verdict | ffmpeg Y/U/V | aomdec verdict | | |
| 120 | +|---|---|---|---|---|---|---|---| | |
| 121 | +| `W_intrabc` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 122 | +| `X_intrabc_tiled` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 123 | +| `Y_intrabc_10b` | 320x240 | 10 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 124 | +| `422_sb128_3f` | 128x128 | 10 | 8 | 3 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 125 | +| `422_residual_compound_warp_nolr_16f` | 256x288 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 126 | +| `422_residual_compound_warp_16f` | 256x288 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 127 | +| `422_intrabc_sb128_strip_notxsearch` | 384x320 | 10 | 8 | 5 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 128 | +| `422_intrabc_sb128_strip` | 384x320 | 10 | 8 | 5 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 129 | +| `422_allskip_2f` | 128x128 | 10 | 8 | 2 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 130 | +| `V_tile2x2_odd` | 322x242 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 131 | +| `U_tilerows1` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 132 | +| `T_tilecols2` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 133 | +| `S_odd326x242_10b` | 326x242 | 10 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 134 | +| `R_odd322x240` | 322x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 135 | +| `Q_odd320x242` | 320x242 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 136 | +| `O_odd322x242` | 322x242 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 137 | +| `L_tiled` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 138 | +| `K_sct` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 139 | +| `J_10bit_lr0` | 320x240 | 10 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 140 | +| `I_10bit_mandel` | 320x240 | 10 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 141 | +| `H_10bit_testsrc2` | 320x240 | 10 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 142 | +| `F_allintra` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 143 | +| `E_noglobal` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 144 | +| `D_bars` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 145 | +| `C_mandel320` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 146 | +| `B_testsrc2_cpu6` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 147 | +| `A_testsrc2_cpu0` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 148 | +| `AD_inter_nogm` | 320x240 | 10 | 8 | 40 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 149 | +| `AB_inter_warp_odd` | 322x242 | 10 | 8 | 40 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 150 | +| `AA_inter_compound` | 320x240 | 10 | 8 | 40 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 151 | +| `ll422_noibc` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 152 | +| `ll422_allintra` | 320x240 | 10 | 8 | 1 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 153 | +| `R422_320x242` | 320x242 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 154 | +| `s422_320x240` | 320x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 155 | +| `s422_320x242` | 320x242 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 156 | +| `s422_320x242_10b` | 320x242 | 10 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 157 | +| `s422_320x246` | 320x246 | 10 | 8 | 16 | DIVERGES | 0/7810/5531 | DIVERGES | | |
| 158 | +| `s422_320x250_10b` | 320x250 | 10 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 159 | +| `s422_322x240` | 322x240 | 10 | 8 | 16 | DIVERGES | 0/22003/21625 | DIVERGES | | |
| 160 | +| `s422_322x242` | 322x242 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 161 | +| `s422_322x246` | 322x246 | 10 | 8 | 16 | DIVERGES | 0/3437/2222 | DIVERGES | | |
| 162 | +| `s422_326x240` | 326x240 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 163 | +| `s422_326x242` | 326x242 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 164 | +| `s422_326x246` | 326x246 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 165 | +| `s422_352x242_10b` | 352x242 | 10 | 10 | 16 | DIVERGES | 0/4653/3777 | DIVERGES | | |
| 166 | +| `s422_352x250_10b` | 352x250 | 10 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 167 | +| `s422_384x240` | 384x240 | 10 | 8 | 16 | DIVERGES | 0/1780/1871 | DIVERGES | | |
| 168 | +| `s422_384x242` | 384x242 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 169 | +| `s422_384x246` | 384x246 | 10 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 170 | +| `s422_416x242_10b` | 416x242 | 10 | 10 | 16 | DIVERGES | 0/5740/4348 | DIVERGES | | |
| 171 | +| `s422_416x250_10b` | 416x250 | 10 | 10 | 16 | DIVERGES | 99011/61486/60106 | DIVERGES | | |
| 172 | + | |
| 173 | +#### 4:2:0 controls | |
| 174 | + | |
| 175 | +| cell | geometry | ss | depth | disp frames | ffmpeg verdict | ffmpeg Y/U/V | aomdec verdict | | |
| 176 | +|---|---|---|---|---|---|---|---| | |
| 177 | +| `ll420_a` | 320x240 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 178 | +| `ll420_c` | 320x240 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 179 | +| `ll420_d` | 320x240 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 180 | +| `ll420_allintra` | 320x240 | 11 | 8 | 1 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 181 | +| `s420_320x240` | 320x240 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 182 | +| `s420_320x242` | 320x242 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 183 | +| `s420_320x242_10b` | 320x242 | 11 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 184 | +| `s420_320x246` | 320x246 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 185 | +| `s420_320x250_10b` | 320x250 | 11 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 186 | +| `s420_322x240` | 322x240 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 187 | +| `s420_322x242` | 322x242 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 188 | +| `s420_322x246` | 322x246 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 189 | +| `s420_326x240` | 326x240 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 190 | +| `s420_326x242` | 326x242 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 191 | +| `s420_326x246` | 326x246 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 192 | +| `s420_352x242_10b` | 352x242 | 11 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 193 | +| `s420_352x250_10b` | 352x250 | 11 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 194 | +| `s420_384x240` | 384x240 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 195 | +| `s420_384x242` | 384x242 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 196 | +| `s420_384x246` | 384x246 | 11 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 197 | +| `s420_416x242_10b` | 416x242 | 11 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 198 | +| `s420_416x250_10b` | 416x250 | 11 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 199 | + | |
| 200 | +#### 4:4:4 controls | |
| 201 | + | |
| 202 | +| cell | geometry | ss | depth | disp frames | ffmpeg verdict | ffmpeg Y/U/V | aomdec verdict | | |
| 203 | +|---|---|---|---|---|---|---|---| | |
| 204 | +| `ll444_a` | 320x240 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 205 | +| `ll444_b` | 320x240 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 206 | +| `ll444_c` | 320x240 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 207 | +| `ll444_allintra` | 320x240 | 00 | 8 | 1 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 208 | +| `s444_320x240` | 320x240 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 209 | +| `s444_320x242` | 320x242 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 210 | +| `s444_320x242_10b` | 320x242 | 00 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 211 | +| `s444_320x246` | 320x246 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 212 | +| `s444_320x250_10b` | 320x250 | 00 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 213 | +| `s444_322x240` | 322x240 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 214 | +| `s444_322x242` | 322x242 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 215 | +| `s444_322x246` | 322x246 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 216 | +| `s444_326x240` | 326x240 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 217 | +| `s444_326x242` | 326x242 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 218 | +| `s444_326x246` | 326x246 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 219 | +| `s444_352x242_10b` | 352x242 | 00 | 10 | 16 | BYTE-EXACT | 0/0/0 | DIVERGES | | |
| 220 | +| `s444_352x250_10b` | 352x250 | 00 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 221 | +| `s444_384x240` | 384x240 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 222 | +| `s444_384x242` | 384x242 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 223 | +| `s444_384x246` | 384x246 | 00 | 8 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 224 | +| `s444_416x242_10b` | 416x242 | 00 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 225 | +| `s444_416x250_10b` | 416x250 | 00 | 10 | 16 | BYTE-EXACT | 0/0/0 | BYTE-EXACT | | |
| 226 | +Totals: **4:2:2 — 44 exact / 7 diverging of 51. 4:2:0 — 22/22 exact. 4:4:4 — 22/22 exact.** | |
| 227 | +Whole set: 88 byte-exact, 7 diverging, 0 refuses, 0 comparator errors, 0 frame-count | |
| 228 | +mismatches. | |
| 229 | + | |
| 230 | +### 2.1 The 7 diverging 4:2:2 cells, with the first divergence | |
| 231 | + | |
| 232 | +| cell | format | geometry | first bad frame | plane | first bad (row, col) | ours vs ffmpeg | wrong-sample bbox | frames with any wrong | | |
| 233 | +|---|---|---|---|---|---|---|---|---| | |
| 234 | +| `s422_320x246` | 422 | 320x246 d8 | 0 | U | (62, 144) | 161 vs 166 | U rows 46–201, cols 134–157 | 16/16 | | |
| 235 | +| `s422_322x240` | 422 | 322x240 d8 | 0 | U | (62, 149) | 160 vs 166 | U rows 61–239, cols 134–160 | 16/16 | | |
| 236 | +| `s422_322x246` | 422 | 322x246 d8 | 0 | U | (62, 144) | 169 vs 166 | U rows 60–203, cols 134–160 | 16/16 | | |
| 237 | +| `s422_352x242_10b` | 422 | 352x242 d10 | 0 | U | (62, 160) | 667 vs 664 | U rows 47–215, cols 150–175 | 16/16 | | |
| 238 | +| `s422_384x240` | 422 | 384x240 d8 | **6** | U | (174, 32) | 133 vs 132 | U rows 167–190, cols 19–34 | **10/16** | | |
| 239 | +| `s422_416x242_10b` | 422 | 416x242 d10 | 0 | U | (62, 192) | 640 vs 664 | U rows 22–203, cols 175–207 | 16/16 | | |
| 240 | +| `s422_416x250_10b` | 422 | 416x250 d10 | 0 | Y | (128, 384) | 370 vs 371 | U rows 99–249, cols 139–207 | 16/16 | | |
| 241 | + | |
| 242 | +Six of the seven are **chroma-only** (Y is 0); `s422_416x250_10b` is the one cell where | |
| 243 | +luma is wrong too (99011/61486/60106), which is also the only one the census's own | |
| 244 | +ordering flagged as "luma also wrong". `s422_384x240` is the only cell that starts late — | |
| 245 | +its first bad display frame is 6 and only 10 of 16 frames carry a wrong sample — the same | |
| 246 | +late start the aomdec census recorded (first bad decode frame 1 of 17). | |
| 247 | + | |
| 248 | +Per-frame per-plane counts for all seven are in `full_ff.json` (`per_frame`). The Y plane | |
| 249 | +is 0 for six of the seven in every frame; the V plane tracks the U plane's shape throughout. | |
| 250 | + | |
| 251 | +--- | |
| 252 | + | |
| 253 | +## 3. Delta against the aomdec census (`lanes/av1422census2.report.md` §3.2) | |
| 254 | + | |
| 255 | +### 3.1 Verdicts: 94 of 95 agree, and the one disagreement is not an oracle disagreement | |
| 256 | + | |
| 257 | +| | aomdec census (`combined.json` post tree `ed7c99bc`) | this census (ffmpeg, `affe70dc`) | | |
| 258 | +|---|---|---| | |
| 259 | +| 4:2:2 (51) | 44 exact / 7 diverging | **44 exact / 7 diverging** — same 7 cells | | |
| 260 | +| 4:2:0 (22) | 22 exact | 22 exact | | |
| 261 | +| 4:4:4 (22) | 21 exact / 1 diverging | **22 exact** | | |
| 262 | + | |
| 263 | +**The one disagreement is `s444_352x242_10b` (352x242 10-bit 4:4:4).** The aomdec census | |
| 264 | +reports `0/1166/1413`; ffmpeg reports `0/0/0`; and on **this tree against aomdec itself** | |
| 265 | +the cell is byte-exact too — I re-ran the aomdec comparator on it: | |
| 266 | + | |
| 267 | +``` | |
| 268 | +compare('s444_352x242_10b', ours=EC_AV1_FINAL_DUMP, oracle=aomdec EC_AV1_FINAL_DUMP, | |
| 269 | + 352, 242, ss=00, depth=10) -> BYTE-EXACT 17 frames 0/0/0 | |
| 270 | +``` | |
| 271 | + | |
| 272 | +So the aomdec row is stale, not wrong about an oracle. `lane-av1444d10` fixed this exact | |
| 273 | +cell — "the 10-bit 4:4:4 352x242 chroma divergence is a chroma PALETTE PREDICTION window" | |
| 274 | +(`lanes/av1444d10.report.md:1-7`, commits `f3afa5b7` the fix and `eb73ef89` the fixture + | |
| 275 | +gate; both verified ancestors of `affe70dc`). The aomdec census's `post` tree `ed7c99bc` | |
| 276 | +is **36 commits behind `main`**, and that lane is in those 36. The census2 report's own | |
| 277 | +§3.3 line for this cell ("DIVERGES 0/1166/1413, identical counts on both trees") is a | |
| 278 | +correct record of `ed7c99bc` and is superseded. | |
| 279 | + | |
| 280 | +**Lesson for the lift:** the census-of-record's numbers are only valid for the tree they | |
| 281 | +were measured on. Re-measure before lifting, and never lift a guard on the strength of a | |
| 282 | +report's table alone. | |
| 283 | + | |
| 284 | +### 3.2 Counts differ on all 7 diverging cells, and the difference IS the hidden alt-ref | |
| 285 | + | |
| 286 | +| cell | aomdec, decode order (17 frames) | hidden frame's own counts | shown-only total | ffmpeg, display order (16 frames) | | | |
| 287 | +|---|---|---|---|---|---| | |
| 288 | +| `s422_320x246` | 0/8339/5903 | 0/529/372 | 0/7810/5531 | 0/7810/5531 | MATCH | | |
| 289 | +| `s422_322x240` | 0/22969/22534 | 0/966/909 | 0/22003/21625 | 0/22003/21625 | MATCH | | |
| 290 | +| `s422_322x246` | 0/3603/2324 | 0/166/102 | 0/3437/2222 | 0/3437/2222 | MATCH | | |
| 291 | +| `s422_352x242_10b` | 0/4858/3949 | 0/205/172 | 0/4653/3777 | 0/4653/3777 | MATCH | | |
| 292 | +| `s422_384x240` | 0/1982/2081 | 0/202/210 | 0/1780/1871 | 0/1780/1871 | MATCH | | |
| 293 | +| `s422_416x242_10b` | 0/5968/4524 | 0/228/176 | 0/5740/4348 | 0/5740/4348 | MATCH | | |
| 294 | +| `s422_416x250_10b` | 103250/64191/62834 | 4239/2705/2728 | 99011/61486/60106 | 99011/61486/60106 | MATCH | | |
| 295 | + | |
| 296 | +Every sweep cell is `--auto-alt-ref=1`, so every sweep cell has **17 decode frames of which | |
| 297 | +16 are shown** — one hidden alt-ref, coded and reconstructed, never emitted by ffmpeg. | |
| 298 | +Removing exactly that frame's own counts from the aomdec total reproduces the ffmpeg total | |
| 299 | +to the sample on all 7 cells and all 3 planes. The two oracles are not merely agreeing on | |
| 300 | +a verdict; on the diverging cells they agree on the exact per-plane wrong-sample count, once | |
| 301 | +the frame basis is stated. **A divergence count published without its frame basis is | |
| 302 | +therefore ambiguous by exactly one frame's worth of samples.** | |
| 303 | + | |
| 304 | +(Frame identity, not just totals: the display-order per-frame vectors are a permutation of | |
| 305 | +the shown decode-order frames. For `s422_320x246` the display vector is | |
| 306 | +`f0, f4, f5, f3, f7, f6, f8, f2, f10, f9, f11, f12, f13, f15, f14, f16` — the ARF | |
| 307 | +reorder — and the hidden frame is `f1`. Pairing decode-order dumps to ffmpeg output | |
| 308 | +index-by-index would be wrong on these cells; pairing must be by display order.) | |
| 309 | + | |
| 310 | +--- | |
| 311 | + | |
| 312 | +## 4. The lift checklist (plan only — no edits made) | |
| 313 | + | |
| 314 | +### 4.1 The guard to lift | |
| 315 | + | |
| 316 | +**`crates/ec-av1/src/stream.rs:1803-1808`**, in `decode_frame`: | |
| 317 | + | |
| 318 | +```rust | |
| 319 | +1803 if seq.subsampling_x != seq.subsampling_y { | |
| 320 | +1804 return Err(Error::unsupported( | |
| 321 | +1805 "AV1 decode_stream", | |
| 322 | +1806 "a chroma format of 4:2:2 (subsampling_x != subsampling_y): this decoder decodes 4:2:0 and 4:4:4; 4:2:2 is not ported, and 4:4:0 (0,1) is not a codable cell", | |
| 323 | +1807 )); | |
| 324 | +1808 } | |
| 325 | +``` | |
| 326 | + | |
| 327 | +Lifting it changes the condition to the shape that remains uncodable, `subsampling_x == 0 | |
| 328 | +&& subsampling_y == 1` (4:4:0), which the header parser cannot produce | |
| 329 | +(`ec-av1-syntax` `sequence.rs:481` reads `subsampling_y` only when `subsampling_x == 1`). | |
| 330 | +Per the repo's unreachable-code rule, that residual guard is closed with an **assertion, | |
| 331 | +not a comment**. | |
| 332 | + | |
| 333 | +### 4.2 The refusal-inventory entries to retire | |
| 334 | + | |
| 335 | +| site | what | action | | |
| 336 | +|---|---|---| | |
| 337 | +| `crates/ec-av1/src/refusal_inventory.rs:150` | the refusal string in `REFUSALS` | delete | | |
| 338 | +| `crates/ec-av1/src/refusal_inventory.rs:529-533` | the `PROVEN` tuple pairing that string with `a_non_420_subsampled_sequence_header_is_refused_by_name` (`Proof::NegativeGate`) | delete the tuple; the string is gone from the decode path so the pair goes with it | | |
| 339 | + | |
| 340 | +`the_decode_path_refuses_exactly_the_listed_cases` | |
| 341 | +(`refusal_inventory.rs:854`) fails on **both** directions, so both rows must go in the same | |
| 342 | +commit: it asserts `listed - found` is empty ("Delete them from the inventory — the | |
| 343 | +capability landed, which is the good case") and `found - listed` is empty. | |
| 344 | + | |
| 345 | +### 4.3 The tests that assert the refusal and must be inverted | |
| 346 | + | |
| 347 | +| test | file:line | what it asserts today | what the lift needs | | |
| 348 | +|---|---|---|---| | |
| 349 | +| `a_non_420_subsampled_sequence_header_is_refused_by_name` | `stream.rs:2314` (string at `:2316`) | a hand-built profile-1 and profile-2 header each refuse by name, with a profile-0 control still decoding | invert: 4:2:2 decodes pixel-exact; keep the 4:4:0 arm as an assertion | | |
| 350 | +| `the_440_cell_is_not_a_codable_chroma_shape` | `stream.rs:2492` (assertion at `:2727-2733`) | arm 3 decodes `440_request_is_422.obu` and it refuses by name | keep arms 1–2 (the enumeration) unchanged; arm 3 must now assert the pinned bytes are `(1,0)` and **decode**, with a 4:4:0 assert standing where the refusal was | | |
| 351 | +| `the_pinned_422_bigblock_witnesses_are_present_and_refuse_by_name` | `stream.rs:2764` | pins `422_allskip_2f.obu` (62 B) + `422_sb128_3f.obu` (12543 B), then asserts each refuses | keep the size + `fnv1a64` pins; replace the refusal assert with an ffmpeg byte-exact decode | | |
| 352 | +| `the_pinned_422_intrabc_sb128_strip_witnesses_refuse_by_name` | `stream.rs:2820` | same shape, `422_intrabc_sb128_strip{,_notxsearch}.obu` | same inversion | | |
| 353 | +| `the_pinned_422_lossless_inter_witnesses_are_present_and_refuse_by_name` | `stream.rs:3010` | same shape, `422_residual_compound_warp{,_nolr}_16f.obu` | same inversion | | |
| 354 | +| `the_pinned_422_residual_compound_warp_witness_is_present_and_refuses_by_name` | `stream.rs:3326` | same shape | same inversion | | |
| 355 | +| `the_pinned_422_lr_off_witness_is_present_and_refuses_by_name` | `stream.rs:3406` | same shape | same inversion | | |
| 356 | + | |
| 357 | +Six of these seven are the class the bypass skill warns about: their only load-bearing | |
| 358 | +content today is the fixture pins, because a gate that asserts a refusal string passes on a | |
| 359 | +PRE-fix tree too. **Inverting them is the point** — that is what makes them witnesses. | |
| 360 | + | |
| 361 | +Two further tests must be re-checked, not edited, at lift time: | |
| 362 | + | |
| 363 | +- `every_chroma_unit_decode_block_rect_can_present_has_a_coefficient_table` | |
| 364 | + (`refusal_inventory.rs:1739`) already walks `(1,0)` "so the proof does not depend on that | |
| 365 | + guard staying in place" — it should not change. | |
| 366 | +- `the_440_cell_is_not_a_codable_chroma_shape`'s own doc at `:1731-1736` names | |
| 367 | + `a_non_420_subsampled_sequence_header_is_refused_by_name` as the thing that refuses | |
| 368 | + `(1,0)`; that sentence has to be corrected in place or the file lies. | |
| 369 | + | |
| 370 | +### 4.4 The fixture-pinning convention this corpus uses | |
| 371 | + | |
| 372 | +- **Pins live in the crate:** `crates/ec-av1/fixtures/*.obu`, committed (`git add -f`; | |
| 373 | + `fixtures` is gitignored and `.gitignore:11-12` re-negates `crates/*/fixtures/**`). | |
| 374 | +- **Read through `crate_pin()`** (`stream.rs:10909-10918`): crate dir first, `pin_dir()` | |
| 375 | + (`EC_AV1_PIN_DIR`, else the gitignored root `fixtures/`) as an override only. A pin that | |
| 376 | + lives only in the root `fixtures/` is lost when a runner's scratchpad is reaped, and | |
| 377 | + three gates once sat green having tested nothing for exactly that reason. | |
| 378 | +- **Identity is size + `fnv1a64`**, asserted by `read_pin()` (`stream.rs:5768-5779`), never | |
| 379 | + a bare existence check. This census additionally records sha256 per cell | |
| 380 | + (`cells_full.json`), and verified 0 drift. | |
| 381 | +- **Missing pin is a FAILURE, not a skip** (`read_pin` panics). | |
| 382 | +- **Oracle availability is probed, then asserted last**: `have_ffmpeg()` / | |
| 383 | + `have_aomenc()` (`stream.rs:6027`, `:10920`) with `EC_AV1_REQUIRE_FFMPEG` / | |
| 384 | + `EC_AV1_REQUIRE_AOMENC` as the CI escape, plus a printed `SKIP` line so no gate can skip | |
| 385 | + silently. | |
| 386 | +- **Depth is read from the stream, never from the gate's name**: `stream_bit_depth()` | |
| 387 | + (`stream.rs:5787`) and `dump_yuv`'s `--depth` assert. | |
| 388 | + | |
| 389 | +### 4.5 What the 51/51 gate has to look like | |
| 390 | + | |
| 391 | +The gate cannot be "the corpus is green" — the corpus does not run in CI. It has to carry | |
| 392 | +the census's load-bearing properties, or it is a gate that cannot fail: | |
| 393 | + | |
| 394 | +1. **One table of 51 pinned 4:2:2 cells**, each row: committed pin name, sha256/size/ | |
| 395 | + `fnv1a64`, geometry, depth, shown-frame count, and the decode arm it witnesses. The 51 | |
| 396 | + are the §2 table; 9 are already committed, **42 are not** and must be captured | |
| 397 | + (`git add -f`) before the lift can be gated at all. | |
| 398 | +2. **Per-plane, per-frame byte-exactness against ffmpeg**, not a per-file hash: the | |
| 399 | + comparator in `ffcensus.py` — explicit geometry from the oracle, per-frame plane spans, | |
| 400 | + one `bps`-wide unit = one wrong sample, hard error on zero frames, hard error on a | |
| 401 | + length disagreement. | |
| 402 | +3. **Depth-correct comparison on both sides**: `dump_yuv`'s u16-LE packing vs | |
| 403 | + `ffmpeg -pix_fmt yuv422p10le`. Comparing the u8-narrowing `EC_AV1_FINAL_DUMP` sibling | |
| 404 | + dump against a depth-correct oracle makes every HBD cell red by construction — the exact | |
| 405 | + mistake `main`'s `5400db61` annotated. | |
| 406 | +4. **A liveness arm inside the gate**, following | |
| 407 | + `every_oracle_comparator_reds_on_a_one_byte_wrong_oracle` (`stream.rs:11508`): one | |
| 408 | + flipped oracle sample must turn every comparator red. §6's 23-arm table is the model. | |
| 409 | +5. **A non-vacuity assertion per row**: the reachability counter for the arm each cell | |
| 410 | + witnesses (this crate's `chroma422_square_hits` / `chroma422_rect_hits` / | |
| 411 | + `chroma422_sub8_hits` / `chroma422_chunk_hits` / `chroma422_pair_wide_hits` / | |
| 412 | + `intra_128_in_inter_mu_chroma_hits` / `intrabc_128rect_chroma_chunk` families, all | |
| 413 | + printed by `decode_probe`) must be `> 0` on that cell, or the byte-exact green is | |
| 414 | + vacuous with respect to 4:2:2. | |
| 415 | +6. **The format controls stay in the same gate**: 22 4:2:0 + 22 4:4:4 rows must remain | |
| 416 | + byte-exact, so a 4:2:2 fix that moves a supported format is caught by the gate rather | |
| 417 | + than by a later report. §2 measures them all exact today; that is the baseline. | |
| 418 | +7. **The gate needs ffmpeg.** Under `have_ffmpeg()`'s current shape it would silently skip | |
| 419 | + on a runner without it. For a 51/51 claim that must be `EC_AV1_REQUIRE_FFMPEG` in CI. | |
| 420 | + | |
| 421 | +--- | |
| 422 | + | |
| 423 | +## 5. Reproducing the census — one command | |
| 424 | + | |
| 425 | +```bash | |
| 426 | +# 1. bypass worktree (scratch, detached, never committed) | |
| 427 | +cd /home/user/Documents/Code/Rust/edith_codecs | |
| 428 | +git worktree add -f --detach /home/user/.cache/wt/probe422base affe70dc | |
| 429 | +# edit crates/ec-av1/src/stream.rs:1803 -> `if false && seq.subsampling_x != ...` | |
| 430 | +CARGO_TARGET_DIR=/home/user/.cache/tgt/probe422base \ | |
| 431 | + cargo build --manifest-path /home/user/.cache/wt/probe422base/Cargo.toml \ | |
| 432 | + -p ec-av1 --release --example decode_probe --example dump_yuv | |
| 433 | + | |
| 434 | +# 2. the census (95 cells) and its liveness control (23 arms) | |
| 435 | +cd /home/user/.cache/census422b | |
| 436 | +python3 ffcensus.py cells_ff.json full_ff.json # ~82 s, writes work-ffmpeg/<cell>/ | |
| 437 | +python3 ffliveness.py cells_ff.json liveness_arms.json liveness_ff.json | |
| 438 | +``` | |
| 439 | + | |
| 440 | +Restore afterwards, inside the worktree only: | |
| 441 | + | |
| 442 | +```bash | |
| 443 | +git -C /home/user/.cache/wt/probe422base checkout -- crates/ec-av1/src/stream.rs | |
| 444 | +git -C /home/user/.cache/wt/probe422base status --porcelain # must be empty | |
| 445 | +git worktree remove --force /home/user/.cache/wt/probe422base | |
| 446 | +``` | |
| 447 | + | |
| 448 | +Inputs: `cells_ff.json` (this lane's repathed copy of `cells_full.json` — the only edit is | |
| 449 | +the nine committed pins' path prefix), `cells_recipe.json` (the 16 recipe-probe encodes, | |
| 450 | +provenance only), `combined.json` (the aomdec census's own per-cell results, for the §3 | |
| 451 | +delta). | |
| 452 | + | |
| 453 | +--- | |
| 454 | + | |
| 455 | +## 6. Liveness control — 23 arms, 23 PASS, 0 FAIL | |
| 456 | + | |
| 457 | +**Before reading any verdict above, the comparator was shown to bite.** One oracle sample's | |
| 458 | +bit 0 is flipped, in one named plane of one named frame, per arm; the count must move by | |
| 459 | +exactly **+1 in that plane** with every other plane and every other frame unchanged, and | |
| 460 | +the file is restored before the next arm. +1 is exact by construction, not hoped for: at | |
| 461 | +8 bit bit 0 of the low byte is the sample's own LSB, and at 10/12 bit the sample sits in a | |
| 462 | +16-bit LE container whose low byte's bit 0 is still the sample LSB with `2**bitdepth < | |
| 463 | +2**16`, so nothing carries out of the container. | |
| 464 | + | |
| 465 | +| cell | geometry | frame | plane | baseline Y/U/V | after flip | Δ | moved | | |
| 466 | +|---|---|---|---|---|---|---|---| | |
| 467 | +| `s422_320x242` | 320x242 d8 | 0 | Y | 0/0/0 | 1/0/0 | +1 Y | PASS | | |
| 468 | +| `s422_320x242` | 320x242 d8 | 0 | U | 0/0/0 | 0/1/0 | +1 U | PASS | | |
| 469 | +| `s422_320x242` | 320x242 d8 | 15 | V | 0/0/0 | 0/0/1 | +1 V | PASS | | |
| 470 | +| `W_intrabc` | 320x240 d8 | 0 | Y | 0/0/0 | 1/0/0 | +1 Y | PASS | | |
| 471 | +| `W_intrabc` | 320x240 d8 | 7 | U | 0/0/0 | 0/1/0 | +1 U | PASS | | |
| 472 | +| `W_intrabc` | 320x240 d8 | 15 | V | 0/0/0 | 0/0/1 | +1 V | PASS | | |
| 473 | +| `422_allskip_2f` | 128x128 d8 | 0 | U | 0/0/0 | 0/1/0 | +1 U | PASS | | |
| 474 | +| `Y_intrabc_10b` | 320x240 d10 | 0 | Y | 0/0/0 | 1/0/0 | +1 Y | PASS | | |
| 475 | +| `Y_intrabc_10b` | 320x240 d10 | 3 | U | 0/0/0 | 0/1/0 | +1 U | PASS | | |
| 476 | +| `Y_intrabc_10b` | 320x240 d10 | 15 | V | 0/0/0 | 0/0/1 | +1 V | PASS | | |
| 477 | +| `AB_inter_warp_odd` | 322x242 d8 | 39 | U | 0/0/0 | 0/1/0 | +1 U | PASS | | |
| 478 | +| `s422_320x246` | 320x246 d8 | 0 | Y | **0/7810/5531** | 1/7810/5531 | +1 Y | PASS | | |
| 479 | +| `s422_320x246` | 320x246 d8 | 0 | U | **0/7810/5531** | 0/7811/5531 | +1 U | PASS | | |
| 480 | +| `s422_320x246` | 320x246 d8 | 11 | V | **0/7810/5531** | 0/7810/5532 | +1 V | PASS | | |
| 481 | +| `s422_322x240` | 322x240 d8 | 5 | U | **0/22003/21625** | 0/22004/21625 | +1 U | PASS | | |
| 482 | +| `s422_384x240` | 384x240 d8 | 14 | V | **0/1780/1871** | 0/1780/1872 | +1 V | PASS | | |
| 483 | +| `s422_352x242_10b` | 352x242 d10 | 0 | U | **0/4653/3777** | 0/4654/3777 | +1 U | PASS | | |
| 484 | +| `s422_416x250_10b` | 416x250 d10 | 0 | Y | **99011/61486/60106** | 99012/61486/60106 | +1 Y | PASS | | |
| 485 | +| `s422_416x250_10b` | 416x250 d10 | 5 | U | **99011/61486/60106** | 99011/61487/60106 | +1 U | PASS | | |
| 486 | +| `s444_352x242_10b` | 352x242 d10 | 4 | U | 0/0/0 | 0/1/0 | +1 U | PASS | | |
| 487 | +| `s420_320x240` | 320x240 d8 | 0 | U | 0/0/0 | 0/1/0 | +1 U | PASS | | |
| 488 | +| `ll420_a` | 4:2:0 d8 | 0 | Y | 0/0/0 | 1/0/0 | +1 Y | PASS | | |
| 489 | +| `ll444_a` | 4:4:4 d8 | 0 | V | 0/0/0 | 0/0/1 | +1 V | PASS | | |
| 490 | + | |
| 491 | +Sample values, as the raw arm records them: `s422_320x242` U f0 oracle byte 77440 | |
| 492 | +`de`→`df`; `Y_intrabc_10b` (10-bit LE u16) U f3 byte 537600 `6801`→`6901`, V f15 | |
| 493 | +`c003`→`c103`; `s422_352x242_10b` U f0 `6e03`→`6f03`; `s422_416x250_10b` Y f0 | |
| 494 | +`3f01`→`3e01`. | |
| 495 | + | |
| 496 | +The load-bearing arms are the seven **non-zero baselines**: a comparator that attributed a | |
| 497 | +plane to the wrong frame, dropped chroma, or compared our samples with themselves cannot | |
| 498 | +move a plane that is already wrong by thousands of samples by exactly one more while | |
| 499 | +leaving the other two planes untouched. The zero-baseline arms are in the table | |
| 500 | +deliberately — they are the false-green case. | |
| 501 | + | |
| 502 | +Two frame-index notes, both caught by this control and both real: the arms address a | |
| 503 | +**display** frame, so `AB_inter_warp_odd`'s last arm is frame 39 of 40 (the aomdec census's | |
| 504 | +"43 decode frames" is not a display index), and an out-of-range frame is a hard error rather | |
| 505 | +than a silently-missing arm. | |
| 506 | + | |
| 507 | +--- | |
| 508 | + | |
| 509 | +## 7. What this lane does NOT establish | |
| 510 | + | |
| 511 | +- **It does not attribute any of the 7 divergences.** No arm was localised, no | |
| 512 | + decode-path file was touched. The seven are measured, bounded (plane, first frame, | |
| 513 | + coordinates, bbox, per-frame counts) and reproducible by the one command in §5. | |
| 514 | +- **It does not lift the guard.** `stream.rs:1803` still refuses 4:2:2 by name on | |
| 515 | + `affe70dc`, and the refusal string is still in `refusal_inventory.rs:150` and `:530`. | |
| 516 | +- **The 42 uncommitted 4:2:2 cells are a gate-construction task, not a measurement task.** | |
| 517 | + §2 measures them from `/home/user/.cache/cells` and | |
| 518 | + `/home/user/.cache/census422b/sweep`; a 51/51 gate needs them committed under | |
| 519 | + `crates/ec-av1/fixtures/` with the §4.4 pins. | |
| 520 | +- **Six of the seven diverging cells are chroma-only and share a first-divergence row | |
| 521 | + band (row 62, U columns 134–207).** That is a shape observation for whoever owns the | |
| 522 | + chroma arm, not an attribution: no trace was taken here. |