forge
Explore
Log in

Don't you dare go Hollow

Register the 12-bit and intrabc-on-rect-strip proofs in the refusal inventory

Browse files at this commit

0c4727a072309b5a6418958597815290f64b76f3Ahmet Kaan GümüşParent: 1a54674
  • test
    • register the 12-bit and intrabc-on-rect-strip proofs in the refusal inventory
Show full message
test(av1): register the 12-bit and intrabc-on-rect-strip proofs in the refusal inventory

Both gates already existed -- one negative (a hand-built 12-bit sequence
header is refused by that exact string), one witness (a real aomenc screen
key frame reaches intrabc on a rect strip) -- but neither was named as the
proof of its refusal, so the inventory's numerator undercounted.
crates/ec-av1/src/refusal_inventory.rsmodified+13 -0
@@ -166,6 +166,19 @@ const PROVEN: &[(&str, &str)] = &[
166 "a rectangular transform unit whose shape has no coefficient scan table here",166 "a rectangular transform unit whose shape has no coefficient scan table here",
167 "every_rect_transform_shape_the_census_lists_has_a_coefficient_table_and_scan",167 "every_rect_transform_shape_the_census_lists_has_a_coefficient_table_and_scan",
168 ),168 ),
169+ // Pre-existing proofs, registered by lane-t900 r21: a negative gate (a
170+ // hand-built 12-bit sequence header is refused BY THIS EXACT STRING rather
171+ // than decoded wrong) and a witness gate (a real aomenc screen key frame
172+ // reaches intrabc on a rect strip, so the refusal names a shape a real
173+ // encoder does write).
174+ (
175+ "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)",
176+ "a_twelve_bit_sequence_header_is_refused_by_name",
177+ ),
178+ (
179+ "intra block copy on a HORZ/VERT/1:4 rect intra strip (reconstruction is not ported at this shape)",
180+ "a_real_aomenc_screen_key_frame_reads_use_intrabc_on_rect_strips",
181+ ),
169 ];182 ];
170 183
171 /// Gates whose `Err` arm turns a decode failure into a printed SKIP rather than184 /// Gates whose `Err` arm turns a decode failure into a printed SKIP rather than