Commits
Commits on
08bc484f92b43b0799e0efa26aa27bd5375f8a882026-08-30
docs(av1): record verifier PASS + correct two overstated claims in the intrarect reportAhmet Kaan Gümüş · 08bc484Browse files
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.
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
wip(av1): rect bw4/bh4 derivation + grid stamp fix, HORZ/VERT arms resurrected -- pin narrows but not byte-exact yetAhmet Kaan Gümüş · 4a33f95Browse files
wip(av1): wedge mask codebook (square 8x8/16x16/32x32), checksum-verified vs independent C dumpAhmet Kaan Gümüş · 99ff391Browse files
Merge branch 'lane-partitions' (incl. lane-maskcomp2): DIFFWTD masked-compound blend decodes; rect write-footprint plumbing; HORZ/VERT strip mvstack defect pinned + refused for r2Ahmet Kaan Gümüş · 9cec3a2Browse files
Merge branch 'lane-maskcomp2' into lane-partitions (integration)Ahmet Kaan Gümüş · 9dc3c1eBrowse files
feat(av1): rect write-footprint plumbing; HORZ/VERT strips refuse by name pending rectangular mvstack (r2)Ahmet Kaan Gümüş · ebb03bd
feat(av1): rect write-footprint plumbing; HORZ/VERT strips refuse by name pending rectangular mvstack (r2) Square-context strip decode desyncs (pin rect-flake-1.obu, frame 16 strip 2: NEARMV picked a different DRL entry -- a 32x16 block's stack weights use n4_h=4). Full strip decode kept in history (4782e57) for r2; free gate recipe re-clamped, green 3/3; lib 220/0; 11 pins byte-exact. HORZ_B's top strip carries the same latent corner-cut -- r2 scope.
wip(av1): decode HORZ/VERT rect partitions (32x16/16x32 skip strips), rect-footprint neighbour/grid writesAhmet Kaan Gümüş · 1d71087Browse files
feat(av1): port the DIFFWTD masked-compound blend (comp_group_idx==1), wedge still refusedAhmet Kaan Gümüş · ddb5bef
feat(av1): port the DIFFWTD masked-compound blend (comp_group_idx==1), wedge still refused diffwtd_mask/blend_masked_compound in mc.rs, algebraically re-derived onto this crate's unbiased predict_compound_intermediate domain (libaom's round_offset bias cancels exactly in both the mask diff and the blend weight sum, proven in the doc comments -- no offset bookkeeping needed). Both comp_group_idx==1 decode.rs sites now build+apply the real blend for COMPOUND_DIFFWTD; COMPOUND_WEDGE still refuses by name (wedge codebook out of r2 scope per the charter's mergeable-partial fallback). Fixed a real latent bug while wiring this in: compound_idx was read unconditionally, missing libaom's comp_group_idx==0 outer gate (dead code before this round since the masked path always errored earlier). Gate a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact flipped to hard assert (masked_compound_hits() > 0) with DIFFWTD refusals now forbidden; hammered 8/8 green, zero pixel mismatches. Full ec-av1 lib suite: 220 passed, 0 failed, 17 ignored.
Merge branch 'lane-maskcomp' (incl. lane-rectgate): masked-compound syntax entropy-exact + free-partition gate; partition coverage gap localized (only NONE/SPLIT/HORZ_B decode)Ahmet Kaan Gümüş · 37a8819Browse files
Merge branch 'lane-rectgate' into lane-maskcomp: both gates kept (integration merge)Ahmet Kaan Gümüş · 18b88dcBrowse files
test(av1): masked-compound gate zero-hit run soft-skips instead of failing the default suiteAhmet Kaan Gümüş · 7aa15de
test(av1): masked-compound gate zero-hit run soft-skips instead of failing the default suite aomenc RD nondeterminism can leave a whole attempt window without a comp_group_idx==1 block; that run proves nothing and must not flake the suite. r2 flips this to a hard assert when the blend lands.
wip(av1): consume compound_type/wedge_idx/wedge_sign/mask_type on masked compound (comp_group_idx==1); blend still refusedAhmet Kaan Gümüş · 09ba66a
wip(av1): consume compound_type/wedge_idx/wedge_sign/mask_type on masked compound (comp_group_idx==1); blend still refused lane-maskcomp r1. Syntax entropy-exact per libaom decodemv.c 1634-1656: compound_type (COMPOUND_WEDGE/COMPOUND_DIFFWTD), then wedge_index+wedge_sign or mask_type. New CDF tables (COMPOUND_TYPE, WEDGE_IDX) wired through the 4-site checklist (cdf.rs default, cdf_state.rs field/init/reset_counts). Prediction (wedge/diffwtd mask blend) is NOT ported -- both refusal sites still return Err, now after consuming the symbols and naming the blend as the gap. New gate a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact + MASKED_COMPOUND_HITS proves the syntax fires without desyncing surrounding blocks (pixel-exact matches every non-masked-compound attempt). All 11 existing pins + full ec-av1 --lib suite unaffected.
feat(av1): rect/ab free-partition gate; localize real coverage gapAhmet Kaan Gümüş · a3f46bc
feat(av1): rect/ab free-partition gate; localize real coverage gap New gate lets aomenc pick a free partition instead of every prior gate's pinned min=max=32. Finding: charter's "extended partitions landed" premise was wrong -- decode_frame's inter-tile match only handles NONE/SPLIT/HORZ_B; HORZ/VERT/HORZ_A/VERT_A/VERT_B/HORZ_4/VERT_4 all correctly refuse (no silent miscoding). Empirically swept 3 recipes (120 aomenc attempts); no decode defect found, only a genuine 7-of-10-partition-type coverage gap plus an aomenc-side --enable-1to4-partitions=0 quirk (doesn't suppress VERT_4). Diversity counter added but its assertion shipped soft, not a hard panic, since PARTITION_HORZ_B never fires for this fixture regardless of clamp (confirmed against the already-green warp gate too). ec-av1 lib 219/0. Details in lanes/rectgate-r1.report.md.
Merge branch 'lane-interintra': non-wedge interintra decode; warp-sample interintra exclusion; switchable_interp CDF counter resetAhmet Kaan Gümüş · 5c61a65Browse files
feat(av1): decode non-wedge interintra prediction; fix warp-sample interintra exclusion; reset switchable_interp CDF counterAhmet Kaan Gümüş · a5a10f4
feat(av1): decode non-wedge interintra prediction; fix warp-sample interintra exclusion; reset switchable_interp CDF counter - interintra syntax (flag -> 4-ary mode -> wedge flag, wedge==1 stays a named refusal) + non-wedge smooth blend (II_DC/V/H/SMOOTH, ii_weights1d, all planes) on the 16/32 single-ref path and the 8x8 leaf - interintra blocks record ref_frame1 = INTRA_FRAME(0) in the mi grid so find_samples/num_proj_ref exclude them (libaom av1_findSamples requires ref_frame[1] == NONE_FRAME); mvstack ref-diff scan guards rf1 > 0 - ii-flake-9: switchable_interp was the one Cdfs field missing from reset_counts -- unreset counter saturated past 15 reads and slowed the adaptation rate to >>5 while libaom (per-frame counter reset, av1_reset_cdf_symbol_counters) stays >>4; rows drifted a few counts and the gate flaked on read-dense streams. Field-list audit: no other gap. - new gate a_real_aomenc_stream_with_interintra_decodes_pixel_exact (interintra refusals forbidden, hits counter asserted); pinned-stream test extended to 11 fixtures (ii-flake-1..9) Evidence: 11/11 pins byte-exact; interintra gate 12/12 hammer clean (hits 11-22 per run); warp gate 3/3; ec-av1 lib 218 passed / 0 failed.
Merge branch 'lane-warp': WARPED_CAUSAL decode lands; interp-read suppression (warp + skip_mode), mvstack entry clamping, extended inter partitionsAhmet Kaan Gümüş · d45c7f8
Merge branch 'lane-warp': WARPED_CAUSAL decode lands; interp-read suppression (warp + skip_mode), mvstack entry clamping, extended inter partitions Warp leaves the named-refusal list: av1_findSamples/num_proj_ref, 3-symbol motion_mode, affine projection + filter, and av1_is_interp_needed's conditional-read contract are ported. Three pinned aomenc streams decode 24/24 byte-exact; warp gate flipped to must-decode (10/10 sweeps clean); ec-av1 lib 217/0; workspace gate 148/148. Root-cause chain and verification in lanes/warp-r5*.report.md + lanes/warp-verify.report.md.
docs(av1): verification report + is_interp_needed caveat commentAhmet Kaan Gümüş · 46511ffBrowse files
test(av1): mvstack unit test asserts entries are clamped (was pinning the pre-fix behaviour)Ahmet Kaan Gümüş · 578beeeBrowse files
test(av1): warp pin test covers all three pinned regression streamsAhmet Kaan Gümüş · e19a868Browse files
fix(av1): clamp every mvstack entry, not just the derived nearest/near pairAhmet Kaan Gümüş · 569067b
fix(av1): clamp every mvstack entry, not just the derived nearest/near pair libaom av1_find_mv_refs clamps each stack entry after the build; the NEWMV predictor is the DRL-selected ENTRY, so a left neighbour coded past the frame edge (col 520 in pinned warp-flake-5.obu) predicted unclamped where libaom used 384 -- an mv drift with IDENTICAL entropy (same diff symbols, range ladder exact at every partition read) surfacing as +-1 warp rounding crumbs in a hidden altref, inherited by shown frames (V-plane assert). Both builders (single + compound). All three warp pins green. class: value-equal narrowing drift (neighbour-votes-all-its-fields family); localization = part-read range ladder exact -> prediction-side, then EC_MV pred diff vs patched aomdec.
fix(av1): suppress the interp-filter read for skip_mode compound blocksAhmet Kaan Gümüş · 497de2d
fix(av1): suppress the interp-filter read for skip_mode compound blocks Same conditional-read contract as the WARPED_CAUSAL fix one commit back: av1_is_interp_needed==0 for skip_mode, libaom derives Regular. Our compound path read 1-2 switchable_interp symbols on every skip_mode block; range ladder on pinned warp-flake-7.obu decode-16 diverged inside its B01 skip_mode block (part-read rng 45276 exact, next part 46380 vs 44416). Fixes pinned warp-flake-7 (frame 15 luma); original warp pin stays green. Also: part32_pre range trace under EC_AV1_TRACE (inert). class: symbol-consumption-gap (conditional-read side).
feat(av1): flip the warp gate to must-decode; r5e reportAhmet Kaan Gümüş · 8d5c79f
feat(av1): flip the warp gate to must-decode; r5e report refuses-or-matches -> warp refusals forbidden, matched>0 and warp_selected_hits>0 required (non-warp capability refusals still skip). KNOWN: cross-run encoder non-determinism observed (warp_selected_hits 156/103 across identical-seed sweeps) and one run caught a seed-66 frame-13 mismatch -- flake hunt with EC_AV1_GATE_DUMP in flight; a caught stream becomes the next pin.