forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 5677085efaa647dfb4a7fc7aa6afb11c218de084

2026-09-02

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
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.
docs(r14): r3 report -- rect var-tx leaves, film firing evidence, parked gate assert with its measured reason; suite 367/0/31Ahmet Kaan Gümüş · 6b70a6a
docs(r14): r3 report -- rect var-tx leaves, film firing evidence, parked gate assert with its measured reason; suite 367/0/31
feat(av1): rectangular var-tx leaves -- the SPLIT transform of a 1:4 inter strip with a 64-px axisAhmet Kaan Gümüş · 00d3d4e
feat(av1): rectangular var-tx leaves -- the SPLIT transform of a 1:4 inter strip with a 64-px axis

libaom `sub_tx_size_map` (common_data.c) keeps a 1:4 strip's sub-transform
RECTANGULAR: [TX_64X16] == TX_32X16, [TX_16X64] == TX_16X32. r2 refused that
case by name because `read_var_tx_size` was square-only and its leaves were
`(row, col, tx_px)` triples.

This round transcribes the whole table (with a 19-entry unit test against
libaom's own order), generalises `read_var_tx_size` to `(tx_w, tx_h)` exactly
as `read_tx_size_vartx` recurses -- rect ctx, `sub_tx_size_map` step, the
TX_4X4 early return over `tx_h/4 x tx_w/4` cells -- and widens the leaf tuple
to `(row, col, tw, th)`. Both inter var-tx leaf loops now read a rectangular
leaf through `read_inter_plane_rect` with `LumaRect32x16Inter` (the 2-symbol
EXT_TX_SET_DCT_IDTX inter row at `tx_size_sqr_up == TX_32X32`), its own
`get_txb_ctx_general` neighbour context (a leaf is smaller than its block, so
`txb_skip_ctx` is not the lone-TU 0), and rect neighbour/deblock spans.

Measured on a 2160p 10-bit AV1 mkv: a 2 s mid-film segment decodes 14
rectangular 16x32 var-tx leaves and 16 16x64 strips, and both mid-film
segments move off this wall onto lane-intrarect's. The chartered pixel-exact
aomenc gate cannot yet hard-assert the arm: 60+ real aomenc runs show every
stream that contains a superblock-level 1:4 partition also contains another
lane's live refusal, which stops the decode first (measured reason written at
the parked assert). The new gate still sweeps the recipe at both bit depths and
hard-asserts that nothing mis-decodes silently.
Merge branch 'lane-sb128' (5ea5ec8): 128x128 superblocks decode pixel-exact -- the PARTITION_W128 8-symbol root alphabet, and lane-oddh's refusal deletedAhmet Kaan Gümüş · c6f22ad
Merge branch 'lane-sb128' (5ea5ec8): 128x128 superblocks decode pixel-exact -- the PARTITION_W128 8-symbol root alphabet, and lane-oddh's refusal deleted

Clean auto-merge on 6699ce6 (no conflicts). The deletion of "a sequence using
128x128 superblocks on a frame larger than 64x64" (refusal + inventory line)
is the lane's intended capability landing; its gate now asserts pixel equality.
Merge branch 'lane-r14' (a2e2e29): 16x16-level 1:4 partitions decode -- FILTER_INTRA rows 12/13 (BLOCK_16X4/4X16) and the rect base-context offsetsAhmet Kaan Gümüş · 3e334d6
Merge branch 'lane-r14' (a2e2e29): 16x16-level 1:4 partitions decode -- FILTER_INTRA rows 12/13 (BLOCK_16X4/4X16) and the rect base-context offsets

Clean auto-merge on 7a47fc1 (no conflicts). cdf.rs change is append-only:
FILTER_INTRA grows 12 -> 14 rows, the first 12 byte-identical.
fix(av1): the 128 root's half-out-of-frame partition symbol was read and thrown away -- split_or_horz/split_or_vert DECIDE the partition (spec 5.11.4), they are not a forced splitAhmet Kaan Gümüş · 9b30932
fix(av1): the 128 root's half-out-of-frame partition symbol was read and thrown away -- split_or_horz/split_or_vert DECIDE the partition (spec 5.11.4), they are not a forced split

`read_sb128_root` read the gathered 2-symbol partition at a superblock with
only rows or only cols in frame and unconditionally returned PARTITION_SPLIT,
so a 128 root that actually codes HORZ/VERT at the frame edge was silently
reconstructed as a split instead of reaching the refusal that names it. The
64 root already carries the fixed form (its comment records the 4K 10-bit
mkv head that the same defect desynced); this mirrors it at 128.

Witness: PART128_GATHERED_SYMBOLS / part128_gathered_symbols(), and the
lane-oddh 64x72 gate (mi_rows=18 > 16, so its single 128 root takes exactly
this path) now asserts it fired. That gate's recipe gains
--min-partition-size=16 -- without it aomenc emits PARTITION_HORZ_4 below
16x16, another lane's gap, and the gate measured that instead of the 128 root.

decode_probe prints the sequence's superblock size, bit depth and max frame
size, which is the first fact a film-blocker triage needs.
Merge branch 'lane-hgkf': key-frame frame-edge partition bit was parsed and discarded (forced SPLIT) at 64/32/16; the ReelB head key frame decodes bit-exact at 10-bitAhmet Kaan Gümüş · a13d4a2
Merge branch 'lane-hgkf': key-frame frame-edge partition bit was parsed and discarded (forced SPLIT) at 64/32/16; the ReelB head key frame decodes bit-exact at 10-bit

Merge resolution (main e6b8bf8):
- 64/32-level key-frame edge readers: the lane's arms (identical fix to the
  unmerged lane-golomb one already on main, plus the EDGE_PART_HITS counter).
- 16-level: main's (lane-oddh) body kept -- it decodes the strip and records
  above_mode/left_mode -- with the lane's `bump_edge_part` added.
- Remaining conflicts were comment-only; main's wording kept.
Also carries the lane's r2: a skipped intra block predicts per transform
unit, not per block (SKIP_SPLIT_TX_HITS).
Merge branch 'lane-intrarect': intra rect strips inside inter frames decode through the per-TU rect path; a whole-block rect transform unit reads txb_skip ctx 0Ahmet Kaan Gümüş · 6013567
Merge branch 'lane-intrarect': intra rect strips inside inter frames decode through the per-TU rect path; a whole-block rect transform unit reads txb_skip ctx 0

Merge resolution (main b51719f):
- decode.rs rect-TU arm: lane's ctx-0 rule kept, main's `fi_tx_row` helper name.
- decode_inter_block: main's MI-unit addressing wins (`rmi`/`cmi`, `whole_sb`
  delta_q/lf); the lane's `write_w != side` arm retargeted to MI units
  (`record_inter_rect_mi`, mi origin = `at`), and `decode_intra_rect_in_inter`
  now takes MI units too.
- `reject_residual` keeps the lane's post-`is_inter` position AND main's
  `rect_inter_residual_supported` term -- the lane's condition (written before
  lane-inter4) refused every 16x8/8x16 inter leaf residual.
- decode_intra_rect_in_inter wires main's angle deltas (lane-angleinter) and
  `use_filter_intra` (lane-fiinter, `filter_intra_size_class_rect`) in
  read order; palette fields None (screen content refused for this shape).
- New named refusal: a split (nonzero tx_depth) transform on an intra
  HORZ/VERT strip in an inter frame -- main's 10-bit
  split_transform_intra_block gate reaches this arm with depth != 0 and the
  split rect-TU walk mis-decodes it (merge cross-product; depth-0 strips,
  what the lane proved, decode).
Merge branch 'main' into lane-sb128; the 128x128-superblock refusal main added (lane-oddh 866cbb1) is deleted and its gate flipped from "refused by name" to pixel-exactAhmet Kaan Gümüş · 64b4002
Merge branch 'main' into lane-sb128; the 128x128-superblock refusal main added (lane-oddh 866cbb1) is deleted and its gate flipped from "refused by name" to pixel-exact

Merge seam: main b51719f refuses every sequence with use_128x128_superblock on
a frame larger than 64x64, which is precisely the capability this lane
implemented. Deleted the refusal from stream.rs and refusal_inventory.rs, and
rewrote lane-oddh's gate on the same 64x72 --cpu-used=0 --sb-size=128 aomenc
stream to decode all frames pixel-exact via decode_all_frames_vs_oracle.

cdf.rs NZ_MAP_CTX_OFFSET_* and FILTER_INTRA rows are byte-identical to main
(the only cdf.rs delta is this lane's added PARTITION_W128 constant).
feat(av1): rectangular INTER residual coding for strips with a 64-px axis (64x32/32x64/64x16/16x64)Ahmet Kaan Gümüş · bb65422
feat(av1): rectangular INTER residual coding for strips with a 64-px axis (64x32/32x64/64x16/16x64)

A 64-length transform axis codes only its low 32 coefficients, so these units
read the min(w,32) x min(h,32) corner and zero-extend it before the inverse
transform -- the same truncation the INTRA superblock-strip path already does.
av1_get_adjusted_tx_size picks the CDF set (TX_64X32 -> Luma64,
TX_64X16 -> LumaRect32x16, chroma 32x8/8x32 -> Chroma16); tx_size_sqr_up is
TX_64X64 so the ext-tx set is DCT_ONLY and no tx_type symbol is coded.
A 32x32 corner reads through the square coefficient reader with
rect_shape = Some((w, h)) because av1_nz_map_ctx_offset is indexed by the real
un-adjusted shape.

The SPLIT of a 1:4 strip with a 64-px axis stays refused by name:
sub_tx_size_map[TX_64X16] is rectangular (TX_32X16), which the square var-tx
recursion cannot code.

Gate a_real_aomenc_inter_sequence_with_a_superblock_level_rect_partition_decodes_pixel_exact
now hard-asserts a coded 64-axis residual TU (8-bit: 4 pixel-exact attempts,
64x32=4, 32x64=4, 64-axis residual TUs=2). Mid-film ReelB segments at
50:00 and 75:00 pass the rectangular-residual wall.
fix(av1): a skipped intra block predicts per transform unit, not per blockAhmet Kaan Gümüş · 5b4ff4a
fix(av1): a skipped intra block predicts per transform unit, not per block

An intra block's tx_depth is read whether or not the block is skipped (only
an INTER skip forces the largest transform), and spec 7.11.2 predicts one
transform unit at a time -- each unit's edges are the units already written
left/above of it inside the same block. Our two skip branches (decode_block,
decode_leaf8) predicted the whole block in one call, which for a 32x32 DC
block with 8x8 units gives 123 where libaom gives 124 sixteen times.

Mid-film 3840x1608 10-bit key frame: 2403 luma samples wrong (|delta| <= 2)
-> 0, all three planes bit-exact; the earlier key frame stays bit-exact.
Stage split done with new 16-bit dump rungs on both sides (the 8-bit ones
truncate the defect away) and a new EC_PREDND oracle rung (EC_PRED sat after
the highbd early return and printed nothing on a 10-bit stream).

New counter SKIP_SPLIT_TX_HITS: a skipped block codes no coefficients, so
nothing but the pixels witnesses this path. No in-repo gate landed -- see
lanes/hgkf-r2.report.md for the swept recipes and the deferral.
fix(av1): restore --min-partition-size=16 in 13 gate recipes r2 rewrote to 32Ahmet Kaan Gümüş · 6895614
fix(av1): restore --min-partition-size=16 in 13 gate recipes r2 rewrote to 32

r2 blanket-rewrote every `--min-partition-size=16` in stream.rs's aomenc
recipes to 32 while writing its own 128 gate. The 7 rect/AB gates then
encoded streams with no 16-level partition at all: they still decoded
pixel-exact, but their firing counters read 0 and the "never fired" guard
red-lined them. Attribution: green at main 0df090a, green at lane r1
5e5f113, green at the merge 63890cb, red at r2 8b4a36f.
fix(av1): keep the MV stack's top-right grid probe (the has_top_right port red-lined 8 gates); docs(sb128): r2 reportAhmet Kaan Gümüş · 9852037
fix(av1): keep the MV stack's top-right grid probe (the has_top_right port red-lined 8 gates); docs(sb128): r2 report
feat(av1): 128x128 superblock root in the INTER tile loop (visit order + prologue), sb-aware has_top_right; refusal kept for a residual one-frame mismatchAhmet Kaan Gümüş · b7c0e21
feat(av1): 128x128 superblock root in the INTER tile loop (visit order + prologue), sb-aware has_top_right; refusal kept for a residual one-frame mismatch

The inter tile loop now walks libaom's quadrant visit order (sb_visit_order) and
reads the 128 root once per superblock (read_lr over the whole 128x128, the
8-symbol partition_w128 with its edge gather) through a new shared
read_sb128_root, extracted from the key-frame loop so both paths cannot drift.
libaom has_top_right is now a single sb-aware port in mvstack (the warp-sample
copy in decode.rs hardcoded a 64x64 superblock and now delegates to it), and
the MV stack's top-right probe is gated on it instead of a bare grid probe.

8 of the 9 decode-order frames of the new gate stream are pixel-exact against
the instrumented aomdec, hidden alt-ref included; frame 6 still differs by 996
luma bytes with the entropy stream in sync, and the same content at
--sb-size=64 is exact (sb128_r2_control_sb64), so the residual is
sb128-specific. The product-path refusal therefore STAYS and the gate ships
#[ignore]d as its reproducer -- silent wrong pixels on his films are worse.
feat(av1): split transform (TX_8X4/TX_4X8, TX_4X4) on a 16-level 1:4 stripAhmet Kaan Gümüş · e1a08a1
feat(av1): split transform (TX_8X4/TX_4X8, TX_4X4) on a 16-level 1:4 strip

The 4K 10-bit AV1 mkv's next stop after the partition itself: every 16x4/4x16
strip of its key frame reads tx_depth != 0. `decode_rect_split`'s own
per-unit walk, inlined into `decode_rect4_16` because the chroma of this
shape belongs to the strip's 4:2:0 PAIR, not to the strip (that function
codes one chroma transform per block). depth 1 is the 2:1 rect unit
TX_8X4/TX_4X8 (`sub_tx_size_map[TX_16X4]`, TxbSet::LumaRect4x8 -- the 8x8
class with 32 positions and the TX_4X4 tx_type row), depth 2 the square
TX_4X4 through the ordinary `read_plane`; each unit predicts off the units
before it and reads its own `txb_skip` context, and the block's lf grid now
carries the UNIT's transform size.

Gate: the same gate grew the `--enable-tx-size-search=1` half of its attempt
window (the 32-level 1:4 gate's own shape). 8-bit: 15 compared attempts, 192
16x4 + 288 4x16 strips, 240 chroma pairs, 102 split-transform strips; 10-bit:
16 attempts, 148 + 280 strips, 214 pairs, 82 split strips. Every decode
pixel-compared against ffmpeg, zero refusals. CfL stays `=0` on the recipe:
no CfL hit counter exists, so `=1` would retire `enable-cfl-intra` from
gate_coverage::NEVER_EXERCISED_* on a flag alone.

Film check: the 4K 10-bit AV1 key frame at t=300s now walks past the 1:4 wall
(104 16x4 + 172 4x16 strips at the 32 level alone) and stops at another
lane's refusal, "a non-skip rectangular (HORZ/VERT/HORZ_B) strip needs
rectangular residual coding".
test(av1): gate the frame-edge partition bit at all three levels, both depthsAhmet Kaan Gümüş · bb77f08
test(av1): gate the frame-edge partition bit at all three levels, both depths

Eight arms of real aomenc streams whose frame size is not a multiple of the
block size, each decoded pixel-exact vs ffmpeg: 192x136 / 136x192 mandelbrot
(136 = 2*64 + 8, so the 64-, 32- and 16-level halves all fall outside; the
32/16-level edge bit is answered HORZ/VERT 3..9 times per arm) and 192x80 /
80x192 flat band (the ledger-measured shape where aomenc answers the
SUPERBLOCK edge bit with HORZ/VERT -- 3 per arm). The counter is read only on
an attempt that decoded and is compared, and both "answered HORZ/VERT" slots
must be nonzero, so the arms this round fixed cannot pass vacuously.
feat(av1): decode the 16x16-level 1:4 partition -- four 16x4/4x16 strips with paired 4:2:0 chromaAhmet Kaan Gümüş · b1f19e6
feat(av1): decode the 16x16-level 1:4 partition -- four 16x4/4x16 strips with paired 4:2:0 chroma

The wall 22/24 census segments hit on the key frame: PARTITION_HORZ_4 /
PARTITION_VERT_4 at BLOCK_16X16 (EXT_PARTITION_TYPES is the 10-symbol
alphabet at 16x16, so both are legal there) was refused by name before any
leaf was coded.

`decode_rect4_16` (decode.rs) decodes the four strips. New at this size is
CHROMA: a 4:2:0 block one mi tall (wide) is a chroma reference only on the
ODD mi row (column) -- strips 0 and 2 read no uv_mode/cfl_alpha/angle_delta_uv
and code no chroma at all, strips 1 and 3 carry the 8x4 (4x8) chroma of the
whole 16x8 (8x16) luma pair at the PAIR's origin (setup_pred_plane's
`mi_row -= 1`), with CfL averaging the pair's luma. `read_intra_mode_rect`
grew the `has_chroma` (`is_chroma_reference`) gate for that; every other
caller passes true.

Tables: TX_16X4 averages to the 8x8 entropy context with 64 positions, so the
new TxbSet::LumaRect16x4{,Set1} is Luma8's tables with the TX_4X4 tx_type row
(LumaRect4x8's, which differs only in its 32-position eob_pt); chroma is the
existing ChromaRect8x4. cdf::FILTER_INTRA gained the two rows
default_filter_intra_cdfs has for BLOCK_16X4/BLOCK_4X16 (10368/12770,
classes 12/13) -- both sides <= 32, so libaom writes use_filter_intra here.
palette_bsize_ctx_wh's dimension bound was wrong for this shape too:
av1_allow_palette's `sb_type >= BLOCK_8X8` is an ENUM INDEX test that
BLOCK_4X16/16X4 clear, so a 64-pixel 1:4 strip DOES read palette_y_mode
(ctx 0) in a screen-content frame -- "both sides >= 8" dropped that symbol.

Gate: a_real_aomenc_stream_with_a_16_level_1to4_partition_decodes_pixel_exact
(4-pixel bands, transposed per attempt, noise with an explicit seed,
--enable-1to4-partitions=1 --min-partition-size=4 --max-partition-size=16
--enable-filter-intra=1 --enable-cfl-intra=1 --cpu-used=0), 8 attempts at
each bit depth, every decode pixel-compared against ffmpeg, hit counters
hard-asserted. 8-bit: 104 16x4 + 152 4x16 strips, 128 chroma pairs;
10-bit: 96 + 152, 124 chroma pairs. Zero refusals, zero out of scope.

Still refused by name at this shape: a split transform
(sub_tx_size_map[TX_16X4] == TX_8X4 -- the per-unit walk cannot reuse
decode_rect_split, whose chroma is the strip's, not the pair's) and a strip
that actually uses a palette.
fix(av1): the 16x16-level frame-edge partition bit was discarded tooAhmet Kaan Gümüş · b5166a1
fix(av1): the 16x16-level frame-edge partition bit was discarded too

Same class as the 64/32-level fix in the previous commit (`parsed-then-
discarded`): the 16-level edge reader gathered the bit and then always split
into four 8x8 leaves. libaom answers that bit with PARTITION_HORZ (resp. VERT)
when it is 0, i.e. a single 16x8 / 8x16 strip of which only the in-frame half
is coded. On a 3840x1608 10-bit key frame this desynced from mi_row=400
mi_col=32 to the end of the tile.

The strip decodes through `decode_leaf_rect` at the leaf's real mi origin
(`sr * SUB_MI`, `sc * SUB_MI`) -- the first cut of this used the coarse index
times two, which kept the entropy stream aligned but predicted the strip at
mi(200,16) instead of mi(400,32) and reconstructed 34k samples wrong.

Measured on the 3840x1608 10-bit mid-film key frame vs `ffmpeg -pix_fmt
yuv420p10le`: 51768 mismatching samples (Y 35861 / U 8419 / V 7488) -> 2403,
luma only, |delta| <= 2, chroma bit-exact. The pinned head key frame stays
bit-exact.
fix(av1): the frame-edge partition bit was read and thrown awayAhmet Kaan Gümüş · 135feff
fix(av1): the frame-edge partition bit was read and thrown away

libaom `ec_read_partition_impl` returns PARTITION_HORZ (resp. VERT) when the
gathered edge bit is 0 and only PARTITION_SPLIT when it is 1. Both key-frame
edge readers (64- and 32-level) read that bit and forced SPLIT, so every frame
whose height or width is not a multiple of the block size desynced at the first
superblock of its partial row: a 3840x1608 10-bit AV1 key frame diverges at
mi_row=400 mi_col=0 with the very first `skip` (range 43258 vs the oracle's
34753), and the whole 8-pixel bottom band reconstructed wrong.

The HORZ/VERT arms now also decode only the in-frame half of the strip
(libaom `decode_partition` guards the second with the same has_rows/has_cols
test that made the partition non-square), and a new EDGE_PART_HITS counter
proves which arm fired.

The pinned 3840x1608 10-bit head key frame: 3819 sample mismatches vs ffmpeg
-> 0, bit-exact in the true 10-bit domain.

Also ported lane-golomb's TU-origin clip (a transform unit whose top-left
sample is outside mi_cols*4 x mi_rows*4 is never coded) -- measured inert on
both key frames here, kept as the libaom rule.
fix(av1): a depth-0 rect transform unit read txb_skip from the neighbour table, not ctx 0Ahmet Kaan Gümüş · a13955f
fix(av1): a depth-0 rect transform unit read txb_skip from the neighbour table, not ctx 0

decode_rect_split's RECT transform-unit arm applied the neighbour-magnitude
skip_contexts table unconditionally. libaom get_txb_ctx gives luma a flat ctx 0
when the transform covers its whole block (plane_bsize == txsize_to_bsize[tx_size]),
which is exactly the unsplit depth-0 strip; decode_block_rect (the key-frame unsplit
path) already passes a literal 0. r1 wired the inter path onto decode_rect_split and
became the first caller to reach it at depth 0, so the frame-5 16x32 strip read
ctx 5 where aomdec read 0 -- same value, different CDF, msac range diverging at the
block's first coefficient symbol (ours rng=58117, aomdec 45075, identical entry
range 60236).

8-bit seed 69: prefilt recon frame 5 went from 632 wrong samples (512 luma = the
whole strip, 120 V) to byte-identical, all 8 frames. Both intra-rect gates now pass
at both depths (2 passed; 0 failed, 12.20s), 45 attempts each, every decoded stream
pixel-compared. The shape assert is now the reachable 32x16/16x32 class instead of
"two of three" (64-level unreachable: inter SB-level partitions other than
NONE/SPLIT refuse; 16-level stops at sub-16 refusals owned by another lane).
feat(av1): decode 128x128 superblocks on key frames (the ReelC blocker)Ahmet Kaan Gümüş · e749a4d
feat(av1): decode 128x128 superblocks on key frames (the ReelC blocker)

His ReelC encode codes use_128x128_superblock=1 (aomdec EC_TRACE: EC_PART
mi_row=0 mi_col=0 bsize=15); ec-av1 never read that sequence bit and decoded
every frame as 64x64 superblocks, so every earlier ReelC stop was a desync
artefact.

- decode.rs: SB128 thread-local + set_sb128; the key-frame tile loop now walks
  the 64x64 quadrants in libaom's nested order (sb_visit_order), reads the
  128 root's loop-restoration units once per 128x128 and one partition symbol
  off the 8-symbol partition_w128 CDF (forced-split gather at the frame edge),
  and recurses SPLIT into the existing 64 path; the other seven 128-level arms
  refuse by name. delta_q/delta_lf now key off the real superblock size.
- Neighbours' no-neighbour partition-context sentinel was SB (64), which reads
  identically up to the 64 root but set the bit at BLOCK_128X128 -- the 128
  symbol came off CDF row 3 where libaom uses row 0.
- Reach (has_top_right/has_bottom_left) masked the block's position with a
  hardcoded 64 superblock; libaom masks with the sequence's own sb_size.
- stream.rs: inter frames under a 128 superblock refuse by name (scoped to
  frames larger than one 64x64 superblock, since a <=64x64 frame decodes
  identically either way).

Gates: a_real_aomenc_stream_with_128x128_superblocks_decodes_pixel_exact
(6/6 pixel-exact, 8- and 10-bit, 256x192 + 384x384, part128_symbols=26,
part128_split_hits=34) and a_real_aomenc_128x128_inter_stream_refuses_by_name.
Merge branch 'lane-modectx': every kf_y_mode context reader uses the mi-exact, tile-relative map; coarse band leak invariant assertedAhmet Kaan Gümüş · 31ae209
Merge branch 'lane-modectx': every kf_y_mode context reader uses the mi-exact, tile-relative map; coarse band leak invariant asserted

Auto-merge, no conflicts (decode.rs and stream.rs auto-merged over main's
lane-rectsplitx / lane-rect1d edits). Verified by hand after the merge:
`modes_above_left` routes through `modes_above_left_mi`; `decode_leaf_split4`
and `decode_leaf_rect8` are byte-identical to the lane's versions (their raw
`above_mode[c]` / `left_mode[r]` reads are the coarse FALLBACK argument of the
mi-exact lookup, not a context read).

Gates on the merged tree, 13/13:
two_tile_columns 20/20 pixel-exact with 0 tile-edge coarse leaks (the new
MODE_TILE_EDGE_COARSE_LEAKS == 0 assert), two_tile_columns_and_an_inter_frame
20/20, decodes_through_decode_stream 20/20, multi_tile intra 6/6 (8-bit and
10-bit), multi_tile palette 6/6, multi_tile inter 10-bit 3/3, sub8 rect leaf /
split / filter-intra, 32x32_level_1to4 16/16 both depths, and the merged
chroma_is_a_4to1_or_sub8_rect 94/120.
Merge branch 'lane-rect1d': 1D transform classes on rect transforms gated at 10-bit (12/12); u16 plane dump exampleAhmet Kaan Gümüş · 8f81c4b
Merge branch 'lane-rect1d': 1D transform classes on rect transforms gated at 10-bit (12/12); u16 plane dump example

Merge resolution:
- decode.rs: the lane's `decode_leaf_rect` cat2 -> cat1 tx_size CDF-row fix is
  the SAME fix main already carries from lane-rectsplitx (a59645c..71c444a);
  main's hunk is kept and the lane's comment paragraph appended to it. The
  lane's rect_coeff_tu_hits / rect_class1_hits counters are kept at their
  original sites (`read_coeffs` for the 1D-class half, `read_coeffs_rect` past
  the `all_zero` early return), so the merged gate measures what the lane
  gated.
- dump_yuv.rs / gate_coverage.rs / stream.rs / lanes/rect1d-r1.report.md taken
  from the lane unchanged (no overlap with main's rectsplitx edits).

Gates on the merged tree, 16/16:
a_real_aomenc_stream_with_a_1d_tx_class_on_a_rect_transform 12/12 pixel-exact,
0 named refusals, 6 matches 10-bit, 219 rect coefficient TUs (10 of a 1D tx
class); coded_rect_strip_below_16x16, ab_partitions_below_16x16,
refusal_inventory (3), gate_coverage (9), base_ctx_rect_offsets all pass.
feat(av1): intra HORZ/VERT strips decode on the inter block path (gate RED)Ahmet Kaan Gümüş · 40b9c37
feat(av1): intra HORZ/VERT strips decode on the inter block path (gate RED)

An intra-coded rect strip in an inter frame now reads its mode info with the
inter frame's own intra syntax and decodes every pixel through decode_rect_split,
the machinery the key-frame rect paths already prove; the whole-shape refusal is
lifted, leaving only the 1:4 shape. The reject_residual gate moves past is_inter
(class refusal-short-circuits-its-own-code) so the intra arm can be reached at all.

Gate a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact
(+10bit) fires the 32x16 shape on a real aomenc stream and FAILS the pixel
compare: frame 5 Y, rows 58..95, max |diff| 3 (8-bit) / 8 (10-bit), no entropy
desync. See lanes/intrarect-r1.report.md.
Merge branch 'lane-fiinter': intra blocks in inter frames read use_filter_intra (aomenc default on; symbol was never consumed)Ahmet Kaan Gümüş · 7eb5f17
Merge branch 'lane-fiinter': intra blocks in inter frames read use_filter_intra (aomenc default on; symbol was never consumed)

lane-fiinter was rebased off lane-intrainter, so this ONE merge carries both
lanes' work: the per-TU luma split of an intra block inside an inter frame
(intrainter, commit 94492b4 on this branch) and the use_filter_intra read in
both intra-in-inter arms with its ENABLE_FILTER_INTRA_INTER thread-local.
Merging lane-intrainter e841b2a separately would have replayed the same content
from a different base; it is retired as subsumed, proven by its own gates
passing here (a_real_aomenc_{,10bit_}inter_sequence_with_a_split_transform_intra_block).

Merged clean; one call site rebound to the widened Reach::of_tu(tx_w, tx_h) from
the rectsplitx merge (decode.rs:16147).

Gates on the merged tree, all green: split_transform_intra_block (8+10-bit),
filter_intra_on_an_intra_block (8+10-bit), inter_sequence* , tx_select*,
8x8_leaf_split, refusal_inventory, gate_coverage, base_ctx_rect_offsets --
29 passed / 0 failed / 2 ignored.
Merge branch 'lane-rectsplitx': per-transform-unit rect intra prediction under split transforms at every strip size (ReelB mid-film / ReelC head blockers); depth_to_tx_wh; three neighbour-map fixes; 16x8 tx_depth reads cat1; sub-16 filter-intra gates liveAhmet Kaan Gümüş · 4bf9109
Merge branch 'lane-rectsplitx': per-transform-unit rect intra prediction under split transforms at every strip size (ReelB mid-film / ReelC head blockers); depth_to_tx_wh; three neighbour-map fixes; 16x8 tx_depth reads cat1; sub-16 filter-intra gates live

Merge resolution (main's fixes kept where they overlap):
- decode_rect_split chroma map: superset of rectchroma's and rectsplitx's rows
  (32x8/8x32/16x4/4x16/8x4/4x8), one comment.
- Reach::of_tu WIDENED to (tx_w, tx_h); square callers pass (tx, tx). The lane's
  inline per-unit Reach collapses onto it, and main's palette window inside the
  unit loop is kept (windowed by tx_w/tx_h).
- One fimode->intradir helper: main's fi_tx_row; the lane's identical
  tx_type_mode_row is dropped and its call site rebound.
- depth_to_tx_wh wins at every depth site, including decode_block_rect64's,
  replacing `bw.min(bh) >> (depth - 1)`; the "splits only once" refusal is gone.
- refusal_inventory: the lane's list minus its stale AB-below-16x16 entry (main
  lifted that refusal in lane-ab16).

Two merged gates asserted on counters that the lifted refusals fed, and both went
vacuous/false in the cross-product (class counter-from-refused-stream):
- chroma_is_a_4to1_or_sub8_rect counted attempts REFUSED at the depth-1 1:4
  strip; it now counts depth-1 1:4 strips that DECODED and compared pixel-exact.
- ab_partitions_below_16x16 required a vert-AB TX4 unit "reached" on
  tx-size-search attempts that used to stop at the strip refusal. Those attempts
  now decode to the end and compare pixel-exact, carrying zero such units -- the
  old nonzero count came from a still-desynced decode. The assert is now that
  every tx-size-search attempt compares exact; the lookup values stay pinned by
  of_tu_keeps_the_ordinary_answer_and_uses_the_block_row_under_vert_ab.

Suite on the merged tree: 347 passed / 3 failed / 29 ignored, the 3 being exactly
those two gates plus refusal_inventory; after the resolutions above all 3 pass
(15/15 in the targeted rerun).
fix(av1): the 64x72 first-symbol desync is 128x128 superblocks, not odd height -- refuse them by name above 64x64, and gate the odd-size ladderAhmet Kaan Gümüş · abae99a
fix(av1): the 64x72 first-symbol desync is 128x128 superblocks, not odd height -- refuse them by name above 64x64, and gate the odd-size ladder

r1 pinned a 64x72 aomenc KEY frame desyncing at its first symbol (aomdec 3, ours 9).
Root cause, proved at the byte: the stream's sequence header codes
use_128x128_superblock (libaom's av1_select_sb_size returns BLOCK_128X128 whenever
speed is 0), and this decoder is 64x64-superblock only. aomdec reads a gathered
2-symbol BLOCK_128X128 partition (has_cols false at mi_cols=16, has_rows true at
mi_rows=18); we read a 10-symbol BLOCK_64X64 one from the same byte. The
uncompressed header parse was identical (49 bits, tile data at offset 20,
hand-verified field by field against spec 5.9.2), and a from-spec python msac
reproduces our 9 -- same bytes, same table, wrong alphabet.

decode_stream now refuses such a sequence by name when the frame is larger than
64x64. Scoped, not blanket: a blanket refusal red-lined 29 previously pixel-exact
gates, because at <=64x64 a 128x128 superblock decodes identically (forced SPLIT
with no symbol, one child in frame).

Gates: a_real_aomenc_128x128_superblock_stream_is_refused_by_name (real aomenc
--sb-size=128, asserts the header really codes the bit before asserting the
refusal); the tiny frame size sweep extended with 64x72/72x64/64x136/136x64/192x136,
all 10/10 pixel-exact, floor 70 -> 120. Odd height/width at 64x64 superblocks is
clean, including r1's frame-edge half-strip code on the key path.

The INTER half-strip arms stay ungated: written as
a_real_aomenc_inter_frame_edge_half_strip_decodes_pixel_exact and #[ignore]d with
the measured reasons (rect off => encoder answers the forced edge symbol SPLIT,
edge_rect_strip_hits=0 with both depths pixel-exact; rect on => three other lanes'
refusals fire first).