forge
Explore
Log in

Don't you dare go Hollow

refusal_inventory: empty GATES_THAT_SKIP_ON_A_DECODE_ERROR

Browse files at this commit

542c8feb7bcc740767c9376f2bbc525c3ec700bfAhmet Kaan GümüşParent: 3104b2b
The last four entries are deleted: all four gates in stream.rs now use
the attempt-loop pattern, so the pinned set is empty and the list stays
an exact pin (a converted gate is removed, the set may not grow). The
guard test's stale-entry arm is what enforces that, and it is red-before
proven: re-adding one SKIP arm to a converted gate fails the guard.
crates/ec-av1/src/refusal_inventory.rsmodified+13 -10
@@ -591,17 +591,20 @@ const PROVEN: &[(&str, &str)] = &[
591 /// A gate named `..._decodes_pixel_exact` that cannot decode has failed, and591 /// A gate named `..._decodes_pixel_exact` that cannot decode has failed, and
592 /// swallowing the error keeps the suite green while the gate proves nothing --592 /// swallowing the error keeps the suite green while the gate proves nothing --
593 /// the same vacuum as a gate whose feature never fires, arrived at from the593 /// the same vacuum as a gate whose feature never fires, arrived at from the
594-/// other side. These four predate the attempt-loop pattern the newer gates use594+/// other side. The list is the exact pin of the gates still shaped that way, so
595-/// (encode several fixtures, require at least one to decode, hard-assert the595+/// the set cannot grow; a converted gate is DELETED from it.
596-/// firing count). They are pinned here so the set cannot grow while they are596+///
597-/// converted one at a time.597+/// lane-av1skipfix: emptied. The last four (`filter_intra`, the two
598+/// `deblocking` gates, and `gradients_stream_with_cdef`) were converted to the
599+/// attempt-loop pattern -- several recipes, at least one required to decode, the
600+/// feature counter hard-asserted on a pixel-compared attempt, a decode error on
601+/// every attempt a hard failure carrying its refusal text. None of the four had
602+/// a genuinely absent capability: every recipe family decoded, the refusals the
603+/// old arms swallowed were a named *screen-content* refusal on one recipe and a
604+/// stale premise on the CDEF gate (a single-superblock frame cannot make libaom
605+/// write `cdef_bits > 0`, so the old recipe never read a `cdef_idx` at all).
598 #[cfg(test)]606 #[cfg(test)]
599-const GATES_THAT_SKIP_ON_A_DECODE_ERROR: &[&str] = &[607+const GATES_THAT_SKIP_ON_A_DECODE_ERROR: &[&str] = &[];
600- "a_real_aomenc_filter_intra_stream_decodes_pixel_exact",
601- "a_real_aomenc_inter_sequence_with_deblocking_decodes_pixel_exact",
602- "a_real_aomenc_intra_stream_with_deblocking_decodes_pixel_exact",
603- "a_real_libaom_gradients_stream_with_cdef_decodes_pixel_exact",
604-];
605 608
606 #[cfg(test)]609 #[cfg(test)]
607 mod tests {610 mod tests {