forge
Explore
Log in

Don't you dare go Hollow

Round 6 -- the fork's caller is NAMED: decode_intrabc_rect's non-lossless rect arm, one gather taken at the luma footprint serving a 4x8 chroma unit

Browse files at this commit

9e73b9478fd5b3b23e0217dcce0eca1fd10509c1Ahmet Kaan GümüşParent: 129714d
  • docs
    • round 6 -- the fork's caller is NAMED: decode_intrabc_rect's non-lossless rect arm, one gather taken at the luma footprint serving a 4x8 chroma unit
Show full message
docs(av1444rect): round 6 -- the fork's caller is NAMED: decode_intrabc_rect's non-lossless rect arm, one gather taken at the luma footprint serving a 4x8 chroma unit

Main asked for the caller of the read_coeffs_rect(4,8,skip_ctx=0) shape at
bit 6893. Named with #[track_caller] on read_coeffs_rect and
read_inter_plane_rect, so every call site carries its own file:line and no
per-site edit was needed. The fork is decode.rs:13184 (plane 1) and 13202
(plane 2), inside decode_intrabc_rect at 12955: one
around_mi_rect((mi_r, mi_c), bw, bh) gathered at the LUMA footprint and
reused for a 4x8 chroma unit under a 4x16 luma plane block. At ss (1,1) the
two coincide after subsampling, which is why the 4:2:0 twin is byte-exact;
at ss (0,0) they do not. This is the sub-8 unit walk, the prior Agent142-2's
census established.

Also recorded, explicitly NOT claimed: at that bit the oracle reports mi
(90,108) while our unit sits at px (208,184) / mi (46,52), with every prior
read paired exactly. Either the oracle's xd->mi does not name the same block
our x,y does, or there is a position divergence not yet localised. Left for
the next lane rather than guessed at.

No decoder change this round; the probes are removed and the tree is clean
(grep EC_RCALL and EC_UCNT read 0 at HEAD, git diff empty against the
previous commit apart from this report).

(cherry picked from commit 0beaf6c53e97a9348ddafb31e08a6cdf6cbdeccc)
lanes/av1444rect.report.mdmodified+46 -4
@@ -352,6 +352,42 @@ most likely a counting-shape difference (our var-tx leaves versus libaom's
352 unit walk) rather than a walk defect; it is NOT established either way, and I352 unit walk) rather than a walk defect; it is NOT established either way, and I
353 am not claiming it.353 am not claiming it.
354 354
355+### Round 6 — the caller is NAMED
356+
357+Main's ask was to name the caller of the `read_coeffs_rect(4, 8, skip_ctx=0)`
358+shape. Done with `#[track_caller]` on `read_coeffs_rect` and on
359+`read_inter_plane_rect`, which turns every call into a file:line tag with no
360+backtrace and no per-site edit. One run, exact answer:
361+
362+| bit | call site | plane | x, y | w x h | around |
363+|---|---|---|---|---|---|
364+| 6885 | `decode.rs:13165` | 0 | 416, 368 | 8x16 | (0,0,0) |
365+| **6893 (the fork)** | **`decode.rs:13184`** | **1 (U)** | **208, 184** | **4x8** | **(0,0,0)** |
366+| 6902 | `decode.rs:13202` | 2 (V) | 208, 184 | 4x8 | (0,0,0) |
367+
368+All three are inside **`decode_intrabc_rect`** (`decode.rs:12955`), its
369+non-lossless whole-block rect arm — the `read_inter_plane_rect` triple for
370+luma then U then V off one shared
371+`around_mi_rect((mi_r, mi_c), bw, bh)` gather. The luma unit is 8x16, the
372+chroma units 4x8, which at ss (0,0) means a **4x8 chroma unit under a 4x16
373+luma plane block** — the sub-8 unit walk, which is exactly the prior Agent142-2's
374+census established and exactly the class shape.
375+
376+So the third instance of this lane's class is not a pair extent at all in its
377+outward form: it is one gather, taken at the LUMA footprint, serving a CHROMA
378+unit whose own extent is half that on the long axis. At 4:2:0 the two coincide
379+after subsampling, which is why the 4:2:0 twin is byte-exact; at 4:4:4 they do
380+not.
381+
382+**A second observation that is NOT yet established and I am not claiming:** at
383+this same bit the oracle reports mi (90,108) — luma px (360,432) — while our
384+chroma unit is at px (208,184), mi (46,52). Every read before this one paired
385+exactly, so both decoders are at the same bit position after the same number of
386+reads, which is hard to reconcile with a different block. Either the oracle's
387+`xd->mi_row/mi_col` is not naming the same block our `x, y` name, or there is a
388+position divergence I have not localised. Not established; recorded so the next
389+lane does not have to rediscover the discrepancy.
390+
355 **Handed back, not landed.** The remaining 4:4:4 intra-BC defect is a **4x8391 **Handed back, not landed.** The remaining 4:4:4 intra-BC defect is a **4x8
356 rect coefficient unit**, present with 1:4 and rect partitions both disabled,392 rect coefficient unit**, present with 1:4 and rect partitions both disabled,
357 and it is neither of the two candidates the follow-up named. Landing a partial393 and it is neither of the two candidates the follow-up named. Landing a partial
@@ -370,10 +406,16 @@ fork left in this cell.
370 406
371 ## 7. Residue handed on, not fixed here407 ## 7. Residue handed on, not fixed here
372 408
373-- **4:4:4 intra-BC chroma** — a 4x8 rect coefficient unit: read 12465,409+- **4:4:4 intra-BC chroma** — a 4x8 rect coefficient unit. CALLER NAMED in
374- mi (90,108), `read_coeffs_rect(w=4, h=8, skip_ctx=0)` at bit 6893; U and V410+ round 6: `decode_intrabc_rect` (`decode.rs:12955`), the non-lossless
375- first wrong at index 20532. Per §6; both originally-named candidates411+ whole-block rect arm, at `decode.rs:13184` (U) and `13202` (V). One gather,
376- eliminated by measurement, so this needs a fresh start, not a continuation.412+ `around_mi_rect((mi_r, mi_c), bw, bh)`, taken at the LUMA footprint and
413+ serving a 4x8 chroma unit under a 4x16 luma plane block; at 4:2:0 the two
414+ coincide after subsampling (hence the exact 4:2:0 twin) and at 4:4:4 they do
415+ not. Fork read 12465, bit 6893, U and V first wrong at index 20532. Both
416+ originally-named candidates and the token-order hypothesis remain dead by
417+ measurement. Unexplained and unclaimed: at that bit the oracle reports mi
418+ (90,108) while our unit is at px (208,184) — see §6.
377 - **H2** and **H3** are with Agent24-2 as of this writing (Agent142-2's round419 - **H2** and **H3** are with Agent24-2 as of this writing (Agent142-2's round
378 closed with the census committed); §5's retraction is the record they need.420 closed with the census committed); §5's retraction is the record they need.
379 - **H4** — 4:4:4 lossless + tile rows, hard divergence. Own lane; untouched.421 - **H4** — 4:4:4 lossless + tile rows, hard divergence. Own lane; untouched.