Commits
Commits on
5a2f5efe3a0771ac7ca43d57bdf63c19a7b75ff62026-08-30
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
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.
docs(av1): lane-intradisp r1 charter (intra rect partition dispatch)Ahmet Kaan Gümüş · 0e4b5d5Browse files
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.
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.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.