lanes: record merge-side follow-ups for av1lossless128 (fast-forward 46f07214..6dbc73b9)
Browse files at this commit1419a79cf46c07dcbc7215693f9c1a3ab076d13dParent: db675441 changed file +77 -0
lanes/av1lossless128.report.mdmodified+77 -0
| @@ -233,3 +233,80 @@ stdout/stderr on a side thread before write_all, then sweep the same spawn | ||
| 233 | 233 | shape).` Not this lane's decoder change. |
| 234 | 234 | |
| 235 | 235 | `cargo check -p ec-av1 --all-targets`: 0 warnings (before the commit). |
| 236 | + | |
| 237 | +## MERGE-SIDE FOLLOW-UPS (fast-forward 46f07214..6dbc73b9, 2026-09-23) | |
| 238 | + | |
| 239 | +**Merge.** A fast-forward, not a merge commit. Main (`46f07214`) was exactly | |
| 240 | +this lane's base and no sibling landed on main since it was cut, so | |
| 241 | +`git merge --ff-only lane-av1-lossless128` advanced `main` to `6dbc73b9` | |
| 242 | +(no `MERGE_HEAD`, no parents to record). Pushed `46f07214..6dbc73b9`; | |
| 243 | +`git ls-remote origin refs/heads/main` returned `6dbc73b9`. | |
| 244 | + | |
| 245 | +**Review P3 fixed on the lane before the merge** (commit `6dbc73b9`, prose | |
| 246 | +only). Both `decode_block_128rect` comments cited `decodeframe.c:140` for | |
| 247 | +`read_tx_mode`'s `ONLY_4X4` return. In the oracle that line is the | |
| 248 | +`coded_lossless` parameter; the return `if (coded_lossless) return ONLY_4X4;` | |
| 249 | +is line 141, which §2 already cited. The `:1183` cite (`read_tx_size` | |
| 250 | +returns `TX_4X4`) was already correct and was left alone. The committed | |
| 251 | +diff is two lines, `140` → `141`, no other hunk. | |
| 252 | + | |
| 253 | +**Create-list audit.** The fast-forward diffstat is exactly five paths: | |
| 254 | +modified `crates/ec-av1/src/decode.rs`, `crates/ec-av1/src/stream.rs`, | |
| 255 | +`crates/ec-av1/examples/decode_probe.rs`; created | |
| 256 | +`crates/ec-av1/fixtures/lossless_sb128_rect_kf.obu` (force-added, tracked, | |
| 257 | +3471 bytes, sha256 | |
| 258 | +`013b07979c8be999c70d47f32768c2bf959be086a893f60dde1b0f5e35d4f475`) and | |
| 259 | +`lanes/av1lossless128.report.md`. No junk, no duplicate file. | |
| 260 | + | |
| 261 | +**Reviewer suite, not re-run.** The reviewer ran the full lib suite on the | |
| 262 | +committed lane tree (`cca03792`, before the prose-only P3): literal line | |
| 263 | +`test result: ok. 601 passed; 0 failed; 60 ignored` in 1392.62s | |
| 264 | +(`601 + 60 = 661`). Main was the lane base, so the fast-forward makes the | |
| 265 | +merged decoder bytes identical to that tree plus the two comment digits. | |
| 266 | +This close did not re-run the full suite. | |
| 267 | + | |
| 268 | +**Merged-tree gates** (`CARGO_TARGET_DIR=$HOME/.cache/cargo-target-av1llmerge`, | |
| 269 | +`TMPDIR=$HOME/.cache/tmp-av1llmerge`): | |
| 270 | + | |
| 271 | +- `cargo check -p ec-av1 --all-targets` — **0 warnings** (check log has no | |
| 272 | + `warning` line; finished in 10.04s). | |
| 273 | +- Scoped `cargo test -p ec-av1 --lib` (the 21 decode-path refusal tests — | |
| 274 | + 4 in `decode`, `unsupported_frames_are_refused_by_name`, the 9 | |
| 275 | + `stream` `refused_by_name` gates, 7 in `tile` — plus the headline gate, | |
| 276 | + the monochrome witness, and the cdf-update witness). 4:4:4 and qmatrix | |
| 277 | + are inside those 9. Literal line: | |
| 278 | + `test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 637 filtered out; finished in 13.61s` | |
| 279 | + Headline: `4 frames sample-exact, intra128_lossless hits 2`. | |
| 280 | + Mono: `4:2:0 twin 60 frames, monochrome 60 frames byte-exact vs ffmpeg`. | |
| 281 | + Qmatrix: `qm-off control 3 frames, qm-on refused by name`. | |
| 282 | + 4:4:4 header: `a_non_420_subsampled_sequence_header_is_refused_by_name` ok. | |
| 283 | + CDF: `3 disable_cdf_update frame headers, all frames sample-exact`. | |
| 284 | + | |
| 285 | +**Probes on the merged `decode_probe`** (built from this tree into the | |
| 286 | +merge target dir): | |
| 287 | + | |
| 288 | +| probe | result | | |
| 289 | +|---|---| | |
| 290 | +| gray 60-frame key (`libaom-av1`, 320x240, `mono_chrome`) vs `ffmpeg -pix_fmt gray` | EQUAL, 4,608,000 B, `OK: 60 frames` | | |
| 291 | +| `fixtures/bitstreams/av1-monochrome.ivf` remuxed to OBU, 60 frames | EQUAL, 4,608,000 B. The remuxed OBU is byte-identical to the regenerated gray60 above (same deterministic recipe); both probes still ran | | |
| 292 | +| `reelb_kf900.obu` 10-bit via `EC_PROBE_OUT16` vs `ffmpeg -pix_fmt yuv420p10le` | EQUAL, 18,524,160 B, sha256 `0bf2548080b14f2a4fada234e399e5803344dd23ea8254ea944da0d1aeaef5f2` on **both** | | |
| 293 | +| lane 24-frame lossless repro (`loss240.obu`, sb128, 320x240) | `OK: 24 frames`, `intra128_lossless: 13`. **Not** ffmpeg-exact: first differing byte is 108 (frame 0 luma col 108). Same measurement the reviewer re-derived. That is the deferred 16x4/4x16 chroma-pair desync in §6, pre-existing, not a merge regression | | |
| 294 | + | |
| 295 | +**Cleanup.** Worktree `edith_codecs-av1ll` removed (branch | |
| 296 | +`lane-av1-lossless128` kept at `6dbc73b9`). `$HOME/.cache/cargo-target-av1ll*` | |
| 297 | +and `$HOME/.cache/tmp-av1ll*` removed (lane, lane-base, verifier, and this | |
| 298 | +merge dir). Hub processes `av1ll-suite`, `av1ll-retest`, `av1llv-*`, and | |
| 299 | +`av1llmerge-*` stopped. Not touched: `lane-av1-intrabc` / `edith_codecs-av1ibc`. | |
| 300 | + | |
| 301 | +**Leftovers** (not this close's glob; left in place): worktree | |
| 302 | +`$HOME/.cache/av1ll-base` (`tmp-av1ll-base` at `46f07214`), | |
| 303 | +`$HOME/.cache/av1ll-out`, `$HOME/.cache/av1llverify-base`. | |
| 304 | + | |
| 305 | +**Kept instruments** (the next lane's tools): `decode_probe` and its | |
| 306 | +counters (`intra128_lossless` included), `EC_PROBE_OUT` / `EC_PROBE_OUT16` / | |
| 307 | +`EC_PROBE_HDR`, and the oracle under `$HOME/.cache/aom-oracle/build/`. | |
| 308 | + | |
| 309 | +**Tripwire for the next lossless-shape lane.** §6 stands: | |
| 310 | +`deferred(lossless 16x4/4x16 chroma pair — decode_rect4_16_strip needs the | |
| 311 | +two-TX_4X4 walk)`. The 24-frame repro still diverges at byte 108 after this | |
| 312 | +merge. That lane must not treat this fast-forward as having closed it. |