forge
Explore
Log in

Don't you dare go Hollow

Reword a second capability claim my own probe disproved

Browse files at this commit

738a983a1ea8c53542b2ba268f90e814c9d70e24Ahmet Kaan GümüşParent: 0bdb5a0
  • fix
    • reword a second capability claim my own probe disproved
Show full message
fix(av1): reword a second capability claim my own probe disproved

"a partition below 8x8 (this encoder never writes one)" is false. Default
aomenc at --cpu-used=0 --cq-level=20 over lavfi testsrc2, with palette and the
rect/AB/1to4 partitions switched off so the earlier refusals cannot mask it,
reaches that refusal directly. Three sites in decode.rs plus the inventory now
describe the decoder instead.

Method note for whoever probes the remaining two claims (angle delta, non-DC
chroma on an 8x8 inter leaf): a claim can only be tested on a stream that gets
PAST every refusal in front of it, so disable the tools whose refusals fire
first rather than concluding the case is unreachable.

Suite 262 passed / 0 failed.
crates/ec-av1/src/decode.rsmodified+3 -3
@@ -5858,7 +5858,7 @@ pub(crate) fn decode_key_frame_tile_with_cdfs(
58585858 }
58595859 if part8 != PARTITION_NONE {
58605860 return Err(unsupported(
5861- "a partition below 8x8 (this encoder never writes one)",
5861+ "a partition below 8x8 (this decoder codes no leaf smaller than 8x8)",
58625862 ));
58635863 }
58645864 let leaf_mode = decode_leaf8(
@@ -5929,7 +5929,7 @@ pub(crate) fn decode_key_frame_tile_with_cdfs(
59295929 }
59305930 if part8 != PARTITION_NONE {
59315931 return Err(unsupported(
5932- "a partition below 8x8 (this encoder never writes one)",
5932+ "a partition below 8x8 (this decoder codes no leaf smaller than 8x8)",
59335933 ));
59345934 }
59355935 let leaf_mode = decode_leaf8(
@@ -10879,7 +10879,7 @@ pub(crate) fn decode_inter_frame_tile_with_cdfs(
1087910879 let part8 = dec.symbol(&mut cdfs.partition_w8[leaf_ctx]);
1088010880 if part8 != PARTITION_NONE {
1088110881 return Err(unsupported(
10882- "a partition below 8x8 (this encoder never writes one)",
10882+ "a partition below 8x8 (this decoder codes no leaf smaller than 8x8)",
1088310883 ));
1088410884 }
1088510885 let (skip, is_inter, skip_mode_leaf, compound_ctx8) =
crates/ec-av1/src/refusal_inventory.rsmodified+1 -1
@@ -28,7 +28,7 @@ const CAPABILITY_CLAIMS: &[&str] = &[
2828 "a non-DC chroma mode on an 8x8 inter-frame leaf (this encoder never writes one)",
2929 "a nonzero angle delta (this encoder never writes one)",
3030 "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 decoder codes no leaf smaller than 8x8)",
3232 "a tx_type symbol on a rectangular transform (never expected at this size)",
3333 ];
3434