lane-av1422warp: RETRACT round 8's bsize claim; same block size, same tx context
Browse files at this commit439da94e12411472bd6321b9817d7b2245ed261cParent: 3a293e41 changed file +52 -9
- lanes/av1422warp.report.md +52 -9
lanes/av1422warp.report.mdmodified+52 -9
| @@ -392,6 +392,52 @@ tx_size lookup (the oracle's `get_tx_size_context` for that block is | |||
| 392 | printable and ours computes the same `above + left` form as everywhere | 392 | printable and ours computes the same `above + left` form as everywhere |
| 393 | else). | 393 | else). |
| 394 | 394 | ||
| 395 | +### Round 9 — CORRECTION to round 8, and where the desync actually starts | ||
| 396 | + | ||
| 397 | +**Round 8's central claim was wrong and is retracted here.** It read the | ||
| 398 | +oracle's `PARTB bsize=9` as `BLOCK_64X32`. The real enum | ||
| 399 | +(`enums.h:100-115`) is | ||
| 400 | +`0 BLOCK_4X4, 1 BLOCK_4X8, 2 BLOCK_8X4, 3 BLOCK_8X8, 4 BLOCK_8X16, | ||
| 401 | +5 BLOCK_16X8, 6 BLOCK_16X16, 7 BLOCK_16X32, 8 BLOCK_32X16, 9 BLOCK_32X32, | ||
| 402 | +10 BLOCK_32X64, 11 BLOCK_64X32, 12 BLOCK_64X64, 13 BLOCK_64X128, | ||
| 403 | +14 BLOCK_128X64, 15 BLOCK_128X128`. So `bsize=9` is **BLOCK_32X32** — | ||
| 404 | +the SAME block size we decode. The oracle is not walking a 64x32 where we | ||
| 405 | +walk a 32x32; both are at BLOCK_32X32. Round 8 also mis-called `bsize=15` | ||
| 406 | +a 64x16 (it is BLOCK_128X128, the superblock root) and `bsize=12` — it is | ||
| 407 | +BLOCK_64X64, not BLOCK_128X64. The rest of round 8 stands: the | ||
| 408 | +partition reads pair, bottom-edge truncation is ruled out, and the | ||
| 409 | +oracle's lineage is `15 (128X128) -> 12 (64X64) -> 12 (64X64) -> | ||
| 410 | +9 (32X32) -> 9 (32X32)`. | ||
| 411 | + | ||
| 412 | +**What round 9 establishes, with the enum right this time.** At | ||
| 413 | +mi(64,24) both decoders are on a 32x32 block and read the same tx_size | ||
| 414 | +row at the same context: | ||
| 415 | + | ||
| 416 | +``` | ||
| 417 | +oracle EC_TXCTXB mi=64,24 bsize=9 maxw=32 maxh=32 abv=32 lft=16 above=1 left=0 ctx=1 | ||
| 418 | +ours EC_ISTEP mi_row=64 mi_col=24 name=tx_depth val=2 ctx=1 | ||
| 419 | +``` | ||
| 420 | + | ||
| 421 | +`bsize_to_tx_size_cat(BLOCK_32X32)` is 2, and our `max_tx == 32` arm | ||
| 422 | +reads `tx_size_cat2[ctx]` with `ctx = 1` — the same CDF row the oracle | ||
| 423 | +uses, at the same bit position (the -14 constant still holds). So the | ||
| 424 | +tx_size lookup is NOT the divergence either. | ||
| 425 | + | ||
| 426 | +**Where the desync actually starts.** The reader state already differs at | ||
| 427 | +mi(64,24)'s FIRST symbol (`skip`, oracle rng 39524 against ours 40716), | ||
| 428 | +and the coefficient ladder pairs through unit 2427. So the window is the | ||
| 429 | +reads between unit 2427's block and mi(64,24)'s `skip` — the same | ||
| 430 | +narrow "between two units" window round 6 characterised, now at its | ||
| 431 | +second occurrence. Both this window and round 6's were closed by pairing | ||
| 432 | +per transform unit; this one is still open. | ||
| 433 | + | ||
| 434 | +**Corrected summary of what is known at mi(64,24):** same bsize, same | ||
| 435 | +tx context, same CDF row, same bit position — and still a different | ||
| 436 | +outcome (oracle one 32x32 luma TU, us 8x8 leaves), with the reader | ||
| 437 | +already out of step at the block's first read. The structural difference | ||
| 438 | +is real and downstream; the DESYNC is upstream of it and is the thing | ||
| 439 | +still to find. | ||
| 440 | + | ||
| 395 | ### Round 8 — the partition reads PAIR; the block size entering them does not | 441 | ### Round 8 — the partition reads PAIR; the block size entering them does not |
| 396 | 442 | ||
| 397 | Rungs added and reverted on both sides (ours `EC_TRACE`, the oracle a `PARTB` | 443 | Rungs added and reverted on both sides (ours `EC_TRACE`, the oracle a `PARTB` |
| @@ -418,15 +464,12 @@ At mi(64,32) the oracle is at bit 92356 and we are at 93518 — **1162 bits | |||
| 418 | later**. The gap opens in the block that FOLLOWS mi(64,24): the oracle | 464 | later**. The gap opens in the block that FOLLOWS mi(64,24): the oracle |
| 419 | spends 33 bits there (92323 -> 92356) and we spend ~1183. | 465 | spends 33 bits there (92323 -> 92356) and we spend ~1183. |
| 420 | 466 | ||
| 421 | -**So the named divergence is the BLOCK SIZE entering the partition | 467 | +**RETRACTED — see round 9 below.** This section read the oracle's `bsize=9` |
| 422 | -read, not the partition symbol.** The oracle reads the partition for a | 468 | +as `BLOCK_64X32` and concluded the block size entering the read was the |
| 423 | -`BLOCK_64X32` (its enum 9) and lands `PARTITION_NONE` on a 64x32 leaf, | 469 | +divergence. With the real enum (`enums.h:100-115`) `bsize=9` is |
| 424 | -coded as one 32x32 luma TU plus 16x32 chroma (TU 2428). We read a | 470 | +`BLOCK_32X32`, the same size we decode, and that conclusion is wrong. |
| 425 | -partition at the same bit position with the same value, and land on a | 471 | +What survives from round 8: the partition reads pair, and bottom-edge |
| 426 | -32x32 SQUARE — the `EC_IMODE ... fn=sq side=32` of round 7, coded as 8x8 | 472 | +truncation is ruled out. |
| 427 | -leaves. Same position, same symbol, different bsize in, different block | ||
| 428 | -out: the bsize is decided one or more levels ABOVE mi(64,24), in the | ||
| 429 | -HORZ/SPLIT walk that produced the child. | ||
| 430 | 473 | ||
| 431 | **What is left to do, and why it is not another step here.** Tracing the | 474 | **What is left to do, and why it is not another step here.** Tracing the |
| 432 | bsize lineage from the SB root down to mi(64,24) on both sides — the | 475 | bsize lineage from the SB root down to mi(64,24) on both sides — the |