forge
Explore
Log in

Don't you dare go Hollow

Lane-tiles r8 charter -- tile rows, gate before lift

Browse files at this commit

3290985d35aa28b672544a6cb7941381ed4bfec7Ahmet Kaan GümüşParent: 5183637
  • docs
    • lane-tiles r8 charter -- tile rows, gate before lift
Show full message
docs(av1): lane-tiles r8 charter -- tile rows, gate before lift
lanes/tiles-r8.charter.mdadded+48 -0
@@ -0,0 +1,48 @@
1+# lane-tiles r8 — tile rows
2+
3+At 5255492. r7 is MERGED into main (93d9510); main is at 92d8beb or later.
4+Read `lanes/tiles-r7.report.md` first. Start with `git merge main` — main has
5+since landed a `bit_depth != 8` refusal, three reworded partition refusals and
6+a dead-binding cleanup in `decode_stream`; resolve, suite green, commit, and
7+only then start new work.
8+
9+## The round: tile ROWS
10+`tile_info.rows > 1` is still refused in `decode_stream`, correctly and with no
11+false claim attached. Close it the exact way r7 closed columns, in this order —
12+each step committed before the next begins:
13+
14+1. **Bypass gate first.** A gate that drives the tile decode directly, below
15+ `decode_stream`, so the refusal cannot short-circuit the code the gate is
16+ supposed to be measuring. That is class [[refusal-short-circuits-its-own-code]]
17+ and it cost this project a round already: lane-lr's report claimed symbols
18+ were read while its own counter said 0/40, because the refusal ran first.
19+2. **`decode_stream`-level gate**, pixel-exact vs ffmpeg, loop filter ON.
20+ Deblocking crosses tile ROW boundaries by spec default just as it crosses
21+ column ones — do not add a `--loopfilter-control=0` bypass, and if the
22+ horizontal boundary fails, that is the round's real finding.
23+3. **Then, and only then, lift the refusal**, and update
24+ `refusal_inventory.rs`'s pinned list in the same commit.
25+
26+Recipe: `--tile-rows=1` (→ TileRows=2) mirroring r7's `--tile-columns`, and a
27+fixture at least 128 px tall so two rows of 64px superblocks actually exist.
28+Verify from a header parse that aomenc really emitted TileRows=2 before
29+trusting any pixel match — r7 did this and it is why its numbers hold. Hard-
30+assert `tile_hits`: r7 found `decode_inter_frame_tile_with_cdfs` never
31+incremented `TILE_HITS`, so an assert there was vacuously blind. Check the
32+row path has the same increment before you rely on it.
33+
34+A branch that lifts a refusal without a gate does not merge to main.
35+
36+## If turns remain
37+`context_update_tile_id != 0`, several tile-group OBUs per frame, non-uniform
38+tile spacing — in that order. Each is a refusal today; each needs a gate before
39+a lift.
40+
41+Hard rules: `CARGO_TARGET_DIR=$HOME/.cache/cargo-target-tiles`; foreground
42+`nice -n 19 cargo ... -j4`; every `cargo test` a timeout >= 600000 ms; fixtures
43+through `gradients_source(seed, w, h, tail)` and every ffmpeg generate bounded
44+with `-t`; `EC_AV1_REQUIRE_AOMENC=1`; aomenc `--threads=1 --row-mt=0
45+--sb-size=64` (this decoder hardcodes 64px superblocks). Sibling worktrees have
46+live agents — never build in or edit them. Never push, never merge into main.
47+75-turn cap, does not reset: COMMIT AT EVERY GREEN STEP. End with
48+`lanes/tiles-r8.report.md`, VERDICT on line 1.