Commits
Commits on
be7060ab12dafa901a2145e9c9f167ecb479fa512026-08-30
Merge branch 'lane-chroma': smooth, paeth and directional chroma decodeAhmet Kaan Gümüş · be7060a
Merge branch 'lane-chroma': smooth, paeth and directional chroma decode The lane went looking for chroma modes and found a luma bug first: reconstruct() hardcoded smooth_neighbor = false, so the intra edge filter took the wrong strength bucket whenever a directional block neighboured a smooth-predicted one. Its own comment called it a corner-cut. Twenty gates had never caught it because every one of them passed --enable-smooth-intra=0. Landed here: the luma fix with smooth_neighbor threaded properly, UV-mode neighbour tracking, the smooth/paeth chroma refusals gone (blocker 5 of the default-settings chain), and the directional-chroma sibling in decode_inter_block's intra-in-inter branch. Gate-proven for the key-frame path. The inter-frame intra-block path is a structural mirror of it plus a green suite, NOT proven by firing -- the lane disclosed this itself, and the owed gate is written down in lanes/chroma-r4.report.md: force an inter-frame leaf with such a uv_mode, assert smooth_uv_hits/directional_uv_hits and pixel-exactness. Both guards fired as designed and are updated: gate_coverage loses enable-smooth-intra and enable-paeth-intra, refusal_inventory loses the two round-2 chroma refusals. Suite 239 passed / 0 failed.
Merge branch 'lane-realworld': cdef_idx decodes, gated on a real aomenc streamAhmet Kaan Gümüş · 51e931c
Merge branch 'lane-realworld': cdef_idx decodes, gated on a real aomenc stream Blocker 1 of the default-settings chain is closed. The per-64x64 cdef_idx symbol is read (spec 5.11.56) at all five sites where skip is decoded, kept in a per-superblock grid, and apply_cdef selects that superblock's strength pair instead of index 0. Gate a_real_aomenc_stream_with_cdef_decodes_pixel_exact: 40/40 pixel-exact, zero refusals, cdef_idx_hits hard-asserted > 0 (24-40/run). The lane also established why the obvious gate could never work: cdef_bits selects among per-SUPERBLOCK strength profiles, so a single-64x64-superblock fixture gives the encoder nothing to differentiate -- 20 attempts kept the counter at 0. It needed 128x64. Both guards on main fired exactly as designed and are updated here: gate_coverage's NEVER_EXERCISED loses enable-cdef (a gate enables it now), and refusal_inventory loses "a frame with cdef_bits > 0". The decode.rs conflict was the counter doc-comment restyle against the lane's new CDEF thread-locals; the lane's block is kept, restyled to match. Suite 237 passed / 0 failed.
feat(av1): directional/smooth/paeth chroma in inter-frame intra blocksAhmet Kaan Gümüş · c3a0a18
feat(av1): directional/smooth/paeth chroma in inter-frame intra blocks decode_inter_block's intra-in-inter branch refused any non-DC/CFL uv_mode and never computed angle_delta_uv (charter step 4 sibling to the r1/r3 keyframe fix). Mirror read_intra_mode's own already-proven pattern: uv_predict_mode (CFL predicts as DC), angle_delta_uv read for directional uv_mode, smooth_neighbor_uv from the chroma neighbour's own uv_mode, and SMOOTH_UV_HITS/DIRECTIONAL_UV_HITS counted same as the keyframe path. Full lib suite green (234/0/17 ignored) after the change -- no dedicated gate proves an inter-frame intra block with this uv_mode actually fires through a real aomenc stream yet (deferred, see report).
test(av1): pin the decode path's refusals, and the claims they makeAhmet Kaan Gümüş · 093155e
test(av1): pin the decode path's refusals, and the claims they make Two things this decoder keeps relearning. A refusal string is a claim: 'this encoder never writes one' asserts something about the world, and one such string was disproved by the very gate that carried it. And refusals accumulate silently -- each one is the right call for the lane that adds it (refuse by name rather than desync), but the total is the distance to decoding a default-settings stream, and nothing printed the total. refusal_inventory derives every unsupported(...) reason reachable on the decode path -- decode.rs and stream.rs, both call shapes -- and pins it: 39 distinct refusals, of which 7 are phrased as claims about what an encoder emits and are now declared in their own list rather than scattered. Adding, renaming or removing a refusal fails until the inventory is updated, so the diff of this file is the decoder's capability delta in English. A new claim-shaped refusal fails separately, with the reason it needs evidence. Negative-checked: dropping one entry fails both tests naming that exact string. Suite 236 passed / 0 failed.
docs(av1): lane-realworld r3 charter -- part64 silent desync, then delta_q/delta_lfAhmet Kaan Gümüş · 5a8c7feBrowse files
docs(av1): lane-realworld r2 report -- CDEF gate landed, delta_q/delta_lf handoffAhmet Kaan Gümüş · 14aa2edBrowse files
feat(av1): CDEF gate -- real aomenc stream, cdef_idx_hits hard-assertedAhmet Kaan Gümüş · 24f08c2
feat(av1): CDEF gate -- real aomenc stream, cdef_idx_hits hard-asserted lane-realworld r2: verified bd61617's suite green (232/0), then wrote a_real_aomenc_stream_with_cdef_decodes_pixel_exact. Multi-SB frame required (single 64x64-SB fixtures the other gates use structurally can never produce cdef_bits>0 -- nothing to differentiate); 128x64 (2 SBs) at --cpu-used=4 --aq-mode=0 --deltaq-mode=0 avoids two pre-existing unrelated gaps this lane doesn't own: cpu-used=0 pushes aomenc's RD into SB-level partition types (HORZ_4/VERT_B) this decoder's intra part64 match doesn't cover, and cpu-used>=1's default aq-mode writes delta_q/delta_lf (this lane's own next step). cdef_idx_hits() hard-asserted > 0 (24-40 hits per run, matched 40/40 pixel-exact).
wip(av1): lane-chroma r3 smooth-intra gate green path + chroma work, committed at the 75-turn capAhmet Kaan Gümüş · f4a11cd
wip(av1): lane-chroma r3 smooth-intra gate green path + chroma work, committed at the 75-turn cap Committed verbatim by the orchestrator so the work survives the cap; state unverified by me.
docs(av1): lane-chroma r3 charter -- run the smooth-intra gate, then chromaAhmet Kaan Gümüş · d627fbcBrowse files
wip(av1): smooth-intra gate in progress, committed at the 75-turn capAhmet Kaan Gümüş · 7ba8085
wip(av1): smooth-intra gate in progress, committed at the 75-turn cap Committed verbatim by the orchestrator so the work survives the cap; the gate compiles but has never been run.
fix(av1): thread smooth_neighbor into intra edge filter strength (luma)Ahmet Kaan Gümüş · f3c639d
fix(av1): thread smooth_neighbor into intra edge filter strength (luma) reconstruct()/reconstruct_rect()/read_plane() hardcoded smooth_neighbor=false (spec get_intra_edge_filter_type / libaom get_filt_type), so a directional block's edge-filter strength bucket was wrong whenever its above/left neighbour used SMOOTH_PRED..=SMOOTH_H_PRED. Threaded a real per-block check (is_smooth_mode over Neighbours::above_mode/left_mode) through decode_block, decode_block_rect and decode_leaf8 (the key-frame intra call sites); the inter-frame intra-in-inter paths (decode_inter_block/decode_inter_block8) keep smooth_neighbor=false unchanged for now (out of this lane's scope, matches r1's own note that path is a separate gap). Chroma stays false (exact) until the smooth/paeth uv_mode refusal is lifted in a later round. New SMOOTH_LUMA_HITS thread-local counter for the gate. 232/232 ec-av1 --lib passing (baseline unchanged).
test(av1): pin the coding tools no real-aomenc gate exercisesAhmet Kaan Gümüş · 21b2356
test(av1): pin the coding tools no real-aomenc gate exercises lane-chroma r1 found reconstruct()'s `smooth_neighbor` hardcoded false -- wrong whenever a directional block neighbours a smooth-mode one -- and it had survived twenty real-aomenc gates because every one of them passes --enable-smooth-intra=0. The corner-cut was not hidden by a weak assert; it was hidden by the gates' encoder recipes, which no assert had ever looked at. gate_coverage derives, from the gate source itself, the set of aomenc tools switched off in all 20 gates and on in none -- provably never exercised by a real stream -- and pins it: cdef, intrabc, paeth-intra, palette, smooth-intra. An unlisted tool joining that set fails the test, and so does an entry the gates have since started enabling, so a lane closing a hole must delete its line. Negative-checked: dropping the enable-cdef entry fails with exactly that name. Suite 234 passed / 0 failed.
docs(av1): lane-realworld r2 charter -- verify bd61617, gate cdef_idx, then delta q/lfAhmet Kaan Gümüş · 09db227Browse files
docs(av1): lane-chroma r2 charter + r1's attempt diff, out of the reapable scratchpadAhmet Kaan Gümüş · 04170b5Browse files
report(av1): lane-chroma r1 -- smooth/paeth chroma refusal root-caused, not landedAhmet Kaan Gümüş · a869d13
report(av1): lane-chroma r1 -- smooth/paeth chroma refusal root-caused, not landed
Removing the two round-2 refusals (decode.rs uv_mode 9..=12) is a real two-line
change, but a real-aomenc gate (--enable-smooth-intra=1 --enable-paeth-intra=1,
never exercised by any other gate in the tree before) fails on LUMA pixels,
not chroma: the documented reconstruct() corner-cut ("smooth_neighbor left
false... a corner-cut for luma") is the root cause -- a directional block's
edge-filter strength picks the wrong bucket when its neighbour predicted
SMOOTH_H, off by 1-2 once smooth becomes RD-reachable. Fix needs threading
Neighbours::above_mode/left_mode through ~9 reconstruct() call sites plus new
chroma-side UV-mode neighbour tracking that does not exist yet -- both pieces,
not just the luma half, or chroma inherits the same silent bug. Reverted to
HEAD; attempt diff saved to scratchpad for the round that lands it. Directional-
chroma sibling refusal lives at a different, unrelated code path (inter-frame
intra-block reader) and was not attempted.wip(av1): lane-realworld cdef_idx + delta q/lf, uncommitted at the 75-turn capAhmet Kaan Gümüş · 7fc9065
wip(av1): lane-realworld cdef_idx + delta q/lf, uncommitted at the 75-turn cap Committed verbatim by the orchestrator so the work survives the cap; state unverified (suite not run on this tree by me).
style(av1): thread-local hit counters take line comments, not doc commentsAhmet Kaan Gümüş · 7895d2a
style(av1): thread-local hit counters take line comments, not doc comments The atomics->thread_local conversion (3cfbe37) left the 28 counter doc comments attached to a macro invocation, which rustdoc does not document: 28 unused_doc_comments warnings. Comments kept verbatim, /// -> //, and the five that still claimed 'across every call in the process' now say 'on the current thread' -- the counters stopped being process-global in that commit.
docs(av1): lane-realworld r1 charter (cdef index + delta q/lf)Ahmet Kaan Gümüş · 929da2fBrowse files
Merge branch 'lane-rectwire2': rect coefficient decode lands, pixel-exactAhmet Kaan Gümüş · 94033af
Merge branch 'lane-rectwire2': rect coefficient decode lands, pixel-exact The desync that held this lane for three rounds was an extra symbol, not a wrong table. decode_block_rect read the tx-depth symbol unconditionally, where both square paths gate their read_tx_size on `tx_select`. That symbol exists only under TX_MODE_SELECT, and several gate recipes pass --enable-tx-size-search=0, so the encoder wrote none and the decoder consumed one that was never there -- desyncing the tile from that point, which is why both 32x16 strips of the pinned quadrant were wrong from their first pixel. r4's own range ladder had already named it without recognising it: the oracle's range was unchanged across its whole block, 58692 either side, while ours moved 58692 -> 43570. Equal ranges either side of a symbol mean the symbol was never consumed -- a cheaper conclusion than a near-certain CDF, and it needed no further instrumentation. r4 read it as a wrong CDF row and refused to land on an unconfirmed suspect, which was the right call on the evidence it had. Free-partition gate: 15 pixel-exact matches of 40 with zero mismatches and rect_coeff_hits=38, against 11 matches and rect_coeff_hits=0 under the refuse-by-name posture. The firing count is a hard assert again. Full lib suite 232 passed / 0 failed.
fix(av1): gate the rect strip's tx-depth read on tx_selectAhmet Kaan Gümüş · 8a896ab
fix(av1): gate the rect strip's tx-depth read on tx_select The tx-depth symbol exists only under TX_MODE_SELECT. Both square paths gate their read_tx_size on `tx_select`; decode_block_rect read it unconditionally. Several gate recipes pass --enable-tx-size-search=0, so the encoder wrote no such symbol and the decoder consumed one that was never there, desyncing the tile from that point -- which is why both 32x16 strips of the pinned quadrant came out wrong from their very first pixel. r4's own range ladder had already named it without realising: the oracle's range was UNCHANGED across its whole block (58692 either side) while ours moved 58692 -> 43570. Equal ranges either side of a symbol mean the symbol was never consumed. r4 read it as a wrong CDF row and refused to land on an unconfirmed suspect, which was right on the evidence it had. With the read gated, the real coefficient decode is pixel-exact: the free-partition gate reports rect_coeff_hits=38 and 15 pixel-exact matches of 40 with zero mismatches, where the refuse-by-name posture gave 11 matches and rect_coeff_hits=0. The hard assert on the firing count is restored. Full lib suite 231 passed / 0 failed in this worktree.
fix(av1): make the gate hit-counters thread-local so a delta is the test's ownAhmet Kaan Gümüş · 5c21ffa
fix(av1): make the gate hit-counters thread-local so a delta is the test's own The firing counters were process-global atomics and cargo runs tests in parallel threads, so a gate's `hits() > before` delta could be satisfied by a SIBLING gate's increments -- the gate would pass without its own feature ever firing, which is the vacuous-gate failure this batch has already fixed twice by other means. Eleven gates took that delta without holding the counter lock. Measured before the fix: the free-partition gate reported rect_partition_hits=9 and partab_hits=2 alone, and 18 and 4 inside the full suite. Same stream, same decode, double the count -- the difference was other tests. Serializing those eleven on the existing lock fixed the correctness and took the suite from 67 s to over 600 s, because it serializes every slow aomenc gate against every other. Thread-local counters give the same isolation with no serialization at all: the decoder runs single-threaded, so each test thread's counts are inherently its own, and the added locks come back out. After: the same gate reports 9 and 2 in both contexts. Full lib suite 232 passed / 0 failed in 67 s.
wip(av1): rect strip bisection (orchestrator-committed at the turn cap)Ahmet Kaan Gümüş · 2ea3bfcBrowse files
Merge branch 'lane-fixdet': the gate fixtures were never reproducibleAhmet Kaan Gümüş · 0169a4e
Merge branch 'lane-fixdet': the gate fixtures were never reproducible ffmpeg's `gradients` lavfi source ignores its `seed` for colour selection. Hashing one identical command line five times gave five different fixtures, and twenty gate sites built their input that way -- so those gates have never once had a reproducible input, and a pin captured from such a run could not be regenerated. The encoder was not the variable: six aomenc runs over a fixed y4m produced identical bytes. That isolation matters, because it corrects an earlier claim of mine that pinning the encoder's threads had fixed the filter_intra gate. It had not -- that gate still failed about one run in fifteen in isolation. Freezing the colours would have made the source reproducible and quietly destroyed the per-attempt content sampling these gates depend on to fire their features, which is a class this repo has already been bitten by. Deriving the colours FROM the seed keeps both: one helper now serves all twenty sites, with a guard test asserting that one seed reproduces byte-identically and two seeds differ. Re-measured after the fix: the filter_intra gate passes 20/20 and 15/15 in two independent sets of isolated runs, and the free-partition gate gives identical counts across three runs where it previously moved. No gate failed consistently, so this nondeterminism was not hiding a decoder defect. An unknown number of past failures filed against aomenc attempt selection were really the source changing underneath. That is a real phenomenon, which is what made it a plausible cover story. Full lib suite 232 passed / 0 failed.
docs(av1): lane-fixdet r1 reportAhmet Kaan Gümüş · b4bac81
docs(av1): lane-fixdet r1 report VERDICT FIXED. filter_intra 14/15 -> 20/20; free-partition counts stable byte-identical across 3 isolated runs; full suite 232/0. Confirmed the one full-suite-vs-isolated count discrepancy is a shared static AtomicUsize (RECT_PARTITION_HITS/PARTAB_HITS in decode.rs) racing across tests in the same process, not residual fixture nondeterminism -- filed as deferred, out of this lane's scope.
fix(av1): route all 20 gradients gate fixtures through seed-derived coloursAhmet Kaan Gümüş · 5967ddb
fix(av1): route all 20 gradients gate fixtures through seed-derived colours ffmpeg's `gradients` lavfi source ignores its own seed= for colour selection -- measured, five identical command lines gave five different fixtures. Add gradients_source(seed, w, h, tail) which derives c0..c3 from the seed with a plain integer hash (still passes seed= through too), verified reproducible per-seed while keeping per-attempt variety across seeds. All 20 stream.rs call sites now build their fixture through it. Guard test gradients_source_is_reproducible_per_seed pins same-seed byte-identical / different-seed differs.
docs(av1): lane-fixdet r1 charter (gate fixtures are not reproducible)Ahmet Kaan Gümüş · df7e2d1Browse files
feat(av1): trace the oracle's intra key-frame mode info tooAhmet Kaan Gümüş · c8e7f7e
feat(av1): trace the oracle's intra key-frame mode info too The rect-strip desync could not be bisected because libaom's key-frame path had no traced symbol at all between the partition read and the first coefficient block -- EC_TRACE_MODE covered only decodemv.c's inter path. That gap is exactly where the defect hides. EC_TRACE_MODE now also wraps read_intra_frame_mode_info and prints the msac range either side, with the decoded mode, uv_mode, skip and tx size. Same wrapper-around-impl shape, same idempotence guard, still silent when unset -- verified emitting on a real stream and silent without the flag.
Merge branch 'lane-rectwire': rect coefficient infrastructure, decode still refusedAhmet Kaan Gümüş · 7e312c0
Merge branch 'lane-rectwire': rect coefficient infrastructure, decode still refused Three rounds, landing on a refusal rather than a decode, which is the correct outcome for what was proven. r1 did the recon and deliberately did not land code with the budget it had left -- the right call for a coefficient-decode edit, where the failure mode is a silent desync. Its recon narrowed the job sharply: decode_block_rect is called from only four sites at fixed size pairs, get_txsize_entropy_ctx reduces to txsize_sqr_up_map so most TxbSet fields reuse the square ones, and the only genuinely new pieces are two eob CDF table sets. r2 landed the wiring: those two CDF sets at all four sites, the four literal scan tables (verified byte-for-byte, and confirmed NOT reproducible from the square zigzag formula generalized -- the transcription was necessary, not lazy), the rect context helpers, and a real non-skip decode path. r3 triaged the mismatch r2 reported honestly rather than shipped. It is a real deterministic desync, not an attempt-selection flake: 93.5% of the frame's luma mismatches concentrate in the one PARTITION_HORZ quadrant, and both 32x16 strips are wrong from their first pixel. All three of r2's own suspects were cleared against libaom source. So the non-skip branch refuses by name again and the decode logic stays in the file, unreachable, for the round that isolates the divergence. The gate's RECT_COEFF_HITS assert is downgraded to a note, since it is now zero by construction -- a hard assert that cannot fire is the vacuous-gate trap this batch already fixed once. Full lib suite 231 passed / 0 failed; the free-partition gate is green with zero mismatches.
Merge branch 'lane-gm2': the mv-stack's missing global-motion fallbackAhmet Kaan Gümüş · dd73232
Merge branch 'lane-gm2': the mv-stack's missing global-motion fallback Root cause of the last global-motion refusal, and it was not in the warp path at all. The single-ref mv-stack fell back to (0,0) when the neighbour scan came up short, where libaom falls back to the querying block's own gm_get_motion_vector for its ref frame. That is invisible whenever a live ref's global motion is identity or translation -- the fallback value is (0,0) either way -- and wrong the instant a ref carries real ROTZOOM and a block needs the fallback, such as the first block of a frame, which has no neighbours. r5 spent a round proving the refusal named a correlate: the failing pixel belonged to a plain NEWMV block against GOLDEN that never enters the global-warp branch, so "more than one active ROTZOOM slot" described the configuration the defect showed in, not the defect. r6 then walked the coefficient/mode range ladder the new oracle instrument made possible: the range matched exactly either side of the block's mode info (34391 -> 46688 on both sides), so consumption was bit-exact and the decoded mv still differed -- a construction bug, which is what it turned out to be. The multi-slot refusal is gone. On this merge the interintra-wedge gate decodes 40 of 40 attempts pixel-exact with zero refusals; it was refusing 27 of 40 when this batch started. Full lib suite 231 passed / 0 failed. AFFINE global models stay refused -- unproven, not broken.
fix(av1): revert rect coeff decode to refuse-by-name -- desync found, not isolatedAhmet Kaan Gümüş · 3bebc9d
fix(av1): revert rect coeff decode to refuse-by-name -- desync found, not isolated lane-rectwire r3: pinned stream rectwire-flake-1.obu (seed 55) reproduces deterministically and shows a genuine desync in r2's real (non-skip) 32x16/16x32 coefficient decode (93.5% of frame-0 luma mismatches land inside the one HORZ-split quadrant, both strips ~100% wrong from their first pixel). r2's three named suspects (base_ctx_rect offsets, chroma skip-ctx formula, dc_sign_ctx index) all cross-checked byte-for-byte against real libaom source and cleared. Range-ladder bisection stalled on the intra key-frame path having no traced symbol between partition and first coefficient in the oracle; next round's first move is patching that into aomdec. Reverted decode_block_rect's non-skip branch to refuse by name (r1 behavior); RECT_COEFF_HITS gate assert downgraded back to a SOFT-NOTE. Free-partition gate green (29 refusals incl. 3 new named ones, 11 matches, 0 desyncs), full lib suite 231/0.
docs(av1): lane-gm r6 report -- multi-slot ROTZOOM refusal root-caused and liftedAhmet Kaan Gümüş · b7f796cBrowse files
fix(av1): mv-stack single-ref predictor falls back to global motion, not zeroAhmet Kaan Gümüş · 43e5d8c
fix(av1): mv-stack single-ref predictor falls back to global motion, not zero Root cause of lane-gm r4/r5's "more than one concurrently active ROTZOOM/AFFINE ref slot" refusal, found by range-laddering the r5 pin against a new aomdec EC_TRACE_MODE instrument: libaom's setup_ref_mv_list fills any mv_ref_list slot the neighbour scan left short with gm_get_motion_vector for that block's own ref, not zero. Our find_mv_stack_with_sign_bias used (0, 0) -- invisible whenever the live ref's global motion is itself identity/translation, wrong the moment it's a real ROTZOOM/AFFINE and a block's own stack (e.g. the very first block of a frame, no neighbours) comes up short. Symbol consumption was already bit-exact (rng matched aomdec before/after mode info); only the predictor value was wrong. Fixed at the fallback (nearest_mv/near_mv now default to gm_mv(gm, ref_frame)); the r5/r6 pin decodes all 24 frames byte-exact through the unmodified decode_stream. The multi-slot refusal that was masking this is lifted (AFFINE-on-single-ref refusal stays). Wedge gate: 10/40 matches -> 33/40 (7 remaining refusals are all an unrelated screen-content-tools capability gap). Full ec-av1 --lib suite: 230/231 green (1 filter_intra gate flake, confirmed non-regression by standalone rerun -- ok).
feat(av1): coefficient and mode-info range-ladder rungs for the oracleAhmet Kaan Gümüş · 3e41e62
feat(av1): coefficient and mode-info range-ladder rungs for the oracle Two lanes stalled on the same missing instrument: the oracle's aomdec traced only read_partition, so a desync inside a coefficient block or inside the mv-stack/DRL/mv reads had no ladder to walk. Partition granularity is far too coarse for either. EC_TRACE_COEFF=1 wraps av1_read_coeffs_txb and prints the msac range before and after every coefficient block, keyed by plane/row/col/tx_size. EC_TRACE_MODE=1 wraps read_inter_block_mode_info and prints the range either side of a block's mode info, with the resulting mode, both refs and mv0. Same wrapper-around-impl shape as the existing partition rung, same idempotence guard, and both are env-gated: an uninstrumented run emits nothing, verified. Building the instrument is the first subtask, not the excuse.
Merge branch 'lane-screen2': palette syntax on inter-frame intra sub-blocksAhmet Kaan Gümüş · a447d85
Merge branch 'lane-screen2': palette syntax on inter-frame intra sub-blocks Inter frames with allow_screen_content_tools decode now, and the whole-frame refusal is gone entirely rather than narrowed. The AB-partition gate refused 6 of 40 attempts on that string; it refuses none. The round corrected a scope assumption worth recording: libaom's read_intra_block_mode_info -- the inter-frame intra reader -- has no use_intrabc call at all. intrabc is intra-frame-only by spec dispatch, since av1_read_mode_info branches on frame_is_intra_only, so this path needed palette wiring only. Genuine palette or intrabc use still refuses by name at any frame type, as do rect intra strips in screen-content frames. Full lib suite 231 passed / 0 failed.
wip(av1): rect coefficient wiring (in progress, orchestrator-committed at the turn cap)Ahmet Kaan Gümüş · a27a535Browse files
docs(av1): lane-gm r5 -- localize (not fix) frame14 multi-slot-rotzoom mismatchAhmet Kaan Gümüş · 42d6aa0
docs(av1): lane-gm r5 -- localize (not fix) frame14 multi-slot-rotzoom mismatch Recaptured the lost r4 pin (seed 43, frame 14, row0/col18, determinism-verified 2x). Proved the mismatched pixel comes from a plain NEWMV/GOLDEN translational block that never enters the new global-warp code path at all (only 7 blocks in the whole 24-frame stream ever do, and mi=(0,0) isn't one of them) -- ruling out CDEF/LR/deblock/hidden-frame amplification along the way. Root cause still open: likely a per-frame mv-stack/NEWMV-predictor value that should vary per ref but doesn't when GOLDEN+BWDREF are both concurrently ROTZOOM. Range-ladder step needs an aomdec decodemv.c EC_TRACE patch not built this round. Refusal unchanged.
feat(av1): thread allow_screen_content_tools palette consumption into inter-frame intra sub-blocksAhmet Kaan Gümüş · ad21245
feat(av1): thread allow_screen_content_tools palette consumption into inter-frame intra sub-blocks decode_inter_block/decode_inter_block8's intra-sub-block branches (libaom's read_intra_block_mode_info) now read the same PALETTE_Y_MODE/PALETTE_UV_MODE symbols read_intra_mode already consumes for key frames, gated by the same av1_allow_palette bsize check, reusing the palette_bsize_ctx(side)/0-ctx corner-cut. Confirmed against decodemv.c: read_intra_block_mode_info has NO use_intrabc call at all (intra-frame-only symbol, av1_read_mode_info dispatches on frame_is_intra_only) -- narrowed charter's intrabc scope for this path accordingly. Removed stream.rs:169's remaining frame_type != Key && allow_screen_content_tools whole-frame refusal now that both key and non-key intra paths consume the syntax. 231/0 lib suite unchanged (bit clear on every existing stream -> inert).
docs(av1): rectwire r1 report -- design worked out, not landedAhmet Kaan Gümüş · 46dcc37
docs(av1): rectwire r1 report -- design worked out, not landed Scan-table transpose, rect eob-context reduction, and the two missing eob_pt CDF table sets (512-luma, 128-chroma) all cross-checked against real libaom source with byte-level verification. Not implemented this round: threading base_q_idx through decode_block_rect's four call sites plus a real coefficient-decode desync risk was more edit-and- verify surface than the remaining turn budget could safely absorb. Full wiring plan + exact CDF values in lanes/rectwire-r1.report.md for the next round.
docs(av1): lane-rectwire r1 charter (wire rect transforms into decode)Ahmet Kaan Gümüş · 8775a26Browse files
Merge branch 'lane-gm': non-IDENTITY global motion decodes through the warp pathAhmet Kaan Gümüş · 384a874
Merge branch 'lane-gm': non-IDENTITY global motion decodes through the warp path Four rounds. The first three ported the syntax correctly -- gm_get_motion_vector, the mvstack neighbour substitution, the is_global_mv_block vs is_nontrans_global_motion split -- and the wedge gate still mismatched, because every check that compared mv VALUES passed. A range ladder settled it: our msac range and the instrumented aomdec's were both 38664 at the offending block, so entropy was in sync and the defect was prediction-side. libaom's allow_warp has a global_warp_allowed branch that predicts every is_global_mv_block block with the full per-pixel affine warp, independent of motion_mode; this decoder only ever warped for local WARPED_CAUSAL and fell back to translational MC on the block-centre mv -- a centre-point approximation whose error grows with distance from the centre, which is exactly the error shape that was observed. r4 implements that path, reusing the existing warp_affine and shear machinery rather than writing a second one. The seed-43 pin's frame 1 luma, the divergence r3 root-caused, now matches, as do frames 0-13. The blanket "any non-IDENTITY global motion" refusal is replaced by two named ones: AFFINE models, and more than one concurrently active ROTZOOM/AFFINE ref slot -- the latter is a real residue r4 localized but did not root-cause, and refusing it beats guessing. Also fixed en route: gm_get_motion_vector was missing the -1 on both block-centre offsets that libaom's block_center_x/y apply. Full lib suite 231 passed / 0 failed. The wedge gate's match count is 11-16 of 40 across runs -- it selects a different aomenc attempt each run, so single-run counts from any one round are not comparable.
feat(av1): global-warp prediction for single-ref GLOBALMV (allow_warp's global_warp_allowed branch)Ahmet Kaan Gümüş · eed6f8c
feat(av1): global-warp prediction for single-ref GLOBALMV (allow_warp's global_warp_allowed branch) Wires global_motion[ref] into crate::warp::global_warp_params (reuses find_projection's get_shear_params, no second warp implementation) for every single-ref is_global_mv_block, gated independent of motion_mode matching libaom's allow_warp exactly (local WARPED_CAUSAL short-circuits first, else-if global). Pin gm-seed43.obu: frame 1 luma mismatch (r3's root cause) now MATCH; frames 0-13 all match. Frame 14+ hits a NEW, narrower, distinct shape (two ref slots concurrently ROTZOOM) -- refused by name rather than guess-fixed. stream.rs's whole-frame refusal narrowed from "any non-IDENTITY global motion" to two named remaining gaps: AFFINE models, and more-than-one concurrently active ROTZOOM/AFFINE ref slot. Wedge gate: 27/40->30/40 other-capability refusals (10 matches, wii_hits=4), full lib suite 227/0 unchanged.
docs(av1): lane-gm r3 report (root cause = missing global-warp prediction path)Ahmet Kaan Gümüş · 4fc67a0Browse files
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)
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.