forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to lanes/av1422a2a4.report.mdClear filter

2026-10-05

lane/av1422a2a4: 4:2:2 intrabc var-tx EITHER/OR tail publishes per leafAhmet Kaan Gümüş · 6c3a872
lane/av1422a2a4: 4:2:2 intrabc var-tx EITHER/OR tail publishes per leaf

An intrabc block whose var-tx tree resolved MIXED leaves kept the two
blanket tail publishes in decode_block (set_txfm_ctxs + fill_lf_grid),
clobbering the per-leaf TXFM_CONTEXT band sizes libaom's var-tx branch
leaves behind (parse_decode_block is an either/or; the tree branch never
calls set_txfm_ctxs). Measured on the pinned 256x224 4:2:2 witness
(fixtures/422_intrabc_vartx_mixedtree_a4.obu, aomenc testsrc2 tile cq30):
the 32x32 intrabc block at mi(32,8) resolved 8x8+16x16 leaves, the
blanket writes reset left_txfm[32..35] 16->8, the next tree's sub-read
at (32,16) took txfm_partition_ctx 10 vs the oracle's 9, and the desync
surfaced ~30 partition symbols later as the decodeframe.c:1456 'block
size 4x8 invalid' refusal (E6/E7 symptom class; both ffmpeg and aomdec
decode the stream to completion).

Both publishes are now gated on the tree not having run. Red-before
proven one hunk at a time against the new pinned gate
(the_pinned_422_intrabc_vartx_mixedtree_witnesses_decode_pixel_exact);
green: the_pinned_422 8/8, intrabc 29/29 (+1 pre-existing ignore),
vartx 5/5; all four av1422ibcrect hunt streams byte-exact vs ffmpeg
(A4 also vs aomdec). decode_intrabc_owned_rect untouched.