forge
Explore
Log in

Don't you dare go Hollow

ec-av1: inventory completion for the new chroma refusal + retire the landed sub-8x8 entry from PROVEN

Browse files at this commit

ec34b0d24ae6a3314133d699a05c4936e2d57732Ahmet Kaan GümüşParent: 8b37c57
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.rsmodified+14 -0
@@ -64,6 +64,12 @@ const REFUSALS: &[&str] = &[
64 // still runs: it now reports `reached = 0` with the same non-vacuous64 // still runs: it now reports `reached = 0` with the same non-vacuous
65 // premise (allow_intrabc frames + decoded sub-8 leaves).65 // premise (allow_intrabc frames + decoded sub-8 leaves).
66 "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)",66 "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)",
67+ // lane-av1txr: the silent-garbage guard. A 4:4:4/4:2:2 stream used to
68+ // decode with no refusal and wrong pixels (every chroma extent is
69+ // hardcoded 4:2:0, the probe emits 4:2:0 planes only); it is now refused
70+ // at the sequence header. Gate:
71+ // `a_non_420_subsampled_sequence_header_is_refused_by_name`.
72+ "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",
67 // lane-lossless/lane-lossless2: a lossless frame (base_q_idx 0) decodes73 // lane-lossless/lane-lossless2: a lossless frame (base_q_idx 0) decodes
68 // sample-exact, KEY and INTER -- TX_4X4 with the Walsh-Hadamard transform74 // sample-exact, KEY and INTER -- TX_4X4 with the Walsh-Hadamard transform
69 // on every plane, no `tx_type` symbol, `is_cfl_allowed` narrowed to a75 // on every plane, no `tx_type` symbol, `is_cfl_allowed` narrowed to a
@@ -307,6 +313,14 @@ const PROVEN: &[(&str, &str)] = &[
307 "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)",313 "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)",
308 "a_twelve_bit_sequence_header_is_refused_by_name",314 "a_twelve_bit_sequence_header_is_refused_by_name",
309 ),315 ),
316+ // lane-av1txr: the guard's own gate builds a profile-1 and a profile-2
317+ // sequence header by hand and asserts each refuses by name while the
318+ // profile-0 CONTROL still decodes -- the refusal is exercised, not merely
319+ // present.
320+ (
321+ "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",
322+ "a_non_420_subsampled_sequence_header_is_refused_by_name",
323+ ),
310 (324 (
311 "intra block copy on a HORZ/VERT/1:4 rect intra strip (reconstruction is not ported at this shape)",325 "intra block copy on a HORZ/VERT/1:4 rect intra strip (reconstruction is not ported at this shape)",
312 "a_real_aomenc_screen_key_frame_reads_use_intrabc_on_rect_strips",326 "a_real_aomenc_screen_key_frame_reads_use_intrabc_on_rect_strips",