diff --git a/crates/ec-av1/src/decode.rs b/crates/ec-av1/src/decode.rs index a662e91d..69b2203a 100644 --- a/crates/ec-av1/src/decode.rs +++ b/crates/ec-av1/src/decode.rs @@ -21476,6 +21476,19 @@ fn read_plane( // filter-intra is on) -- caller passes the raw filter-intra mode 0..4 in // `filter_intra`, only meaningful for `plane_idx == 0` (chroma has no // filter-intra in AV1). + // lane-av1444chr: per-TU mode trace with the PLANE named. `PlaneBuf`'s own + // `OUR_PRED` rung cannot carry it (reconstruction does not know its + // plane), and a rung whose plane has to be guessed from the values has + // already produced wrong claims twice this session -- `read_coeffs_rect` + // labelling its unit `plane=0`, and a sweep reading a second-luma-unit + // phantom out of that label (class `rung-mislabels-plane`). Diagnostic + // only: no gate asserts decode behaviour off this line. + if crate::envflags::env_flag!("EC_TRACE_MODE") { + eprintln!( + "OUR_MODE plane={plane_idx} x={x} y={y} side={side} mode={predict_mode} \ + ad={angle_delta} fi={filter_intra:?} reach={reach:?}" + ); + } let tx_mode = if plane_idx == 0 { fi_tx_row(tx_mode, filter_intra) } else { diff --git a/lanes/av1readcensus.report.md b/lanes/av1readcensus.report.md index c7e24d21..41be7e3e 100644 --- a/lanes/av1readcensus.report.md +++ b/lanes/av1readcensus.report.md @@ -1,8 +1,9 @@ # lane-av1readcensus — the 4:4:4 coefficient-read count asymmetry, settled -**Branch:** `lane-av1readcensus`, worktree `~/.cache/wt/av1readcensus`, stacked on -`lane-av1chrtx` (`ff7cf47c`, whose `d791c464` threaded the real plane index into -`read_coeffs_rect`'s traces — the census pairs on that). +**Branch:** `lane-av1chrtx` (my charter's branch), worktree `~/.cache/wt/av1chrtx`. +The census commit `ea97eb0c` sits on top of `ff7cf47c`, whose `d791c464` threaded +the real plane index into `read_coeffs_rect`'s traces — the census pairs on that, +and reuses its `plane` argument rather than adding a second one. **Verdict: COUNTING SHAPE — and not even that. On every pixel-exact 4:4:4 arm there is no asymmetry at all: both sides walk the same number of units, in the