forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 00c1b3ff2d80d84fef71bb6208110dedbbd95fc4

2026-09-02

test(av1): un-ignore the intra 1:4-in-inter gate on the merged tree, then re-ignore it on a MEASURED new blockerAhmet Kaan Gümüş · 9704835
test(av1): un-ignore the intra 1:4-in-inter gate on the merged tree, then re-ignore it on a MEASURED new blocker

Merging main 18bf7dc (lane-r14 a2e2e29) lifts the refusal r1 named, and the
gate goes from 0 to 3 of 40 attempts pixel-compared, one firing 64x16=4
16x64=3. All three mismatch -- but so do the two that fire ZERO 1:4 strips,
identically (frame 3/4 luma ~4k samples max |d| 6..17, then reference drift),
and --enable-1to4-partitions=0 re-encodes byte-identical. The blocker is a
pre-existing inter-frame defect of the mandelbrot gate source, not this path.
Gate unchanged and unweakened; only the #[ignore] reason is now the measured
one.
fix(av1): the compound 8x8 leaf voted its reference-frame CDFs off a hard-coded LAST_FRAME and cleared both per-slot is_global_mv_block flags -- entropy on the dual-filter/OBMC 8x8 stream is now range-exact end to endAhmet Kaan Gümüş · db58f21
fix(av1): the compound 8x8 leaf voted its reference-frame CDFs off a hard-coded LAST_FRAME and cleared both per-slot is_global_mv_block flags -- entropy on the dual-filter/OBMC 8x8 stream is now range-exact end to end

Two twin-function drifts in `decode_inter_block8`'s COMPOUND arm, both found by a
phase-by-phase diff against `decode_inter_block` plus an msac RANGE ladder vs the
instrumented aomdec (class twin-functions-drift, memory adjacent-same-typed-args):

1. `read_compound_ref_frames` was passed `LAST_FRAME` for any inter neighbour and
   `-1` otherwise -- the old "coarse LAST_FRAME-or-intra" approximation -- while the
   side bands have carried the neighbour's REAL reference per mi since lane-inter8 r2.
   Every `av1_collect_neighbors_ref_counts` vote (uni_comp_ref_p1, comp_ref,
   comp_bwdref, ...) came off the wrong CDF row: the first compound 8x8 leaf of the
   pinned 5-frame stream decoded (LAST, LAST2) where aomdec reads (LAST, GOLDEN).
   Now passes `above_ref0`/`left_ref0`, the same two args `decode_inter_block` passes.

2. The leaf's grid stamp wrote `is_global_mv0: false, is_global_mv1: false`
   unconditionally, while `decode_inter_block`'s compound arm computes libaom's
   PER-SLOT `is_global_mv_block` (blockd.h:421-429). A neighbour carrying the flag
   makes `setup_ref_mv_list` substitute the READER's global mv for the neighbour's
   stored one, so the next block's stack held a stored mv where libaom has the global
   candidate -- 3 entries vs libaom's 2 at the 8x8 leaf mi (8,8), a different mv and
   a desync one block later.

Also: the leaf's single-ref arm now prints the same per-entry `EC_STACK` ladder
`decode_inter_block` prints (that is how (2) was isolated).

Gate `a_real_aomenc_dual_filter_obmc_8x8_inter_sequence_decodes_pixel_exact` stays
ignored, on a NEW and much smaller failure: the whole 16-frame stream now parses and
all 570 mode elements match aomdec's range line for line; what remains is a luma-only
reconstruction residue (|delta| <= 8) from decode frame 7.
fix(av1): a skipped sub-8x8 chroma block dropped its CfL alpha entirelyAhmet Kaan Gümüş · f4f89df
fix(av1): a skipped sub-8x8 chroma block dropped its CfL alpha entirely

Both sub-8x8 leaf paths (decode.rs:10554 4-leaf, :10916 2-leaf) passed
`None` for the CfL argument in their `skip_txfm` arm, so a chroma block
with `uv_mode == UV_CFL_PRED` and no residual reconstructed as flat DC.
libaom's `av1_predict_intra_block_facade` (av1/common/reconintra.c:1719)
calls `cfl_predict_block` whenever `mbmi->uv_mode == UV_CFL_PRED`;
`skip_txfm` only drops the residual, never the alpha.

Sweep of the class: every `reconstruct`/`reconstruct_rect` chroma call
site was checked for a literal `None` in the cfl slot -- the rect skip
arms (6015/6519/8078) already pass it, and the one remaining `None`
(20284) sits behind a refusal that forces `uv_mode == DC_PRED`.

Gate: a new pinned 1-frame 3840x1608 10-bit AV1 key frame fixture plus a
test that hard-asserts `skip_cfl_hits > 0` (the shape fires exactly once
in that frame; lane-reelckf r1 already burned 20 aomenc recipes hunting a
skipped sub-8x8 CfL block and never produced one, so a synthetic gate is
out of reach). Before the fix 463 bytes of that frame's chroma were
wrong; after it the frame is pixel-exact against ffmpeg.
Merge main 8e9ba81 (lane-reelckf 55532c7) into lane-kf900Ahmet Kaan Gümüş · 87836ae
Merge main 8e9ba81 (lane-reelckf 55532c7) into lane-kf900

Both chroma-reference-mi fixes kept: reelckf passes pair_mi at the sub-8 call
site, kf900 snaps mi_r/mi_c inside smooth_uv_neighbour -- idempotent together.
merge: main (85887c7) into lane-sb128cAhmet Kaan Gümüş · 350a0db
merge: main (85887c7) into lane-sb128c

No conflicts (auto-merge in decode.rs, stream.rs, gate_coverage.rs, mvstack.rs).
cdf.rs untouched by both sides. `cargo check -p ec-av1` clean on the merged tree.
Merge branch 'lane-reelckf' (55532c7): skipped CfL blocks still predict, and a 1:4 chroma pair reads its edge-filter type at the chroma-reference miAhmet Kaan Gümüş · cfef385
Merge branch 'lane-reelckf' (55532c7): skipped CfL blocks still predict, and a 1:4 chroma pair reads its edge-filter type at the chroma-reference mi

Two chroma defects found on real 1920x792 10-bit AV1 key frames, whose luma
was already bit-exact at every seek point:

1. A SKIPPED intra block whose uv_mode is UV_CFL_PRED must still PREDICT with
   the chroma-from-luma term. libaom predict_and_reconstruct_intra_block calls
   av1_predict_intra_block_facade unconditionally and guards only the residual
   on mbmi->skip_txfm. Three skip arms dropped the CfL term entirely
   (decode_rect4_16's 16x16-level 1:4 chroma pair, decode_leaf_split4 and
   decode_leaf_rect8's 4x4 groups); one key frame had 499 wrong chroma samples
   from this alone.

2. The chroma intra-edge FILTER TYPE of a 1:4 pair comes from the CHROMA
   REFERENCE position (libaom get_intra_edge_filter_type -> chroma_above_mbmi /
   chroma_left_mbmi), not from the closing strip: at the closing strip the cell
   above is the pair's own first strip, so the mi-exact UV map missed and the
   coarse fallback answered, flipping av1_use_intra_edge_upsample and moving
   directional chroma by +-1..3.

Gates:
* a_real_aomenc_sb128_stream_whose_skipped_cfl_and_1to4_chroma_pairs_decode_pixel_exact
  -- real aomenc --sb-size=128 --cpu-used=0 --enable-cfl-intra=1
  --enable-1to4-partitions=1, both bit depths, hard-asserts the directional
  1:4 chroma pair counter per compared attempt.
* a_real_film_key_frame_with_a_skipped_cfl_block_decodes_pixel_exact -- new
  tracked fixture crates/ec-av1/fixtures/reelc_kf2700.obu, a 1920x792 10-bit
  key frame truncated to one temporal unit; the only stream we have with a
  skipped UV_CFL_PRED block (48 aomenc recipes never produced one). The
  skipped-CfL counter is hard-asserted BEFORE the ffmpeg compare so an absent
  ffmpeg cannot make the gate vacuous.

gate_coverage: covers_both_depths also recognises `for depth in [8usize, 10]`,
which had classified such a gate as 10-bit only and hid --enable-cfl-intra=1
from the 8-bit never-exercised list; enable-cfl-intra leaves BOTH lists.
decode_probe prints the two new counters.

Lane suite: 379 passed, 0 failed, 33 ignored.
docs(lanes): worktree setup rules left uncommitted in main's tree by another laneAhmet Kaan Gümüş · 95b6784
docs(lanes): worktree setup rules left uncommitted in main's tree by another lane

Byte-identical to the same addition on lane-reelckf 55532c7; committed
separately so the merge does not overwrite an uncommitted working-tree edit.
fix(av1): an INTRA-coded 128x128 block inside an inter frame decodes; three 128-root defectsAhmet Kaan Gümüş · 3084278
fix(av1): an INTRA-coded 128x128 block inside an inter frame decodes; three 128-root defects

lane-sb128c r3.

- CLASS SWEEP (uv_mode alphabet): `is_cfl_allowed` is now decided inside the
  two readers every caller routes through -- `read_intra_mode_rect` (from
  `bw`/`bh`) and `read_intra_mode` (from `side`) -- instead of at each call
  site. Four call sites passed a hardcoded `true`; only the 128/64 ones were
  wrong, but the decision no longer lives where a new caller can get it wrong
  (class wrong-alphabet-same-value).
- The intra tail of `decode_inter_block` now codes its chroma per 64x64 mu
  chunk (TX_32X32 units, offset-10 `txb_skip` rows, per-unit
  `record_mi_chroma`), exactly as the inter half does; the refusal
  "an INTRA-coded 128x128 block inside an inter frame" is gone.
- `read_block_tx_size`'s TX_MODE_LARGEST early return produced four TX_64X64
  luma leaves for INTER 128 blocks only; an intra 128 block resolves the same
  way and got a single 128-wide unit that codes nothing.
- `get_tx_size_context` compares against `tx_size_wide[max_txsize_rect_lookup]`
  (64 at BLOCK_128X128), never the block's own 128 side.
- The inter tile's 128 PARTITION_NONE root passed its `at` in SUB16 units to a
  callee that takes MI, so every 128 root except the first decoded at a quarter
  of its position; and the `inter_piece!` macro hardcoded `reject_residual =
  true`, which refused the square 128 root at its first non-skip block.

Gate `a_real_aomenc_inter_128x128_none_root_decodes_pixel_exact` is un-ignored
and RED: all three arms now decode all 9 frames with no refusal (recipe moved
to --min-partition-size=64; at 32 two arms stop on other lanes' AB refusals),
but display frame 2 differs in 98 luma px in a band at x=58..66 spanning the
frame height, plus scattered chroma -- a reconstruction/loop-filter residue at
the 128 root's internal 64-px edge, not an entropy desync (9 frames stay in
sync). See lanes/sb128c-r3.report.md.
docs(sbrect10): r3 report -- three reds, two causes, suite 378/0Ahmet Kaan Gümüş · 0ecdfcb
docs(sbrect10): r3 report -- three reds, two causes, suite 378/0

film_grain was the worktree's missing top-level `fixtures` symlink (gitignored,
per-worktree), not a temp-path race: that gate writes no temp file, and the two
helpers that do already key their scratch dir on test-name + pid.

The other two reds were one cause: r2's half-random lavfi source was written
into the superblock-rect gate instead of the no-CFL uv_mode gate it was measured
for. The CFL gate kept the flat source that codes the right half skip (8-bit
arm: 0 intra blocks above 32x32) and the rect gate lost its 10-bit 64-axis
residual TU. Sources swapped back; no assert weakened. Both gates now fire at
both depths (15/43 no-CFL uv_mode reads, 2/2 64-axis residual TUs, zero
out-of-scope mismatches), which also clears r2's comp_list global-motion tail
fill of any regression suspicion.
fix(av1): a same-size reference at a height that is not a multiple of 8 was refused, and loop restoration ran over the mi-rounded plane instead of the cropped oneAhmet Kaan Gümüş · 570d099
fix(av1): a same-size reference at a height that is not a multiple of 8 was refused, and loop restoration ran over the mi-rounded plane instead of the cropped one

Two true-size-vs-mi-rounded defects (class av1-truesize-lane), both found by
the (192,68)/(68,192) straddling arms lane-golomb r7 measured but could not add.

1. decode.rs `decode_inter_frame_tile_with_cdfs` compared the reference
   picture's height against `true_height = mi_rows * 4` (the mi-rounded
   size). A decoded `Picture` is cropped to the header's `fh`, so for any
   height that is not a multiple of 8 (68 -> mi_rows 18 -> 72) this compared
   68 against 72 and refused EVERY same-size reference by name ("a reference
   picture whose height does not match this frame's own true size"). libaom
   compares references on the CROPPED dimensions --
   `av1_setup_scale_factors_for_frame(&sf, ref->y_crop_width,
   ref->y_crop_height, cm->width, cm->height)` -- and calls a reference
   scaled only when those differ. Height must still match: AV1 superres never
   scales height. MEASURED: with `arms.push((192, 68, 5, false))` all eight cq
   attempts refused before this commit; after it none do (they now stop at
   another lane's inter SB-level AB partition, or reach a compare).

2. `apply_loop_restoration` passed each plane's `true_width`/`true_height`.
   LR is the one post-decode filter that does NOT walk the mi grid: libaom
   sizes every plane with `av1_get_upsampled_plane_size`
   (av1/common/restoration.c:47), asserts it equals the buffer's crop width
   (restoration.c:1106) and extends the border from that cropped edge
   (restoration.c:1109) before filtering. Deblock and CDEF do walk the mi
   grid, which is why this went unnoticed until a non-multiple-of-8 size.
   NOT exercised by any gate here: every straddle gate recipe runs
   `--enable-restoration=0`. Source-cited only.

edge32 gate stays green on the merged tree: 38 pixel-exact attempts, 64-level
edge bits [horz_or_vert=7 split=197] right-VERT=7, 2 named refusals, all eight
cq levels at both depths.
docs(r14): r4 report -- main merge (no conflicts, cdf.rs identical), firing assert restored as a hard 8-bit assert, film-depth regression attributed to main; suite 372/0/32Ahmet Kaan Gümüş · 5677085
docs(r14): r4 report -- main merge (no conflicts, cdf.rs identical), firing assert restored as a hard 8-bit assert, film-depth regression attributed to main; suite 372/0/32
Merge main 85887c7 (lane-mvtwin, lane-sb128b) into lane-kf1200Ahmet Kaan Gümüş · 28188f3
Merge main 85887c7 (lane-mvtwin, lane-sb128b) into lane-kf1200

Clean auto-merge; cdf.rs byte-identical to main's. The r1 pair-mi
chroma edge-filter fix at decode.rs:7736 and its counter survive.
docs(sb128c): r2 handoffAhmet Kaan Gümüş · 2617a22Browse files
fix(av1): an intra block in an INTER frame reads the no-CFL uv_mode alphabet above 32x32Ahmet Kaan Gümüş · e4259c9
fix(av1): an intra block in an INTER frame reads the no-CFL uv_mode alphabet above 32x32

libaom `read_intra_block_mode_info` calls
`read_intra_mode_uv(ec_ctx, r, is_cfl_allowed(xd), bsize)`, and
`is_cfl_allowed` (blockd.h) is
`block_size_wide[bsize] <= 32 && block_size_high[bsize] <= 32`.
`decode_inter_block`'s intra tail read the 14-symbol `uv_mode_cfl` CDF
unconditionally, so every intra block 64 px or wider inside an inter frame
decoded the same VALUE off a different interval and desynced the tile at
that symbol (class wrong-alphabet-same-value). Every other `uv_mode` reader
in this file already makes the split; this was the last one.

Found by an aomdec-vs-ours msac RANGE ladder on a 256x256 --sb-size=128
8-frame aomenc stream: the 64x64 intra block at mi (0,32) of an inter frame
entered at rng=61470 in both decoders and left at 35887 (ours) vs 54271
(aomdec), 4 bits over-read; after the fix the whole ladder tracks.

Also: the partition_w64 trace line carries its pre-read range and the
EC_MODE line carries is_inter/skip/side, both behind the existing env vars.
test(av1): pin a 1920x792 10-bit AV1 key frame as a fixture -- the only stream we have with a skipped CfL blockAhmet Kaan Gümüş · 293bc74
test(av1): pin a 1920x792 10-bit AV1 key frame as a fixture -- the only stream we have with a skipped CfL block

30 aomenc recipes (r1's 20 plus 18 more in r2, sweeping chroma-correlated geq
sources at cq 40..63, cpu-used 0..2, min/max-partition 4..64, 8 and 10 bit)
never made the encoder pick a CfL block with skip=1: the two conditions pull
against each other, since skip needs a zero luma residual and CfL needs luma AC
worth scaling. The instrumented oracle (EC_TRACE_MODE=1 aomdec) counts 5
'uv_mode=13 skip=1' blocks in this real 1920x792 10-bit key frame, so it is
pinned as crates/ec-av1/fixtures/reelc_kf2700.obu (36 kB, first temporal unit
only) and gated: decode + skip_cfl>0 assert run unconditionally, the three-plane
compare against ffmpeg's yuv420p10le decode runs when ffmpeg is present.

This closes r1's open item -- the skipped-intra-still-predicts-CfL fix (29cd53f)
now fails a test if reverted.
fix(av1): chroma edge-filter type read the neighbours of the wrong mi -- a sub-8 pair codes its chroma at the ODD mi, libaom reads them off the chroma REFERENCE blockAhmet Kaan Gümüş · 589ba1a
fix(av1): chroma edge-filter type read the neighbours of the wrong mi -- a sub-8 pair codes its chroma at the ODD mi, libaom reads them off the chroma REFERENCE block

`Neighbours::smooth_uv_neighbour` took the caller's mi as-is. libaom's
`set_mi_row_col` (blockd.h) first snaps to the chroma reference block,
`base_mi = &xd->mi[-(mi_row & ss_y) * stride - (mi_col & ss_x)]`, and only
then reads `chroma_above_mbmi = base_mi[-stride]` / `chroma_left_mbmi =
base_mi[-1]`. For a sub-8 pair, whose chroma syntax lives at the odd mi, we
looked one mi row/column too far and the mi-exact slot never matched, so the
coarse SUB-grid fallback answered instead.

Consequence: `get_intra_edge_filter_type` came out 0 where libaom has 1,
which flips `av1_use_intra_edge_upsample(8, 4, -6, type)` (`blk_wh == 12`:
false at type 1, TRUE at type 0). We upsampled an edge libaom leaves alone.

Measured on the 2160p 10-bit key frame at -ss 900 (now
crates/ec-av1/fixtures/reelb_kf900.obu): chroma 8x4 at (688, 100) = mi (51, 344),
V_PRED p_angle=84, aomdec EC_PREDOUT sum 15924 vs ours 15930 (+1 on rows 2/3
at cols 1, 2, 4 -- reproduced exactly by the upsampled z1 walk in a
hand-simulation). First chroma difference on that frame moves from (102, 688)
to (195, 640), a residual-side defect whose prediction is bit-exact.

Gate: crates/ec-av1/fixtures/reelb_kf900.obu (484640 bytes, sha256
a273ae99328388be14a1ff8fa1c5a6d391a9948159eaef120e1b50e02015eb83, two
independent extracts hashed identically) decoded LUMA-exact vs ffmpeg with a
hard `skip_split_tx_hits() >= 15` assert -- the r1 tx-size-context defect. That
counter is unreachable from aomenc: 108 measured recipes (72 8-bit, 36 10-bit;
geq half-flat/half-noise, mandelbrot, testsrc2, noise seed 49, cq 55/59/63,
cpu-used 0..2, tx-size-search + min-partition-size=8 + rect partitions) all
report 0, because libaom's encoder forces tx_size to the block maximum once it
picks skip_txfm. The two multi-tile arms that carried the impossible assert
keep their pixel-exact comparison and name the fixture gate instead.
Merge branch 'main' (85887c7) into lane-golombAhmet Kaan Gümüş · 733770a
Merge branch 'main' (85887c7) into lane-golomb

Clean auto-merge; mvstack.rs, cdf.rs, cdf_state.rs, refusal_inventory.rs
verified byte-identical to main.
fix(av1): an inter block's chroma tx_type is the colocated luma type NARROWED to the chroma size's ext-tx set, not DCT_DCT at every side >= 32Ahmet Kaan Gümüş · 555df44
fix(av1): an inter block's chroma tx_type is the colocated luma type NARROWED to the chroma size's ext-tx set, not DCT_DCT at every side >= 32

av1_get_tx_type (libaom av1/common/blockd.h:1278-1309) resolves an inter
block's chroma transform type in three steps: DCT_DCT only when
txsize_sqr_up_map[tx_size] is STRICTLY greater than TX_32X32; otherwise the
colocated luma unit's coded type from xd->tx_type_map; then narrowed by
av1_ext_tx_used[av1_get_ext_tx_set_type(uv_tx, is_inter, reduced)]
(blockd.h:1036 / 1097).

This decoder had the first step as "chroma side >= 32 -> DCT_DCT" and no
third step at all. At exactly TX_32X32 an inter block reads
EXT_TX_SET_DCT_IDTX, which contains IDTX -- so a 64x64 inter superblock
whose first var-tx luma leaf coded IDTX must inverse-transform its 32x32
chroma units with IDTX, and we used DCT_DCT. IDTX and DCT_DCT are both
TX_CLASS_2D, so the scan, the coefficient contexts and every msac range
stayed identical: the stream never desynced, luma stayed bit-exact, and one
64x64 superblock of chroma came out as high-frequency noise. The missing
third step was also wrong the other way for a 16x16 chroma unit under 8x8
luma leaves (EXT_TX_SET_DTT9_IDTX_1DDCT excludes the four 1D ADST types).

New reduce_inherited_chroma_tx_type covers all four inter sets and both
inter-chroma callers (read_inter_plane, read_inter_plane_rect) -- the only
two sites in the crate that derive a chroma tx_type for an inter block.

Gate a_real_aomenc_stream_with_a_32x32_frame_edge_rect_partition goes
"192x80 cq35 frames=5 10bit=false frame 3 plane U: 978 pixels differ" ->
ok, 38 pixel-exact attempts over 5 arms x 8 cq levels, 8-bit and 10-bit.
Plus a unit test enumerating the set-membership table against libaom's.
Merge main 85887c7 (lane-mvtwin 2e2a225) into lane-reelckfAhmet Kaan Gümüş · 2bbef8b
Merge main 85887c7 (lane-mvtwin 2e2a225) into lane-reelckf

Auto-merge, no conflicts: mvstack.rs + stream.rs gates only, cdf.rs untouched,
no deletions.
fix(sbrect10): the r2 fixture swap landed in the sibling gateAhmet Kaan Gümüş · b94f6a0
fix(sbrect10): the r2 fixture swap landed in the sibling gate

r2's half-random lavfi source was meant for the no-CFL uv_mode gate (whose
8-bit arm decodes zero intra blocks above 32x32 on the flat "200" source);
it was written into the superblock-rect gate instead, where it cost the
10-bit residual arm the coded 64-axis transform unit lane-r14 r2 measured on
the flat source. Sources swapped back to the gate each was measured on.
chore(av1): keep a foreign EC_AV1_TRACE rng field on the partition_w64 trace; r1 suite was 370/1 and the red was this worktree's missing fixtures symlinkAhmet Kaan Gümüş · e4febc9
chore(av1): keep a foreign EC_AV1_TRACE rng field on the partition_w64 trace; r1 suite was 370/1 and the red was this worktree's missing fixtures symlink

The partition_w64 trace's rng= field appeared in this worktree at 08:15 after
this lane's last commit and is not this lane's edit; it is inert unless
EC_AV1_TRACE is set and helps r2's range ladder, so it is kept and disclosed
here rather than reverted.

a_real_aomenc_stream_with_film_grain_decodes_pixel_exact failed on
Os NotFound reading fixtures/golden6-mismatch.obu -- the worktree was created
without the shared fixtures symlink. Symlink created, test re-run ok.
feat(av1): a split-transform intra HORZ/VERT strip in an inter frame decodes -- the depth symbol's context was the key frame's deblock-grid approximation, and the strip never wrote its own TXFM_CONTEXT bandsAhmet Kaan Gümüş · 750a9ca
feat(av1): a split-transform intra HORZ/VERT strip in an inter frame decodes -- the depth symbol's context was the key frame's deblock-grid approximation, and the strip never wrote its own TXFM_CONTEXT bands

Two root causes behind the refusal that stood at decode.rs:6225:

1. `decode_intra_rect_in_inter` read `tx_depth` through `tx_size_context_rect`
   (the key frame's deblock-grid approximation). libaom `get_tx_size_context`
   (pred_common.h:342, from `read_selected_tx_size`, decodemv.c) reads the two
   TXFM_CONTEXT bands and substitutes an INTER neighbour's BLOCK width/height --
   new `tx_size_context_txfm_rect`, the rect twin of `tx_size_context_txfm`.
2. The arm never wrote its own TXFM_CONTEXT bands (`set_txfm_ctxs`, end of
   libaom `decode_token_recon_block`) because its call site returns early, so
   every later block in the frame read a stale tx_size/txfm_split context.

The gate (`..._with_a_split_transform_intra_strip_decodes_pixel_exact`, 8/10-bit)
does NOT fire yet: 40/40 aomenc attempts stop at other lanes' refusals (intra 1:4
strips, inter rect leaves, AB partitions). This branch is therefore RED and must
not merge until the gate fires -- see lanes/intrasplit-r1.report.md.
Merge branch 'lane-mvtwin' (2e2a225): three MV-stack defects found by a phase-by-phase diff of the two twins against libaomAhmet Kaan Gümüş · 9ae16b3
Merge branch 'lane-mvtwin' (2e2a225): three MV-stack defects found by a phase-by-phase diff of the two twins against libaom

A 20-phase table of find_mv_stack_with_sign_bias / find_mv_stack_compound vs
mvref_common.c setup_ref_mv_list; 17 phases exact, three defects:

1. compound combine (mvref_common.c:718-719): slots past both ref lists take
   that side's global MV, not (0, 0).
2. insertion cap (:100/128/388/425): the 9th distinct candidate is DROPPED AT
   INSERTION -- we pushed unbounded and sorted+truncated, keeping a different
   set. The dedup weight bump still applies on a full stack.
3. reach/availability is TILE-relative (:512-533), not frame-relative; new
   MiGrid::tile_origin.

has_top_right deliberately unchanged: porting libaom's mask without the three
shape refinements (which need the partition type) would regress the 64x128
VERT-rect case; the corner-cut at mvstack.rs:588 keeps its upgrade path.

New gate a_real_aomenc_compound_mv_stack_* (3 arms, comp_gm_fill_hits=7,
stack_full_drops=2, tile_reach_clips=1, pixel-exact) plus one #[ignore]d
multi-tile reproducer.

Gates by name 48 passed / 0 failed; full lib suite 377 passed / 0 failed / 33 ignored.
Merge main 4eff3a1 (lane-sb128b e8e64a6) into lane-sbrect10Ahmet Kaan Gümüş · 9f7b5d2
Merge main 4eff3a1 (lane-sb128b e8e64a6) into lane-sbrect10

cdf.rs / cdf_state.rs / refusal_inventory.rs byte-identical to main after the
merge; the only lines dropped vs main are this lane's own r1/r2 hunks
(uv_mode_cfl narrowing, combine_compound_candidates signature, indexed
dump_stage16 prefix, the gate's half-random fixture).
feat(av1): 16x16-level AB partitions decode in inter frames (HORZ_A/HORZ_B/VERT_A/VERT_B)Ahmet Kaan Gümüş · b7d13e4
feat(av1): 16x16-level AB partitions decode in inter frames (HORZ_A/HORZ_B/VERT_A/VERT_B)

Two 8x8 inter leaves plus one true 16x8/8x16 inter strip per libaom
decode_partition's own visit order; VERT_A/VERT_B take the has_tr_vert
availability swap. The old "an inter 16x16-level AB or 1:4 partition"
refusal is narrowed to the 1:4 pair, which still needs the sub-8 inter
chroma-pair path.

Gate a_real_aomenc_inter_sequence_with_16x16_level_ab_partitions_decodes_pixel_exact:
real aomenc, 8- and 10-bit, 32 attempts each, every decode-order frame
compared to ffmpeg, all four arms asserted separately, out-of-scope
mismatches fail.
test(av1): the 64-axis 1:4 var-tx gate now HARD-ASSERTS its arm fires -- rect var-tx leaves decoded out of two real aomenc streams (32x16=4, 16x32=1 at 8-bit)Ahmet Kaan Gümüş · adb8dd9
test(av1): the 64-axis 1:4 var-tx gate now HARD-ASSERTS its arm fires -- rect var-tx leaves decoded out of two real aomenc streams (32x16=4, 16x32=1 at 8-bit)

r3 parked the firing assert because no aomenc recipe found then produced a
64-axis 1:4 strip whose transform splits. An r4 recipe hunt on the merged tree
(~70 aomenc runs: testsrc2 / life / mandelbrot / banded motion, 64x64..384x256,
cq 20..58, min-partition-size 16 and 32) found one: 384x256, per-16-column band
motion, cq 38 -> four 32x16 leaves out of four 64x16 strips, cq 32 -> one 16x32
leaf out of four 16x64 strips. Both streams stop LATER on another lane's live
refusal, so the leaves are proved DECODED, not pixel-exact; the 16 banded
attempts that run to the end are still compared frame by frame vs ffmpeg (0
mismatch, 8- and 10-bit) and min-partition-size moved 32 -> 16 so they exercise
the 16-level path too. 10-bit fires nothing on this sweep (measured), so the
firing assert is 8-bit only. Gate renamed to state what it asserts.
fix(av1): the compound 8x8 leaf never read its switchable interp_filter -- lost a symbol per leaf and stamped the [3,3] sentinel that made a neighbouring OBMC block PANICAhmet Kaan Gümüş · c6220cd
fix(av1): the compound 8x8 leaf never read its switchable interp_filter -- lost a symbol per leaf and stamped the [3,3] sentinel that made a neighbouring OBMC block PANIC

libaom decodemv.c:1575 runs read_mb_interp_filter for every inter block,
compound included, right after read_compound_type. decode_leaf8's compound
arm skipped it entirely: it predicted both taps with a hard-coded Regular and
recorded the [3, 3] "no filter" sentinel, so a SWITCHABLE-filter stream lost
one symbol (two under dual filter) per compound 8x8 leaf, and a neighbouring
OBMC block's neighbour_filter fed the sentinel to from_switchable_symbol,
whose panic! aborted the process on a real aomenc dual-filter + OBMC stream
(flagged by lane-r14 r3). Same shape lane-gmaffine r3 fixed for the
single-ref leaf; this was the surviving sibling.

neighbour_filter now returns Result and refuses by name instead of panicking
(new refusal listed in refusal_inventory.rs) -- a decoder must never abort on
stream-derived state. New gate is RED and #[ignore]d with its measurement:
the compound leaf still desyncs past this read (bogus AB/1:4 refusal with the
read, bogus below-8x8 without it), so the fix is necessary, not sufficient.