forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 0f1c8024dbe4eb3e15d1a00af370a11b3bd0a78e

2026-09-02

test(av1): gate B split-tx-8x4 arm keeps its unproven note, with a re-measured reasonAhmet Kaan Gümüş · 950504e
test(av1): gate B split-tx-8x4 arm keeps its unproven note, with a re-measured reason

The 384x256 cq-10 stream it named now decodes pixel-exact with zero
rectangular var-tx leaves, and 12 fresh streams of the gate own source family
carry no TX_16X4/TX_4X16 split symbol at any quantiser. r2 report added.
test(av1): the 1:4 rect var-tx gate asserted leaves its recipe never codedAhmet Kaan Gümüş · 3032341
test(av1): the 1:4 rect var-tx gate asserted leaves its recipe never coded

The firing arm ran a cq-10 384x256 recipe whose stream, per an aomdec
EC_VARTX histogram, splits no rectangular transform at all; the leaves it
used to count came out of an already-desynced decode. Re-measured: the same
texture at cq 44/46 carries TX_32X8/TX_8X32 splits (16x8 + 8x16 leaves) and
decodes pixel-exact on all six frames, so the arm now hard-asserts the
PIXEL-COMPARED tally. Gate B split-tx-8x4 arm keeps its unproven note with
the re-measured reason.
Merge branch 'main' into lane-vartxsplitAhmet Kaan Gümüş · 4730c95
Merge branch 'main' into lane-vartxsplit

# Conflicts:
#	crates/ec-av1/src/decode.rs
fix(av1): a compound 8x8 leaf whose transform split erased its four 4x4 TUs' coefficient contextAhmet Kaan Gümüş · 8fd6019
fix(av1): a compound 8x8 leaf whose transform split erased its four 4x4 TUs' coefficient context

The split arm of read_inter_luma8 returns an all-zero placeholder luma grid because
each 4x4 transform unit has already written its own plane-0 neighbour state through
record_mi_luma. The compound leaf then recorded that placeholder over all three planes
(record_mi), wiping the four cul_level/DC-sign cells; the single-ref twin decode_leaf8
has carried the saved_luma_ctx save/restore around the same call since lane-txselect.

Measured on a pinned 8-bit 384x256 cq-10 1:4-partition stream (md5
842355ef494455ead0352f62f84f2c56): decode-order frame 2, block mi(8,16), first DC-sign
symbol -- aomdec dcctx=0 rng=41828, ours dcctx=1 rng=41148, from an empty left band at
mi rows 8-9 owned by the split compound leaf at mi(8,14). All 6 frames now byte-identical
to ffmpeg (was 91201 luma samples wrong on frame 2, whole frames 3-5 desynced).
feat(av1): intra 16x4/4x16 strips in an inter 1:4 partition and the un-split 64x32/32x64 corner transform unit, both refusals narrowed behind one film gateAhmet Kaan Gümüş · ddc5714
feat(av1): intra 16x4/4x16 strips in an inter 1:4 partition and the un-split 64x32/32x64 corner transform unit, both refusals narrowed behind one film gate

Both arms were already written and both sat behind env switches (EC_INTRA16X4_DECODE,
EC_RECT64_SPLIT) because three earlier rounds across two lanes reported that no witness
stream exists: every frame of the 10-bit 3840x1608 stream that fires either arm ALSO
carries a sub-8x8 intra leaf, which refused, so no firing frame ever finished and no
pixel comparison was possible. That dead-end expired with this lane's r2 (the sub-8x8
intra leaves decode); re-measuring is all it took.

The first 50 frame-carrying OBUs of that stream's head now decode all 33 frames with no
refusal and match ffmpeg on every plane of every frame, while intra16x4_in_inter reads
16x4=31 4x16=17 chroma_ref=23 and rect64_corner_tu reads 64x32=90 32x64=5. Pinned as
crates/ec-av1/fixtures/reelb_rect64_intra16x4_witness.obu (23472 bytes, sha256
c9e721088766163b9dbeb9fa8dd8b257ff0ec7f9157fc350de4d3c33cd9ec4e4, cut twice from
independent ffmpeg runs that hashed identically) and gated by
a_10bit_film_frames_with_intra_16x4_strips_and_rect64_corner_tus_decode_pixel_exact,
which hard-asserts all five counters. The full 48-frame segment diverges at decode-order
frame 36; the fixture is the exact prefix, not a truncation chosen to hide that.

Neither refusal STRING leaves refusal_inventory: both are narrowed, not deleted. "a split
intra strip whose transform unit is {tx_w}x{tx_h}" still stands for every shape other
than 64x32/32x64, and the 16x4/4x16 one still stands for a strip with no chroma-pair
record.

Sibling sweep: a_10bit_film_inter_frame_with_intra_1to4_strips_decodes_pixel_exact was
#[ignore]d with the note "un-ignore when the 64x32/32x64 luma coefficient tables land",
so it is un-ignored here. Running it for the first time showed its untested
frames.len() == 2 assert was wrong -- a raw ffmpeg decode of that fixture writes exactly
one 3840x1608 10-bit frame, so the second frame OBU is a no-show. Corrected to 1 with an
added ffmpeg-frame-count equality so the compare cannot go vacuous; the gate is green
with 480 intra 1:4 strips and the shown frame pixel-exact.
test(av1): restore the --tile-columns=1 arm in the sub-8x8 intra gate -- r2's multi-tile desync was main's motion-field tile clamp, fixed by 1d2259cAhmet Kaan Gümüş · 90b0b04
test(av1): restore the --tile-columns=1 arm in the sub-8x8 intra gate -- r2's multi-tile desync was main's motion-field tile clamp, fixed by 1d2259c

The arm was excluded in r2 with a measured reason: the 192x128 cq-63 recipe with
--tile-columns=1 desynced at decode-order frame 4, and identically with
--min-partition-size=16 --max-partition-size=16 (no sub-8x8 block of any kind),
so the defect was pre-existing and not this lane's bands. Merging main brings
1d2259c (av1_copy_frame_mvs read the mi grid through the per-tile reach clamp,
so the saved motion field kept only the last tile's columns) -- exactly the
frame-3/4 temporal-MV shape. With that fix the arm is pixel-exact, so the gate
now carries the neighbour-map tile arm COMMON asks every lane for: 13 arms.
fix(av1): two 1:4 gates asserted a shape their recipes never producedAhmet Kaan Gümüş · a7dc272
fix(av1): two 1:4 gates asserted a shape their recipes never produced

Both were red on their FIRING assert with 0 mismatches and 0 refusals once the
refusals their streams used to stop at were lifted. Measured with aomdec
EC_TRACE/EC_TRACE_COEFF histograms: the old 64-axis 1:4 recipe writes zero 1:4
partitions and zero rectangular sub-transforms, so the leaves the assert counted
came out of a refused stream (class counter-from-refused-stream). Re-swept ~40
recipes: a 384x256 high-frequency product texture at cq 10 with
--min-partition-size=8 --enable-tx-size-search=1 is what splits a rectangular
transform; the rect var-tx gate now uses it (8-bit, 21+15 leaves before a named
refusal). The 16x16-level split-tx-8x4 arm has no decodable recipe at all -- the
one that fires it mismatches the reference at frame 2 -- so it is reported
unproven with the measurement, not asserted. Also feeds aomenc stdin from a
thread: the old shape deadlocked (one encode hung 40 minutes).
feat(av1): intra 8x4/4x8 and 4x4 leaves inside an inter frame's sub-8x8 partitions, refusals lifted behind a real-aomenc gateAhmet Kaan Gümüş · d94fd8e
feat(av1): intra 8x4/4x8 and 4x4 leaves inside an inter frame's sub-8x8 partitions, refusals lifted behind a real-aomenc gate

Both sub-8x8 intra refusals and their `EC_SUB8INTRA_DECODE` bypass are gone:

  "an intra 4x4 block inside an inter frame's sub-8x8 split ..."
  "an intra 8x4/4x8 block inside an inter frame's sub-8x8 HORZ/VERT partition ..."

New gate `a_real_aomenc_inter_sequence_with_intra_sub8x8_leaves_decodes_pixel_exact`
(stream.rs) re-encodes 12 real aomenc streams -- 8/10-bit x cq 48/55/63 x 128x128/192x128,
`--min-partition-size=4 --max-partition-size=8 --enable-1to4-partitions=0` -- and compares
all 6 decode-order frames, all three planes, against ffmpeg. Continue-and-sweep: a named
refusal is recorded, any other decode error or any pixel mismatch fails. The fixture recipe
is encoded twice on the first arm and the two streams compared byte for byte. End-of-sweep
assert reads all five `sub8_intra_rect_hits` cells, so neither lifted refusal rests on a
stream that never carried its shape.

Result: 12/12 arms pixel-exact, counters [8x4=362, 4x8=80, chroma_ref=156, mixed=153,
split4x4=98]. `sub8_intra_rect_hits` grows a fifth cell for the PARTITION_SPLIT 4x4 arm
(the second refusal's own witness); decode_probe prints it.

NOT included, measured not assumed: the `--tile-columns=1` arm. That recipe desyncs at
decode-order frame 4 -- and desyncs identically with `--min-partition-size=16
--max-partition-size=16`, i.e. with no sub-8x8 block in the stream at all, so it is a
pre-existing multi-tile defect, not this lane's bands. Repro pinned in the gate comment.

Sibling gates re-run: sub8/obmc/mv_stack/1to4/refusal_inventory/gate_coverage = 33 passed,
2 failed, 5 ignored -- both failures are the zero-counter RECIPE defects this branch already
carried (16x16-level 1:4 VERT_4 arms, rect var-tx leaf arm), neither a pixel mismatch.
fix(av1): compound 8x8 leaf published transform width 8 to the deblock grid even when its var-tx split it into 4x4 unitsAhmet Kaan Gümüş · 315f5f2
fix(av1): compound 8x8 leaf published transform width 8 to the deblock grid even when its var-tx split it into 4x4 units

`decode_inter_block8`'s COMPOUND early return called `fill_lf_grid(leaf_mi, 2, 8, ..)`
with a literal 8 where the fall-through single-ref tail writes `if split8 { 4 } else { 8 }`.
libaom `get_transform_size` (av1_loopfilter.c:207) reads the per-TU `inter_tx_size` for a
non-skip inter luma block, so the leaf's interior vertical/horizontal edges at x % 8 == 4
are real filter edges. Ours skipped them and widened the neighbouring edge's filter from
4-tap to 8-tap. Class early-return-skips-tail, third instance in this same arm.

Witness (8-bit 128x128 6-frame inter stream, cq 63): entropy and the pre-filter picture were
already exact on every frame; the POSTDEBLOCK dump vs the instrumented aomdec's diverged on
decode frame 2 at luma (78..80, 58..63), 12 px, max delta 3, around the unfiltered x=60 edge
of the 8x8 at mi(20,14) -- our `EC_AV1_DEBLOCK_TRACE_V` printed no VEDGE at x0=60 there while
the block's four TX_4X4 units demand one. A 12-stream sub-8x8-intra probe sweep
(8/10-bit x cq 48/55/63 x 128x128/192x128) goes 10/12 -> 12/12 pixel-EXACT vs ffmpeg.
fix(av1): compound 8x8 leaf's early return clobbered its own per-TU luma coefficient contextAhmet Kaan Gümüş · d0f01ab
fix(av1): compound 8x8 leaf's early return clobbered its own per-TU luma coefficient context

`decode_leaf8`'s COMPOUND arm returns before the fall-through tail, and that tail
is where the `split8` plane-0 save/restore around `record_mi` lives. A compound
var-tx 8x8 leaf therefore published the whole-block luma grid (all-zero when the
transform is split into 4x4 units, since `read_inter_luma8`'s `record_mi_luma`
already wrote the per-unit state) to `above[..][0]`/`left[..][0]`, so the NEXT
block's first transform unit read `get_txb_ctx`'s `skip_contexts[4][0] = 3` where
aomdec reads `[4][4] = 6` (txb_common.h:330). Class early-return-skips-tail.

Witness (8-bit 192x128 inter stream, aomdec ladder): frame 2 mi(14,12) first luma
TU, ours ctx=3 rng=43376 vs reference ctx=6 rng=61310; the block left of it,
mi(14,10), is a compound 8x8 whose four TX_4X4 units all read ctx=6 correctly and
then had their published levels zeroed. A 12-stream sub-8x8-intra probe sweep
keeps its 10/12 pixel-EXACT rows and one refusing stream now decodes all 6 frames.
merge(sub8x4)+fix(av1): one faithful copy of libaom's sub-8px mv-stack scans, and a sub-8x8 leaf that never saw its sibling's block sizeAhmet Kaan Gümüş · 35461bb
merge(sub8x4)+fix(av1): one faithful copy of libaom's sub-8px mv-stack scans, and a sub-8x8 leaf that never saw its sibling's block size

Merge of lane-intra16x4 r3 and lane-sub8intra r2: both ported the same two
clauses of libaom `scan_row_mbmi`/`scan_col_mbmi` (mvref_common.c:143-236) into
`mvstack.rs`; the merge keeps ONE copy per scan (row, col and their compound
twins) -- the odd-mi step-back under a sub-8px block and the
`>= mi_size_wide[BLOCK_8X8]` half of the weight / `processed_rows|cols` guard.

Fix on top (`decode_inter_sub8_rect2`): libaom's `xd->above_mbmi`/`left_mbmi` are
the neighbour block as DECODED, so leaf 1 of an 8x8 HORZ/VERT group sees leaf 0's
own bsize. We published the side bands only in the GROUP tail, so leaf 1 read the
block preceding the whole group; `get_tx_size_context` (pred_common.h:342) takes
`block_size_wide[above_mbmi->bsize]` from there, and an intra 8x4 leaf 1 read
`tx_size_cat0` row 1 where aomdec reads row 2 (class tx-grid-published-block-side).
12-stream sub-8x8-intra probe sweep: 5/12 pixel-EXACT -> 10/12.
fix(av1): mv-stack row/col scans dropped libaom's sub-8px clauses, desyncing every 4-wide/4-high blockAhmet Kaan Gümüş · 9d5ecaa
fix(av1): mv-stack row/col scans dropped libaom's sub-8px clauses, desyncing every 4-wide/4-high block

`scan_row`/`scan_col` (and the compound twins) applied the weight and
`processed_rows`/`processed_cols` update whenever `bw4 <= n4`, but libaom
`scan_row_mbmi`/`scan_col_mbmi` (mvref_common.c:172/222) gate that on
`xd->width >= mi_size_wide[BLOCK_8X8]` as well, and step the |offset|>1 column
back on an odd mi_col under a sub-8px block. A 4-wide 1:4 strip therefore got a
raised candidate weight and a shifted outer scan: on a 128x128 cq60 aomenc
stream, mi(24,15) built the stack (12,28) w648 / (-4,26) w648 / (-4,18) w8 where
libaom builds (12,28) w650 / (-4,18) w648 / (-4,26) w8 / (6,332) w4, picking a
different mv and desyncing 5466 luma pixels of frame 1 from (122,13).

With both clauses ported the same stream is entropy-exact (125/125 aomdec
EC_MODE entries match, value and range) and stops on another lane's named
sub-8x8 intra refusal instead of decoding wrong pixels.

The intra 16x4/4x16 gate becomes continue-and-sweep: every arm decodes, named
refusals only from a measured list, every decode-order frame compared on every
plane, and ONE end-of-sweep assert over the recorded failures plus a per-bit-
depth firing assert. Still ignored, refusal NOT lifted -- no recipe found yet
gives a pixel-exact attempt with the counter above zero.
fix(av1): mv-stack column/row scans dropped libaom's two sub-8x8 rules -- an 8x4 leaf's refmv CDF row was 3 where libaom uses 4Ahmet Kaan Gümüş · 53add12
fix(av1): mv-stack column/row scans dropped libaom's two sub-8x8 rules -- an 8x4 leaf's refmv CDF row was 3 where libaom uses 4

`scan_col_mbmi`'s odd-row snap (`if ((mi_row & 0x01) && xd->height < n8_h_8) --row_offset;`) and
its transposed `scan_row_mbmi` twin were never ported, and the weight/`processed_cols` guard kept
only `xd->height <= n4_h`, dropping libaom's `xd->height >= n8_h_8` half. Both only misfire for a
query block with a side under 8px, so they surfaced the moment an intra 8x4 leaf made its inter
neighbour's second-outer column scan matter: the scan probed the undecoded row below, lost
`col_match_count`, and read the `refmv` symbol off ctx 3 instead of 4 -- same decoded mode, wrong
CDF row, tile desynced from there (class wrong-alphabet-same-value).

Fixed in all four scan functions (single-ref and compound). On the 8-bit 128x128 sub-8x8 witness
the all_zero range ladder now matches the reference on 2106/2106 transform units across all 6
frames (was 1405) and mi(24,0)'s mode range matches; the three remaining pixel clusters are the
OBMC `mi_step == 1` chroma-pair merge already fixed on another lane, with which the witness is
cmp-exact against ffmpeg on all 6 frames. No refusal lifted, no gate yet.
docs(mergefix): r5 report -- saved motion field kept only the last tile's columns; straddling gate greenAhmet Kaan Gümüş · d72296d
docs(mergefix): r5 report -- saved motion field kept only the last tile's columns; straddling gate green
fix(av1): the saved motion field kept only the LAST tile's columns -- av1_copy_frame_mvs read the mi grid through the per-tile reach clampAhmet Kaan Gümüş · ba5351f
fix(av1): the saved motion field kept only the LAST tile's columns -- av1_copy_frame_mvs read the mi grid through the per-tile reach clamp

`build_motion_field` (this crate's `av1_copy_frame_mvs`) walks the whole
frame's mi grid AFTER the tile loop has finished, when `MiGrid`'s tile
window is still narrowed to the last tile. `MiGrid::get` returns `None`
outside that window, so every tile but the last saved no motion vectors at
all: on the pinned 192x68 2-tile-column stream the saved field held only
mi_col 32..47, and the next frame's temporal (MFMV) candidates over the
whole left two thirds silently vanished from the MV stack. The entropy
stream still matched symbol for symbol -- a missing weight-2 temporal vote
only reorders the stack -- so a NEW_NEWMV block at mi(0,24) took stack[1]
= (36,0) (the compound extension's zero-fill) instead of libaom's (0,0),
predicting 32 px off and leaving a 32-px-wide wrong column band.

New `MiGrid::get_frame` is the unclamped frame-level read; only
`build_motion_field` uses it. Rungs added with it: `EC_TPL` (per frame:
use_ref_frame_mvs + filled projected cells) and `EC_TRACE_TPL`'s new
`EC_TPL_SAVED` occupancy map of the saved field, which is what showed the
16-column hole.

Pre-filter reconstruction of all 6 decode-order frames of the pinned
stream goes 1306/3358/5027/6622 wrong luma px (frames 2..5) -> 0.
Merge branch 'main' into lane-mergefixAhmet Kaan Gümüş · 54a60c1
Merge branch 'main' into lane-mergefix

# Conflicts:
#	crates/ec-av1/examples/decode_probe.rs
#	crates/ec-av1/src/cdf_state.rs
#	crates/ec-av1/src/decode.rs
#	crates/ec-av1/src/refusal_inventory.rs
#	crates/ec-av1/src/stream.rs
#	lanes/mergefix-r2.report.md
feat(av1): intra 8x4/4x8 and 4x4 leaves of an inter frame's sub-8x8 partition decode behind EC_SUB8INTRA_DECODE (gate RED, refusals kept)Ahmet Kaan Gümüş · 2b05cf7
feat(av1): intra 8x4/4x8 and 4x4 leaves of an inter frame's sub-8x8 partition decode behind EC_SUB8INTRA_DECODE (gate RED, refusals kept)

decode_intra_sub8_leaf reads read_intra_block_mode_info's syntax (y_mode[0], no
angle delta below 8x8, uv_mode + CfL only on the chroma reference, filter_intra
off the shape's own class row) and then decode_leaf_rect8's luma/chroma body,
with the INTER frame's tx-depth context and set_txfm_ctxs publication. Both
sub-8x8 callers guard their chroma tail when the chroma reference is intra, and
predict the group's 4x4 chroma WHOLE from the chroma-reference block's mv when a
sibling is intra (is_sub8x8_inter false).

Measured: 5/6 film probes stop first on sub-block 0 of a HORZ/VERT pair, non-skip;
under the switch all six move to the next wall. The path is NOT proven: on an
8-bit 128x128 aomenc witness the intra leaf itself is bit-exact (mode + tx_depth
rng match the oracle) but the stream desyncs inside the next 8x8 group, so the
refusals stay the default behaviour and no gate is added.
fix(av1): OBMC overlappable-neighbour walk never ported libaom's mi_step==1 chroma-pair mergeAhmet Kaan Gümüş · 0ee3ba4
fix(av1): OBMC overlappable-neighbour walk never ported libaom's mi_step==1 chroma-pair merge

`overlappable_above`/`overlappable_left` (obmc.h `foreach_overlappable_nb_*`) skipped the
"4-wide/4-tall neighbour is half of a chroma pair" case as unreachable; the 16x16-level 1:4
partitions made it reachable. The 16x16 block right of a HORZ_4 whose strip 0 is inter and
strips 1..3 intra counted that inter strip as overlappable, so we read a motion_mode symbol
libaom never wrote (its walk snaps back to the pair's even row and reads the INTRA strip 1),
desyncing the tile at the next coefficient: first TU all_zero=1 vs the reference's eob=59.

After the fix the 8-bit 192x128 witness matches aomdec on 620/620 all_zero symbols (value and
range) up to another lane's sub-8x8 intra refusal, and a new gate recipe (horizontal-bar
source, cq63, --min-partition-size=8, 192x128, 5 intra 16x4 strips) decodes 6 frames bit-exact
vs ffmpeg. Gate run once with --include-ignored: still RED, on attempt 0 only -- a mismatch
r1 measured as another shape (99 rows above that stream's first strip) which panics before the
new arm runs, so the test stays #[ignore]d with that measurement and the refusal stays in
place behind EC_INTRA16X4_DECODE.
feat(av1): intra 16x4/4x16 strip of an inter 16x16-level 1:4 partition decodes behind EC_INTRA16X4_DECODE (gate RED, refusal kept)Ahmet Kaan Gümüş · dfaeea5
feat(av1): intra 16x4/4x16 strip of an inter 16x16-level 1:4 partition decodes behind EC_INTRA16X4_DECODE (gate RED, refusal kept)

The key frame's per-strip body is lifted out of decode_rect4_16 into
decode_rect4_16_strip and run from the INTER block path with
INTRA_IN_INTER_MODE = (size_group 0, the skip decode_inter_block already read),
so a single intra strip of a partition whose other strips are inter decodes
through the readers the key frame already proves -- including the 4:2:0 pairing
(even strips read no chroma, the odd one codes one 8x4/4x8 unit at the pair's
origin, predicted per the strip that carries it).

The inter path additionally publishes set_txfm_ctxs + txfm_partition_update for
the strip (the key-frame body has no var-tx tree) and reads the tx-depth symbol
off the real TXFM_CONTEXT bands; without that the block after the strip broke
while the strip itself was exact.

Not pixel-proven: the r1 gate (real aomenc, 4 recipes x 8/10 bit, every frame
Y/U/V vs ffmpeg) is RED and #[ignore]d with its measurement, so the named
refusal stays the default and the new path is behind EC_INTRA16X4_DECODE=1.
Measured with the switch on, all six 10-bit film probes leave this wall (five
stop on the sub-8x8 intra block, another lane's shape).
docs(av1): lane-rectres r1 report -- shape histogram, gate result, film wall move, open suiteAhmet Kaan Gümüş · ba3aca0
docs(av1): lane-rectres r1 report -- shape histogram, gate result, film wall move, open suite

The full `cargo test -p ec-av1 --lib` run had not printed its result line when
the round ended; the report says so rather than claiming a total.
feat(av1): the 32x32-level 1:4 inter strip codes its rectangular residual (32x8/8x32)Ahmet Kaan Gümüş · 0f5742b
feat(av1): the 32x32-level 1:4 inter strip codes its rectangular residual (32x8/8x32)

MEASURED first: an env-gated print at the refusal site (EC_RECTRES=1) on both
10-bit 3840x1608 film cuts and four offsets of the 10-bit 1920x792 stream gives
6/6 refusals at w=32 h=8 or w=8 h=32, non-skip, inter -- nothing else. The
64-axis shapes the charter expected were already supported and never fire.

TX_32X8 codes all 256 positions. New TxbSet::LumaRect32x8Inter = the intra
LumaRect32x8 tables (get_txsize_entropy_ctx = TX_16X16, txsize_log2_minus4 = 4)
plus a tx_type table the intra twin has none of: av1_get_ext_tx_set_type at
tx_size_sqr_up == TX_32X32 is EXT_TX_SET_DCT_IDTX for inter with or without
reduced_tx_set, read at the txsize_sqr_map[TX_32X8] == TX_8X8 row. Chroma pair
is one 16x4/4x16 unit (ss_size_lookup[BLOCK_32X8] = BLOCK_16X4) = Chroma8's
tables. Scans, sub_tx_size_map[TX_32X8] = TX_16X8 var-tx leaves and the rect
coefficient reader were already shape-general.

Gate a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual:
real aomenc, --enable-1to4-partitions=1 --enable-tx-size-search=1
--min-partition-size=8 --max-partition-size=32, 16 attempts x 8/10-bit, both
orientations, every decode-order frame Y/U/V vs ffmpeg, oos_mismatch == 0, one
hard assert per lifted shape on the PIXEL-COMPARED counter: 32x8=7 8x32=8,
0 refusals, 0 mismatches. A 72-run recipe sweep found that only 32-pixel motion
bands at cq >= 48 make aomenc code a NON-SKIP strip; narrower bands give the
same partition with skip set and prove nothing about the residual.

Film frontier: the 10-bit 3840x1608 cut still shows 33 frames -- the gain is
inside frame 34, which now codes a 32x8 residual unit and stops on a different
wall (an intra 16x4/4x16 strip inside an inter 16x16-level 1:4 partition). All
six cuts moved to that same next refusal. The rect64 refusal is NOT lifted: the
clean prefix reports rect64_corner_tu 0/0, so no witness exists yet.
fix(av1): the loop filter ignored spec 7.14.2's skip/pu_edge suppression, filtering a var-tx interior edge lattice the reference never touchesAhmet Kaan Gümüş · fc0fe40
fix(av1): the loop filter ignored spec 7.14.2's skip/pu_edge suppression, filtering a var-tx interior edge lattice the reference never touches

edge_params dropped the `!pv_skip || !curr_skipped || pu_edge` term on the invariant
"a coded block's transform is always its own full size", which var-tx broke: every 8-px
interior transform edge inside a skipped inter block was filtered. Adds a per-4x4-mi
coded-block-origin band (written alongside the skip flag) for the pu_edge term.

On the pinned 192x68 cq61 tile_cols=1 8-bit stream, decode-order frame 1 goes 7244 -> 0
wrong post-deblock luma px; its pre-filter reconstruction was already bit-exact, which
disproves the compound-prediction premise this round started from. The 1:4 rect-vartx
sibling gate stays green. The straddling gate still fails on a different, isolated
defect: decode frame 2 is wrong pre-filter in the x=96..127 column band.
(cherry picked from commit 6bc2c8b32c187d51e7723249c7eecbad9a298466)
feat(av1): TX_64X32/TX_32X64 luma corner read for a split intra strip, behind EC_RECT64_SPLIT=1 (no witness yet)Ahmet Kaan Gümüş · 42d7c39
feat(av1): TX_64X32/TX_32X64 luma corner read for a split intra strip, behind EC_RECT64_SPLIT=1 (no witness yet)

Hand-port of the lane-intra64split decode hunk onto main 78d8ff7: a 64-level
HORZ/VERT intra strip whose luma transform unit is the un-split TX_64X32 /
TX_32X64 reads its coded 32x32 corner through TxbSet::Luma64 with
default_scan(TX32) and the real rect shape passed to av1_nz_map_ctx_offset --
byte for byte decode_block_rect64's depth-0 key-frame arm. Per-orientation
counter rect64_corner_tu_hits(0|1) exported through stream.rs and printed by
decode_probe.

NOT lifted: measured on both 10-bit 3840x1608 cuts, the arm fires (16x 64x32 +
2x 32x64 on the first cut, 2x 32x64 on the second) but the SAME frame then
stops at "a non-skip rectangular (HORZ/VERT/HORZ_B) strip needs rectangular
residual coding", so no frame containing the shape ever completes and no pixel
comparison exists. A refusal is lifted only with a gate, so the arm sits behind
EC_RECT64_SPLIT=1 and the refusal stays the default; refusal_inventory and
gate_coverage unchanged.
docs(mergefix): r4 handoff -- frame 1 is entropy AND prediction exact; the residual band is decode frame 2, x=96..127Ahmet Kaan Gümüş · 8fc2d7e
docs(mergefix): r4 handoff -- frame 1 is entropy AND prediction exact; the residual band is decode frame 2, x=96..127
fix(av1): the loop filter ignored spec 7.14.2's skip/pu_edge suppression, filtering a var-tx interior edge lattice the reference never touchesAhmet Kaan Gümüş · 99d520f
fix(av1): the loop filter ignored spec 7.14.2's skip/pu_edge suppression, filtering a var-tx interior edge lattice the reference never touches

edge_params dropped the `!pv_skip || !curr_skipped || pu_edge` term on the invariant
"a coded block's transform is always its own full size", which var-tx broke: every 8-px
interior transform edge inside a skipped inter block was filtered. Adds a per-4x4-mi
coded-block-origin band (written alongside the skip flag) for the pu_edge term.

On the pinned 192x68 cq61 tile_cols=1 8-bit stream, decode-order frame 1 goes 7244 -> 0
wrong post-deblock luma px; its pre-filter reconstruction was already bit-exact, which
disproves the compound-prediction premise this round started from. The 1:4 rect-vartx
sibling gate stays green. The straddling gate still fails on a different, isolated
defect: decode frame 2 is wrong pre-filter in the x=96..127 column band.
debug(av1): EC_LFPARAMS rung + r4 report -- frame 1 of the pinned 192x68 stream reconstructs bit-exact, the mismatch is our deblock filtering 10x more edges than the oracleAhmet Kaan Gümüş · 85dc25f
debug(av1): EC_LFPARAMS rung + r4 report -- frame 1 of the pinned 192x68 stream reconstructs bit-exact, the mismatch is our deblock filtering 10x more edges than the oracle

The r3/charter premise (compound-prediction defect at mi(0,16)) is disproved: the
pre-filter dumps match exactly for frames 0 and 1; the postdeblock dumps differ by 7244
luma px. Levels ruled out by the new rung; suspects are the missing spec 7.14.2 skip /
pu_edge suppression in edge_params and the inter var-tx LF TU grid.
docs(av1): name the var-tx parent-side publish defect at its site, keep the shipped valueAhmet Kaan Gümüş · ff5d3c5
docs(av1): name the var-tx parent-side publish defect at its site, keep the shipped value

r3 proved the root cause of the straddling-band partition-ctx divergence (a var-tx
inter block is not always square: a superblock-level PARTITION_VERT strip is 32x64
with side == 64 and stamps the parent's 64 into the partition-context bands, so the
next superblock reads CDF row 0 where the oracle reads row 1) and reverts the fix:
all four variants -- true footprint in the record call, per-piece band republish,
parent-span band republish, and VERT-only -- take the straddling gate 3622 -> 3376
differing pixels AND turn two attempts of the 1:4 rect var-tx gate into the named
"non-skip rectangular strip needs rectangular residual coding" refusal, failing its
hit assert. `side` is not the parent bsize at every call site, so the band write
belongs in the partition arms; that is r4's job. Site comment records the finding,
lanes/mergefix-r3.report.md the ladders, variants and swept sites.
fix(av1): transform-unit top-right/bottom-left inside a block wider than 64Ahmet Kaan Gümüş · d1400b2
fix(av1): transform-unit top-right/bottom-left inside a block wider than 64

A block wider than 64 is coded in 64x64 "mu" chunks in raster order, so
libaom's has_top_right takes the column offset MODULO the chunk (plus the one
centre unit of a 128x128) and has_bottom_left grants the left edge of a
right-hand chunk what the already-coded left chunk holds. Reach::of_tu applied
the plain block-wide rule, so the last unit column of every chunk of a 128x64
intra block predicted from a chunk not yet reconstructed -- 375 wrong samples
per 128x64 block on a 512x512 key frame with the transform split.

Gate: a 512x512 arm (second 128 superblock column, high-frequency source,
--enable-tx-size-search=1) joins the sb128 intra_rect_block gate: 164 128x64 +
156 64x128 blocks, 294 of them at TX_16X16, 5 frames pixel-exact.