forge
Explore
Log in

Don't you dare go Hollow

ec-av1: lane-av1-422q -- the chroma422_pair16 chunk passes the offset-10 skip rows (chroma_skip_offset Some(3)): the av1422p frontier's prime suspect applied; same measured rule as the 4x32 arm (plane_bsize BLOCK_INVALID for the pair's BLOCK_4X16 too, num_pels_log2_lookup[255] = 0xff at the 0xc0de70 decodetxb copy -> get_txb_ctx_general's offset-10 arm; the port's offset-7-first txb_skip_chroma_8 holds those rows at 3..6); the 4x32 arm's Some(3), every other caller's None, the 4:2:0 group-tail SKIP arm, and the 4:2:2 header refusal are untouched; cargo check 0 warnings, one 420 aomenc gate green; report lanes/av1422q.report.md

Browse files at this commit

3f9ab77ead40509eeb5074beece1fe5b02172e8bAhmet Kaan GümüşParent: 84698b3
crates/ec-av1/src/decode.rsmodified+7 -5
@@ -15190,11 +15190,13 @@ fn decode_rect4_16_strip(
1519015190 cpx,
1519115191 cpy + unit_row * 8,
1519215192 base_q_idx,
15193- // lane-av1-422p: `None` keeps this arm on the
15194- // offset-7 rows exactly as before; the
15195- // offset-10 question for this arm is the
15196- // owning lane's (see lanes/av1422p.report.md).
15197- None,
15193+ // lane-av1-422q: the offset-10 rows -- the same
15194+ // measured rule as the 4x32 arm (plane_bsize
15195+ // BLOCK_INVALID for the pair's BLOCK_4X16 too;
15196+ // num_pels_log2_lookup[255] = 0xff at the
15197+ // 0xc0de70 copy -> +3 on the offset-7-first
15198+ // chroma tables; see lanes/av1422q.report.md).
15199+ Some(3),
1519815200 alpha
1519915201 .zip(ac)
1520015202 .map(|((au, av), ac)| (if plane == 1 { au } else { av }, ac)),
lanes/av1422q.report.mdadded+42 -0
@@ -0,0 +1,42 @@
1+# lane-av1-422q — the av1422p frontier's prime suspect APPLIED: the
2+# `chroma422_pair16` chunk passes `Some(3)` (the offset-10 skip rows), the
3+# 4x32 arm and every other caller untouched, the header refusal STAYS
4+
5+## Outcome
6+
7+1. The one-argument change, nothing else: `decode_rect4_16_strip`'s
8+ `chroma422_pair16` arm now passes `Some(3)` to [`read_rect_chroma_unit`]'s
9+ `chroma_skip_offset` (was `None`). Same measured rule as the 4x32 arm:
10+ the pair's plane_bsize is `ss_size_lookup[BLOCK_4X16][1][0]` =
11+ BLOCK_INVALID too, and the decodetxb copy of `num_pels_log2_lookup` reads
12+ `0xff` at +255 (0xc0de70), so libaom's `get_txb_ctx_general` takes the
13+ offset-10 arm; the port's offset-7-first `txb_skip_chroma_8` holds those
14+ rows at 3..6. The stale lane-av1-422p `None` comment (which claimed the
15+ offset-10 question was still open) is replaced by the measured rule.
16+2. Untouched, byte-identical: the 4x32 arm's existing `Some(3)`, every other
17+ [`read_rect_chroma_unit`] caller (`None`), the 4:2:0 group-tail chroma
18+ SKIP arm, `decode_probe.rs`, `stream.rs`, and the 4:2:2 header refusal
19+ (the charter's delete condition — 16-frame pixel-exact + a 422-unit
20+ counter — was not claimed this session, so nothing was deleted).
21+
22+## Verification
23+
24+- `git diff`: ONLY `crates/ec-av1/src/decode.rs` — one argument
25+ (`None` -> `Some(3)`) plus its comment (+7/−5 lines).
26+- `cargo check -p ec-av1` (target dir `~/.cache/cargo-target-av1422q`):
27+ **0 warnings, 0 errors**.
28+- 420 gate green under `EC_AV1_REQUIRE_AOMENC=1`:
29+ `stream::tests::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_
30+ whose_tx_split_decodes_pixel_exact`: 1 passed, 0 failed.
31+- Not exercised this session (honest gaps): the 16-frame 4:2:2 stream was
32+ NOT re-decoded and no pixel comparison was run — this lane's scope was the
33+ single argument; whether the offset-10 rows fix the inter-frame
34+ divergence is the next lane's diff.
35+
36+## State
37+
38+- Commit on lane-av1-422q (no push): the `Some(3)` argument, the corrected
39+ comment, and this report.
40+- Next stop named for the owning lane: re-run the 16-frame probe/bypass with
41+ counters and diff frames 1..15 against the aomdec oracle — the av1422p
42+ report named this arm the prime suspect for the inter-frame divergence.