forge
Explore
Log in

Don't you dare go Hollow

Lane-tiles r5 charter -- inter multi-tile, right-edge reach

Browse files at this commit

10b554545c5013d5f66e5646d07629658300f377Ahmet Kaan GümüşParent: 5e92401
  • docs
    • lane-tiles r5 charter -- inter multi-tile, right-edge reach
Show full message
docs(av1): lane-tiles r5 charter -- inter multi-tile, right-edge reach
lanes/tiles-r5.charter.mdadded+44 -0
@@ -0,0 +1,44 @@
1+# lane-tiles r5 — inter-frame multi-tile, then the right-edge reach bound
2+
3+At the lane tip (main merged in — r4 is merged to main at 53b319b). Read
4+`lanes/tiles-r4.report.md`.
5+
6+## State
7+Key frames with two tile columns decode through `decode_stream` itself,
8+20/20 pixel-exact, tile count hard-asserted. Four scoped refusals remain:
9+inter frames with >1 tile, >1 tile row, >2 tile columns, and multi-tile with
10+loop filtering on.
11+
12+Fact r4 established: AV1 has NO `loop_filter_across_tiles` bit (unlike HEVC) —
13+deblocking crosses tile boundaries unconditionally. So the loop-filter refusal
14+and the >2-columns refusal are the SAME underlying gap: `PlaneBuf`'s tile origin
15+clips left/top reach only, and a non-last column's right-edge reach bound is
16+unimplemented. Fixing that one thing lifts both.
17+
18+## Order
19+1. `decode_inter_frame_tile_with_cdfs` takes `tiles: &[&[u8]]` and grows the
20+ same per-tile loop the key-frame path has (mirror
21+ `decode_key_frame_tile_with_cdfs`'s loop), then thread the tile origin into
22+ `mvstack.rs` so an MV candidate scan cannot reach across a tile boundary.
23+ That lifts the inter-frame refusal. Gate it on a real inter stream. COMMIT.
24+2. The right-edge reach bound in `PlaneBuf` — lifts the >2-columns and the
25+ loop-filter refusals together. Re-run the two-tile gate with
26+ `--loopfilter-control=0` REMOVED; it must still be pixel-exact. COMMIT.
27+3. Tile rows, non-uniform spacing, several tile-group OBUs per frame, and
28+ `context_update_tile_id != 0` proven with a stream where it is not tile 0.
29+
30+Gate rules: `EC_AV1_REQUIRE_AOMENC=1`; `-t <seconds>` on every ffmpeg generate;
31+fixtures through `gradients_source`; aomenc `--threads=1 --row-mt=0
32+--sb-size=64` (this decoder hardcodes 64px superblocks); firing counts
33+HARD-asserted. And remember r3's false PASS: `Tile::offset` is relative to the
34+slice `parse_obu` was handed — forgetting `obu_offset` decodes flat DC garbage
35+that compares EQUAL instead of erroring.
36+
37+Merge note: main has `refusal_inventory.rs`, which pins all four of your tile
38+refusal strings. Report every one you remove or reword, verbatim.
39+
40+Hard rules: `CARGO_TARGET_DIR=$HOME/.cache/cargo-target-tiles`; foreground
41+`nice -n 19 cargo ... -j4`; every `cargo test` a timeout >= 600000 ms. Sibling
42+worktrees have live agents — never build in or edit them. Never push, never
43+merge, never touch `main`. 75-turn cap, does not reset: COMMIT AT EVERY GREEN
44+STEP. End with `lanes/tiles-r5.report.md`, VERDICT on line 1.