forge
Explore
Log in

Don't you dare go Hollow

R1 report -- port landed behind EC_RECT64_SPLIT, no witness (frontier moved to the inter rect-residual refusal)

Browse files at this commit

ddb3943d86217cf8f9ab80bae183e995501a61cbAhmet Kaan GümüşParent: 42d7c39
  • docs
    • r1 report -- port landed behind EC_RECT64_SPLIT, no witness (frontier moved to the inter rect-residual refusal)
Show full message
docs(rect64port): r1 report -- port landed behind EC_RECT64_SPLIT, no witness (frontier moved to the inter rect-residual refusal)
lanes/rect64port-r1.report.mdadded+37 -0
@@ -0,0 +1,37 @@
1+# lane-rect64port r1 — TX_64X32/TX_32X64 luma corner for a split intra strip
2+
3+Base: main 78d8ff7. Commit: 35f33c9 (branch lane-rect64port).
4+
5+## What changed
6+- `crates/ec-av1/src/decode.rs` — `decode_rect_split`: new `(64, 32) | (32, 64)` arm of the
7+ `luma_rect` table (guarded by `EC_RECT64_SPLIT`) plus the `luma_64corner` TU arm inside the
8+ transform-unit loop: `read_coeffs` on `TxbSet::Luma64` with `default_scan(TX32)`,
9+ txb_skip ctx 0, `Some((tx_w, tx_h))` for `av1_nz_map_ctx_offset`, corner copied into a
10+ `tx_w*tx_h` grid, `dequant_and_inverse_typed_wh` + `reconstruct_rect` +
11+ `record_mi_luma_rect`. Hand-ported from lane-intra64split 5ffbaf3 (its only decode hunk).
12+- `crates/ec-av1/src/decode.rs` — `RECT64_CORNER_TU_HITS` thread-local + `rect64_corner_tu_hits(orient)`
13+ (0 = 64x32, 1 = 32x64).
14+- `crates/ec-av1/src/stream.rs` — `pub fn rect64_corner_tu_hits`.
15+- `crates/ec-av1/examples/decode_probe.rs` — prints `rect64_corner_tu: 64x32=.. 32x64=..`.
16+- `refusal_inventory.rs` / `gate_coverage.rs`: UNCHANGED — the refusal is not lifted (see below).
17+
18+## Witness attempt — FAILED to produce a pixel comparison
19+The arm fires on both 10-bit 3840x1608 cuts, and the frontier moves, but the frame that
20+contains the shape never completes: it stops on a DIFFERENT refusal owned by the inter side,
21+`"a non-skip rectangular (HORZ/VERT/HORZ_B) strip needs rectangular residual coding"`
22+(decode.rs:19156, `reject_residual && !skip && !rect_inter_residual_supported(..)`).
23+Truncating cut 0 to its 33 decoded frames and decoding gives `rect64_corner_tu: 0 0` — every
24+hit is inside the first REFUSED frame. So there is no frame to compare against ffmpeg, no gate
25+can be written, and the refusal stays.
26+
27+EVIDENCE: ~/.cache/rect64port-tmp/reelb300.log, ~/.cache/rect64port-tmp/full.log | decode_probe (release) on the two pinned film cuts, default vs EC_RECT64_SPLIT=1 | cut A: 33 frames dumped both ways, refusal "…transform unit is 32x64…" -> "…needs rectangular residual coding", counter 64x32=16 32x64=2; cut B: 1 frame dumped, same refusal swap, counter 64x32=0 32x64=2
28+EVIDENCE: ~/.cache/rect64port-tmp/t33.log + out.raw (389007360 B = 21 frames) | trunc.py cut A to 33 frame OBUs, decode with EC_PROBE_OUT16 | OK 21 frames 3840x1608, rect64_corner_tu 64x32=0 32x64=0 — the shape is confined to the refusing frame
29+
30+## Residue
31+- fix-now(next lane): the 64-level split intra strip needs the INTER rect-residual refusal at
32+ decode.rs:19151 lifted first; only then does a film frame carrying a 64x32/32x64 split intra
33+ strip finish and a pixel-exact witness gate become writable. Unblocked by: a lane that ports
34+ rectangular residual coding for non-skip HORZ/VERT/HORZ_B inter strips.
35+- deferred: the witness fixture `reelb_rect64_witness.obu` and the gate
36+ `a_10bit_film_inter_frame_with_a_64x32_split_intra_strip_decodes_pixel_exact` — nothing to pin
37+ while every candidate frame refuses.