forge
Explore
Log in

Don't you dare go Hollow

lane-av1422warp: ladder walked -- first-delta read is the luma mode at mi(64,24)

Browse files at this commit

176bd7ccf255b16bbab0a34f46f234a09d4bb4fdAhmet Kaan GümüşParent: 4fe52c7
Report only; tree byte-identical to ac874969, bypass reverted, aomdec
rebuilt to its committed shape (grep -c bitpos = 0, MODECTX = 0).

Ladder rebuilt with round 13's emission fix on both sides, then
reverted. Instrument note: the two rung SETS differ per path (the
oracle emits a tx_type step this decoder's rect reader has no print
for), so a strict index walk breaks immediately; the ladder is walked
on the all_zero anchors both sides emit once per transform unit, and
the delta map is read off the bit positions in between.

Delta map: constant -14 for every transform unit 0..2427, -11 at 2428.
Inside that window, every oracle read up to and including mi(64,24)'s
dq has a counterpart on our side at +14; the first read without one is
mi(64,24)'s luma mode.

NAMED: the luma mode symbol of mi(64,24). Oracle mode val=6, ours
val=1. The oracle's read spans 92323->92327 (4 bits), ours 92337->92342
(5 bits). Every earlier read pairs exactly; the deviation begins here
and persists to the window end, which is where the -14 -> -11 step
comes from. Same block as the round-7 structural consequence (one 32x32
luma TU against 8x8 leaves).

NOT yet named: same block size and same bit position, different symbol
VALUE, so the divergence is the kf_y_mode[above_ctx][left_ctx] CONTEXT.
This lane tried to print it on both sides and did not get a paired
measurement -- our block reaches read_intra_mode_rect, not the square
read_intra_mode the print was placed in, and the oracle-side MODECTX
rung did not fire in the time available. Both reverted; no fix claimed.

Unblock: print the mode context at mi(64,24) on both sides (ours from
read_intra_mode_rect, the path that block takes; the oracle's from
get_y_mode_cdf) and compare above_mode/left_mode. The unit ladder is
now trustworthy, so once the context pairs the fix follows directly
and the ladder re-run confirms it.

Credit: round 13's instrument correction is what made this round
possible; rounds 11 and 12 both reported artefacts of that placement.
lanes/av1422warp.report.mdmodified+62 -0
@@ -392,6 +392,68 @@ tx_size lookup (the oracle's `get_tx_size_context` for that block is
392392 printable and ours computes the same `above + left` form as everywhere
393393 else).
394394
395+### Round 14 — the ladder walked: the first-delta read is the LUMA `mode` at mi(64,24)
396+
397+Ladder rebuilt with the round-13 emission fix on both sides (position
398+appended before the format string's `\n`; 14 `EC_ISTEP` + 11
399+`EC_COEFF_STEP` sites in the oracle, 18 coefficient + 2 mode-macro sites
400+here), then reverted (`grep -c bitpos` = 0, `MODECTX` = 0).
401+
402+Instrument note, earned the hard way twice already: our `EC_ISTEP`
403+positions come from the `istep!` macro and our `EC_COEFF_STEP` from the
404+per-rung prints, and a strict index walk between the two sides breaks
405+immediately because the two rung SETS differ per path (the oracle emits
406+a `tx_type` step this decoder's rect reader has no print for). The
407+ladder is therefore walked on the **all_zero anchors** — the rung both
408+sides emit once per transform unit — and the delta map is read off the
409+bit positions in between.
410+
411+**The delta map.** Constant **-14** (ours 14 bits ahead) for every
412+transform unit from 0 to 2427, changing to **-11** at unit 2428. Inside
413+that window, with `+14` folded in and every oracle read checked for a
414+counterpart on our side:
415+
416+```
417+ 92321 all_zero plane=2 OK
418+ 92323 skip mi(64,24) OK
419+ 92323 cdef mi(64,24) OK
420+ 92323 dq mi(64,24) OK
421+ 92327 mode mi(64,24) <-- first read with NO counterpart
422+ 92330 angle_y mi(64,24) (re-paired, shifted)
423+ ...
424+ 92339 all_zero <-- delta now -11
425+```
426+
427+**The named read is the luma `mode` symbol of mi(64,24).** Oracle
428+`mode val=6`, ours `mode val=1`. Cost: the oracle's read spans 92323 →
429+92327 (4 bits), ours 92337 → 92342 (5 bits). Every read before it pairs
430+exactly at +14; the deviation begins at this one and persists to the
431+window's end, which is where the -14 → -11 step in the unit ladder
432+comes from. The same block then carries the round-7 structural
433+consequence: one 32x32 luma TU (oracle) against 8x8 leaves (ours).
434+
435+**What is not yet named, stated plainly.** Same block size and same
436+bit position at the read, different symbol VALUE — so the divergence is
437+in the mode CDF ROW, i.e. the `kf_y_mode[above_ctx][left_ctx]` context.
438+This lane tried to print that context on both sides and did not get a
439+paired measurement: our block reaches `read_intra_mode_rect`, not the
440+square `read_intra_mode` the print was placed in, and the oracle-side
441+`MODECTX` rung did not fire under its env var in the time available.
442+Both prints are reverted. **No fix is claimed.**
443+
444+**Unblock.** Print the mode context at mi(64,24) on both sides — ours
445+from `read_intra_mode_rect` (the path that block actually takes), the
446+oracle's `get_y_mode_cdf(ec_ctx, above_mi, left_mi)` — and compare
447+`above_mode` / `left_mode` at mi(64,24). The unit ladder is now a
448+trustworthy instrument, so once the context is paired the fix follows
449+directly and the ladder re-run confirms it.
450+
451+**Credit where it is due.** Round 13's instrument correction — moving
452+the bit position onto the same physical line as its read — is what made
453+this round possible. Rounds 11 and 12 both reported findings that were
454+artefacts of that placement; without the fix this window would have
455+been "analysed" a third time and reached a third wrong conclusion.
456+
395457 ### Round 13 — SETTLED: the oracle DOES consume them, and our reads match exactly
396458
397459 **Outcome (a).** The rung emission is fixed — the bit position is now