forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-09-02

fix(av1): an intra block inside an inter frame never read use_filter_intra -- silent desync on every aomenc-default streamAhmet Kaan Gümüş · c98870c
fix(av1): an intra block inside an inter frame never read use_filter_intra -- silent desync on every aomenc-default stream

libaom's read_intra_block_mode_info ends with read_filter_intra_mode_info on
an inter frame exactly as it does on a key frame, but decode_inter_block's
INTRA arm and decode_inter_block8's 8x8 INTRA arm went straight from the
palette syntax to read_block_tx_size. aomenc enables filter intra by default
and all 69 inter gate recipes pinned --enable-filter-intra=0, so nothing had
ever exercised it (classes symbol-consumption-gap + tool-disabled-in-every-gate):
his films' inter frames desynced at the first such block.

Both arms now read use_filter_intra (filter_intra[filter_intra_size_class(side)],
None at 64x64 per av1_filter_intra_allowed_bsize) plus filter_intra_mode, and
thread the result into every luma prediction/coefficient call including
lane-intrainter's per-TU split-tx path (read_plane's FIMODE_TO_INTRADIR row
applies unchanged). The sequence bit rides a frame-constant thread-local next
to tx_select rather than a 51st decode_inter_block parameter.

Gate: a_real_aomenc_inter_sequence_with_filter_intra_on_an_intra_block_decodes_pixel_exact
at 8 and 10 bit -- counter-asserted firing (11 / 8 blocks), every frame Y/U/V
vs ffmpeg, no SKIP. Negative control (read disabled) fails it 40/40 attempts.
Mutation sweep with --enable-filter-intra=1 in every inter recipe: 15 passed,
0 failed. Suite: 346 passed, 0 failed.