forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-09-25

lane-av1leaf8oob: derive leaf8 intrabc chroma extent from subsamplingAhmet Kaan Gümüş · 9aeafc1
lane-av1leaf8oob: derive leaf8 intrabc chroma extent from subsampling

decode_leaf8's intrabc frame-copy closure hardcoded the 4:2:0 chroma
halving (vec![0u16; 4 * 4], predict_with_filter at 4, 4) for the U/V
prediction buffers. At 4:4:4 the leaf's own chroma plane block is 8x8,
so the 16-sample override reached PlaneBuf::reconstruct as an 8x8
prediction and indexed prediction[16] of the 16-sample buffer
(len 16, index 16, decode.rs:3774). Size both buffers from
(8 >> ss_x, 8 >> ss_y) instead -- identical at 4:2:0, 8x8 at 4:4:4 --
which also heals the stride-8 palette windows the TX4 4:4:4-lossless
arm cuts from the same buffers.

Gate: stream::tests::an_intrabc_8x8_leaf_chroma_frame_copy_at_444_
decodes_without_the_oob pins the witness-hunt reproducer
(fixtures/444_leaf8_oob.obu, force-added, sha256 72bed279...) with a
red-before run reproducing the exact panic and a leaf8_intrabc_hits
0 -> 4 non-vacuity delta. The gate pins no pixel baseline: the stream
diverges from the oracle aomdec and reads never-written chroma samples
in 458 whole 8x8 blocks (nondeterministic output) -- one pre-existing
decode desync, deferred to a divergence lane, measured in
lanes/av1leaf8oob.report.md. intrabc + lossless filters green, cargo
check 0 warnings.