lane-av1422warp: report -- inter path tagged, my mi label was wrong, divergence is a two-symbol shift
Browse files at this commit0aa598baf12df9e0351108925ba9dd49841d0694Parent: c39e6f51 changed file +58 -0
- lanes/av1422warp.report.md +58 -0
lanes/av1422warp.report.mdmodified+58 -0
| @@ -1581,6 +1581,64 @@ inter path's mi is not published by the intra mode reader. | ||
| 1581 | 1581 | |
| 1582 | 1582 | Not pinned, no gate, refusal untouched. |
| 1583 | 1583 | |
| 1584 | +## Round 27 — the inter path is tagged, and a wrong mi label of mine is fixed | |
| 1585 | + | |
| 1586 | +Instrument `7f55d054` (phase + corrected inter mi, no behaviour change; | |
| 1587 | +identity re-proved: 4:2:0 byte-exact, 4:4:4 byte-identical to the | |
| 1588 | +pre-lane build, both pinned 422 witnesses pixel-exact) and oracle | |
| 1589 | +snapshot `ec_symr_phase`. | |
| 1590 | + | |
| 1591 | +### A label error of mine, found and fixed at the source | |
| 1592 | + | |
| 1593 | +Round 27 first published the mi from `decode_inter_block`'s entry `at`. | |
| 1594 | +That labels a **different block**: it reported mi(28,52) for reads this | |
| 1595 | +decoder makes for mi(30,62). Our own `EC_MODE_VAL8` rung — printed by | |
| 1596 | +the function that actually reads the mode — reports mi(30,62). The | |
| 1597 | +phase/mi are now also published from `decode_inter_block8` at the | |
| 1598 | +block's own `leaf_mi`. | |
| 1599 | + | |
| 1600 | +This is round 22's misattribution class exactly, and it is now closed at | |
| 1601 | +the source rather than worked around: with the label correct the two | |
| 1602 | +sides are demonstrably in the SAME block. | |
| 1603 | + | |
| 1604 | +### The divergence, correctly attributed | |
| 1605 | + | |
| 1606 | +``` | |
| 1607 | +oracle ph=inter mi=(30,62) n=2 s=1 107517 <-- the two missing reads | |
| 1608 | + ph=inter mi=(30,62) n=2 s=1 107518 | |
| 1609 | + ph=inter mi=(30,62) n=8 s=3 107519 | |
| 1610 | +ours ph=inter8 mi=(30,62) n=8 s=3 107517 <-- identical to the oracle's 107519 | |
| 1611 | + ph=inter8 mi=(30,62) n=10 s=0 107518 | |
| 1612 | + ph=inter mi=(32,0) n=2 s=0 107519 | |
| 1613 | +``` | |
| 1614 | + | |
| 1615 | +Reads 107514-107516 pair at mi(30,62) on both sides. Then **this decoder | |
| 1616 | +omits two 2-symbol inter-mode reads that libaom makes**, and its n=8 at | |
| 1617 | +107519 is bit-identical to our n=8 at 107517 — a clean **two-symbol | |
| 1618 | +shift, same block, same coder state** (pre `val=45039, rng=61960`). | |
| 1619 | + | |
| 1620 | +**Not claimed: which two symbols.** libaom's 2-symbol reads in this | |
| 1621 | +region are `interintra_cdf[bsize_group]` (decodemv.c:1628) and, after a | |
| 1622 | +compound block, `comp_group_idx` / `compound_idx` (:1677, :1685); the | |
| 1623 | +`n=3` pair just before (107514-107515) is in the MV/dmv region, which | |
| 1624 | +this decoder's own path labels `inter8`. Pinning WHICH two requires | |
| 1625 | +matching the read to its CDF context, and the `EC_SYMR` line carries the | |
| 1626 | +`cdf0` pre-value but not the table identity — so the next step is to | |
| 1627 | +extend the print with the CDF pointer (or the `bsize_group`) and pair on | |
| 1628 | +that. I am not going to name them from alphabet size alone; that is the | |
| 1629 | +same shortcut that produced rounds 8, 11 and 15. | |
| 1630 | + | |
| 1631 | +### Handoff | |
| 1632 | + | |
| 1633 | +Extend `EC_SYMR` on both sides with the CDF table IDENTITY (pointer or | |
| 1634 | +`bsize_group`/`size_group` index) alongside `cdf0`. That is the last | |
| 1635 | +thing `cdf0` alone cannot tell you — two rows can share a first entry — | |
| 1636 | +and it converts "two 2-symbol reads" into the named pair. With that, the | |
| 1637 | +gate that decides whether this decoder reads them is one comparison away | |
| 1638 | +in the source. | |
| 1639 | + | |
| 1640 | +Not pinned, no gate, refusal untouched. | |
| 1641 | + | |
| 1584 | 1642 | ## Two refuted hypotheses — do not re-chase |
| 1585 | 1643 | |
| 1586 | 1644 | 1. **"libaom ORs the block's OWN `uv_mode` into the edge-filter type."** False. |