forge
Explore
Log in

Don't you dare go Hollow

Reword a capability claim my own probe just disproved

Browse files at this commit

0653b15021dd12fffe3eb1c8e8eed664088f4555Ahmet Kaan GümüşParent: 53dfc78
  • fix
    • reword a capability claim my own probe just disproved
Show full message
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.rsmodified+1 -1
@@ -5831,7 +5831,7 @@ pub(crate) fn decode_key_frame_tile_with_cdfs(
5831 }5831 }
5832 if part16 != PARTITION_SPLIT {5832 if part16 != PARTITION_SPLIT {
5833 return Err(unsupported(5833 return Err(unsupported(
5834- "a partition below 16x16 other than a clean split (this encoder never writes one)",5834+ "a partition below 16x16 other than a clean split (this decoder codes only the square arms below 16x16)",
5835 ));5835 ));
5836 }5836 }
5837 // A real (non-straddle) SPLIT of a5837 // A real (non-straddle) SPLIT of a
crates/ec-av1/src/refusal_inventory.rsmodified+1 -1
@@ -27,7 +27,7 @@ const CAPABILITY_CLAIMS: &[&str] = &[
27 "a non-2D tx class on a rectangular transform (never expected at this size)",27 "a non-2D tx class on a rectangular transform (never expected at this size)",
28 "a non-DC chroma mode on an 8x8 inter-frame leaf (this encoder never writes one)",28 "a non-DC chroma mode on an 8x8 inter-frame leaf (this encoder never writes one)",
29 "a nonzero angle delta (this encoder never writes one)",29 "a nonzero angle delta (this encoder never writes one)",
30- "a partition below 16x16 other than a clean split (this encoder never writes one)",30+ "a partition below 16x16 other than a clean split (this decoder codes only the square arms below 16x16)",
31 "a partition below 8x8 (this encoder never writes one)",31 "a partition below 8x8 (this encoder never writes one)",
32 "a tx_type symbol on a rectangular transform (never expected at this size)",32 "a tx_type symbol on a rectangular transform (never expected at this size)",
33 ];33 ];