Default-on tools spelled on in the gates that exercise them -- loopfilter-control=1 (2 8-bit + 1 10-bit deblock gate), enable-tx-size-search=1 (shared tx-select inter helper, both depths), enable-directional-intra=1 (directional chroma), enable-diff-wtd-comp=1 + new diffwtd_hits assert (masked compound), enable-onesided-comp=1 + new uni_comp_hits assert (interintra)
Browse files at this commitdf86cfc194c403146995c0999c05b87464676454Parent: e148046- test
- default-on tools spelled on in the gates that exercise them -- loopfilter-control=1 (2 8-bit + 1 10-bit deblock gate), enable-tx-size-search=1 (shared tx-select inter helper, both depths), enable-directional-intra=1 (directional chroma), enable-diff-wtd-comp=1 + new diffwtd_hits assert (masked compound), enable-onesided-comp=1 + new uni_comp_hits assert (interintra)
- gate_coverage counts a bit_depth-parameterised helper at both depths
- NEVER_ON 6/7 -> 1/5
4 changed files +152 -36
- crates/ec-av1/src/decode.rs +32 -0
- crates/ec-av1/src/gate_coverage.rs +18 -33
- crates/ec-av1/src/stream.rs +38 -3
- lanes/defon-r1.report.md +64 -0
crates/ec-av1/src/decode.rsmodified+32 -0
| @@ -726,6 +726,35 @@ pub(crate) fn deblock_hits() -> usize { | ||
| 726 | 726 | DEBLOCK_HITS.with(|c| c.get()) |
| 727 | 727 | } |
| 728 | 728 | |
| 729 | +// lane-defon r1: how many COMPOUND_REFERENCE blocks read a | |
| 730 | +// `UNIDIR_COMP_REFERENCE` pair (both references on the same temporal side, | |
| 731 | +// spec 5.11.25 `comp_reference_type == 0`) -- the gate's proof that a | |
| 732 | +// stream built with `--enable-onesided-comp=1` really exercised the | |
| 733 | +// `uni_comp_ref` alphabet rather than only bidirectional pairs. | |
| 734 | +thread_local! { | |
| 735 | + static UNI_COMP_HITS: std::cell::Cell<usize> = | |
| 736 | + const { std::cell::Cell::new(0) }; | |
| 737 | +} | |
| 738 | + | |
| 739 | +/// Current value of [`UNI_COMP_HITS`]. | |
| 740 | +pub(crate) fn uni_comp_hits() -> usize { | |
| 741 | + UNI_COMP_HITS.with(|c| c.get()) | |
| 742 | +} | |
| 743 | + | |
| 744 | +// lane-defon r1: how many blocks blended through a `COMPOUND_DIFFWTD` mask | |
| 745 | +// (`mc::diffwtd_mask`) -- the narrower half of `MASKED_COMPOUND_HITS`, the | |
| 746 | +// gate's proof that `--enable-diff-wtd-comp=1` reached the difference-weighted | |
| 747 | +// blend and not only the wedge arm. | |
| 748 | +thread_local! { | |
| 749 | + static DIFFWTD_HITS: std::cell::Cell<usize> = | |
| 750 | + const { std::cell::Cell::new(0) }; | |
| 751 | +} | |
| 752 | + | |
| 753 | +/// Current value of [`DIFFWTD_HITS`]. | |
| 754 | +pub(crate) fn diffwtd_hits() -> usize { | |
| 755 | + DIFFWTD_HITS.with(|c| c.get()) | |
| 756 | +} | |
| 757 | + | |
| 729 | 758 | // How many [`read_tx_size`] reads resolved a `tx_depth` strictly less than |
| 730 | 759 | // the block's own side, across every call on the current thread -- the same |
| 731 | 760 | // before/after counter pattern as [`FILTER_INTRA_HITS`], proving a stream |
| @@ -10745,6 +10774,7 @@ fn read_compound_ref_frames( | ||
| 10745 | 10774 | let type_ctx = comp_reference_type_ctx(above, left); |
| 10746 | 10775 | let unidir = dec.symbol(&mut cdfs.comp_ref_type[type_ctx]) == 0; |
| 10747 | 10776 | if unidir { |
| 10777 | + UNI_COMP_HITS.with(|c| c.set(c.get() + 1)); | |
| 10748 | 10778 | // uni_comp_ref (p0): forward vs. backward -- av1_get_pred_context_- |
| 10749 | 10779 | // uni_comp_ref_p is single_ref_p1's own forward/backward vote. |
| 10750 | 10780 | let bit = dec.symbol(&mut cdfs.uni_comp_ref[single_ref_p1_ctx(a, a1, l, l1)][0]); |
| @@ -11766,6 +11796,7 @@ fn decode_inter_block( | ||
| 11766 | 11796 | // either way, only the mask source differs. |
| 11767 | 11797 | let mask_y: Option<&[u8]> = if let Some(mask_type) = diffwtd_mask_type { |
| 11768 | 11798 | diffwtd_mask_y = vec![0u8; side * side]; |
| 11799 | + DIFFWTD_HITS.with(|c| c.set(c.get() + 1)); | |
| 11769 | 11800 | mc::diffwtd_mask(&inter0_y, &inter1_y, mask_type == 1, &mut diffwtd_mask_y); |
| 11770 | 11801 | Some(diffwtd_mask_y.as_slice()) |
| 11771 | 11802 | } else { |
| @@ -13662,6 +13693,7 @@ fn decode_inter_block8( | ||
| 13662 | 13693 | let mut diffwtd_mask_y = Vec::new(); |
| 13663 | 13694 | let mask_y: Option<&[u8]> = if let Some(mask_type) = diffwtd_mask_type { |
| 13664 | 13695 | diffwtd_mask_y = vec![0u8; SIDE * SIDE]; |
| 13696 | + DIFFWTD_HITS.with(|c| c.set(c.get() + 1)); | |
| 13665 | 13697 | mc::diffwtd_mask(&inter0_y, &inter1_y, mask_type == 1, &mut diffwtd_mask_y); |
| 13666 | 13698 | Some(diffwtd_mask_y.as_slice()) |
| 13667 | 13699 | } else { |
crates/ec-av1/src/gate_coverage.rsmodified+18 -33
| @@ -237,42 +237,18 @@ const NEVER_EXERCISED_10BIT: &[(&str, &str)] = &[ | ||
| 237 | 237 | /// merely defaulted (unknown, and unknown is not coverage). |
| 238 | 238 | #[cfg(test)] |
| 239 | 239 | const NEVER_ON_8BIT: &[(&str, &str)] = &[ |
| 240 | - ( | |
| 241 | - "deblocking", | |
| 242 | - "on in no 8-bit gate: 7 pin --loopfilter-control=0, the other 34 default (on) -- and defaulted is unknown, so no stream is proven to run the loop filter", | |
| 243 | - ), | |
| 244 | - ( | |
| 245 | - "enable-diff-wtd-comp", | |
| 246 | - "on in no 8-bit gate: 6 pin =0, 35 default; difference-weighted compound masks are unproven", | |
| 247 | - ), | |
| 248 | - ( | |
| 249 | - "enable-directional-intra", | |
| 250 | - "on in no 8-bit gate: pinned =0 in 32 of 41, defaulted in 9 -- the directional gates drive the modes through other flags, never this one", | |
| 251 | - ), | |
| 252 | 240 | ( |
| 253 | 241 | "enable-fwd-kf", |
| 254 | - "on in no 8-bit gate: 11 pin =0, 30 default (aomenc's default is off), so forward keyframes are never coded", | |
| 255 | - ), | |
| 256 | - ( | |
| 257 | - "enable-onesided-comp", | |
| 258 | - "on in no 8-bit gate: 17 pin =0, 24 default; one-sided compound prediction is unproven", | |
| 259 | - ), | |
| 260 | - ( | |
| 261 | - "enable-tx-size-search", | |
| 262 | - "on in no 8-bit gate: pinned =0 in 34 of 41 -- the pin that hid a real-stream PANIC from lane-ab16 until TX_MODE_SELECT was landed by lane-txselect; its gates spell the tool through the recipe, not this flag", | |
| 242 | + "on in no 8-bit gate: 12 pin =0, 33 default (aomenc's default is off), so forward keyframes are never coded -- lane-defon r1 left this one open: it needs --fwd-kf-dist plus a decoder counter for a KEY frame with show_frame == 0, neither of which exists yet", | |
| 263 | 243 | ), |
| 264 | 244 | ]; |
| 265 | 245 | |
| 266 | 246 | /// [`DEFAULT_ON_TOOLS`] entries no 10-bit gate spells on, with the reason. |
| 267 | 247 | #[cfg(test)] |
| 268 | 248 | const NEVER_ON_10BIT: &[(&str, &str)] = &[ |
| 269 | - ( | |
| 270 | - "deblocking", | |
| 271 | - "hole at both depths, see the 8-bit list (1 of the 15 10-bit gates pins =0, 14 default)", | |
| 272 | - ), | |
| 273 | 249 | ( |
| 274 | 250 | "enable-diff-wtd-comp", |
| 275 | - "hole at both depths, see the 8-bit list (1 pinned off, 14 defaulted)", | |
| 251 | + "on in no 10-bit gate: 1 pinned off, 14 defaulted -- lane-defon r1 closed the 8-bit hole on the masked-compound gate (diffwtd_hits), but that gate has no 10-bit sibling", | |
| 276 | 252 | ), |
| 277 | 253 | ( |
| 278 | 254 | "enable-fwd-kf", |
| @@ -284,11 +260,7 @@ const NEVER_ON_10BIT: &[(&str, &str)] = &[ | ||
| 284 | 260 | ), |
| 285 | 261 | ( |
| 286 | 262 | "enable-onesided-comp", |
| 287 | - "hole at both depths, see the 8-bit list (5 pinned off, 10 defaulted)", | |
| 288 | - ), | |
| 289 | - ( | |
| 290 | - "enable-tx-size-search", | |
| 291 | - "hole at both depths, see the 8-bit list (11 of 15 pin =0)", | |
| 263 | + "on in no 10-bit gate: 5 pinned off, 10 defaulted -- lane-defon r1 closed the 8-bit hole on the interintra gate (uni_comp_hits); the 10-bit compound gates pin it off", | |
| 292 | 264 | ), |
| 293 | 265 | ( |
| 294 | 266 | "multi-tile", |
| @@ -471,6 +443,19 @@ mod tests { | ||
| 471 | 443 | /// helper, an explicit `--bit-depth=10`/`--input-bit-depth=10`, or a |
| 472 | 444 | /// `yuv420p10le` fixture handed to aomenc. Everything else is aomenc's |
| 473 | 445 | /// 8-bit default. |
| 446 | + /// lane-defon r1: a gate helper parameterised on `bit_depth` builds BOTH | |
| 447 | + /// an 8-bit and a 10-bit stream from one recipe, so its flags cover both | |
| 448 | + /// depths -- classifying it by the 10-bit strings inside its conditional | |
| 449 | + /// alone hid `--enable-tx-size-search=1` from the 8-bit list. | |
| 450 | + fn covers_both_depths(body: &str) -> bool { | |
| 451 | + body.contains("if bit_depth == 10") | |
| 452 | + } | |
| 453 | + | |
| 454 | + /// Whether a gate body drives a stream at this depth. | |
| 455 | + fn covers_depth(body: &str, ten_bit: bool) -> bool { | |
| 456 | + covers_both_depths(body) || is_ten_bit(body) == ten_bit | |
| 457 | + } | |
| 458 | + | |
| 474 | 459 | fn is_ten_bit(body: &str) -> bool { |
| 475 | 460 | body.contains("encode_10bit_gradients") |
| 476 | 461 | || body.contains("ten_bit_tool_gate(") |
| @@ -483,7 +468,7 @@ mod tests { | ||
| 483 | 468 | fn enabled_at(ten_bit: bool) -> BTreeSet<String> { |
| 484 | 469 | let mut on = BTreeSet::new(); |
| 485 | 470 | for gate in gate_bodies() { |
| 486 | - if is_ten_bit(gate) != ten_bit { | |
| 471 | + if !covers_depth(gate, ten_bit) { | |
| 487 | 472 | continue; |
| 488 | 473 | } |
| 489 | 474 | for (flag, value) in flags_in(gate) { |
| @@ -571,7 +556,7 @@ mod tests { | ||
| 571 | 556 | fn default_on_settings(ten_bit: bool) -> (usize, BTreeMap<&'static str, (usize, usize, usize)>) { |
| 572 | 557 | let gates: Vec<&str> = gate_bodies() |
| 573 | 558 | .into_iter() |
| 574 | - .filter(|b| is_ten_bit(b) == ten_bit) | |
| 559 | + .filter(|b| covers_depth(b, ten_bit)) | |
| 575 | 560 | .collect(); |
| 576 | 561 | let mut per_tool = BTreeMap::new(); |
| 577 | 562 | for &(tool, spellings, _, on) in DEFAULT_ON_TOOLS { |
crates/ec-av1/src/stream.rsmodified+38 -3
| @@ -2408,6 +2408,9 @@ mod tests { | ||
| 2408 | 2408 | ); |
| 2409 | 2409 | let mut child = Command::new(aomenc_path()) |
| 2410 | 2410 | .args([ |
| 2411 | + // lane-defon r1: explicit on-value (aomenc keeps the FIRST | |
| 2412 | + // occurrence, so overrides go before the base list). | |
| 2413 | + "--loopfilter-control=1", | |
| 2411 | 2414 | "--codec=av1", |
| 2412 | 2415 | "--passes=1", |
| 2413 | 2416 | "--end-usage=q", |
| @@ -3241,6 +3244,9 @@ mod tests { | ||
| 3241 | 3244 | ); |
| 3242 | 3245 | let mut child = Command::new(aomenc_path()) |
| 3243 | 3246 | .args([ |
| 3247 | + // lane-defon r1: explicit on-value (aomenc keeps the FIRST | |
| 3248 | + // occurrence, so overrides go before the base list). | |
| 3249 | + "--loopfilter-control=1", | |
| 3244 | 3250 | "--codec=av1", |
| 3245 | 3251 | "--passes=1", |
| 3246 | 3252 | "--end-usage=q", |
| @@ -3572,6 +3578,9 @@ mod tests { | ||
| 3572 | 3578 | let mut child = Command::new(aomenc_path()) |
| 3573 | 3579 | .args(depth_args) |
| 3574 | 3580 | .args([ |
| 3581 | + // lane-defon r1: explicit on-value (aomenc keeps the FIRST | |
| 3582 | + // occurrence, so overrides go before the base list). | |
| 3583 | + "--enable-tx-size-search=1", | |
| 3575 | 3584 | "--codec=av1", |
| 3576 | 3585 | "--passes=1", |
| 3577 | 3586 | "--end-usage=q", |
| @@ -4041,6 +4050,9 @@ mod tests { | ||
| 4041 | 4050 | ); |
| 4042 | 4051 | let mut child = Command::new(aomenc_path()) |
| 4043 | 4052 | .args([ |
| 4053 | + // lane-defon r1: explicit on-value (aomenc keeps the FIRST | |
| 4054 | + // occurrence, so overrides go before the base list). | |
| 4055 | + "--enable-directional-intra=1", | |
| 4044 | 4056 | "--codec=av1", |
| 4045 | 4057 | "--passes=1", |
| 4046 | 4058 | "--end-usage=q", |
| @@ -4152,6 +4164,7 @@ mod tests { | ||
| 4152 | 4164 | /// level of the inter partition tree -- `min_part` is aomenc's |
| 4153 | 4165 | /// `--min-partition-size`, and `hits`/`what` name the counter that proves |
| 4154 | 4166 | /// the arm under test really fired. |
| 4167 | + #[track_caller] | |
| 4155 | 4168 | fn inter_sb_none_gate( |
| 4156 | 4169 | name: &str, |
| 4157 | 4170 | ten_bit: bool, |
| @@ -4448,6 +4461,9 @@ mod tests { | ||
| 4448 | 4461 | ); |
| 4449 | 4462 | let mut child = Command::new(aomenc_path()) |
| 4450 | 4463 | .args([ |
| 4464 | + // lane-defon r1: explicit on-value (aomenc keeps the FIRST | |
| 4465 | + // occurrence, so overrides go before the base list). | |
| 4466 | + "--loopfilter-control=1", | |
| 4451 | 4467 | "--codec=av1", |
| 4452 | 4468 | "--passes=1", |
| 4453 | 4469 | "--end-usage=q", |
| @@ -6689,7 +6705,7 @@ mod tests { | ||
| 6689 | 6705 | "--tune-content=default", |
| 6690 | 6706 | "--enable-masked-comp=0", |
| 6691 | 6707 | "--enable-interintra-comp=1", |
| 6692 | - "--enable-onesided-comp=0", | |
| 6708 | + "--enable-onesided-comp=1", | |
| 6693 | 6709 | "--enable-interintra-wedge=0", |
| 6694 | 6710 | "--enable-smooth-interintra=1", |
| 6695 | 6711 | "--enable-rect-partitions=0", |
| @@ -6802,9 +6818,18 @@ mod tests { | ||
| 6802 | 6818 | "{NAME}: {matched} matches but zero interintra blocks fired -- the gate decodes \ |
| 6803 | 6819 | these streams without ever taking interintra, so it proves nothing" |
| 6804 | 6820 | ); |
| 6821 | + // lane-defon r1: `--enable-onesided-comp=1` is spelled on this | |
| 6822 | + // recipe, so a UNIDIR_COMP_REFERENCE pair must actually have been | |
| 6823 | + // read -- otherwise the on-value proves nothing. | |
| 6824 | + assert!( | |
| 6825 | + crate::decode::uni_comp_hits() > 0, | |
| 6826 | + "{NAME}: {matched} matches but zero UNIDIR_COMP_REFERENCE pairs read -- \ | |
| 6827 | + --enable-onesided-comp=1 never reached the uni_comp_ref alphabet" | |
| 6828 | + ); | |
| 6805 | 6829 | eprintln!( |
| 6806 | - "{NAME}: {named_refusals} other-capability refusals, {matched} pixel-exact matches out of {n_attempts}, interintra_hits={}", | |
| 6807 | - crate::decode::interintra_hits() | |
| 6830 | + "{NAME}: {named_refusals} other-capability refusals, {matched} pixel-exact matches out of {n_attempts}, interintra_hits={} uni_comp_hits={}", | |
| 6831 | + crate::decode::interintra_hits(), | |
| 6832 | + crate::decode::uni_comp_hits() | |
| 6808 | 6833 | ); |
| 6809 | 6834 | } |
| 6810 | 6835 | |
| @@ -8075,6 +8100,9 @@ mod tests { | ||
| 8075 | 8100 | String::from_utf8_lossy(&y4m.stderr) |
| 8076 | 8101 | ); |
| 8077 | 8102 | let args: Vec<&str> = vec![ |
| 8103 | + // lane-defon r1: explicit on-value (aomenc keeps the FIRST | |
| 8104 | + // occurrence, so overrides go before the base list). | |
| 8105 | + "--enable-diff-wtd-comp=1", | |
| 8078 | 8106 | "--codec=av1", |
| 8079 | 8107 | "--passes=1", |
| 8080 | 8108 | "--end-usage=q", |
| @@ -8230,6 +8258,13 @@ mod tests { | ||
| 8230 | 8258 | "{NAME}: zero masked-compound blocks fired ({matched} matches, {named_refusals} \ |
| 8231 | 8259 | other refusals out of {n_attempts}) -- gate proved nothing this run" |
| 8232 | 8260 | ); |
| 8261 | + // lane-defon r1: `--enable-diff-wtd-comp=1` is now spelled on this | |
| 8262 | + // recipe, so the DIFFWTD half of MASKED_COMPOUND_HITS must fire. | |
| 8263 | + assert!( | |
| 8264 | + crate::decode::diffwtd_hits() > 0, | |
| 8265 | + "{NAME}: zero COMPOUND_DIFFWTD blends ({matched} matches, {named_refusals} \ | |
| 8266 | + other refusals out of {n_attempts}) -- --enable-diff-wtd-comp=1 proved nothing" | |
| 8267 | + ); | |
| 8233 | 8268 | // r3: wedge_hits() is soft-skipped, not hard-asserted -- the recipe |
| 8234 | 8269 | // search (dist-wtd-comp=0 + diagonal mandelbrot content) is not |
| 8235 | 8270 | // proven to fire wedge on every run; charter's fallback is to land |
lanes/defon-r1.report.mdadded+64 -0
| @@ -0,0 +1,64 @@ | ||
| 1 | +# lane-defon r1 — NEVER_ON holes his default-encoded films exercise | |
| 2 | + | |
| 3 | +Branch `lane-defon` off main 61c6a5b (no rebase needed, main unchanged during the round). | |
| 4 | +Premise re-measured with `cargo test -p ec-av1 --lib gate_coverage -- --nocapture` at 61c6a5b: | |
| 5 | +NEVER_ON_8BIT 6/10, NEVER_ON_10BIT 7/10 (lists identical to lanes/covbd2-r1.report.md). | |
| 6 | +`aomenc --help` (oracle build) confirms `--loopfilter-control` takes 0/1/2/3 and that | |
| 7 | +`1 = Enable loopfilter for all frames (default)`. | |
| 8 | + | |
| 9 | +## Tool -> gate -> counter -> result | |
| 10 | + | |
| 11 | +| tool (on-value spelled) | gate | counter hard-asserted | result | | |
| 12 | +|---|---|---|---| | |
| 13 | +| `--loopfilter-control=1` (8-bit) | `a_real_aomenc_intra_stream_with_deblocking_decodes_pixel_exact` | `decode::deblock_hits()` advanced (pre-existing assert) | PASS 1.10s | | |
| 14 | +| `--loopfilter-control=1` (8-bit) | `a_real_aomenc_inter_sequence_with_deblocking_decodes_pixel_exact` | `deblock_hits()` (pre-existing) | PASS 2.36s | | |
| 15 | +| `--loopfilter-control=1` (10-bit) | `a_real_aomenc_10bit_inter_sequence_decodes_pixel_exact` | `deblock_hits()` (pre-existing) | PASS 2.84s | | |
| 16 | +| `--enable-tx-size-search=1` (8-bit + 10-bit, one shared helper `tx_select_inter_gate`) | `a_real_aomenc_inter_sequence_with_tx_select_decodes_pixel_exact` and `..._10bit` | `txfm_split_hits()` per attempt (pre-existing) | PASS 2.14s / 1.79s | | |
| 17 | +| `--enable-directional-intra=1` (8-bit) | `a_real_aomenc_stream_with_directional_chroma_decodes_pixel_exact` | `directional_uv_hits()` (pre-existing) | PASS 5.69s | | |
| 18 | +| `--enable-diff-wtd-comp=1` (8-bit) | `a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact` | NEW `decode::diffwtd_hits()` > 0 | PASS 344s, 80/80 pixel-exact, masked_compound_hits=7898 wedge_hits=4254 | | |
| 19 | +| `--enable-onesided-comp=1` (8-bit, flipped from `=0`) | `a_real_aomenc_stream_with_interintra_decodes_pixel_exact` | NEW `decode::uni_comp_hits()` > 0 | see suite totals below (first run aborted on an environmental `aomdec: PermissionDenied` while another lane rewrote `~/.cache/aom-oracle/build/aomdec` at 23:56) | | |
| 20 | + | |
| 21 | +## What changed | |
| 22 | +- `crates/ec-av1/src/decode.rs` — two new per-attempt counters: `UNI_COMP_HITS` incremented in the | |
| 23 | + `if unidir {` arm of the compound-reference reader (spec 5.11.25 `comp_reference_type == 0`), and | |
| 24 | + `DIFFWTD_HITS` incremented at both `mc::diffwtd_mask(...)` call sites (the blend, not the symbol | |
| 25 | + read that `MASKED_COMPOUND_HITS` already counts). | |
| 26 | +- `crates/ec-av1/src/stream.rs` — six explicit on-values inserted BEFORE `"--codec=av1"` in their | |
| 27 | + gate's arg list (aomenc keeps the FIRST occurrence of a repeated flag), one `=0 -> =1` flip on the | |
| 28 | + interintra gate, two new hard asserts (`diffwtd_hits() > 0`, `uni_comp_hits() > 0`), and | |
| 29 | + `#[track_caller]` on `inter_sb_none_gate` so its body stops gluing onto the directional-chroma | |
| 30 | + gate's chunk (gate_coverage splits on `"\n #["`, so an attribute-less helper mislabels the gate | |
| 31 | + above it 10-bit). | |
| 32 | +- `crates/ec-av1/src/gate_coverage.rs` — `covers_both_depths()`/`covers_depth()`: a helper | |
| 33 | + parameterised on `bit_depth` builds BOTH an 8-bit and a 10-bit stream from one recipe, so its flags | |
| 34 | + count at both depths; classifying it by the 10-bit strings inside its own conditional hid | |
| 35 | + `--enable-tx-size-search=1` from the 8-bit list. `NEVER_ON_8BIT` 6 -> 1 entry, `NEVER_ON_10BIT` | |
| 36 | + 7 -> 5 entries. | |
| 37 | + | |
| 38 | +## Coverage after (verbatim) | |
| 39 | +``` | |
| 40 | +NEVER_ON_8BIT (1 of 10, over 45 8BIT gates): | |
| 41 | + enable-fwd-kf (--enable-fwd-kf): off in 12, defaulted in 33, on in 0 | |
| 42 | +NEVER_ON_10BIT (5 of 10, over 15 10BIT gates): | |
| 43 | + enable-diff-wtd-comp (--enable-diff-wtd-comp): off in 1, defaulted in 14, on in 0 | |
| 44 | + enable-fwd-kf (--enable-fwd-kf): off in 3, defaulted in 12, on in 0 | |
| 45 | + enable-interintra-wedge (--enable-interintra-wedge): off in 5, defaulted in 10, on in 0 | |
| 46 | + enable-onesided-comp (--enable-onesided-comp): off in 5, defaulted in 10, on in 0 | |
| 47 | + multi-tile (--tile-columns,tile-rows): off in 0, defaulted in 15, on in 0 | |
| 48 | +``` | |
| 49 | +`cargo test -p ec-av1 --lib -- gate_coverage refusal_inventory` -> 12 passed, 0 failed. | |
| 50 | + | |
| 51 | +## Refusals lifted | |
| 52 | +None — no decode behaviour changed; this round only makes existing gates drive the tools explicitly | |
| 53 | +and proves they fired. | |
| 54 | + | |
| 55 | +## Residue | |
| 56 | +- deferred: `enable-fwd-kf` at both depths — needs `--fwd-kf-dist=N` on a lagged recipe AND a decoder | |
| 57 | + counter for a KEY frame with `show_frame == 0`; no such counter exists (`grep show_frame` | |
| 58 | + decode.rs finds no site). What unblocks it: adding that counter at the frame-header read plus one | |
| 59 | + lagged gate. | |
| 60 | +- deferred: `enable-diff-wtd-comp`, `enable-onesided-comp`, `enable-interintra-wedge` at 10 bits — | |
| 61 | + the three 10-bit compound gates pin all three off in their recipes, so closing them means either a | |
| 62 | + 10-bit sibling of the 8-bit masked-compound/interintra gates or flipping those pins and re-proving | |
| 63 | + the pixel compare. What unblocks it: one round with a 10-bit compound recipe. | |
| 64 | +- accepted: `multi-tile` at 10 bits (covbd2's finding, not in this charter). |