From ec34b0d24ae6a3314133d699a05c4936e2d57732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Sun, 20 Sep 2026 02:18:37 +0300 Subject: [PATCH] ec-av1: inventory completion for the new chroma refusal + retire the landed sub-8x8 entry from PROVEN The full suite run at 6473af0e found refusal_inventory:: the_decode_path_refuses_exactly_the_listed_cases (the new non-4:2:0 refusal was not in REFUSALS) and ::every_proven_refusal_names_a_test_that_exists (the sub-8x8-intrabc PROVEN pair, landed in this lane). Add the new string + its gate to REFUSALS/PROVEN; the sub-8x8 pair is retired with a note. Also: the lane worktree had no fixtures link at all, so a_real_aomenc_stream_with_film_grain_decodes_pixel_exact failed reading fixtures/golden6-mismatch.obu (Os error 2). Linked to the primary checkout (gitignored, not part of this commit). Scoped re-run: refusal_inventory 13/13 ok, film_grain 7/7 ok. --- crates/ec-av1/src/refusal_inventory.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/crates/ec-av1/src/refusal_inventory.rs b/crates/ec-av1/src/refusal_inventory.rs index 8d12f757..5b453875 100644 --- a/crates/ec-av1/src/refusal_inventory.rs +++ b/crates/ec-av1/src/refusal_inventory.rs @@ -64,6 +64,12 @@ const REFUSALS: &[&str] = &[ // still runs: it now reports `reached = 0` with the same non-vacuous // premise (allow_intrabc frames + decoded sub-8 leaves). "a bit depth of 12 (this decoder is gated at 8 and 10 only: warp/MC/wiener rounding shifts change at 12-bit and no 12-bit gate exists)", + // lane-av1txr: the silent-garbage guard. A 4:4:4/4:2:2 stream used to + // decode with no refusal and wrong pixels (every chroma extent is + // hardcoded 4:2:0, the probe emits 4:2:0 planes only); it is now refused + // at the sequence header. Gate: + // `a_non_420_subsampled_sequence_header_is_refused_by_name`. + "a chroma format other than 4:2:0 (subsampling_x/y != 1/1): every chroma extent in this decoder is hardcoded to 4:2:0 and the probe emits 4:2:0 planes only, so a 4:4:4/4:2:2 stream would decode silently wrong pixels", // lane-lossless/lane-lossless2: a lossless frame (base_q_idx 0) decodes // sample-exact, KEY and INTER -- TX_4X4 with the Walsh-Hadamard transform // on every plane, no `tx_type` symbol, `is_cfl_allowed` narrowed to a @@ -307,6 +313,14 @@ const PROVEN: &[(&str, &str)] = &[ "a bit depth of 12 (this decoder is gated at 8 and 10 only: warp/MC/wiener rounding shifts change at 12-bit and no 12-bit gate exists)", "a_twelve_bit_sequence_header_is_refused_by_name", ), + // lane-av1txr: the guard's own gate builds a profile-1 and a profile-2 + // sequence header by hand and asserts each refuses by name while the + // profile-0 CONTROL still decodes -- the refusal is exercised, not merely + // present. + ( + "a chroma format other than 4:2:0 (subsampling_x/y != 1/1): every chroma extent in this decoder is hardcoded to 4:2:0 and the probe emits 4:2:0 planes only, so a 4:4:4/4:2:2 stream would decode silently wrong pixels", + "a_non_420_subsampled_sequence_header_is_refused_by_name", + ), ( "intra block copy on a HORZ/VERT/1:4 rect intra strip (reconstruction is not ported at this shape)", "a_real_aomenc_screen_key_frame_reads_use_intrabc_on_rect_strips",