From 0653b15021dd12fffe3eb1c8e8eed664088f4555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Sun, 30 Aug 2026 17:59:46 +0300 Subject: [PATCH] fix(av1): reword a capability claim my own probe just disproved "a partition below 16x16 other than a clean split (this encoder never writes one)" is false. A plain default-settings aomenc run over lavfi mandelbrot (--cpu-used=4 --end-usage=q --cq-level=32, no --enable-* flags at all) hits that refusal on frame 0. The string now describes the decoder instead. Measured while re-taking the distance to a default-settings decode, five content classes, all at those same default settings: testsrc2 -> UV palette reconstruction mandelbrot -> this refusal (sub-16x16 non-split partition) smptebars -> HORZ/VERT intra strip in a screen-content frame rgbtestsrc -> HORZ/VERT intra strip in a screen-content frame life -> a palette block with a split luma transform Three of the five are palette-shaped. The remaining three "this encoder never writes one" claims (angle delta x2, sub-8x8 partition, non-DC chroma on an 8x8 inter leaf) are NOT cleared by this probe -- they were simply not reached. Suite 260 passed / 0 failed. --- crates/ec-av1/src/decode.rs | 2 +- crates/ec-av1/src/refusal_inventory.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ec-av1/src/decode.rs b/crates/ec-av1/src/decode.rs index 1fba4154..9841d484 100644 --- a/crates/ec-av1/src/decode.rs +++ b/crates/ec-av1/src/decode.rs @@ -5831,7 +5831,7 @@ pub(crate) fn decode_key_frame_tile_with_cdfs( } if part16 != PARTITION_SPLIT { return Err(unsupported( - "a partition below 16x16 other than a clean split (this encoder never writes one)", + "a partition below 16x16 other than a clean split (this decoder codes only the square arms below 16x16)", )); } // A real (non-straddle) SPLIT of a diff --git a/crates/ec-av1/src/refusal_inventory.rs b/crates/ec-av1/src/refusal_inventory.rs index 0658da92..e785fd9f 100644 --- a/crates/ec-av1/src/refusal_inventory.rs +++ b/crates/ec-av1/src/refusal_inventory.rs @@ -27,7 +27,7 @@ const CAPABILITY_CLAIMS: &[&str] = &[ "a non-2D tx class on a rectangular transform (never expected at this size)", "a non-DC chroma mode on an 8x8 inter-frame leaf (this encoder never writes one)", "a nonzero angle delta (this encoder never writes one)", - "a partition below 16x16 other than a clean split (this encoder never writes one)", + "a partition below 16x16 other than a clean split (this decoder codes only the square arms below 16x16)", "a partition below 8x8 (this encoder never writes one)", "a tx_type symbol on a rectangular transform (never expected at this size)", ];