diff --git a/crates/ec-av1/examples/decode_probe.rs b/crates/ec-av1/examples/decode_probe.rs index bc36ce1f..8dd17bdb 100644 --- a/crates/ec-av1/examples/decode_probe.rs +++ b/crates/ec-av1/examples/decode_probe.rs @@ -109,6 +109,10 @@ fn main() { "llintra8_chroma_walk: {}", ec_av1::decode::llintra8_chroma_walk_hits() ); + println!( + "sub8rect444_chroma_walk: {}", + ec_av1::decode::llsub8rect444_chroma_walk_hits() + ); let si = ec_av1::stream::sub8_intra_rect_hits(); println!( "sub8_intra_rect: horz8x4={} vert4x8={} chroma_ref={} mixed={} split4x4={}", diff --git a/crates/ec-av1/fixtures/ll444_defaultp_inter_strip.obu b/crates/ec-av1/fixtures/ll444_defaultp_inter_strip.obu new file mode 100644 index 0000000000000000000000000000000000000000..6aae3f74b50cb7bb0cb113a9de7ae1b0f27ebb8b GIT binary patch literal 32487 zcmV(hK={8B0165q0009w`|tnE5HgxQ6aXLq0QtGyPu!6u{lzixoI28h>c&p9o#pz5 zTF`E~bE!&nB&YBbSuaSRQsBRhn)9@{)Sh)uPN)c5x+y`sgM_;aOMwq^=++F$3!A!j zq2TEv4B*jK8I@w)yGzOu(yrq;cOFOIq~UpV=FWGQ`E=*@C4^jJkKtfy+Nc?~2r>E> za7s8;uBS=l5gKX@#}+JLPYQZCG+1Kl^=2_$)t0{~&M0IdNdFIV%Q^iDtKI72t}7ik zgE>Bqy|=~I7G1W@g^WYkrG<3y;Es-9Ig+JNk4W6! zskI$yrj}Jv{byTp$|JQQb#MskLp`PYXpwja)oS>y^d^9c+PK#}8P2v3$SwpgArS5ONXeQuOQ zR!`$sq9Tov$H(2vm0j^Jg0Vw!kS(<6Ty>8j>v6}@_~MAwqdwMP2NB+;!nQOw1&JBR z8<_>}URfJE6HPP#wzo>l+pbr`p;_#dCA0jg^m6@A{g-&H+tQ$G*1vaX(5e^5Pz|wY zB2I{swy!_&hTM{Z&BqWl?Y>*{Pqgj7>%ta%YUBcgAmqM*YH=HP3PGyk;^YZYGe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3fMf#Dm#$61Y;Uxkg$%)L0pB(5*y$(IbM~*#Rt0+!l8y7P<{UL5KIV5sqwh1 zfrJpkz_6=kdtpDz%liE?d?RHy1Jp#t!Wp3sG*$@XrplG#I_(~He~|{^xXrb*$KeOv zu%jEVC^Wo{20A^=Z4^{5MXt2)Io)TWlLmy0F zEKc$;)85=$pg)QckH$}OvwaX7Sm4#wG!7`uN{n~~DBjn{Sd6Q@EOQ?2VlU$ofC$mE z9GC-YY%vOxwOpx7O~H4Mm5QyNhveWMf=+nRF4S;KBTg2%rfGmf)BEToJs@*!BTnng z#yx;hA$7X64J@(6xkNR)YUV^}DF$1X`Oo4@A9C26Ic=6Z)vk<}EhH%<-J=)RdZOtVyU6@jTvkoCO2XmXhmOGIXiNhK#wS~z0pGT7b3(>sFu|g+2mimDxH?@Yr+U_C*ST}9roOh~v!0fwc zUvWLfB$kiUUD`8&5u>#?G}^(@GJYUuVL#};6r%#kHr(Cu@m0dC(|ysEV*s!*WaHVk z4utHePD#X%S}E;%9tif6)MlYrd?kcxaj#(?gC*#-Boa0|8_8~Ww!$Tsk$rss;2w%Ru~chG7T~X01FUcqd)+F0L9=n C+xrjz literal 0 HcmV?d00001 diff --git a/crates/ec-av1/src/decode.rs b/crates/ec-av1/src/decode.rs index 92443a2b..2bdcf68e 100644 --- a/crates/ec-av1/src/decode.rs +++ b/crates/ec-av1/src/decode.rs @@ -8469,7 +8469,7 @@ impl Neighbours { o.2 += dc_vote(left[plane].dc); } } - out + out } /// [`Self::around`] with independent above (`w`)/left (`h`) extents, in @@ -25950,6 +25950,22 @@ pub fn llintra8_chroma_walk_hits() -> usize { LLINTRA8_CHROMA_WALK_HITS.with(|c| c.get()) } +thread_local! { + /// lane-av1sub8rect444: how many of `decode_intra_sub8_leaf`'s 8x4/4x8 + /// INTRA leaves ran the lossless 4:4:4 per-unit chroma walk (two TX_4X4 + /// units per plane, plane-major) instead of one TX_8X4/TX_4X8 rect unit + /// -- the shape whose unit count AND skip ctx the rect read got wrong. + /// A gate proving the arm fired; CHROMA_SPLIT_TX_HITS cannot attribute + /// its bumps to THIS leaf. + pub(crate) static LLSUB8RECT444_CHROMA_WALK_HITS: std::cell::Cell = const { std::cell::Cell::new(0) }; +} + +/// [`LLSUB8RECT444_CHROMA_WALK_HITS`]: lossless 4:4:4 chroma walks through a +/// sub-8 8x4/4x8 INTRA leaf. +pub fn llsub8rect444_chroma_walk_hits() -> usize { + LLSUB8RECT444_CHROMA_WALK_HITS.with(|c| c.get()) +} + fn read_sb128_root( dec: &mut SymbolDecoder, cdfs: &mut Cdfs, @@ -35914,9 +35930,20 @@ fn decode_intra_sub8_leaf( // No angle delta below 8x8 (`av1_use_angle_delta`), for luma or chroma. let angle_delta_y = 0; let (uv_mode, alpha) = if has_chroma { - // `is_cfl_allowed` is `wide <= 32 && high <= 32` -- true for this - // shape, so the 14-symbol CFL alphabet is the right one. - let uv_mode = dec.symbol(&mut cdfs.uv_mode_cfl[mode]); + // `is_cfl_allowed` (blockd.h): away from lossless it is + // `wide <= 32 && high <= 32` -- true for this shape; at lossless the + // CHROMA plane block must be a single TX_4X4, so at 4:4:4 only the + // 4x4 leaf keeps the 14-symbol CFL alphabet while an 8x4/4x8 leaf + // reads the 13-symbol `uv_mode_no_cfl` one (the t6 frame-1 8x4 leaf + // desynced at its uv_mode symbol reading the CFL alphabet, + // lane-av1llintercdf). At 4:2:0 a sub-8 shape's chroma block is + // always 4x4-or-smaller, so the predicate stays true and this read + // is unchanged. + let uv_mode = if cfl_allowed_px(bw, bh, fctx) { + dec.symbol(&mut cdfs.uv_mode_cfl[mode]) + } else { + dec.symbol(&mut cdfs.uv_mode_no_cfl[mode]) + }; if step { eprintln!( "EC_ISTEP mi_row={} mi_col={} name=uv_mode val={uv_mode} rng={}", @@ -36291,6 +36318,7 @@ fn decode_intra_sub8_leaf( } let ac = alpha.map(|_| if chroma_444 { cfl_src_rect(px, py, bw, bh) } else { cfl_src(gpx, gpy, 8) }); + let mut chroma_stamped_per_unit = false; let (u_grid, v_grid): (Grid, Grid) = if skip { if alpha.is_some() { hit!(CHROMA_SKIP_CFL_HITS); @@ -36307,6 +36335,95 @@ fn decode_intra_sub8_leaf( (Grid::Zero(16), Grid::Zero(16)) } } else if chroma_444 && bw != bh { + if lossless(fctx) { + // lane-av1sub8rect444: lossless codes TX_4X4 on EVERY plane + // (`av1_get_tx_size`, blockd.h:1383), so this leaf's 8x4/4x8 + // chroma plane block is a 1x2/2x1 raster of TX_4X4 units per + // plane, PLANE-MAJOR -- the same per-unit walk + // [`read_intra_chroma_lossless`] runs for whole blocks and this + // leaf's own luma `split` runs above, not one TX_8X4/TX_4X8 + // rect unit. The rect read was wrong twice over: its unit count + // left the second unit's coefficients in the bitstream, and its + // skip ctx fixed at above+left missed `get_txb_ctx`'s + // plane-block-bigger-than-transform term (libaom ctx 10+above + // +left, our tables' +3), where the oracle read ctx 11≡4. + let (mut uo, mut vo) = (Vec::new(), Vec::new()); + for plane_idx in 1..3 { + for tu in 0..2usize { + let (ox, oy) = if vert { (0, tu * 4) } else { (tu * 4, 0) }; + // libaom's `max_blocks_wide/high` clip: a unit whose + // origin is past the frame edge is not coded at all + // (`decode_token_recon_block`). At 4:4:4 the unit's + // chroma origin is the leaf's own (px, py). + if px + ox >= u.true_width || py + oy >= u.true_height { + continue; + } + // At 4:4:4 a TX_4X4 chroma unit IS one mi cell. + let tu_mi = (lmi.0 + oy / MI, lmi.1 + ox / MI); + let tu_around = neighbours.around_mi(tu_mi, MI); + let tu_r = tu_reach( + bw, + bh, + ox, + oy, + 4, + reach_c, + px, + py, + y.width, + y.height, fctx, + ); + let buf: &mut PlaneBuf<'static> = + if plane_idx == 1 { &mut *u } else { &mut *v }; + // The plane block (8x4/4x8) is bigger than the TX_4X4 + // transform, so `get_txb_ctx`'s chroma ctx_offset is 10, + // not 7 -- our chroma tables carry the offset-10 rows at + // +3, the same `Some(3)` [`read_intra_chroma_lossless`] + // derives from `blk_w > 4 || blk_h > 4`. + let tu_grid = read_plane( + dec, + cdfs, + TxbSet::Chroma4, + scan4, + plane_idx, + tu_around[plane_idx], + mode, + uv_predict_mode, + angle_delta_uv, + tu_r, + buf, + px + ox, + py + oy, + 4, + TX4, + base_q_idx, + None, + None, + Some(3), + smooth_neighbor_uv, fctx, + )?; + // The unit's own coefficient context, stamped per unit + // (`av1_set_contexts`); the tail's whole-leaf chroma + // stamp below is skipped for this shape. + neighbours.record_mi_chroma(tu_mi, 4, 4, plane_idx, &tu_grid); + hit!(CHROMA_SPLIT_TX_HITS); + let dst = mu_units( + if plane_idx == 1 { &mut uo } else { &mut vo }, + bw * bh, + ); + for row in 0..4 { + let start = (oy + row) * bw + ox; + dst[start..start + 4].copy_from_slice(&tu_grid[row * 4..][..4]); + } + } + } + chroma_stamped_per_unit = true; + hit!(LLSUB8RECT444_CHROMA_WALK_HITS); + ( + if uo.is_empty() { Grid::Zero(bw * bh) } else { Grid::Own(uo) }, + if vo.is_empty() { Grid::Zero(bw * bh) } else { Grid::Own(vo) }, + ) + } else { // The leaf's own TX_8X4/TX_4X8 chroma unit: it IS the chroma plane // block, so `get_txb_ctx` fixes the skip context at above+left. let ca = neighbours.around_mi_rect(lmi, bw, bh); @@ -36345,6 +36462,7 @@ fn decode_intra_sub8_leaf( let ug = read_chroma(1, ca[1], alpha.zip(ac).map(|((au, _), ac)| (au, ac)))?; let vg = read_chroma(2, ca[2], alpha.zip(ac).map(|((_, av), ac)| (av, ac)))?; (ug, vg) + } } else { let chroma_around = neighbours.around_mi(if chroma_444 { lmi } else { group_mi }, if chroma_444 { 4 } else { 8 }); let ug = read_plane( @@ -36359,9 +36477,19 @@ fn decode_intra_sub8_leaf( )?; (ug, vg) }; + // The 4:4:4 lossless walk above already stamped these bands PER UNIT + // (raster-order last writer per cell, exactly libaom's per-entry last + // update); the whole-leaf aggregate would clobber the two units' distinct + // states with one, so it runs only for the one-unit shapes (the same rule + // [`decode_leaf8`]'s intrabc arm and the inter 8x8 leaf obey). The walk + // must skip the 4:2:0 group-tail below too: it spans the GROUP's two mi + // rows/cols with one composed state, which would overwrite the walk's + // own stamps with the whole-leaf aggregate. if chroma_444 { - neighbours.record_mi_chroma(lmi, bw, bh, 1, &u_grid); - neighbours.record_mi_chroma(lmi, bw, bh, 2, &v_grid); + if !chroma_stamped_per_unit { + neighbours.record_mi_chroma(lmi, bw, bh, 1, &u_grid); + neighbours.record_mi_chroma(lmi, bw, bh, 2, &v_grid); + } } else { let round_up_even = |n: usize| n.div_ceil(2) * 2; let bound_h = round_up_even(neighbours.mi_rows); diff --git a/crates/ec-av1/src/stream.rs b/crates/ec-av1/src/stream.rs index 2cbdc3ea..2cb68dbe 100644 --- a/crates/ec-av1/src/stream.rs +++ b/crates/ec-av1/src/stream.rs @@ -6049,6 +6049,115 @@ pub(crate) mod tests { } } + /// lane-av1-444interband: the DEFAULT-partition lossless 4:4:4 pin for + /// the inter 16x4/4x16 strip's chroma band stamping (the pair_chroma + /// 4:2:0-only gate, commit d5325172). Fixture pinned into `fixtures/`: + /// testsrc2 128x96 yuv444p, aomenc `--profile=1 --lossless=1 + /// --enable-palette=0 --enable-intrabc=0 --passes=1 --cpu-used=4 + /// --limit=6 --obu` (the av1llkf.report.md recipe), 6 frames; 32487 + /// bytes, sha256 + /// `1e6dd4e05038c8d51e2c8d29f8c337130c4fea0aed629415535e6e53af9a2c72`. + /// + /// This is the stream whose frame 1 desynced at the 16x4 inter strip + /// mi(2,8) -- its U bc=0 `txb_skip` read base 0 where aom reads base 1, + /// because the skipped strip (1,8)'s pair-form context stamp smeared + /// zero over `left[2][1]`. Two pins, both measured at d5325172: + /// end-to-end, every sample of every frame must match the oracle + /// aomdec exactly (the pre-fix tree refuses mid-frame-1, so the gate + /// is red by refusal, not by silent pass), and the 1:4 counter delta + /// must show the strips decoded WITHOUT the pair rewrite firing + /// (`horz4=20 vert4=28 chroma_pairs=0` -- chroma_pairs > 0 on this + /// pairless 4:4:4 stream is the defect reappearing, the + /// class `pair-rewrite-at-ss0`). + #[test] + fn a_lossless_444_defaultp_inter_strip_stream_decodes_byte_exact() { + const NAME: &str = "a_lossless_444_defaultp_inter_strip_stream_decodes_byte_exact"; + const FIXTURE_LEN: usize = 32487; + const FIXTURE_FNV: u64 = 0x5278_9f0f_ce2d_1e52; + const W: usize = 128; + const H: usize = 96; + const FRAMES: usize = 6; + let obu = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")) + .join("fixtures/ll444_defaultp_inter_strip.obu"); + let stream = std::fs::read(&obu).unwrap_or_else(|e| { + panic!( + "{NAME}: pinned fixture {} is missing ({e}) -- the gate cannot run, \ + which is a failure, not a skip", + obu.display() + ) + }); + assert_eq!(stream.len(), FIXTURE_LEN, "{NAME}: fixture length moved"); + assert_eq!(fnv1a64(&stream), FIXTURE_FNV, "{NAME}: fixture bytes moved"); + + let _guard = lock_gate_counters(); + let strips_before = decode::inter16_rect4_counters(); + let frames = decode_stream(&stream).unwrap_or_else(|e| { + panic!("{NAME}: the pinned stream no longer decodes cleanly: {e}") + }); + let strips_after = decode::inter16_rect4_counters(); + assert_eq!(frames.len(), FRAMES, "{NAME}: frame count"); + for f in &frames { + assert_eq!((f.width, f.height), (W, H), "{NAME}: dimensions"); + } + // The 1:4 strips must have fired, and the 4:2:0 pair rewrite must + // NOT have (there are no chroma pairs at ss 0/0). + let (horz4, vert4, chroma_pairs) = ( + strips_after.0 - strips_before.0, + strips_after.1 - strips_before.1, + strips_after.2 - strips_before.2, + ); + assert_eq!(horz4, 20, "{NAME}: HORZ_4 strip count moved"); + assert_eq!(vert4, 28, "{NAME}: VERT_4 strip count moved"); + assert_eq!( + chroma_pairs, 0, + "{NAME}: chroma pairs closed on a 4:4:4 stream \ + (class pair-rewrite-at-ss0)" + ); + + // The oracle aomdec, rawvideo out: FRAMES concatenated yuv444p frames. + if aomdec_path().is_file() { + let dir = std::env::temp_dir().join(format!("ec-av1-ll444dp-{}", std::process::id())); + let _ = std::fs::remove_dir_all(&dir); + std::fs::create_dir_all(&dir).expect("scratch dir"); + let raw = dir.join("aomdec.raw"); + let out = Command::new(aomdec_path()) + .args(["--codec=av1", "--rawvideo", "-o"]) + .arg(&raw) + .arg(&obu) + .stdin(Stdio::null()) + .stdout(Stdio::piped()) + .stderr(Stdio::piped()) + .output() + .expect("aomdec failed to run"); + assert!( + out.status.success(), + "{NAME}: the oracle aomdec refused the stream: {}", + String::from_utf8_lossy(&out.stderr) + ); + let ref_raw = std::fs::read(&raw).expect("aomdec rawvideo output"); + let _ = std::fs::remove_dir_all(&dir); + assert_eq!(ref_raw.len(), W * H * 3 * FRAMES, "{NAME}: aomdec raw size"); + for (i, f) in frames.iter().enumerate() { + let base = i * W * H * 3; + for ((plane, off), p) in [(&f.y, 0usize), (&f.u, W * H), (&f.v, 2 * W * H)] + .into_iter() + .zip(["y", "u", "v"]) + { + let want = &ref_raw[base + off..base + off + W * H]; + let bad = plane.iter().zip(want).filter(|&(&a, &b)| a as u8 != b).count(); + assert_eq!( + bad, 0, + "{NAME}: aomdec frame {i} plane {p}: {bad} samples differ \ + (class pair-rewrite-at-ss0)" + ); + } + } + } else { + eprintln!("SKIP {NAME} aomdec arm: no oracle aomdec at {}", aomdec_path().display()); + } + } + + /// lane-lossless128: a LOSSLESS key frame that codes a 128-axis /// (`BLOCK_64X128`) intra block -- the shape libaom's `read_tx_size` forces /// to `TX_4X4` on its very first line (`decodeframe.c:1183`), so every plane diff --git a/lanes/av1444interband.report.md b/lanes/av1444interband.report.md new file mode 100644 index 00000000..f57b9a7b --- /dev/null +++ b/lanes/av1444interband.report.md @@ -0,0 +1,132 @@ +# lane-av1-444interband: the inter 1:4 strip's 4:4:4 chroma band stamping + +## Ticket + +Fix the 4:4:4 lossless 16x4 inter strip band stamping (t6 next-site from +av1sub8rect444's measurement: post-fix desync at the 16x4 INTER strip +mi(2,8), U unit (2,8) — ours `txb_skip` ctx 3 vs oracle ctx 11 with raw +cells `above=[0,] left=[23,]`), or stop with the site narrowed further. +Worktree at f41d649b, branch lane-av1-444interband. + +## Named site, re-measured (the report's attribution needed one correction) + +Fixture `/tmp/llkf/t6.obu`, sha256 +`1e6dd4e05038c8d51e2c8d29f8c337130c4fea0aed629415535e6e53af9a2c72`, +32487 bytes (scratch, regenerable per av1llkf.report.md's recipe; +testsrc2 128x96, 1 key + 5 inter frames, `--profile=1 --lossless=1 +--enable-palette=0 --enable-intrabc=0`, default partition, sb128). +Oracle: the shared patched `$HOME/.cache/aom-oracle/build`, fresh +`aomdec --rawvideo` on the same bytes. + +- Pre-change at f41d649b, our decoder refuses mid-frame-1 + (`a Golomb tail longer than this decoder reads`) — fail-before, + measured before the edit on this tree. +- The oracle's cell dump (`EC_ECDUMP`) walks `left[2][1]` (U plane, mi + row 2) across frame 1: the last writer before the failing read is the + 16x16-INTRA block (0,4)'s U unit bc=3/br=2 (event #2379), which + stamps cul_level 23 (mag 7, dc set); nothing else touches the cell + until the (2,8) strip's U bc=0 reads it as 23. The skipped inter + strips (0,8)/(1,8) log no coefficients and their + `av1_reset_entropy_context` (decodeframe.c:1180) zero only their OWN + cells — row 2's chroma left cell is not theirs to clear. +- Correction to the inherited attribution: our ctx 3 on the failing + read is a `TxbSet::Chroma4` TABLE ROW (base 0 in the +3 offset-10 + layout), not a luma `skip_contexts` value — the read is the strip's + U bc=0 (`side=4` = the 4x4 chroma tables), so the report's "U unit + (2,8), ctx 3 vs 11" stands; the detour through "luma bc=3" was a + rung-semantics misread (our `EC_ECDUMP_IN` logs the raw `skip_ctx` + argument, which for chroma callers is the pre-offset base/row). + +## Root cause + +`decode_inter_block`'s strip tail ran lane-inter16ab r2's `pair_chroma` +rewrite unconditionally. The rewrite stamps the PAIR-form chroma span — +16x8 (HORZ) / 8x16 (VERT) at `pair_mi`, planes 1/2 — which is libaom's +single `av1_set_entropy_contexts` call for the 4:2:0 pair's 8x4 (4x8) +chroma unit. At ss 0/0 there is no pair: `pair_mi` == the strip's own +mi, every strip is its own chroma reference, and the strip's own +`record_rect_mi` (zero grids on the skip arm) already stamps exactly +its own 16x4 (4x16) chroma span — the `av1_set_entropy_contexts` / +`av1_reset_entropy_context` behaviour. The rewrite therefore smeared +the strip's state one extra row (col) too far: skipped strip (1,8) +wrote zero over `left[2][1..2]`, erasing the (0,4) intra block's U/V +stamps, and (2,8)'s U walk then read base 0 where aom reads base 1. +Counter evidence: `INTER16_CHROMA_PAIR_HITS` fired 31x on this +pairless 4:4:4 stream (its documented meaning is "odd strips that +close a 4:2:0 chroma pair"). + +## Change (decode.rs, one filter + one trace rung) + +1. `pair_chroma` now carries `.filter(|_| ss_x(fctx) == 1 && + ss_y(fctx) == 1)`: the pair-span rewrite exists only at 4:2:0, where + it is byte-preserved (the added condition is false-only-at-ss-0). +2. `record_mi_chroma` gained the chroma twin of the existing + `EC_ECPUB` rung: `EC_CHROMA_PUB plane= mi=() wh=() lvl= dc=`, + env-gated eprintln (the instrument that localized this site; kept + for the next band hunt). + +Sibling ownership clean: the edit is in `decode_inter_block`'s tail +(lane-inter16ab's rewrite region), not `sub8_leaf_chroma444` nor +`decode_intra_sub8_leaf`. + +## Verification (measured, this tree @ d5325172) + +- Entropy/pixel witness, t6.obu vs fresh `aomdec --rawvideo` + ($HOME/.cache/aom-oracle/build): all 6 frames decode (pre-change the + decode refused mid-frame-1) and frames 0..5 are **byte-exact, 0 + differing bytes** per frame (36864 B/frame compared). Frame exactness + is claimed on exactly that basis. +- Non-vacuity: `inter16_1to4` counters on the full t6 decode: + `horz4=20 vert4=28 chroma_pairs=0` (was `chroma_pairs=31` while the + strips decoded); the strips themselves still decode and the frames + above prove it. +- Gates: `cargo test -p ec-av1 --lib a_lossless` → 7 passed, 0 failed + (both 4:2:0 lossless libaom gates, the 444 min-partition-64 and + min-partition-8 inter gates, the sb128 pair, the 16x4 pair). The + 4:2:0 inter 16x4 aomenc sweep + (`a_real_aomenc_inter_sequence_with_intra_16x4_strips_...`) is + yuv420p-only and the change is no-op at 4:2:0 by construction (the + filter's condition is satisfied there); not re-run this round. +- `cargo check -p ec-av1 --all-targets` (target dir + `$HOME/.cache/cargo-target-av1444interband`, ec-av1 cleaned first): + 0 warnings, 0 errors. `rustfmt --check` reports no hunks inside the + edited ranges (the crate's pre-existing let-chains drift is + untouched). +- Commit d5325172 on lane-av1-444interband. Not pushed. + +### Addendum (review P2): the t6 pin is now an in-tree gate + +Main's review follow-up: commit +`ll444_defaultp_inter_strip.obu` (force-added fixture, 32487 bytes, +sha256 `1e6dd4e05038c8d51e2c8d29f8c337130c4fea0aed629415535e6e53af9a2c72`, +FNV1a64 `52789f0fce2d1e52` per the crate's pin convention) and gate +`a_lossless_444_defaultp_inter_strip_stream_decodes_byte_exact` +(stream.rs, av1llpredgate2's pinned-fixture pattern): len + FNV pin, +the 1:4 counter delta pinned to `horz4=20 vert4=28 chroma_pairs=0`, +and the env-conditional aomdec arm requiring all 6 frames sample-exact. +Mutation-proven load-bearing: with the ss-0 filter reverted the gate +fails at the pre-fix refusal; restored, it is green (8 passed in the +a_lossless battery). + +## Named, not chased (spoken) + +1. `Neighbour::level` clamps `cul_level` to 7 while aom stores up to 15 + (`COEFF_CONTEXT_MASK` = 15, dc sign in bit 4). Invisible to every + context derived from the cells (the `txb_skip` categories only + distinguish {0} / {1..3} / {>=4}, and dc sign rides its own field), + so it is representation drift, not a defect — noted so nobody + "fixes" the stored value into a desync. +2. Oracle-side f2 cross-reference: lane-av1lrflush's 444sb witness f2 + diverges at PREFILT entering at column 128 (inter 64x128 at + (128,0)), plausibly this same skipped-inter-strip class one size up + (their filter-pipeline/LR exoneration is consistent with our + entropy-domain finding). Main owns the 444sb gate extension + (take(2) -> take(3)) once this lands. deferred(that check, unblock: + their f2 witness bytes against this tree). +3. Whole-stream read-pairing via `EC_ECDUMP_IN`/`EC_ECDUMP` (dif,rng) + triples is NOT a reliable event alignment across the two + implementations: the internal daala-EC representations legitimately + diverge while decoding identically (frame 0 is pixel-exact yet its + pre-read triples fail 1:1 pairing). The robust comparators are + pixels, refusal points, and ctx/cell values. Recorded so the next + band lane doesn't burn a round on the same lesson. diff --git a/lanes/av1llintercdf.report.md b/lanes/av1llintercdf.report.md new file mode 100644 index 00000000..019e7dfe --- /dev/null +++ b/lanes/av1llintercdf.report.md @@ -0,0 +1,100 @@ +# lane-av1llintercdf: the t6 frame-1 INTER all_zero divergence named (and the one-site fix) + +## Ticket + +Deferred item 1 of `lanes/av1llkf.report.md`: the 6-frame default-partition +lossless 4:4:4 testsrc2 stream (t6) reads frame 0 fully exact, then diverges at +frame 1 (INTER), luma `all_zero` read #2317 — "same ctx row (1) and same decoded +value as the oracle but different CDF contents (ours `cdf0=5892` vs aom +`27244`)", suspected adaptation-history/row-selection desync. Name the divergent +symbol and its reader, decide missed-update vs applied-twice, fix only if one +site. + +## The llkf reading is refuted — the CDF rows were EQUAL + +Both trace printers were misread as the same quantity: + +- ours (`decode.rs:6811-6823`): `cdf=[a, 32768, n]` is the row snapshot taken + BEFORE `dec.symbol` — the PRE-update row, in OUR storage, where + `ours_v = 32768 - aom_v` (complement). +- oracle (`decodetxb.c:161`): `cdf0=` is printed AFTER `aom_read_symbol` — the + POST-update value in aom storage. + +Replaying frame 0 read-by-read (rate-4 adaptation, val=0 up / val=1 down in our +convention) matches every printed pair: at the divergent read aom's pre-state +was `26876` (aom storage) = `5892` (ours) — the rows were IDENTICAL, and both +sides adapted that read symmetrically. So the answer to "missed update or +applied twice" is **neither**: there was no adaptation desync at all; the rng +mismatch at read #2316 (0-indexed; the report's #2317) came from symbols read +EARLIER in the same block's mode info, which the all_zero-only ladder cannot +see. + +## The divergent symbol and reader (measured, t6, EC_ECDUMP_IN + EC_TRACE_COEFF ++ EC_TRACE_MODE_STEP on both sides) + +Between the last coefficient read of frame 1's first superblock row and read +#2316, both sides decode the INTRA 8x4 leaf at mi=(0,2) — an intra leaf inside +an INTER frame, through `read_intra_block_mode_info` (decodemv.c:1065). The +states part inside its `uv_mode` read: + +- ours pre-`use_filter_intra` rng 60904, oracle 58668; ours consumed 100 bits + across the block's mode info, the oracle 98 (+2). +- ours read `uv_mode` off the **14-symbol `uv_mode_cfl`** row + (`decode.rs:35703`, then unconditional); the oracle reads it off the + **13-symbol `uv_mode_no_cfl`** row, because `av1_is_cfl_allowed` (blockd.h) + returns 0 for a lossless block whose chroma plane block is not a single + TX_4X4 — an 8x4 leaf at 4:4:4 has an 8x4 chroma plane block. + +Reader: `decode_intra_sub8_leaf`'s uv read (`decode.rs:35703`), the one +`uv_mode` site that bypassed the canonical `cfl_allowed_px` predicate every +other uv read site uses (`decode.rs:9791, 11206, 15610, 18853, 34062, 38675`). +The block comment there stated only the non-lossless term. + +The neighbouring 4x4 leaf (mi=(0,1)) kept matching by construction: at 4:4:4 +lossless a 4x4 leaf's chroma block IS a single TX_4X4, so CFL stays allowed and +the 14-symbol row is correct there — which is why frame 1 synced for 2316 reads +and 5 blocks before diverging on the first 8x4. + +## Change (decode.rs, one site) + +`decode_intra_sub8_leaf`'s uv read now goes through +`cfl_allowed_px(bw, bh, fctx)` — the canonical predicate, which already +implements the lossless term (chroma plane block must be a single TX_4X4). +4:2:0 is arithmetically identical: every sub-8 shape's chroma block is +4x4-or-smaller under 4:2:0, so the predicate stays true and the row choice is +unchanged; the 4:2:0 lossless gates (below) are green. + +## Verification (measured, this tree @ HEAD + this change) + +- Entropy: pairs #2316 and #2317 (the whole 8x4 leaf's luma) now match the + oracle's (value, rng) exactly, and the ECIN bits delta returns to the + constant +15 header offset through the block. +- Byte witness: t6 frame 0 is byte-exact vs fresh `aomdec --rawvideo` (36864 + bytes; sha256 of the full 6-frame decode differs — see the deferred item). +- Gates: `cargo test -p ec-av1 --lib a_lossless` → 7 passed, 0 failed (both + 4:2:0 lossless libaom gates, the 444 min-partition-64 inter gate, the sb128 + pair, the 16x4 pair). +- `cargo check -p ec-av1 --all-targets` (target dir + `$HOME/.cache/cargo-target-av1llintercdf`): 0 warnings, 0 errors. + +## Named, not chased (spoken) + +1. t6 frames 1..5 still differ (first diff frame-1 byte 65): a SECOND site in + the same leaf, independent of the alphabet fix. At the still-shared state + rng=51429 after the 8x4 leaf's luma, the oracle reads the leaf's chroma as + FOUR TX_4X4 units (plane 1 bc=0,1 ctx=11 then plane 2 bc=0,1 — lossless + forces per-unit TX_4X4), while `decode_intra_sub8_leaf`'s + `chroma_444 && bw != bh` arm (`decode.rs:36104-36139`) reads the chroma + plane as ONE `TX_8X4`/`TX_4X8` rect unit per plane (`read_coeffs_rect`, + skip ctx fixed at above+left=1 where the oracle derives 11≡4). The fix is + the b3f815c8-style per-unit lossless 444 chroma walk (unit decomposition + + per-unit `get_txb_ctx` + dropped tx_type), i.e. a shape port of its own — + not a one-site fix, so per the ticket it is stopped-with-site, deferred( + the sub-8 4:4:4 lossless chroma walk; unblock: port the + `decode_leaf_rect8`/8x8-leaf per-unit walk into the `chroma_444 && bw != bh` + arm). +2. Instrument gap, no decode impact: the rect coefficient reader + (`read_coeffs_rect`, `decode.rs:7056`) prints `EC_COEFF_STEP` with a + hardcoded `plane=0` and no `EC_ECDUMP_IN` line, so rect-path reads are + invisible to the (value, rng, bitpos) pairing used here. Worth one rung of + parity next time that path is debugged. diff --git a/lanes/av1sub8rect444.report.md b/lanes/av1sub8rect444.report.md new file mode 100644 index 00000000..771643df --- /dev/null +++ b/lanes/av1sub8rect444.report.md @@ -0,0 +1,95 @@ +# lane-av1sub8rect444: the lossless sub-8 rect leaf's 4:4:4 chroma per-unit walk + +## Ticket + +`lanes/av1llintercdf.report.md` "Named, not chased" item 1: at the shared state +rng=51429 after the 8x4 leaf's luma, the oracle reads the leaf's chroma as +FOUR TX_4X4 units (plane 1 bc=0,1 ctx=11 then plane 2 bc=0,1) while +`decode_intra_sub8_leaf`'s `chroma_444 && bw != bh` arm read the chroma plane +as ONE `TX_8X4`/`TX_4X8` rect unit per plane (`read_coeffs_rect`, skip ctx +fixed at above+left where the oracle derives 11≡4). Wrong unit count AND wrong +skip ctx. Template: b3f815c8's per-unit 8x8-leaf walk. + +## Change (decode.rs, one arm + one tail guard + counter) + +1. `decode_intra_sub8_leaf`'s rect arm now branches on `lossless(fctx)`: the + walk reads the leaf's 8x4/4x8 chroma plane block as a 1x2/2x1 raster of + `TX_4X4` units per plane, PLANE-MAJOR (`av1_get_tx_size`, blockd.h:1383), + via `read_plane` with `TxbSet::Chroma4`, per-unit `around_mi` (per-unit + `get_txb_ctx`), the plane-block-bigger-than-transform `+3` (libaom's +10 + rows, so above+left=1 reads row 4 ↔ libaom ctx 11 — the named 11≡4), and + the lossless tx_type drop (`read_plane`'s own `coding.tx_type = None` for + lossless + DCT_DCT force). Units anchor at the leaf's own (px, py) at + 4:4:4, clip past the frame edge like `read_intra_chroma_lossless`, stamp + each unit's own coefficient context with per-unit `record_mi_chroma` + (`av1_set_contexts` per unit), and assemble the leaf grid at stride bw. + CFL is impossible here (the uv read upstream already takes the + 13-symbol `uv_mode_no_cfl` row for this shape at lossless), so no alpha + rides along — the same `None` the template walks pass. +2. Tail guard: the whole-leaf `record_mi_chroma(lmi, bw, bh, ...)` is skipped + when the walk stamped per unit — NESTED inside the `chroma_444` branch. + The first cut wrote `if chroma_444 && !stamped { record } else { <4:2:0 + group tail> }`, which let a walked leaf fall into the 4:2:0 group tail: + it spans the GROUP's two mi rows/cols with one composed state and + clobbered the walk's own stamps (measured: `above[3][1]` flipped pos→neg + between the walk's stamp and the next leaf's read — the oracle wants the + per-unit value). The nested form skips BOTH branches for the walk. +3. Non-vacuity counter `LLSUB8RECT444_CHROMA_WALK_HITS` + + `llsub8rect444_chroma_walk_hits()` + a `decode_probe` line, per the lane + convention (`CHROMA_SPLIT_TX_HITS` cannot attribute its bumps to this + leaf). 4:2:0 is arithmetically identical: the branch lives inside + `chroma_444`, and the non-lossless rect path and the 4:2:0 group tail are + byte-preserved. + +## Verification (measured, this tree @ HEAD + this change) + +- Entropy witness, `/tmp/llkf/t6.obu` vs fresh `aomdec` + (`$HOME/.cache/aom-oracle/build`), `EC_ECDUMP_IN` (value,rng) pairing: + pre-change the first mismatching read is #2326 — inside the named leaf's + chroma at mi(0,2). Post-change #2316–#2488 pair 1:1: the named leaf's FOUR + chroma units read exactly the oracle's symbols + ((30281,51429)/(20612,34312)/(33129,58376)/(30377,36104) against oracle + ctx 11≡4), the sibling INTER leaf mi(1,2) and everything after pairs, and + the walk counter fires (15 walks stream-wide, `decode_probe`). + Fail-before: with the rect read in place the leaf desynced at its own + chroma (t6 frame-1 first differing pixel byte 65, 16032 differing bytes). +- The stream still diverges — later and at a DIFFERENT block: first + mismatching read #2489, the U unit (2,8) of the 16x4 INTER strip at + mi(2,8): ours reads `txb_skip` ctx 3 (above[8][1]=0, left[2][1]=0) where + the oracle reads ctx 11 with raw cells `above=[0,] left=[23,]` + (`EC_ECDUMP`, the patched oracle's cell dump) — libaom's left[2][1] holds + level 7 / dc 0 from an earlier row-2 writer, ours holds 0. That cell is + written by the 16x16 intra block (0,4)'s chroma band stamping and the + (1,8) 16x4 strip's own tail — `decode_rect4_16_strip` is llcpred's lane. + With the desync now downstream, our decoder refuses honestly at the strip + (`a Golomb tail longer than this decoder reads`) instead of decoding + garbage, so per-frame byte counts are not claimable this round: **t6 + frames 1..5 are NOT exact — no exactness claimed.** Frame 0 is untouched + by construction (both callers, `decode_inter_sub8_split4` and + `decode_inter_sub8_rect2`, are inter-frame paths; the key frame never + reaches this arm) and was byte-exact before. +- Non-regression: `cargo test -p ec-av1 --lib a_lossless` → 7 passed, 0 + failed (both 4:2:0 lossless libaom gates, the 444 min-partition-64 and + min-partition-8 inter gates, the sb128 pair, the 16x4 pair). +- `cargo check -p ec-av1 --all-targets` (target dir + `$HOME/.cache/cargo-target-av1sub8rect444`): 0 warnings, 0 errors. + `rustfmt --check` reports no hunks inside the edited ranges (the crate's + pre-existing drift is untouched). +- Fixtures are scratch in /tmp/llkf (t6.obu, regenerable per + av1llkf.report.md's recipe) and /tmp/llsub8rect444; nothing committed + from them. + +## Named, not chased (spoken) + +1. The t6 next-site: the 16x4 INTER strip's chroma coefficient-context + stamping at 4:4:4 lossless. Measured above (ctx 3 vs 11 on U (2,8); + oracle cells `above=[0] left=[23]`). The row-2 U band state our tree + drops is written by the 16x16-intra/(0,4) stamping and consumed one + superblock later; `decode_rect4_16_strip` is llcpred's lane — per the + ticket this lane stops at the boundary. + deferred(the 16x4 strip's per-unit chroma context stamping at 4:4:4 + lossless; unblock: llcpred's decode_rect4_16_strip lane, t6.obu as the + ready-made fixture, first divergent read #2489 = U unit (2,8)). +2. Instrument parity: `read_coeffs_rect` still has no `EC_ECDUMP_IN` rung + (av1llintercdf item 2) — this lane's walk bypasses the rect reader + entirely, so the rung was not needed here.