forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-09-19

vp9f72: record merge-side follow-ups (merge commit, clean resolution, gates, sweeps)Ahmet Kaan Gümüş · 02d10ba
vp9f72: record merge-side follow-ups (merge commit, clean resolution, gates, sweeps)

Merge commit 357f3437 (real merge over the odd-dims lane), clean auto-merge
of decode.rs, P3 TDK diagnostic fix folded in, merged-tree gate 34/34 with
5-warning parity, integration sweeps 120/120 and odd 12/12, worktree and
private target dirs cleaned.
vp9: inter context write-back zeroes the window's tail, not bytes past itAhmet Kaan Gümüş · 6743870
vp9: inter context write-back zeroes the window's tail, not bytes past it

libvpx's vp9_decode_block_tokens (vp9_detokenize.c:273-323) applies the
frame-edge shift from get_ctx_shift to a value whose WIDTH IS THE WRITTEN
WINDOW's -- a uint16_t for TX_8X8, uint32_t for TX_16X16, uint64_t for
TX_32X32 -- so (eob>0)*0x0101 >> 8 yields 0x0001, i.e. bytes [1,0]: the
shift zeroes the window's TAIL.

The port shifted a full 64-bit spread instead and then took byte k, so the
window's last slot kept its previous value. get_ctx_shift only fires for a
block that runs past an edge (mb_to_*_edge < 0), which at a 1080-tall frame
(mi_rows 135) is the last PARTIAL superblock row, so the defect is
invisible to every non-edge block: a bottom-row chroma transform block
handed a stale 1 to the next row's entropy-context read and the tile bool
decoder desynced on the 120-frame 60fps corpus stream at input frame 72.

That stream now decodes all 120 frames byte-identically to the libvpx 1.15
oracle, with every transform block's context read and every write window
equal to the oracle's on every tile.

Both token paths share a new write_tx_context helper, whose narrowing is
libvpx's cast; the intra path's per-width casts were already correct.

Witness: corpus_1080p_60fps_matches_ffmpeg_past_frame_72 (media-gated,
against ffmpeg's rawvideo) fails on the base tree with the desync and
passes here. lanes/vp9f72.report.md has the oracle recipe and the tables.