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 commit234a9cd2d31a7c7d26204feda2180b3334f0d02fParent: 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
1 changed file +43 -25
- lanes/av1444rect.report.md +43 -25
lanes/av1444rect.report.mdmodified+43 -25
| @@ -276,39 +276,57 @@ geometry was wrong, not that the new geometry is right. | |||
| 276 | 276 | ||
| 277 | ### Gate | 277 | ### Gate |
| 278 | 278 | ||
| 279 | -`a_444_intrabc_rect4_reads_its_own_chroma_plane_block` — a **progress gate, | 279 | +`a_444_intrabc_rect4_reads_its_own_chroma_plane_block` — deliberately **not** |
| 280 | -deliberately not an exactness gate**: | 280 | +an exactness gate. It asserts nothing about the 4:4:4 pixels: |
| 281 | 281 | ||
| 282 | - both fixtures pinned (length + FNV); | 282 | - both fixtures pinned (length + FNV); |
| 283 | -- non-vacuity: `intrabc_rect4_own_chroma444_hits()` must be non-zero (18 on | 283 | +- non-vacuity: `intrabc_rect4_own_chroma444_hits()` is non-zero on the 4:4:4 |
| 284 | - the 4:4:4 witness, 0 on the 4:2:0 twin), armed OUTSIDE the mutated | 284 | + witness (18) and zero on the 4:2:0 twin, so the route the ss gate sits on is |
| 285 | - expression so the mutation test below fails on the pixel arm, not on the | 285 | + proven to run and proven to be ss-specific; |
| 286 | - counter; | ||
| 287 | - identity: the 4:2:0 twin is compared byte-for-byte through | 286 | - identity: the 4:2:0 twin is compared byte-for-byte through |
| 288 | `decode_all_frames_vs_oracle`, which asserts the two frame lengths match | 287 | `decode_all_frames_vs_oracle`, which asserts the two frame lengths match |
| 289 | before comparing; | 288 | before comparing; |
| 290 | -- the 4:4:4 claim is a **prefix floor** on the plane the gate moved: the luma | 289 | +- the open chroma divergence — 390380 of 921600 wrong, U and V both first wrong |
| 291 | - plane must be byte-exact to sample 205264. A floor only ever grows, so the | 290 | + at index 20532, entropy fork read 12465 at mi (90,108) — is named in a comment |
| 292 | - next lane's fix cannot turn this gate red; | 291 | + and in the test's output line, and **never asserted**. |
| 293 | -- the untouched chroma divergence (U/V from index 20532) is printed and named, | 292 | + |
| 294 | - never asserted exact. | 293 | +**A prefix-floor assert was written here first and removed.** It asserted the |
| 295 | - | 294 | +luma plane is byte-exact to sample 205264 — i.e. that our output is wrong by |
| 296 | -**Mutation proof.** `own444 = false` (the old geometry, counter untouched) — | 295 | +exactly N past that point. That encodes a defect as expected behaviour, the |
| 297 | -the assert fires with the first luma difference at 164416 against a floor of | 296 | +shape this suite refuses everywhere else, and it is a red-if-fixed assertion. |
| 298 | -205264. | 297 | +Removed rather than kept as a regression guard. The red-before for the ss gate |
| 299 | - | 298 | +itself was measured instead, as an entropy measurement: `own444 = false` puts |
| 300 | -**Handed on, precisely:** the 4:4:4 intra-BC cell's remaining divergence is | 299 | +the first fork back at read 11750 / luma sample 164416, and 12465 / 205264 |
| 301 | -**in chroma, first at U/V index 20532 (x=52, y=32)**, and the entropy fork is | 300 | +with it. |
| 302 | -read 12465 at mi (90,108) — same signature as the first (oracle | 301 | + |
| 303 | -`decodetxb.c:158`, the chroma `txb_skip`, symbol 1). Not localized to a line | 302 | +### Round 3 — the chroma root is narrowed, not landed |
| 304 | -yet. Unverified candidates: `sub8_leaf_chroma444`'s single | 303 | + |
| 305 | -`around_mi_rect(lmi, bw, bh)` reused for both planes, and its non-lossless | 304 | +The follow-up named two candidates; **measurement eliminates both**: |
| 306 | -rect arm's context offset. | 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. | ||
| 307 | 323 | ||
| 308 | ## 7. Residue handed on, not fixed here | 324 | ## 7. Residue handed on, not fixed here |
| 309 | 325 | ||
| 310 | -- **4:4:4 intra-BC chroma** — read 12465, mi (90,108), U/V first wrong at | 326 | +- **4:4:4 intra-BC chroma** — a 4x8 rect coefficient unit: read 12465, |
| 311 | - index 20532. Per §6. | 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. | ||
| 312 | - **H2** — 4:4:4 lossy + tx-size-search chroma ±1, entropy-clean. Own lane. | 330 | - **H2** — 4:4:4 lossy + tx-size-search chroma ±1, entropy-clean. Own lane. |
| 313 | - **H3** — 4:4:4 lossless + tile columns. Agent142-2 (see §5's retraction). | 331 | - **H3** — 4:4:4 lossless + tile columns. Agent142-2 (see §5's retraction). |
| 314 | - **H4** — 4:4:4 lossless + tile rows, hard divergence. Own lane; untouched. | 332 | - **H4** — 4:4:4 lossless + tile rows, hard divergence. Own lane; untouched. |