forge
Explore
Log in

Don't you dare go Hollow

Round 3 -- the prefix-floor assert is gone, both named chroma candidates are eliminated by measurement, and the remaining defect is handed back as a 4x8 rect coefficient unit

Browse files at this commit

234a9cd2d31a7c7d26204feda2180b3334f0d02fAhmet Kaan GümüşParent: 1d86151
  • docs
    • round 3 -- the prefix-floor assert is gone, both named chroma candidates are eliminated by measurement, and the remaining defect is handed back as a 4x8 rect coefficient unit
Show full message
docs(av1444rect): round 3 -- the prefix-floor assert is gone, both named chroma candidates are eliminated by measurement, and the remaining defect is handed back as a 4x8 rect coefficient unit
lanes/av1444rect.report.mdmodified+43 -25
@@ -276,39 +276,57 @@ geometry was wrong, not that the new geometry is right.
276276
277277 ### Gate
278278
279-`a_444_intrabc_rect4_reads_its_own_chroma_plane_block` — a **progress gate,
280-deliberately not an exactness gate**:
279+`a_444_intrabc_rect4_reads_its_own_chroma_plane_block` — deliberately **not**
280+an exactness gate. It asserts nothing about the 4:4:4 pixels:
281281
282282 - both fixtures pinned (length + FNV);
283-- non-vacuity: `intrabc_rect4_own_chroma444_hits()` must be non-zero (18 on
284- the 4:4:4 witness, 0 on the 4:2:0 twin), armed OUTSIDE the mutated
285- expression so the mutation test below fails on the pixel arm, not on the
286- counter;
283+- non-vacuity: `intrabc_rect4_own_chroma444_hits()` is non-zero on the 4:4:4
284+ witness (18) and zero on the 4:2:0 twin, so the route the ss gate sits on is
285+ proven to run and proven to be ss-specific;
287286 - identity: the 4:2:0 twin is compared byte-for-byte through
288287 `decode_all_frames_vs_oracle`, which asserts the two frame lengths match
289288 before comparing;
290-- the 4:4:4 claim is a **prefix floor** on the plane the gate moved: the luma
291- plane must be byte-exact to sample 205264. A floor only ever grows, so the
292- next lane's fix cannot turn this gate red;
293-- the untouched chroma divergence (U/V from index 20532) is printed and named,
294- never asserted exact.
295-
296-**Mutation proof.** `own444 = false` (the old geometry, counter untouched) —
297-the assert fires with the first luma difference at 164416 against a floor of
298-205264.
299-
300-**Handed on, precisely:** the 4:4:4 intra-BC cell's remaining divergence is
301-**in chroma, first at U/V index 20532 (x=52, y=32)**, and the entropy fork is
302-read 12465 at mi (90,108) — same signature as the first (oracle
303-`decodetxb.c:158`, the chroma `txb_skip`, symbol 1). Not localized to a line
304-yet. Unverified candidates: `sub8_leaf_chroma444`'s single
305-`around_mi_rect(lmi, bw, bh)` reused for both planes, and its non-lossless
306-rect arm's context offset.
289+- the open chroma divergence — 390380 of 921600 wrong, U and V both first wrong
290+ at index 20532, entropy fork read 12465 at mi (90,108) — is named in a comment
291+ and in the test's output line, and **never asserted**.
292+
293+**A prefix-floor assert was written here first and removed.** It asserted the
294+luma plane is byte-exact to sample 205264 — i.e. that our output is wrong by
295+exactly N past that point. That encodes a defect as expected behaviour, the
296+shape this suite refuses everywhere else, and it is a red-if-fixed assertion.
297+Removed rather than kept as a regression guard. The red-before for the ss gate
298+itself was measured instead, as an entropy measurement: `own444 = false` puts
299+the first fork back at read 11750 / luma sample 164416, and 12465 / 205264
300+with it.
301+
302+### Round 3 — the chroma root is narrowed, not landed
303+
304+The follow-up named two candidates; **measurement eliminates both**:
305+
306+| candidate | verdict |
307+|---|---|
308+| (a) `sub8_leaf_chroma444`'s single `around_mi_rect(lmi, bw, bh)` reused for both planes | its `square` arm reads through `read_plane`, and a per-unit trace of every coefficient entry point (`read_plane`, `read_coeffs`, `read_coeffs_rect`) shows **no such unit at the fork's bit position** |
309+| (b) the non-lossless rect arm's offset | that arm's `read_coeffs_rect` calls fire at msac bits 1912–2097, nowhere near the fork |
310+
311+**The fork, localized to a call shape.** Instrumenting all three coefficient
312+entry points pins read 12465 to a `read_coeffs_rect` call with **w=4, h=8,
313+`skip_ctx`=0** at bit 6893, at mi (90,108) — a 4x8 rect unit where the oracle is
314+on a chroma `txb_skip` (`decodetxb.c:158`, symbol 1). Which caller and which
315+plane is not yet established.
316+
317+**Handed back, not landed.** The remaining 4:4:4 intra-BC defect is a **4x8
318+rect coefficient unit**, present with 1:4 and rect partitions both disabled,
319+and it is neither of the two candidates the follow-up named. Landing a partial
320+is out of scope for this round, so the merge candidate is the H1 fix (exact,
321+gated, mutation-proven) plus the measured `own444` gate on the intra-BC 1:4
322+geometry, and the chroma root goes on as a fresh task with the numbers above.
307323
308324 ## 7. Residue handed on, not fixed here
309325
310-- **4:4:4 intra-BC chroma** — read 12465, mi (90,108), U/V first wrong at
311- index 20532. Per §6.
326+- **4:4:4 intra-BC chroma** — a 4x8 rect coefficient unit: read 12465,
327+ mi (90,108), `read_coeffs_rect(w=4, h=8, skip_ctx=0)` at bit 6893; U and V
328+ first wrong at index 20532. Per §6; both originally-named candidates
329+ eliminated by measurement, so this needs a fresh start, not a continuation.
312330 - **H2** — 4:4:4 lossy + tx-size-search chroma ±1, entropy-clean. Own lane.
313331 - **H3** — 4:4:4 lossless + tile columns. Agent142-2 (see §5's retraction).
314332 - **H4** — 4:4:4 lossless + tile rows, hard divergence. Own lane; untouched.