Commits
Commits on
f4ec6fe741e3905a9d6ca6bd7ef7a30212bd5c272026-08-30
Merge branch 'lane-recttx': rectangular inverse transforms, all 14 sizes pinnedAhmet Kaan Gümüş · f4ec6fe
Merge branch 'lane-recttx': rectangular inverse transforms, all 14 sizes pinned The inverse transform path is (w, h) now, with the old side-taking entry points as thin wrappers so no call site moved. The rect scale round2(c * 2896, 12) fires only when |log2w - log2h| == 1, and row_shift_wh carries all 19 sizes from libaom's av1_inv_txfm_shift_ls. Every one of the 14 rectangular sizes is pinned by checksum against the real libaom 1D kernels, probed with an asymmetric coefficient block so an axis swap cannot hide -- the failure this work was most likely to ship. The square path is proven bit-identical by value, not merely by a green suite. This is the primitive, not the feature: decode.rs is untouched, and using it still needs rect scan order, rect eob context, and max_txsize_rect_lookup threading. Those three are what stand between this and lifting the refusal of inter partitions below 16x16, and the intra strips' skip-only restriction. Full lib suite 226 passed / 0 failed.
docs(av1): lane-recttx r1 report (all 14 rect sizes pinned; decode.rs wiring still owed)Ahmet Kaan Gümüş · 494492d
docs(av1): lane-recttx r1 report (all 14 rect sizes pinned; decode.rs wiring still owed)
Merge branch 'lane-altref2': the ALTREF2 gate fires and hard-assertsAhmet Kaan Gümüş · c08245b
Merge branch 'lane-altref2': the ALTREF2 gate fires and hard-asserts The gate had passed its whole life without once exercising ALTREF2 -- 86 attempts, zero firings -- because 16 frames is a single mini-GOP, room for BWDREF and never a second pyramid level. The flags were already right; the clip was too short. At 64 frames ALTREF2 fires 3-4 times per run, and the silent skip-on-never-fired is replaced by an assert, so the gate now fails rather than lies when the feature stops appearing. The search table in the report records that the gf-pyramid-height knobs add nothing measurable once the clip is long enough, so nobody repeats it. Full lib suite 224 passed / 0 failed.
Merge branch 'lane-screen': consume palette/intrabc syntax on key framesAhmet Kaan Gümüş · 31f684b
Merge branch 'lane-screen': consume palette/intrabc syntax on key frames Screen-content key frames decode now. The decoder does not reconstruct a palette -- it consumes the syntax so the arithmetic decoder stays in sync, and a block that genuinely uses palette or intrabc refuses by name. The whole-frame refusal is narrowed rather than removed: decode_inter_block's intra-sub-block branches have no palette wiring at all, so inter frames with the bit set keep refusing until a follow-up lane threads the same two flags there. Two integration points this merge had to settle: Rect intra strips (lane-intradisp) do not consume palette syntax -- the square reader's palette_bsize_ctx is keyed on a single side -- so a strip in a screen-content frame would skip symbols the encoder wrote and desync. It refuses by name instead. The filter_intra gate was eaten by the old whole-frame refusal and skipped for its whole life; now that it runs, it turned out not to pin --threads=1 the way every sibling gate does, and a multi-threaded aomenc is not deterministic, so each run encoded a different stream and the gate flaked against whichever features that run happened to pick. Pinned, plus EC_FI_SEED/EC_FI_CQ hooks so the recipe can be searched without a rebuild. It fired in 6 consecutive runs and in 14 of 15 points of a (cq, seed) sweep; the one failure was a real "use_filter_intra never fired" assert at cq=60, not a mismatch. Full lib suite 224 passed / 0 failed, twice.
fix(av1): altref2 gate -- 64-frame clip makes ALTREF2 actually fire (was 16, 86/86 zero-firings), hard-assert the hit count; search table + filter-intra status in reportAhmet Kaan Gümüş · bb31348
fix(av1): altref2 gate -- 64-frame clip makes ALTREF2 actually fire (was 16, 86/86 zero-firings), hard-assert the hit count; search table + filter-intra status in report
wip(av1): rectangular inverse transform + libaom dump harness (in progress)Ahmet Kaan Gümüş · 1a9fc2c
wip(av1): rectangular inverse transform + libaom dump harness (in progress) Committed by the orchestrator: the builder hit its turn cap mid-verification.
fix(av1): derive the key-frame skip context; refuse a split-transform rect stripAhmet Kaan Gümüş · 0b6be16
fix(av1): derive the key-frame skip context; refuse a split-transform rect strip Two defects an adversarial source review found in the intra HORZ/VERT strip merge, both confirmed against libaom. The key-frame intra path read `skip` from `cdfs.skip[0]` unconditionally, while av1_get_skip_txfm_context (pred_common.h:175-181) is above_skip + left_skip. That was latent -- key frames rarely skip -- but the rect strips are skip-only, so every strip this decoder accepts guarantees a skip=1 neighbour, and the second strip of a HORZ pair would have read the wrong CDF row and desynced the rest of the tile. Fixed at all three intra call sites, not just the rect one: the defect is the class, and the pre-existing square site is now load-bearing. The context comes off the mi skip grid, which every path already fills, with an absent neighbour contributing 0 the way an absent above_mi/left_mi does. Second, tx_depth was read and then ignored: the predictor ran over the whole strip regardless, where libaom predicts per transform unit with each unit taking its edges from the previous unit's reconstruction. That is a silent pixel mismatch, and it violates this change's own skip-only contract, so a split transform now refuses by name until the per-TU loop is ported. Full lib suite 224 passed / 0 failed -- the skip-context fix is inert for every existing stream, as it must be.
docs(av1): lane-screen r1 report -- gate counts and next-lane ceilingAhmet Kaan Gümüş · b45a5f7Browse files
docs(av1): lane-altref2 r1 charter (make the vacuous ALTREF2 gate fire)Ahmet Kaan Gümüş · 8da2b4bBrowse files
feat(av1): thread allow_screen_content_tools/allow_intrabc through decode_key_frame_tile[_with_cdfs]; narrow whole-frame refusal to non-key framesAhmet Kaan Gümüş · 818f85d
feat(av1): thread allow_screen_content_tools/allow_intrabc through decode_key_frame_tile[_with_cdfs]; narrow whole-frame refusal to non-key frames decode_block/decode_leaf8/read_intra_mode already consumed palette/intrabc syntax on key frames (prior builder). This wires the two bools the rest of the way: through decode_key_frame_tile_with_cdfs and the public decode_key_frame_tile wrapper, stream.rs's real production call (header.allow_screen_content_tools/allow_intrabc), and the 7 test call sites (false, false -- none of those fixtures use screen content tools). Narrows stream.rs:169's whole-frame refusal to `frame_type != Key && allow_screen_content_tools`: decode_inter_block/ decode_inter_block8's intra-sub-block branches have no palette/intrabc wiring at all, so removing the refusal for inter frames would desync them silently.
fix(av1): pin streams to the durable fixtures dir, not a reaped scratchpadAhmet Kaan Gümüş · ae78393
fix(av1): pin streams to the durable fixtures dir, not a reaped scratchpad Three sites addressed a session scratchpad that tmpfs has since reclaimed. Two pinned-mismatch tests could only fail on the read, so pinned_golden4 -- whose bytes do still exist under fixtures/ -- had been dead rather than passing, and it decodes pixel-exact now that it can find them. golden3's bytes are genuinely gone; it now skips by name and says how to re-capture. Worse, the cdf-forwarding gate's unconditional mismatch pin wrote to that same dead path with .expect(), so a real mismatch would have aborted on the write instead of reporting itself. It now writes to fixtures/ and warns rather than panicking, leaving the pixel assert to be the thing that fails. Same class as the reaped-oracle failure that silently voided 20 gates: an instrument parked in a session-scoped directory stops being an instrument.
Merge branch 'lane-intradisp': intra HORZ/VERT strip dispatch (skip-only)Ahmet Kaan Gümüş · 0a532b3
Merge branch 'lane-intradisp': intra HORZ/VERT strip dispatch (skip-only) 32x16 and 16x32 intra strips now read every symbol the spec requires -- skip, y_mode, angle_delta, uv_mode, cfl_alphas, filter_intra, tx_depth -- so the arithmetic decoder stays in sync, and reconstruct pixels when the block is skipped. A non-skip strip, and a strip that selects filter_intra, each refuse by name. The ceiling is not this dispatch: chroma on these bsizes gets a genuinely rectangular TX_16X8 / TX_8X16 out of av1_get_max_uv_txsize with no square escape, and transform.rs has no rectangular transform at all. lane-recttx builds that primitive. Full lib suite 224 passed / 0 failed on the merge. The free-partition gate is flaky by construction (aomenc attempt selection): three runs gave 32/35/33 refusals and 8/5/7 pixel-exact of 40, no clean directional move, reported as such rather than as a win.
wip(av1): palette/intrabc syntax consumption (in progress, threading not finished)Ahmet Kaan Gümüş · b46f7d8
wip(av1): palette/intrabc syntax consumption (in progress, threading not finished) Committed by the orchestrator: the builder hit its turn cap mid-threading.
docs(av1): lane-intradisp r1 report -- verification of 15b588fAhmet Kaan Gümüş · 6da1ef3
docs(av1): lane-intradisp r1 report -- verification of 15b588f 224/0 full suite, 4/4 named intra gates pass (filter_intra, tx_select, directional_chroma, intra-with-deblocking), free-partitions gate flaky spread reported over 3 runs (aomenc RD attempt-selection, not a regression). golden3/golden4 pinned-test failures are pre-existing (commit bec2741, unrelated stale scratchpad path) -- not this lane. Scope-down (skip-only HORZ/VERT strips; rect-TX and filter_intra square-only ceiling) confirmed and accepted.
docs(av1): lane-recttx r1 charter (rectangular inverse transforms)Ahmet Kaan Gümüş · 1ae8ebfBrowse files
wip(av1): intra HORZ/VERT strip dispatch (skip-only), recovered from stashAhmet Kaan Gümüş · 770cfc0
wip(av1): intra HORZ/VERT strip dispatch (skip-only), recovered from stash Builder hit its turn cap with the whole implementation sitting in a stash; committed verbatim as recovered so it cannot be lost. Gate ladder, report and scope-down rationale still owed.
fix(av1): bound the 8x8-OBMC gate's ffmpeg source with -t; correct a false refusal claimAhmet Kaan Gümüş · 90aeec8
fix(av1): bound the 8x8-OBMC gate's ffmpeg source with -t; correct a false refusal claim The gate's EC_AV1_OBMC8_SOURCE override lets a caller supply a lavfi source that carries no `duration=` of its own; `testsrc2` is endless, so the y4m pipe never closed and the gate hung to its 300 s timeout. `-t` is the bound that holds for every source. Third instance of the class (mandelbrot `end_pts` twice before): bound the trim inside ffmpeg on decode, bound the duration with `-t` on generate. With the bound in place the gate runs 80 attempts in 7 s and shows why it has never fired one 8x8 OBMC block: decode.rs refuses every inter partition below 16x16. Its message claimed "this encoder never writes one", which the run disproves -- reworded to name the real gap.
docs(av1): lane-screen r1 charter (consume palette/intrabc syntax)Ahmet Kaan Gümüş · d393fb5Browse files
docs(av1): lane-intradisp r1 charter (intra rect partition dispatch)Ahmet Kaan Gümüş · 0e4b5d5Browse files
Merge branch 'lane-intrarect': rectangular intra prediction (opus-verified vs libaom; 568-case C-dump proof, square paths bit-identical)Ahmet Kaan Gümüş · e33ddfaBrowse files
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.
docs(av1): record verifier PASS + correct two overstated claims in the intrarect reportAhmet Kaan Gümüş · 08bc484Browse files
test(av1): make the 8x8-OBMC gate's recipe searchable (it has never fired)Ahmet Kaan Gümüş · 62aad8f
test(av1): make the 8x8-OBMC gate's recipe searchable (it has never fired) The gate uses smooth gradients, so aomenc's RD never splits below 16x16: 45 attempts, 0 8x8-OBMC blocks, and it 'passes' by printing SKIP -- the owed 8x8-OBMC debt is exactly this. EC_AV1_OBMC8_SOURCE overrides the lavfi source and EC_OBMC8_ATTEMPTS bounds the loop, so a firing recipe can be searched for without a rebuild. No recipe found yet; the search is the next step.
test(av1): C-verify rect intra predictors against an independent transcriptionAhmet Kaan Gümüş · b526e26
test(av1): C-verify rect intra predictors against an independent transcription
lanes/intrarect_dump.c standalone-transcribes dc_predictor_rect,
smooth_predictor, paeth_predictor and the full directional path (edge
filter/upsample + z1/z2/z3, with the intra_edge_filter_strength
blk_wh<=12 fix) from libaom source read this round. intra.rs's new
rect_predictors_match_c_dump test drives the same synthetic neighbours
through crate::intra::predict for 8 rect shapes x 3 flat modes + 17
directional angles x {enable_edge_filter, smooth_neighbor} and
checksum-matches all 568 cases against lanes/intrarect_dump.expected.txt
-- 224/224 lib suite still green (was 223, +1 this test).feat(av1): widen intra::predict/Edges to rect (bw != bh)Ahmet Kaan Gümüş · 24d69ed
feat(av1): widen intra::predict/Edges to rect (bw != bh) Predictor + Edges::build now take (bw, bh) instead of one side: DC's dc_predictor_rect multiply-shift divide (derived, not tabulated, per libaom's own comment -- AV1's only rect ratios 1:2/1:4 leave d==3/5), smooth's separate width/height weight rows, and the directional walk's bw+bh reach with cross-axis edge-filter/upsample extensions (above extends by bh, left by bw -- reconintra.c's txwpx/txhpx swap). Also fixes a latent bug this widening surfaced: intra_edge_filter_strength was missing the blk_wh<=12 branch, unreachable for any square side sum but live for e.g. a 4x8 block. All 21 call sites still pass (side, side); full lib suite green (223/223) proves square behaviour is bit-identical. Tile dispatch still refuses rect/AB partitions -- next lane's job.
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.
feat(av1): commit the oracle localization instrumentation (was lost with /tmp)Ahmet Kaan Gümüş · 6632737
feat(av1): commit the oracle localization instrumentation (was lost with /tmp)
scripts/instrument-aom-oracle.sh idempotently adds the two ladder rungs to the
oracle's aomdec, both env-gated so an uninstrumented run is unchanged:
EC_AV1_PREFILT_DUMP -> per-frame Y/U/V recon written after tile decode and
BEFORE loop filter/CDEF/LR (separates recon from filtering mismatches)
EC_TRACE=1 -> EC_PART/EC_PART_VAL with ctx, tell and msac RANGE per
partition symbol (the range ladder; compare ranges, never tell)
These existed only as hand edits in the reaped /tmp tree. Re-derived against
the pinned v3.13.3 source and verified byte-compatible with the pre-loss
instrument: EC_PART emits the identical rng values (frame 0 mi(0,0) bsize=9
rng=51744) and the dump is the same 4096+1024+1024 layout.
EVIDENCE: rect-flake-2.obu, oracle dump vs our EC_AV1_PREFILT_DUMP --
24/24 frames byte-identical.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.
2026-08-29
Merge branch 'lane-wii': wedge-interintra blend decodes (opus-verified vs libaom; gate fires wii_hits 2-7 per run, hard-asserted)Ahmet Kaan Gümüş · f03f2a3Browse files
fix(av1): wii gate -- bound mandelbrot with -t (end_pts never ends; 1h hang), drop vacuous refusal asserts, hard-assert wii_hits (verifier finding); reportAhmet Kaan Gümüş · 098e9a7
fix(av1): wii gate -- bound mandelbrot with -t (end_pts never ends; 1h hang), drop vacuous refusal asserts, hard-assert wii_hits (verifier finding); report
feat(av1): wedge-interintra blend (adapting wedge_idx symbol, fixed sign 0, box-averaged chroma mask); dedicated gateAhmet Kaan Gümüş · 841cf14
feat(av1): wedge-interintra blend (adapting wedge_idx symbol, fixed sign 0, box-averaged chroma mask); dedicated gate Flash-builder r2 output, orchestrator-committed: builder hit its cap without committing. Lib 221/0 + 14 pins green re-run by orchestrator; the slow wedge gate runs separately.
Merge branch 'lane-partab': HORZ_A/VERT_A/VERT_B inter partition arms decode (opus-verified vs libaom decode_partition; AB gate fires live, refusals forbidden)Ahmet Kaan Gümüş · 51096e8Browse files
style(av1): re-indent the free gate's summary eprintln (verifier nit)Ahmet Kaan Gümüş · e71b2deBrowse files
docs(av1): partab r1 report -- AB inter arms fire live, gates greenAhmet Kaan Gümüş · 1e925f7Browse files
wip(lane-partab): HORZ_A/VERT_A/VERT_B INTER arms decode; PARTAB_HITS atomic; dedicated AB gate (7 exact, hits=6)Ahmet Kaan Gümüş · edca059Browse files
wip(lane-partab): HORZ_A/VERT_A/VERT_B INTER dispatch arms decode (16x16 squares + 16x32/32x16 strips, PARTAB_HITS atomic); gate report prints partab_hitsAhmet Kaan Gümüş · b391634Browse files
chore: drop compiled wedge_dump binary from the repo (source + expected dump stay)Ahmet Kaan Gümüş · 35de25fBrowse files
Merge branch 'lane-wedge': COMPOUND_WEDGE mask codebook (checksum-verified vs independent C oracle) + blend; gate fires wedge liveAhmet Kaan Gümüş · 1381968Browse files
2026-08-28
fix(av1): overlappable_left steps by the neighbour's heightAhmet Kaan Gümüş · f1a6012
fix(av1): overlappable_left steps by the neighbour's height The OBMC left-column walk stepped by MiInfo.size (width); a 32x16 left strip swallowed the strip below it and its band blended the wrong neighbour prediction (rect-flake-3, +-2 in the second strip's band). Class sweep: all other grid walks step by the matching axis. Pin added; lib 221/0.
fix(av1): mvstack scan weight inc mins by the candidate's cross axisAhmet Kaan Gümüş · d6cb150
fix(av1): mvstack scan weight inc mins by the candidate's cross axis libaom's scan_row_mbmi mins inc by mi_size_high (candidate height), scan_col by width; ours used the scan's own axis at all 4 sites (single + compound). Square candidates hide it; a 32x16 strip above tied weights, reordering DRL entry 1 and suppressing the -5 extended row scan. rect-flake-2 byte-exact, pin added to the default list; lib 220/0.
fix(av1): rect-flake-1 byte-exact -- MiInfo size_h, rect warp samples/projection dims, OBMC per-pass overlap, deblock tx-height gridAhmet Kaan Gümüş · 8e2b541
fix(av1): rect-flake-1 byte-exact -- MiInfo size_h, rect warp samples/projection dims, OBMC per-pass overlap, deblock tx-height grid Three prediction-side root causes after the CDF rows: (1) neighbour records carry true height (size_h) so a rect strip donates warp samples at ITS center and col scans step/weight by height; find_projection gets the strip's true dims -- wmmat now matches aomdec exactly. (2) obmc_blend: per-pass neighbour caps (width-log2 above, height-log2 left) and overlaps (bh/2 above, bw/2 left). (3) tx_h_grid: deblock horizontal edges gate by transform HEIGHT; the single-scalar grid deblocked the strip seam wrong (1-px chroma drift).
docs(av1): lane-wedge r3 report -- full lib suite confirmed green (221 passed, 0 failed)Ahmet Kaan Gümüş · 3e6f7b1Browse files
fix(av1): motion_mode/obmc CDFs gain BLOCK_16X32/32X16 rows; rect strips index their own bsize rowAhmet Kaan Gümüş · ab0445e
fix(av1): motion_mode/obmc CDFs gain BLOCK_16X32/32X16 rows; rect strips index their own bsize row rect-flake-1 strip 1's motion_mode read diverged on the square-class row; with the true rows the whole HORZ block is entropy-exact (range ladder exact everywhere) -- residual pixel diff is prediction-side (warp).
docs(av1): lane-wedge r3 report (WIP pending background lib-suite result)Ahmet Kaan Gümüş · 50633e4Browse files
docs(lane-rect2): r2 report -- PARTIAL, mvstack caller fix narrows pin, not yet byte-exactAhmet Kaan Gümüş · 519a167Browse files
feat(av1): wire the COMPOUND_WEDGE blend (comp_group_idx==1, compound_type==0); gate fires wedge live (mandelbrot diagonal content, dist-wtd-comp=0), 20/20 pixel-exact, 475 wedge hitsAhmet Kaan Gümüş · 2803580
feat(av1): wire the COMPOUND_WEDGE blend (comp_group_idx==1, compound_type==0); gate fires wedge live (mandelbrot diagonal content, dist-wtd-comp=0), 20/20 pixel-exact, 475 wedge hits