forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 74818ac30ed97fdaf52c577f71d5d48754e99dd3

2026-08-30

docs(av1): lane-tiles r6 charterAhmet Kaan Gümüş · 74818acBrowse files
Merge branch 'lane-tiles': key frames with two tile columns decodeAhmet Kaan Gümüş · 5e92401
Merge branch 'lane-tiles': key frames with two tile columns decode

decode_key_frame_tile_with_cdfs takes tiles: &[&[u8]] and walks each tile with
its own msac and its own copy of the frame's CDFs; Neighbours and PlaneBuf carry
a tile origin so a block at a tile's left or top edge sees no neighbour there
even though decoded pixels sit at that address. decode_stream threads the real
tile buffers, and a 2-column key frame now decodes through decode_stream itself,
20/20 pixel-exact with the tile count hard-asserted > 1.

The blanket "more than one tile" refusal is replaced by four scoped ones -- inter
frames, tile rows, more than two columns, and loop filtering on -- so the cases
that are genuinely unimplemented say which one they are. refusal_inventory
records the swap.

Two facts the lane paid for: aomenc's default 128px superblock makes a 128x64
frame a single superblock, so any tile fixture needs --sb-size=64; and AV1 has
no loop_filter_across_tiles bit at all (unlike HEVC) -- deblocking crosses tile
boundaries unconditionally, so the loop-filter refusal is really the same
unimplemented right-edge reach bound as the 3-column one.

The lane also caught a false PASS in its own draft gate: Tile::offset is
relative to the slice parse_obu was handed, and without adding obu_offset back
the decoder read garbage that compared EQUAL as flat DC, rather than erroring.

Suite 242 passed / 0 failed.
Merge branch 'lane-realworld': the inter path stops assuming SPLITAhmet Kaan Gümüş · 0e15bcf
Merge branch 'lane-realworld': the inter path stops assuming SPLIT

decode_inter_frame_tile_with_cdfs read the superblock's part64 symbol and threw
it away (`let _ = part64;`), recursing as SPLIT regardless. A real non-SPLIT
part64 in an inter frame silently miscoded the whole superblock -- the one
failure mode this decoder does not tolerate. It now matches: SPLIT is still
inferred for the three straddle/forced-half cases, and any other real value
refuses by name before the quadrant recursion, with a hand-built PARTITION_HORZ
stream as the test.

refusal_inventory gained that string, as designed. The refusal describes what
this decoder does, not what an encoder emits, so it is a plain refusal and not
a capability claim.

delta_q/delta_lf is scoped but unstarted; lanes/realworld-r3.report.md carries
the verified default CDFs, the four call sites (the same four maybe_read_cdef_idx
uses), and the finding that base_q_idx is read at only 2 of ~90 sites, so a
thread-local running quantizer avoids threading a parameter through every block
signature. The DeltaLF-to-deblocker path still needs per-block MiGrid state.

Suite 240 passed / 0 failed.
feat(av1): lift the multi-tile refusal for key frames, scopedAhmet Kaan Gümüş · 4be6f4c
feat(av1): lift the multi-tile refusal for key frames, scoped

decode_stream now threads a real tile_bufs: Vec<&[u8]> (all tiles,
obu_offset-corrected the way r3's gate proved) into
decode_key_frame_tile_with_cdfs instead of hardcoding &[tile_bytes],
and the blanket "more than one tile" refusal is narrowed to four named
cases instead of one: inter frames with cols > 1 (decode_inter_frame_
tile_with_cdfs has no per-tile loop at all), rows > 1 (untested this
round), cols > 2 (non-last-column right-edge reach bound unimplemented
for 3+ columns), and any multi-tile frame with loop filtering on
(deblocking crosses tile boundaries by spec default -- confirmed AV1
has no loop_filter_across_tiles_enabled-style flag at all, unlike
HEVC -- and PlaneBuf's tile origin cannot bound that reach yet).

r3's two-tile-column gate now also runs straight through decode_stream
(new test, --loopfilter-control=0 kept): 20/20 pixel-exact, tile_hits
delta > 1 every time.

EC_AV1_REQUIRE_AOMENC=1 cargo test -p ec-av1 --lib -j4: 234 passed, 0
failed, 17 ignored, 146.97s.
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.
fix(av1): refuse non-SPLIT inter SB part64 by name instead of desyncingAhmet Kaan Gümüş · 6e8fc0b
fix(av1): refuse non-SPLIT inter SB part64 by name instead of desyncing

decode_inter_frame_tile_with_cdfs read part64 then `let _ = part64;`,
blindly recursing every superblock as SPLIT. A real non-SPLIT part64 in
an inter frame would silently desync rather than refuse. Now the value
is kept (SPLIT is still inferred for the forced-half/straddle cases,
matching the intra tile's own three-way write) and any other value
returns a named unsupported() error before the quadrant recursion runs.

New refusal string: "an inter SB-level partition type other than SPLIT
(this decoder's inter tile path only recurses a superblock as SPLIT)".

Test: a_non_split_inter_sb_partition_refuses_by_name_instead_of_desyncing
hand-writes a PARTITION_HORZ part64 symbol and asserts the named error
comes back instead of garbage decode.
test(av1): two-tile-column key frame decodes pixel-exact, bypassing the multi-tile refusalAhmet Kaan Gümüş · a5441e8
test(av1): two-tile-column key frame decodes pixel-exact, bypassing the multi-tile refusal

Proves r2's per-tile decode loop (fresh SymbolDecoder+CDF copy per tile,
Neighbours::start_tile, PlaneBuf::set_tile_origin) actually decodes both
tiles: a_real_aomenc_stream_with_two_tile_columns_decodes_pixel_exact calls
decode_key_frame_tile_with_cdfs(&[tile0, tile1], ...) directly (decode_stream's
cols>1||rows>1 refusal still fires and is untouched), 20/20 pixel-exact vs
ffmpeg, tile_hits() delta hard-asserted >1 on every match.

--sb-size=64 needed (this decoder hardcodes 64px superblocks; aomenc default
128px SB makes 128x64 a single superblock, nothing to tile-split).
--loopfilter-control=0 needed: deblocking crosses tile boundaries by spec
default and PlaneBuf's tile_x0/tile_y0 only clip left/top reach (the known
r2-flagged gap), so a non-last column's right-edge deblock would misbehave --
sidestepped here since deblocking is not what this gate proves.

Caught and fixed a real bug in the test's own OBU walk while wiring it: tile
byte offsets are relative to the slice parse_obu was handed, not absolute in
the stream (decode_stream already knows this, my first draft didn't) --
without the obu_offset fix every attempt decoded garbage-offset bytes as a
flat all-skip DC block, silently 'matching' nothing real.
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.
docs(av1): lane-chroma r4 reportAhmet Kaan Gümüş · bf25067Browse files
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-tiles r3 charterAhmet Kaan Gümüş · 565a78bBrowse files
wip(av1): lane-tiles r2 per-tile decode in progress, committed at the 75-turn capAhmet Kaan Gümüş · 6416aca
wip(av1): lane-tiles r2 per-tile decode in progress, committed at the 75-turn cap

Staged by the agent, committed verbatim by the orchestrator so it survives the
cap; state unverified by me.
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).
docs(av1): lane-chroma r4 charterAhmet Kaan Gümüş · 8f6064bBrowse files
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.
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).
wip(av1): tile-boundary availability groundwork for multi-tile decodeAhmet Kaan Gümüş · 4057dda
wip(av1): tile-boundary availability groundwork for multi-tile decode

Neighbours carries its own tile origin (tile_row0_mi/tile_col0_mi,
default 0) plus start_tile() (spec decode_tile's clear_above_context
over the tile's own column span). Every availability check that used
to compare against literal 0 (skip_txfm_ctx, tx_size_context,
tx_size_context_rect, decode_inter_block/decode_inter_block8's
has_above/has_left) now compares against the tile origin instead --
a no-op today (origin stays 0, single tile per frame), but the actual
per-tile hook the full lane-tiles wiring needs.

Refusal at stream.rs:292 (frame with >1 tile) is UNCHANGED -- this
commit does not yet drive start_tile(), split the superblock walk
per tile, give each tile its own entropy decoder/CDF copy, or clip
PlaneBuf's intra-prediction pixel reach to the tile (edges/edges_rect
still read x>0/y>0). Removing the refusal before those land would
desync silently, which the charter forbids.

cargo test -p ec-av1 --lib: 232 passed, 0 failed (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.
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.
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.
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.
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.