av1offtile report: the band publish closed the cell, and the lane corrects two of its OWN §6b claims now that the fix landed
Browse files at this commit599c7225dbf2a4bf7f376292ea6fff3e9c0017b8Parent: cbefb851 changed file +75 -3
- lanes/av1offtile.report.md +75 -3
lanes/av1offtile.report.mdmodified+75 -3
| @@ -339,9 +339,32 @@ ctxs mi=(36,108) tx=16 skip_inter=true <- the last write before the read | |||
| 339 | ``` | 339 | ``` |
| 340 | 340 | ||
| 341 | A **skipped 16 px inter block** at `mi=(36,108)` with `w_mi=4` publishing **16**, | 341 | A **skipped 16 px inter block** at `mi=(36,108)` with `w_mi=4` publishing **16**, |
| 342 | -and **nothing writes that column in between**. libaom has **4** there — it makes | 342 | +and — as far as this rung can show — nothing writing that column in between. |
| 343 | -a band write in rows 37..79 that this tree does not. Class | 343 | +libaom reads **4** at the reader. Class `context-band-not-published`. |
| 344 | -`context-band-not-published`. | 344 | + |
| 345 | +**CORRECTION (after Agent01-8's landing, `f2dd27b0`).** Two things in that | ||
| 346 | +paragraph were over-claimed and both are now settled against the fix: | ||
| 347 | + | ||
| 348 | +1. **"nothing writes that column in between" was not provable from this | ||
| 349 | + instrument.** A replay filtered to `EC_TXUPD` can only ever show the publish | ||
| 350 | + sites that CARRY the rung; several publishers are hand-rolled | ||
| 351 | + `for i in 0..w_mi { band[..] = x }` loops with no trace at all. So the | ||
| 352 | + negative result was under-determined by the instrument, not a measurement. | ||
| 353 | + Agent01-8's method, which does settle it: walk the mi-map COLUMN upward at the | ||
| 354 | + reader's own site (`BlkCell::org`/`dim`/`skip` + `inter_grid` + the deblock tx | ||
| 355 | + grids + the live band value), which names the abutting block and its shape in | ||
| 356 | + one pass. | ||
| 357 | +2. **"a band write in rows 37..79" was the wrong location.** The missing publish | ||
| 358 | + was the abutting block itself: the **8x8 INTRA lossless block at | ||
| 359 | + `mi(78,110)`, rows 78-79**. `read_block_tx_size`'s lossless early return | ||
| 360 | + published nothing, because it skips the SYMBOL READ and not the PUBLISH. | ||
| 361 | + libaom's `parse_decode_block` is an either/or and a lossless block always | ||
| 362 | + takes the else branch, whose `set_txfm_ctxs(TX_4X4, w, h, | ||
| 363 | + skip_txfm && is_inter_block(mbmi))` runs for it. | ||
| 364 | + | ||
| 365 | +What survived unchanged and was right: the **last rung-visible write** really was | ||
| 366 | +the skipped 16 px inter block at `mi=(36,108)` publishing 16, and the reader | ||
| 367 | +really did inherit 16 where libaom has 4. | ||
| 345 | 368 | ||
| 346 | **What reproduces and what does not.** Every number, the operand pair, and the | 369 | **What reproduces and what does not.** Every number, the operand pair, and the |
| 347 | named band write reproduce exactly. **The forced `ctx` is a symptom mask and | 370 | named band write reproduce exactly. **The forced `ctx` is a symptom mask and |
| @@ -423,6 +446,55 @@ is what made `mi=(80,110)` reachable in a state where its context matters at all | |||
| 423 | Those two facts are what make the chain *ordered* rather than merely | 446 | Those two facts are what make the chain *ordered* rather than merely |
| 424 | *sequential*, and they are the reason the operand pair is readable now. | 447 | *sequential*, and they are the reason the operand pair is readable now. |
| 425 | 448 | ||
| 449 | +## 6d. OUTCOME MEASURED: Agent01-8's band write, `f2dd27b0` — outcome 1 | ||
| 450 | + | ||
| 451 | +The standing obligation from §6c, discharged. **The operand pair was measured | ||
| 452 | +first, on the pixel numbers, exactly as agreed** — and the outcome is 1. | ||
| 453 | + | ||
| 454 | +Tree: `f2dd27b0` (lane/av1txctxband2, base `0bfee517`, which already contains | ||
| 455 | +this lane's clip). Read with this lane's own rungs, **no forced ctx anywhere**: | ||
| 456 | + | ||
| 457 | +| | before (`9abe724a` + this clip) | after (`f2dd27b0`) | oracle | | ||
| 458 | +|---|---|---|---| | ||
| 459 | +| `above_txfm` / `abv` | **16** | **4** | `abv=4` | | ||
| 460 | +| `left_txfm` / `lft` | 8 | 8 | `lft=8` | | ||
| 461 | +| `above` | true | **false** | `above=0` | | ||
| 462 | +| `ctx` | 2 | **1, reached on its own** | `ctx=1` | | ||
| 463 | + | ||
| 464 | +```text | ||
| 465 | +OURS EC_TXCTX mi=80,110 own=8x4 above_txfm=4 left_txfm=8 above=false left=true | ||
| 466 | +ORACLE EC_TXCTXB mi=80,110 bsize=2 maxw=8 maxh=4 hasup=1 hasleft=1 abv=4 lft=8 above=0 left=1 ctx=1 | ||
| 467 | +``` | ||
| 468 | + | ||
| 469 | +Every operand now agrees with the oracle and `ctx` reaches 1 **without the | ||
| 470 | +override**. Then, and only then, the consequence: | ||
| 471 | + | ||
| 472 | +```text | ||
| 473 | +mix_640x480_5.obu OK: 5 frames decoded, 640x480 (was REFUSED on the combined tip) | ||
| 474 | +pixels byte-exact vs aomdec --rawvideo | ||
| 475 | +paired EC_SYMR ours 457907 | oracle 457907 | FULL LOCKSTEP on pre[0]/pre[1]/n/s/post_rng | ||
| 476 | + (211 of the oracle's lines carry a negative pre[2] and were counted) | ||
| 477 | +``` | ||
| 478 | + | ||
| 479 | +**What this settles.** | ||
| 480 | + | ||
| 481 | +* The **band was the cause**, not the `ctx` formula and not the `decode_leaf_rect8` | ||
| 482 | + arm. The `ctx=1` lock of §6b is **retired as a symptom mask** and is in no | ||
| 483 | + branch. | ||
| 484 | +* The chain is confirmed **end to end**: off-tile walk (this lane) -> var-tx | ||
| 485 | + conjunct (Agent05-5) -> TXFM_CONTEXT band publish (Agent01-8). Each link was | ||
| 486 | + necessary: this lane's clip moved 176x144's fork and did nothing on 640x480; | ||
| 487 | + Agent05-5's conjunct is what made `mi=(80,110)` reachable in a state where its | ||
| 488 | + context mattered (860 431 reads without it, 521 856 with it); Agent01-8's publish | ||
| 489 | + is what made the ctx answer match. | ||
| 490 | +* 640x480 moves from "REFUSED, ~80 %-wrong pixels" to **byte-exact** on this | ||
| 491 | + tip. Agent05-5 owns updating their §4.3 verdict row. | ||
| 492 | + | ||
| 493 | +**This is the one outcome in the table that needed no second reading.** Outcome 2 | ||
| 494 | +(above_txfm stays 16, ctx reaches 1) would have looked identical in the pixel | ||
| 495 | +compare and been missed entirely; reading the pair first is what made the | ||
| 496 | +distinction available at all. | ||
| 497 | + | ||
| 426 | ## 7. Class sweep | 498 | ## 7. Class sweep |
| 427 | 499 | ||
| 428 | **Source.** Every chroma unit walk in `decode.rs` that derives a unit count from | 500 | **Source.** Every chroma unit walk in `decode.rs` that derives a unit count from |