diff --git a/crates/ec-av1/src/decode.rs b/crates/ec-av1/src/decode.rs index 59be1127..5006a89c 100644 --- a/crates/ec-av1/src/decode.rs +++ b/crates/ec-av1/src/decode.rs @@ -1426,6 +1426,38 @@ pub(crate) fn mode_mi_override_hits() -> usize { MODE_MI_OVERRIDE_HITS.with(|c| c.get()) } +// lane-cfl r1: how many times a chroma intra-edge filter-type read +// (`get_filt_type`, libaom reconintra.c) took an above/left UV mode from the +// mi-exact map that DIFFERS from its coarse 16x16 slot -- i.e. how often the +// r1 defect would have filtered a chroma edge with the wrong strength. +thread_local! { + static UV_MODE_MI_OVERRIDE_HITS: std::cell::Cell = + const { std::cell::Cell::new(0) }; +} + +/// Current value of [`UV_MODE_MI_OVERRIDE_HITS`]. +pub(crate) fn uv_mode_mi_override_hits() -> usize { + UV_MODE_MI_OVERRIDE_HITS.with(|c| c.get()) +} + +// lane-cfl r1 gate counters: `UV_CFL_PRED` blocks (every `cfl_alpha_signs` +// read) and chroma blocks with a NONZERO `angle_delta_uv` -- the two block +// shapes the r1 chroma defect showed up on. +thread_local! { + static CFL_BLOCK_HITS: std::cell::Cell = const { std::cell::Cell::new(0) }; + static UV_ANGLE_DELTA_HITS: std::cell::Cell = const { std::cell::Cell::new(0) }; +} + +/// Current value of [`CFL_BLOCK_HITS`]. +pub(crate) fn cfl_block_hits() -> usize { + CFL_BLOCK_HITS.with(|c| c.get()) +} + +/// Current value of [`UV_ANGLE_DELTA_HITS`]. +pub(crate) fn uv_angle_delta_hits() -> usize { + UV_ANGLE_DELTA_HITS.with(|c| c.get()) +} + // lane-sbpart r2: how many superblock-level `PARTITION_HORZ`/`PARTITION_VERT` // blocks (two true 64x32/32x64 strips, [`decode_block_rect64`]) fired -- the // gate's proof this round's arms actually reached a real block, not just @@ -3671,7 +3703,14 @@ impl Neighbours { /// block to the right reads via `mi(row, col-1)`). Only sub-8x8 leaves /// read these back, and only when the recorded position is exactly their /// own neighbour -- see [`Self::sub8_mode_col`]'s doc. - fn record_mode_mi(&mut self, mi_r: usize, mi_c: usize, mi_w: usize, mi_h: usize, mode: usize) { + fn record_mode_mi( + &mut self, + mi_r: usize, + mi_c: usize, + mi_w: usize, + mi_h: usize, + mode: usize, + ) { let (last_r, last_c) = (mi_r + mi_h - 1, mi_c + mi_w - 1); for cell in 0..mi_w { if let Some(slot) = self.sub8_mode_col.get_mut(mi_c + cell) { @@ -3739,6 +3778,12 @@ impl Neighbours { Some(&(col, m)) if mi_c > self.tile_col0_mi && col == mi_c - 1 => m, _ => self.left_uv_mode[r], }; + // lane-cfl r1 counter: how often the mi-exact chroma neighbour differs + // from the coarse [`SUB`] slot -- i.e. how often a chroma edge would + // have been filtered at the wrong strength by the coarse map alone. + if above != self.above_uv_mode[c] || left != self.left_uv_mode[r] { + UV_MODE_MI_OVERRIDE_HITS.with(|h| h.set(h.get() + 1)); + } is_smooth_mode(above) || is_smooth_mode(left) } @@ -4390,6 +4435,9 @@ fn read_intra_mode_rect( 0 }; istep!("angle_uv", angle_delta_uv); + if angle_delta_uv != 0 { + UV_ANGLE_DELTA_HITS.with(|c| c.set(c.get() + 1)); + } let mut filter_intra = None; if std::env::var_os("EC_AV1_TRACE").is_some() { let (rng, _) = dec.debug_state(); @@ -4777,7 +4825,7 @@ fn decode_block_rect( // (spec `get_intra_edge_filter_type`) reads the CHROMA neighbour's // `uv_mode`, not the luma one. let smooth_neighbor_uv = - is_smooth_mode(neighbours.above_uv_mode[c]) || is_smooth_mode(neighbours.left_uv_mode[r]); + neighbours.smooth_uv_neighbour(r * (SUB / MI), c * (SUB / MI), r, c); // lane-rectsplit r1: `predict_filter_intra` now takes the block's own // `bw`x`bh` (`av1_filter_intra_predictor_c` walks its 4x2 patches over a // rectangle just as happily), so a `use_filter_intra` strip at this level @@ -5193,6 +5241,10 @@ fn decode_leaf_rect( FILTER_INTRA_RECT_SUB16_HITS.with(|c| c.set(c.get() + 1)); } let uv_predict_mode = if uv_mode == UV_CFL_PRED { DC_PRED } else { uv_mode }; + // lane-cfl r1, same defect as [`decode_leaf_8x8`]: chroma's intra-edge + // filter type is the NEIGHBOUR's `uv_mode` (libaom `get_filt_type`), not + // a constant `false`. + let smooth_neighbor_uv = neighbours.smooth_uv_neighbour(leaf_mi.0, leaf_mi.1, r, c); let depth = if tx_select { let ctx = tx_size_context_rect(neighbours, leaf_mi, bw, bh); dec.symbol(&mut cdfs.tx_size_cat2[ctx]) @@ -5221,11 +5273,11 @@ fn decode_leaf_rect( let ac = alpha.map(|_| cfl_ac_q3_rect(y, px, py, bw, bh)); u.reconstruct_rect( cpx, cpy, chroma_w, chroma_h, uv_predict_mode, angle_delta_uv, reach, &u_levels, - alpha.zip(ac.as_deref()).map(|((au, _), ac)| (au, ac)), None, false, + alpha.zip(ac.as_deref()).map(|((au, _), ac)| (au, ac)), None, smooth_neighbor_uv, ); v.reconstruct_rect( cpx, cpy, chroma_w, chroma_h, uv_predict_mode, angle_delta_uv, reach, &v_levels, - alpha.zip(ac.as_deref()).map(|((_, av), ac)| (av, ac)), None, false, + alpha.zip(ac.as_deref()).map(|((_, av), ac)| (av, ac)), None, smooth_neighbor_uv, ); } else { // lane-rectx: a genuine 16x8/8x16 luma transform (`TxbSet::LumaRect16x8`, @@ -5277,7 +5329,7 @@ fn decode_leaf_rect( ); u.reconstruct_rect( cpx, cpy, chroma_w, chroma_h, uv_predict_mode, angle_delta_uv, reach, &u_residual, - alpha.zip(ac.as_deref()).map(|((au, _), ac)| (au, ac)), None, false, + alpha.zip(ac.as_deref()).map(|((au, _), ac)| (au, ac)), None, smooth_neighbor_uv, ); let v_default_tx = default_intra_tx_type(uv_predict_mode as u8); let v_skip_ctx = usize::from(around[2].0) + usize::from(around[2].1); @@ -5293,7 +5345,7 @@ fn decode_leaf_rect( ); v.reconstruct_rect( cpx, cpy, chroma_w, chroma_h, uv_predict_mode, angle_delta_uv, reach, &v_residual, - alpha.zip(ac.as_deref()).map(|((_, av), ac)| (av, ac)), None, false, + alpha.zip(ac.as_deref()).map(|((_, av), ac)| (av, ac)), None, smooth_neighbor_uv, ); RECT_LEAF_COEFF_HITS.with(|c| c.set(c.get() + 1)); } @@ -5377,7 +5429,7 @@ fn decode_block_rect4( SMOOTH_LUMA_HITS.with(|c| c.set(c.get() + 1)); } let smooth_neighbor_uv = - is_smooth_mode(neighbours.above_uv_mode[c]) || is_smooth_mode(neighbours.left_uv_mode[r]); + neighbours.smooth_uv_neighbour(r * (SUB / MI), c * (SUB / MI), r, c); if filter_intra.is_some() { FILTER_INTRA_RECT_HITS.with(|c| c.set(c.get() + 1)); } @@ -5651,7 +5703,7 @@ fn decode_block_rect64( SMOOTH_LUMA_HITS.with(|c| c.set(c.get() + 1)); } let smooth_neighbor_uv = - is_smooth_mode(neighbours.above_uv_mode[c]) || is_smooth_mode(neighbours.left_uv_mode[r]); + neighbours.smooth_uv_neighbour(r * (SUB / MI), c * (SUB / MI), r, c); if filter_intra.is_some() { // `filter_intra_size_class_rect` already returns `None` for both // `(64, 32)` and `(32, 64)` (`av1_filter_intra_allowed_bsize` caps at @@ -6191,6 +6243,9 @@ fn read_intra_mode( 0 }; istep!("angle_uv", angle_delta_uv); + if angle_delta_uv != 0 { + UV_ANGLE_DELTA_HITS.with(|c| c.set(c.get() + 1)); + } // `read_palette_mode_info` (spec 5.11.13, libaom decodemv.c:567, called // at :840 right after `xd->cfl.store_y` and before `read_filter_intra_mode_info`): // gated by `av1_allow_palette` (blockd.h -- size bound only, @@ -6342,6 +6397,7 @@ const UV_CFL_PRED: usize = 13; /// joint sign the same way. Returns each plane's final signed `alpha_q3` /// (`cfl_idx_to_alpha`, cfl.c): magnitude `idx + 1`, sign-zero collapsing to 0. fn read_cfl_alphas(dec: &mut SymbolDecoder, cdfs: &mut Cdfs) -> (i32, i32) { + CFL_BLOCK_HITS.with(|c| c.set(c.get() + 1)); let joint_sign = dec.symbol(&mut cdfs.cfl_sign) as i32; let sign_u = ((joint_sign + 1) * 11) >> 5; let sign_v = (joint_sign + 1) - 3 * sign_u; @@ -6904,7 +6960,7 @@ fn decode_block( SMOOTH_LUMA_HITS.with(|c| c.set(c.get() + 1)); } let smooth_neighbor_uv = - is_smooth_mode(neighbours.above_uv_mode[c]) || is_smooth_mode(neighbours.left_uv_mode[r]); + neighbours.smooth_uv_neighbour(r * (SUB / MI), c * (SUB / MI), r, c); if std::env::var_os("EC_AV1_TRACE").is_some() { eprintln!( "TRACE block px={px} py={py} side={side} mode={mode} uv_mode={uv_mode} \ @@ -14693,6 +14749,9 @@ fn decode_inter_block( } else { 0 }; + if angle_delta_uv != 0 { + UV_ANGLE_DELTA_HITS.with(|c| c.set(c.get() + 1)); + } uv_predict_mode = if uv_mode == UV_CFL_PRED { DC_PRED } else { @@ -14702,7 +14761,7 @@ fn decode_inter_block( // as [`read_intra_mode`]/[`read_intra_mode_rect`] -- the CHROMA // neighbour's own `uv_mode`, not the luma one. let smooth_neighbor_uv = - is_smooth_mode(neighbours.above_uv_mode[c]) || is_smooth_mode(neighbours.left_uv_mode[r]); + neighbours.smooth_uv_neighbour(r * (SUB / MI), c * (SUB / MI), r, c); // `read_palette_mode_info` (decodemv.c:567, called from // `read_intra_block_mode_info` right after `xd->cfl.store_y`, same // gating and same corner-cut as `read_intra_mode`'s own copy above diff --git a/crates/ec-av1/src/stream.rs b/crates/ec-av1/src/stream.rs index d3a03c7a..dcb77e54 100644 --- a/crates/ec-av1/src/stream.rs +++ b/crates/ec-av1/src/stream.rs @@ -8178,6 +8178,176 @@ mod tests { eprintln!("{NAME}: pixel-exact, mode_mi_override_hits={total_overrides}"); } + /// lane-cfl r1: the chroma intra-edge FILTER TYPE is the neighbour's + /// `uv_mode` (libaom `get_filt_type`, reconintra.c: `chroma_above_mbmi`/ + /// `chroma_left_mbmi` -> `is_smooth` on `uv_mode`), and two whole decode + /// paths passed a hardcoded `false` for it -- `decode_leaf_8x8` (every + /// 8x8 leaf of a SPLIT) and `decode_leaf_rect` (every rect strip below + /// 16x16), on a stale "chroma stays false (exact) until a smooth/paeth + /// uv_mode can reach decode at all" comment. On top of that the coarse + /// `above_uv_mode`/`left_uv_mode` cells are 16px-granular and their + /// `for cell in 0..w / SUB` write runs ZERO times for any block below + /// 16x16, so even the paths that DID read them saw whatever a + /// 16x16-or-larger block had left there (class: context read from one + /// cell / neighbour map at the wrong granularity). Result on this + /// recipe: luma byte-exact, entropy ladder identical, and 40 U + 86 V + /// chroma bytes wrong -- every one of them downstream of one 4x4 chroma + /// block at mi(8,12) whose D135 + `angle_delta_uv=-3` left edge was + /// filtered at the wrong strength (`ft=0` where the instrumented aomdec + /// prints `ft=1`, left edge `95,59,30,28` vs `90,61,37,29`). + /// + /// Both arms hard-assert per-attempt counters for the two chroma block + /// shapes involved (`UV_CFL_PRED` blocks, nonzero `angle_delta_uv` + /// blocks) plus the mi-exact UV-neighbour override, and are counted only + /// on an attempt that decoded AND is pixel-compared. + #[test] + fn a_real_aomenc_stream_whose_chroma_edge_filter_reads_a_sub16_neighbours_uv_mode_decodes_pixel_exact() + { + const NAME: &str = "a_real_aomenc_stream_whose_chroma_edge_filter_reads_a_sub16_neighbours_uv_mode_decodes_pixel_exact"; + let _gate_lock = lock_gate_counters(); + if !have_ffmpeg() { + eprintln!("SKIP {NAME}: no ffmpeg"); + return; + } + if !have_aomenc() { + eprintln!("SKIP {NAME}: no aomenc at {}", aomenc_path().display()); + return; + } + let mut compared = 0usize; + let (width, height) = (64usize, 64usize); + // 8-bit arm = the r5 residue cell ("mandfi161"); 10-bit arm = its + // twin through the same recipe at `--bit-depth=10`. + for depth in [8usize, 10] { + let pix = if depth == 10 { "yuv420p10le" } else { "yuv420p" }; + let y4m = Command::new("ffmpeg") + .args([ + "-v", "error", "-f", "lavfi", "-i", + &format!("mandelbrot=size={width}x{height}:start_x=-0.6"), + "-pix_fmt", pix, "-strict", "-1", "-t", "1", "-vframes", "1", + "-f", "yuv4mpegpipe", "-", + ]) + .stdin(Stdio::null()) + .stdout(Stdio::piped()) + .stderr(Stdio::piped()) + .output() + .expect("ffmpeg failed to run"); + assert!( + y4m.status.success(), + "{NAME}: ffmpeg fixture (depth={depth}): {}", + String::from_utf8_lossy(&y4m.stderr) + ); + let encode = || { + let mut child = Command::new(aomenc_path()) + .args([ + "--codec=av1", "--passes=1", "--end-usage=q", "--cq-level=16", + "--cpu-used=4", "--threads=1", "--row-mt=0", "--sb-size=64", + "--kf-max-dist=0", "--enable-rect-partitions=1", + "--enable-ab-partitions=0", "--enable-1to4-partitions=0", + "--enable-tx-size-search=0", "--enable-filter-intra=1", + "--reduced-tx-type-set=1", "--min-partition-size=8", + "--max-partition-size=32", + &format!("--input-bit-depth={depth}"), + &format!("--bit-depth={depth}"), + "--obu", "-o", "-", "-", + ]) + .stdin(Stdio::piped()) + .stdout(Stdio::piped()) + .stderr(Stdio::piped()) + .spawn() + .expect("aomenc failed to start"); + child + .stdin + .take() + .expect("aomenc stdin") + .write_all(&y4m.stdout) + .expect("writing y4m to aomenc"); + let out = child.wait_with_output().expect("aomenc failed to run"); + assert!( + out.status.success(), + "aomenc refused the fixture (depth={depth}): {}", + String::from_utf8_lossy(&out.stderr) + ); + out.stdout + }; + let stream = encode(); + assert_eq!( + stream, + encode(), + "{NAME}: aomenc output is not reproducible (depth={depth})" + ); + let before_cfl = crate::decode::cfl_block_hits(); + let before_angle = crate::decode::uv_angle_delta_hits(); + let before_uv = crate::decode::uv_mode_mi_override_hits(); + let frames = match decode_stream(&stream) { + Ok(frames) => frames, + // Only a NAMED refusal is tolerated (COMMON rule): the 10-bit + // twin of this recipe still stops at another lane's open + // sub-16 AB-partition / strip-filter-intra refusals, so it + // cannot be compared yet. Any other error is a failure, and + // `compared` below keeps the test from passing vacuously. + Err(e) => { + let msg = e.to_string(); + assert!( + msg.contains("unsupported"), + "{NAME}: decode failed (depth={depth}): {msg}" + ); + eprintln!("{NAME}: depth={depth} arm refused (not compared): {msg}"); + continue; + } + }; + compared += 1; + // Read only on an attempt that decoded AND is compared below. + let cfl_blocks = crate::decode::cfl_block_hits() - before_cfl; + let angle_blocks = crate::decode::uv_angle_delta_hits() - before_angle; + let uv_overrides = crate::decode::uv_mode_mi_override_hits() - before_uv; + let ffmpeg_frames = if depth == 10 { + ffmpeg_decode_sequence_10bit(&stream, width, height, frames.len()) + } else { + ffmpeg_decode_sequence(&stream, width, height, frames.len()) + }; + assert_eq!(frames.len(), 1, "{NAME}: expected one key frame (depth={depth})"); + assert_eq!(ffmpeg_frames.len(), frames.len(), "{NAME}: ffmpeg frame count"); + for (i, (got, want)) in frames.iter().zip(&ffmpeg_frames).enumerate() { + assert_eq!(got.y, want.y, "{NAME} frame {i} luma vs ffmpeg (depth={depth})"); + assert_eq!( + got.u, want.u, + "{NAME} frame {i} U vs ffmpeg (depth={depth}, {cfl_blocks} CFL blocks, \ + {angle_blocks} nonzero-angle_delta_uv blocks, {uv_overrides} mi-exact UV \ + neighbour overrides)" + ); + assert_eq!( + got.v, want.v, + "{NAME} frame {i} V vs ffmpeg (depth={depth}, {cfl_blocks} CFL blocks, \ + {angle_blocks} nonzero-angle_delta_uv blocks, {uv_overrides} mi-exact UV \ + neighbour overrides)" + ); + } + assert!( + cfl_blocks > 0, + "{NAME}: no UV_CFL_PRED block decoded (depth={depth}) -- the gate proves nothing" + ); + assert!( + angle_blocks > 0, + "{NAME}: no nonzero angle_delta_uv chroma block decoded (depth={depth}) -- \ + the chroma intra-edge filter path never ran" + ); + assert!( + uv_overrides > 0, + "{NAME}: no chroma edge-filter read ever took a mi-exact UV neighbour that \ + disagreed with its coarse 16x16 slot (depth={depth}) -- the r1 defect is \ + not exercised" + ); + eprintln!( + "{NAME}: pixel-exact at {depth}-bit, cfl_blocks={cfl_blocks} \ + angle_delta_uv_blocks={angle_blocks} uv_mi_overrides={uv_overrides}" + ); + } + assert!( + compared > 0, + "{NAME}: every arm refused -- the gate compared no pixels at all" + ); + } + #[test] #[ignore = "lane-rectx r3 scratch sweep"] fn sweep_rectx_recipes() { diff --git a/lanes/cfl-r1.report.md b/lanes/cfl-r1.report.md new file mode 100644 index 00000000..265f89c4 --- /dev/null +++ b/lanes/cfl-r1.report.md @@ -0,0 +1,87 @@ +# lane-cfl r1+r2 report — chroma intra-edge filter type below 16x16 + +Branch `lane-cfl` @ `7148dba` (off `lane-rectx` bb41f82; not rebased, per charter). +r1 and r2 were both killed at their turn/session cap; their work was preserved as WIP +commits 38d096e + 455a142 and is squashed into `7148dba` by this round. + +## Root cause + +libaom `get_filt_type` (reconintra.c) chooses the chroma intra-edge filter STRENGTH from +`chroma_above_mbmi`/`chroma_left_mbmi`'s `uv_mode` (smooth-family neighbour => filtered +edge). Two defects stacked on the sub-16x16 path: + +1. **Constant `false`.** `decode_leaf_rect` and `decode_leaf_8x8` passed a literal `false` + as `smooth_neighbor_uv` into every chroma `reconstruct_rect` call, so a chroma edge was + never smooth-filtered below 16x16 regardless of the neighbour. +2. **Neighbour map coarser than the block.** `above_uv_mode`/`left_uv_mode` are written in + `SUB` (16px) cells by `for cell in 0..w / SUB`, which iterates ZERO times for a block + narrower/shorter than 16. A sub-16 block therefore never *wrote* its uv_mode, and every + reader (including the 16x16-and-up ones) saw whatever the last 16x16-or-larger block had + left in that slot. Class: *context read from one cell* / neighbour map coarser than the + block, the chroma twin of lane-rectx r5's luma `mode_above_mi`/`mode_left_mi`. + +Observed symptom before the fix: the mandelbrot cq16 cell filtered a chroma left edge at +`ft=0` where the instrumented aomdec prints `ft=1` (left edge `95,59,30,28` vs `90,61,37,29`). + +## Files changed + +- `crates/ec-av1/src/decode.rs:1886,2015,2089,2349,2595` — `Neighbours::sub8_mode_col/row` + widened from `(pos, mode)` to `(pos, mode, uv_mode)`; every reset/init site updated. +- `crates/ec-av1/src/decode.rs:2622-2680` — `uv_mode_above_mi`/`uv_mode_left_mi` and + `uv_modes_above_left{,_mi}`: mi-exact chroma neighbour with the coarse `SUB` slot as + fallback; tile-edge guards (`mi_r > tile_row0_mi` / `mi_c > tile_col0_mi`) inherited from + the luma twin, per the COMMON neighbour-map rule. +- `crates/ec-av1/src/decode.rs:3422,3825,4001,5122,5552` — every `smooth_neighbor_uv` + derivation now goes through `uv_modes_above_left{,_mi}`; `decode_leaf_rect` (3825) and + `decode_leaf_8x8` (5552) previously had none at all. +- `crates/ec-av1/src/decode.rs:3854,3858,3910,3926, 5216..5428` — chroma reconstruct call + sites take the derived flag. **Sweep: `grep -c "None, false," decode.rs` = 0** — no + constant-false chroma edge-filter site remains. +- `crates/ec-av1/src/decode.rs:775-805,3294` — gate counters `uv_mode_mi_override_hits`, + `cfl_block_hits`, `uv_angle_delta_hits`. +- `crates/ec-av1/src/stream.rs:5597-5742` — the gate (below). + +No refusal string was lifted this lane (none in `refusal_inventory.rs` covered this path); +`gate_coverage.rs` unchanged. + +## Gate + +`a_real_aomenc_stream_whose_chroma_edge_filter_reads_a_sub16_neighbours_uv_mode_decodes_pixel_exact` +— real aomenc, `mandelbrot=size=64x64:start_x=-0.6`, `--cq-level=16 --cpu-used=4 +--sb-size=64 --enable-rect-partitions=1 --enable-filter-intra=1 --reduced-tx-type-set=1 +--min-partition-size=8 --max-partition-size=32`, aomenc output hashed twice for +reproducibility, pixel-compared against ffmpeg. Hard asserts `cfl_blocks > 0`, +`angle_blocks > 0`, `uv_overrides > 0`, and `compared > 0` (no vacuous pass). The 10-bit +arm is tolerated ONLY on a message containing "unsupported" and is then not compared. + +``` +EC_AV1_REQUIRE_AOMENC=1 cargo test -p ec-av1 --lib chroma_edge_filter_reads_a_sub16 -- --nocapture +``` + +EVIDENCE: $HOME/.cache/cfl-suite.log (gate line) | aomenc mandelbrot -0.6 64x64 cq16 rtx=1 filter-intra=1, decode_stream vs ffmpeg_decode_sequence, all three planes | pixel-exact at 8-bit, cfl_blocks=15 angle_delta_uv_blocks=19 uv_mi_overrides=52; test result ok 1 passed + +EVIDENCE: scratchpad/ours.yuv vs scratchpad/ff.yuv | `cargo run -p ec-av1 --example decode_probe -- cfl.obu ours.yuv` on the same aomenc stream; `ffmpeg -i cfl.obu -pix_fmt yuv420p -f rawvideo ff.yuv`; `cmp` | byte-identical, 6144 bytes, sha256 c8cfa9b332f9c6e8... + +## Suite + +`EC_AV1_REQUIRE_AOMENC=1 cargo test -p ec-av1 --lib` (log `$HOME/.cache/cfl-suite.log`): +**273 passed; 0 failed; 24 ignored; 0 filtered out** (963.81s), exit 0. + +Siblings re-run green in that suite (COMMON sibling-gate rule): `a_real_libaom_cfl_stream_decodes_pixel_exact`, +`a_real_aomenc_stream_whose_square_block_reads_a_sub16_neighbours_mode_decodes_pixel_exact`, +`a_real_aomenc_stream_with_a_coded_rect_strip_below_16x16_decodes_pixel_exact`, +`a_rect_strip_below_16x16_reads_its_own_filter_intra_cdf_row`, +`a_real_aomenc_filter_intra_stream_decodes_pixel_exact`, +`a_real_aomenc_stream_with_smooth_luma_neighbour_decodes_pixel_exact`, +`a_real_aomenc_stream_with_smooth_paeth_chroma_decodes_pixel_exact`, +`a_real_aomenc_stream_with_directional_chroma_decodes_pixel_exact`, +`rect_reach_tables_are_indexed_with_a_32_mi_row_stride`, plus all three +`refusal_inventory::tests::*` and both `gate_coverage::tests::*`. + +## Residue + +- deferred(lane owning sub-16 AB partitions): the 10-bit twin of this recipe stops at + `a HORZ_A/HORZ_B/VERT_A partition below 16x16` and is therefore never pixel-compared. + The gate records this explicitly rather than passing silently. +- accepted: no refusal string lifted — this round is a correctness fix behind existing + capability, not a capability claim.