forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 5591c0e1dfbc7e0137f2c8d4fb224bfcb05d01baFiltered to scripts/build-aom-oracle.shClear filter

2026-08-30

fix(av1): inter frames' intra blocks inherited a stale enable_intra_edge_filterAhmet Kaan Gümüş · d1585d0
fix(av1): inter frames' intra blocks inherited a stale enable_intra_edge_filter

ENABLE_EDGE_FILTER is a thread-local set only by decode_key_frame_tile_with_cdfs;
decode_inter_frame_tile never set it, so an inter frame's intra blocks read
whatever the last key frame decoded on that thread left behind. Within one
stream that is inert (its own key frame sets it first), but it makes decode
impure across streams sharing a thread -- a real contamination path, and the
shape that produces a suite-only flake.

decode_stream now sets it from the sequence header for every stream, covering
inter frames. Also teaches build-aom-oracle.sh to reconfigure a build tree that
was configured under a different path instead of failing to regenerate.
chore(av1): oracle build auto-detects nasm/yasm (SIMD when present, generic fallback)Ahmet Kaan Gümüş · 1db238b
chore(av1): oracle build auto-detects nasm/yasm (SIMD when present, generic fallback)

nasm landed on the box, so the pinned rebuild now uses SIMD. Verified the SIMD
oracle is functionally identical to the C-only one before swapping it in:
EC_PART range ladder byte-identical, prefilt recon dumps 24/24 frames identical
on rect-flake-2.
fix(av1): oracle lives in ~/.cache, not reaped /tmp -- 20 gates were silently vacuousAhmet Kaan Gümüş · 1fc2eb0
fix(av1): oracle lives in ~/.cache, not reaped /tmp -- 20 gates were silently vacuous

A tmpfs reclaim wiped /tmp/libaom-src between sessions. aomenc_path()'s only
default pointed there, so every one of the 20 aomenc gates hit the SKIP branch
and the suite stayed green while proving nothing.

- scripts/build-aom-oracle.sh provisions source + aomenc/aomdec under
  ~/.cache/aom-oracle (pinned v3.13.3, AOM_TARGET_CPU=generic since this box
  has no nasm; measured same 15.3s/gate as the old SIMD build).
- aomenc_path() searches the durable location first, /tmp last (legacy).
- EC_AV1_REQUIRE_AOMENC=1 turns a missing oracle into a hard failure so a
  batch run cannot report green off 20 skips.

EVIDENCE: free-partition gate with EC_AV1_REQUIRE_AOMENC=1 -- 5 pixel-exact
matches, rect_partition_hits=7 partab_hits=2, 15.34s.