forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-09-02

fix(av1): the luma mode-context coarse fallback ignored tile availabilityAhmet Kaan Gümüş · 353ada1
fix(av1): the luma mode-context coarse fallback ignored tile availability

`Neighbours::modes_above_left` -- the entry point of every remaining coarse
`kf_y_mode`/`y_mode` neighbour reader (`decode_block_rect`,
`decode_block_rect64`, `decode_block`) -- took the mi-exact override first but
then fell back to the raw `above_mode`/`left_mode` band with no tile-relative
availability, and `decode_leaf_split4` / `decode_leaf_rect8` read those bands
directly. All five now go through `modes_above_left_mi`, which yields DC_PRED
where libaom's `up_available`/`left_available` are false.

Measured: zero behavioural change. The new `MODE_TILE_EDGE_COARSE_LEAKS`
counter -- coarse fallbacks at a tile edge holding a non-DC mode -- is 0 across
the 20 attempts of the two-tile-column gate, because `above_mode` is cleared
per tile in `start_tile` and `left_mode` per superblock row in `start_row`.
That gate now asserts it stays 0: it is the invariant the coarse fallback rests
on, and dropping either reset is exactly how lane-mtfix's chroma
`above_uv_mode` twin broke.

The charter's pinned mi(24,8) divergence does not reproduce on this base --
lane-rectsplitx ec0b3b5 fixed it; at cq 32 that fixture now stops on a real
16x16 AB-partition refusal (aomdec EC_PART value=4). See lanes/modectx-r1.report.md.