Commits
Commits on
75017f18331c5087edecb2a89dee3f3593b1c7ad2026-08-30
fix(av1): gm_get_motion_vector block-centre -1 offset; root-cause seed-43 wedge mismatch to missing global-warp prediction path (not fixed)Ahmet Kaan Gümüş · 75017f1
fix(av1): gm_get_motion_vector block-centre -1 offset; root-cause seed-43 wedge mismatch to missing global-warp prediction path (not fixed) Root-caused lane-gm r2's interintra-wedge gate mismatch (seed 43, frame 1 luma) via a pinned/self-decoded-twice reproduction and a msac range-ladder comparison against a patched aomdec: entropy is in sync at the divergent block (rng=38664 both sides), and this decoder's gm_get_motion_vector computes the spec-correct mv once block_center_x/y's missing "- 1" is fixed (found by diffing against the real oracle's mv.h). The remaining gap is real but unfixed this round: libaom predicts every is_global_mv_block (ROTZOOM/AFFINE GLOBALMV, >=8x8) with the full per-pixel affine global-motion warp (reconinter.c's allow_warp / global_warp_allowed), independent of motion_mode; this decoder only builds a warp prediction for local WARPED_CAUSAL and falls back to translational MC for every other GLOBALMV block. Whole-frame global_motion != IDENTITY refusal in stream.rs stays in place.
docs(av1): gm r2 -- record step-8 narrowing attempt + its pixel-mismatch reversalAhmet Kaan Gümüş · 1e8e3e2
docs(av1): gm r2 -- record step-8 narrowing attempt + its pixel-mismatch reversal Removing the whole-frame IDENTITY-only refusal decoded AB/free-partition gates clean (0 global-motion refusals, both green) but exposed a real mismatch on a_real_aomenc_stream_with_interintra_wedge_decodes_pixel_exact seed 43 frame 1 luma (EC_WEDGE_GATE_ATTEMPTS=20 EC_AV1_REQUIRE_AOMENC=1). Reverted the narrowing rather than ship a wrong decode; refusal stays until that seed is captured/self-pinned and root-caused next round.
test(av1): gm r2 -- add NO_GM_MV to mvstack's own compound test call sitesAhmet Kaan Gümüş · aad87a1
test(av1): gm r2 -- add NO_GM_MV to mvstack's own compound test call sites Compile fix only, matches decode.rs leaf8's stub. golden3/golden4/scratch_* pinned-test failures observed this round are pre-existing env-only gaps (hardcoded path to a different session's scratchpad, or need EC_AV1_PIN set manually) unrelated to gm; real pinned gates (golden7, warp) pass green.
feat(av1): gm r2 -- non-IDENTITY global motion decode compilesAhmet Kaan Gümüş · 9018cff
feat(av1): gm r2 -- non-IDENTITY global motion decode compiles Threads frame_header.global_motion through decode_inter_frame_tile_with_cdfs to every decode_inter_block call site (stream.rs + both decode.rs wrappers + leaf8's compile-only NO_GM_MV/((0,0),(0,0)) stub, gm-inert by design). Single-ref path: is_global_mv_block (blockd.h:421-429, mode > TRANSLATION, IDENTITY excluded) and is_nontrans_global_motion (reconinter.h:420-425, model != TRANSLATION, IDENTITY counts) computed as separate locals, not unified. is_global_mv_block gates motion_mode_eligible (implicit SIMPLE_TRANSLATION under free mv, spec motion_mode_allowed) and MiInfo::is_global_mv0; gm_nontrans gates the interp-filter suppress arg (av1_is_interp_needed).
wip(av1): gm r2 -- compound mvstack gm threading, GLOBALMV real mv, interp two-predicate split (does not compile yet)Ahmet Kaan Gümüş · 5417eab
wip(av1): gm r2 -- compound mvstack gm threading, GLOBALMV real mv, interp two-predicate split (does not compile yet) Committed by the orchestrator: the builder wrote ~9 edits deep and hit its turn cap before it could commit. Known-incomplete, recorded verbatim so it survives.
wip(av1): mvstack global-motion substitution plumbing (inert: NO_GM_MV, all flags false)Ahmet Kaan Gümüş · 149fd7a
wip(av1): mvstack global-motion substitution plumbing (inert: NO_GM_MV, all flags false) MiInfo gains is_global_mv0/1 (all ctors false), GmMvTable threaded through the single-ref scans, and the TPL zero_mv_ctx comparison now measures against gm_mv instead of zero (mvref_common.c:369-370). decode.rs still passes NO_GM_MV, so behaviour is unchanged until the wiring lands.
feat(av1): gm_get_motion_vector port (spec 7.10.2.1)Ahmet Kaan Gümüş · 9f844b1
feat(av1): gm_get_motion_vector port (spec 7.10.2.1) Pure port of libaom's gm_get_motion_vector: IDENTITY->0, TRANSLATION's swapped-axis shift-by-13, ROTZOOM/AFFINE's block-centre projection + convert_to_trans_prec, and force_integer_mv's integer_mv_precision rounding. Unit-tested with hand-computed arithmetic in each test's own doc comment. Not yet wired to any decode site.
docs(av1): lane-gm r2 charter (r1 open items resolved; tpl zero_mv_ctx gm site added)Ahmet Kaan Gümüş · 897660b
docs(av1): lane-gm r2 charter (r1 open items resolved; tpl zero_mv_ctx gm site added)
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
docs(av1): lane-gm r1 recon HANDOFF (no new warp MC path; two-predicate trap; gm_get_motion_vector semantics; open items listed)Ahmet Kaan Gümüş · e1a2661
docs(av1): lane-gm r1 recon HANDOFF (no new warp MC path; two-predicate trap; gm_get_motion_vector semantics; open items listed)
docs(av1): lane-gm r1 charter (global motion decode; recon pre-anchored)Ahmet Kaan Gümüş · 491d2a6
docs(av1): lane-gm r1 charter (global motion decode; recon pre-anchored)
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.