From a384eeb625ce384a2bb4a1176a02515cb3905497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Mon, 28 Sep 2026 13:17:06 +0300 Subject: [PATCH] lane-av1422warp: fix the EC_SYMR cdf slot -- it was printing the phase Instrument bug, found by the round-28 check that flagged it. The format is `ph={} cdf={} ...` but the second argument was `SYMR_PHASE` again, not `SYMR_CDF` -- an off-by-one from inserting the phase argument in round 27 and the cdf one in round 28. So every read reported the PHASE in the cdf field, which is exactly the `inter8` round 28 saw where no code path ever sets that value, and why this lane could not label its own half of the window. With it fixed the tag is live and verified against three distinct tables on a1.obu: interintra 72533, compound_idx 33655, comp_group_idx 13744. No behaviour change -- the print only. Identity re-proved: 4:2:0 control byte-identical to aomdec --rawvideo, 4:4:4 witness byte-identical to the pre-lane build, both pinned 422 witnesses pixel-exact. --- crates/ec-av1/src/msac.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ec-av1/src/msac.rs b/crates/ec-av1/src/msac.rs index c24fcaea..a738a900 100644 --- a/crates/ec-av1/src/msac.rs +++ b/crates/ec-av1/src/msac.rs @@ -467,7 +467,7 @@ impl<'a> SymbolDecoder<'a> { eprintln!( "EC_SYMR ph={} cdf={} mi=({},{}) pre=({},{},{}) cdf0={} n={} s={} post_rng={}", SYMR_PHASE.with(std::cell::Cell::get), - SYMR_PHASE.with(std::cell::Cell::get), + SYMR_CDF.with(std::cell::Cell::get), SYMR_MI.with(std::cell::Cell::get).0, SYMR_MI.with(std::cell::Cell::get).1, pre_value,