lane-av1422warp: mode context measured one-sided -- our side, and the oracle rung that will not print
Browse files at this commit99801004f1bf2072eea169e0bdacd98cf5b1cdd1Parent: 176bd7c1 changed file +50 -0
- lanes/av1422warp.report.md +50 -0
lanes/av1422warp.report.mdmodified+50 -0
| @@ -392,6 +392,56 @@ 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 15 — the mode context: OUR side measured, the ORACLE side would not print | ||
| 396 | + | ||
| 397 | +Both prints reverted; `aomdec` rebuilt to its committed shape | ||
| 398 | +(`MODECTX` = 0). | ||
| 399 | + | ||
| 400 | +**Our side, at mi(64,24), from the square `read_intra_mode`** (the path | ||
| 401 | +this block actually takes — the `read_intra_mode_rect` site does not | ||
| 402 | +fire for it, and neither does `read_intra_mode_sub8`): | ||
| 403 | + | ||
| 404 | +``` | ||
| 405 | +MODECTXM mi=(64,24) above_mode=0 left_mode=6 above_ctx=0 left_ctx=4 | ||
| 406 | + -> mode val=1 (oracle: mode val=6) | ||
| 407 | +``` | ||
| 408 | + | ||
| 409 | +**The oracle side could not be measured, and this lane will not guess | ||
| 410 | +past that.** A `MODECTX` rung placed immediately above | ||
| 411 | +`mbmi->mode = read_intra_mode(r, get_y_mode_cdf(ec_ctx, above_mi, | ||
| 412 | +left_mi))` in `decodemv.c:936`, rebuilt, with its format string | ||
| 413 | +confirmed present in the binary and the env var set, emits nothing — | ||
| 414 | +while the `EC_ISTEP name=mode` print three lines below it in the SAME | ||
| 415 | +function fires 744 times, so the code provably runs. One occurrence of | ||
| 416 | +the site in the source, in `ec_read_intra_frame_mode_info_impl`. Not | ||
| 417 | +resolved. | ||
| 418 | + | ||
| 419 | +**What is established.** The divergence is the | ||
| 420 | +`kf_y_mode[above_ctx][left_ctx]` row: same block, same bit position, | ||
| 421 | +different symbol VALUE (1 against 6). Our square reader takes | ||
| 422 | +`above_mode` / `left_mode` from the **coarse** `above_mode[c]` / | ||
| 423 | +`left_mode[r]` bands, whereas the rect path goes through | ||
| 424 | +`modes_above_left_mi` (the mi-exact map, lane-rectx r5's override) and | ||
| 425 | +libaom's `get_y_mode_cdf` uses `xd->above_mbmi` = `mi[-mi_stride]` = | ||
| 426 | +mi(63,24) and `xd->left_mbmi` = `mi[-1]` = mi(64,23). So there is a | ||
| 427 | +concrete question — does the square path's coarse band hold what | ||
| 428 | +mi(63,24) / mi(64,23) hold — and this lane did not get to answer it. | ||
| 429 | + | ||
| 430 | +**A coincidence recorded as a lead, not a claim.** Our `left_mode=6` | ||
| 431 | +at mi(64,24) is the same number the oracle DECODES as that block's | ||
| 432 | +mode. That is what a neighbour-cell mix-up would look like, and it is | ||
| 433 | +the shape Main predicted (the rect intra-mode path's own unsnapped | ||
| 434 | +lookup). It is one data point and is not evidence. | ||
| 435 | + | ||
| 436 | +**Unblock, and it is short.** Print `above_mi->mode` / `left_mi->mode` | ||
| 437 | +from the `EC_ISTEP name=mode` site itself — the print that is known to | ||
| 438 | +fire — rather than from a sibling `getenv` rung, and compare against | ||
| 439 | +mi(63,24) / mi(64,23) on our side. If the square path's coarse bands | ||
| 440 | +differ from those cells, the fix is lane-rectx r5's mi-exact override | ||
| 441 | +applied to the square `read_intra_mode` path, the same way the rect | ||
| 442 | +path already has it — the same neighbour-context family as the | ||
| 443 | +`around_mi_422_chroma` and dc-sign fixes, and the third instance of it. | ||
| 444 | + | ||
| 395 | ### Round 14 — the ladder walked: the first-delta read is the LUMA `mode` at mi(64,24) | 445 | ### Round 14 — the ladder walked: the first-delta read is the LUMA `mode` at mi(64,24) |
| 396 | 446 | ||
| 397 | Ladder rebuilt with the round-13 emission fix on both sides (position | 447 | Ladder rebuilt with the round-13 emission fix on both sides (position |