forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to lanes/inter8-r1.report.mdClear filter

2026-09-01

feat(av1): inter 16x16 PARTITION_SPLIT into 8x8 leaves, and three real leaf-context defectsAhmet Kaan Gümüş · 1bfb2cb
feat(av1): inter 16x16 PARTITION_SPLIT into 8x8 leaves, and three real leaf-context defects

The inter tile path now reads the real partition alphabet at the 16x16 level
and recurses PARTITION_SPLIT into four 8x8 inter leaves (interior blocks, not
just frame-edge straddles), counted by INTER_SUB16_SPLIT_HITS.

Three defects in decode_inter_block8, each found by diffing our new EC_MODE
range ladder against the instrumented aomdec's rung-4 EC_MODE:

1. comp_mode/compound-ref contexts were built from a FABRICATED neighbour
   (ref0=LAST if inter, ref1=None). av1_get_reference_mode_context asks whether
   the neighbour is COMPOUND, so with real LAST+GOLDEN neighbours the leaf read
   single-ref where aomdec read compound NEAR_NEWMV (mi 4,14).
2. the sibling override was a single prev_leaf; the bottom-left leaf's ABOVE
   neighbour is leaf 0, never leaf 1 (class context-read-from-one-cell). Now a
   prev_leaves slice matched by coordinate, each leaf returning its own refs.
3. both leaf mv stacks used NO_SIGN_BIAS/NO_GM_MV and assign_compound_mv got
   zero gm mvs, while decode_inter_block one level up passed the frame's real
   tables. Threaded through (alignment; inert on this fixture's identity gm).

Gate: a_real_aomenc_[10bit_]inter_sequence_with_an_8x8_leaf_split_decodes_pixel_exact
(aomenc --min-partition-size=8 --max-partition-size=16, hard-asserts
inter_sub16_split_hits moved, pixel-exact vs ffmpeg on every frame). It is RED
and #[ignore]d with its reason: Neighbours' above_*/left_* arrays are still
16x16-granular, so leaf (6,12)'s LEFT neighbour cannot resolve to leaf (6,10)
of the previous 16x16 block. Ladder agreement went 41/57 -> 42/57 blocks and
the stream stopped refusing, but it is NOT pixel-exact. The lane is therefore
not merge-ready; see lanes/inter8-r1.report.md.