forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on cbbd6e2ef6acafb00aeb55e460423f024126f90f

2026-09-02

Merge branch 'lane-cdef' (2d76270): CDEF skip band for 8x8 inter leaves, cdef_find_dir paddingAhmet Kaan Gümüş · 2bca382
Merge branch 'lane-cdef' (2d76270): CDEF skip band for 8x8 inter leaves, cdef_find_dir padding

- 8x8 inter leaves write their CDEF skip band; cdef_find_dir padding fixed;
  straddling-band gate added.
- Merge resolution: the per-frame stage-dump index exists once, as this lane's
  dump_stage_idx helper (lane-sbrect10 had the same fix as a local atomic).

Gates: cdef (3), straddling_band (1), refusal_inventory (3), gate_coverage (9),
base_ctx_rect_offsets (1) -- all pass.
feat(av1): superblock-level inter AB partitions, and a var-tx block that stamped its neighbour bands squareAhmet Kaan Gümüş · b412012
feat(av1): superblock-level inter AB partitions, and a var-tx block that stamped its neighbour bands square

The 64-level PARTITION_HORZ_A/_HORZ_B/_VERT_A/_VERT_B arms on the inter tile
path: two 32x32 inter squares plus one true 64x32/32x64 inter strip, visited
in libaom decode_partition order, with a per-arm hit counter.

Root cause of the desync the first gate run found: decode_inter_block's
var-tx branch recorded its neighbour side bands as `side x side` on the
premise "a var-tx block is always square", which stopped holding when the
SB-level rect strips landed. A 32x64 strip wrote above_side_mi = 64, so the
superblock below read partition ctx 2 where aomdec reads 3 and desynced at
the next symbol. Now stamped with the block's true write_w/write_h.

Gate a_real_aomenc_inter_sequence_with_superblock_level_ab_partitions_decodes_pixel_exact:
256x192, 20 attempts per bit depth, every decode-order frame compared Y/U/V
vs ffmpeg. 8-bit 12 pixel-exact attempts, arms [6,5,4,2]; 10-bit 4 attempts,
arms [2,1,3,2]; 0 named refusals, 0 out-of-scope mismatches.
Merge branch 'lane-golomb' (173b793): frame-edge partition bits, luma-only deblock grid, cropped reference guardsAhmet Kaan Gümüş · 58dfef5
Merge branch 'lane-golomb' (173b793): frame-edge partition bits, luma-only deblock grid, cropped reference guards

- frame-edge partition bits at the 32 level; edge32 gate.
- chroma deblock grid keeps the block's own av1_get_max_uv_txsize -- the var-tx
  leaf write is LUMA only (libaom get_transform_size splits for AOM_PLANE_Y alone).
  Merge resolution: lane-r14's RECT (row,col,tw,th) leaves are kept and routed
  through this lane's fill_lf_grid_leaf_luma.
- inter chroma tx_type set narrowing, cropped reference-size guard, loop-restoration
  crop, mc.rs:203 panic converted to a refusal (OBMC neighbour with no recorded
  switchable interp filter). The lane's second refusal string (palette on a 1:4 rect
  strip) is NOT carried: lane-kf900 lifted that shape, and it no longer exists in
  decode.rs.

Gates: 32x32_frame_edge (1), refusal_inventory (3), gate_coverage (9),
base_ctx_rect_offsets (1), vartx (1), 1to4 (6) -- all pass.
feat(av1): decode a nonzero angle_delta_y on an 8x8 intra leaf inside an inter frameAhmet Kaan Gümüş · 7136112
feat(av1): decode a nonzero angle_delta_y on an 8x8 intra leaf inside an inter frame

av1_use_angle_delta(BLOCK_8X8) is true, so the leaf codes angle_delta_y off
angle_delta_cdf[mode - V_PRED] exactly as a key-frame block does; the delta
already fed the directional predictor here, only the refusal stood in front
of it. Gated by a real-aomenc 192x128 6-frame inter sequence (8- and 10-bit,
--enable-angle-delta=1, --enable-directional-intra=1, min/max partition 8/32),
109 / 75 nonzero-delta 8x8 intra leaves on the first attempt, every
decode-order frame pixel-exact vs ffmpeg.

The sibling tx_depth-split refusal STAYS: its per-TU implementation is in the
tree behind the refusal and decodes the 8-bit arm exactly, but a 10-bit
stream still mismatches (see lanes/leaf8tx-r1.report.md).
fix(av1): rect inter blocks picked the 4-tap chroma kernel from the square prediction buffer, not the blockAhmet Kaan Gümüş · 759e688
fix(av1): rect inter blocks picked the 4-tap chroma kernel from the square prediction buffer, not the block

decode_inter_block predicts a rectangular block over its enclosing square
buffer (side x side, chroma_side x chroma_side; write_w/write_h govern only
the pixel write). The narrow-block decision lived in mc::predict_with_filters
and read that buffer's dimensions, while libaom
av1_get_interp_filter_params_with_block_size takes it per axis from the
prediction block's own w/h -- so the chroma of an 8x16 / 16x8 inter block
(4x8 / 8x4) used the 8-tap kernel where libaom uses the 4-tap one. Luma is
never <= 4 wide on this path, which is why such streams decoded luma-exact
and differed by +-1 on scattered chroma samples (lane-interedge r1's 192x128
control, no frame-edge node, cdef/LR off).

mc gains predict_with_filters_kern / predict_scaled_kern /
predict_compound_intermediate_kern (old entry points delegate with kern =
block dims) plus a RECT_NARROW_KERN_HITS counter; decode_inter_block's 12
prediction calls pass write_w/write_h and write_chroma_w/write_chroma_h.

New gate a_real_aomenc_rect_inter_block_predicts_chroma_with_the_narrow_kernel_pixel_exact:
real aomenc mandelbrot 192x128 and 128x192, 8- and 10-bit, cq 20/32/45,
6 frames, lag-in-frames=0, every decode-order frame compared on Y, U and V;
12/12 arms exact, narrow-kernel counter nonzero at both depths and in both
orientations. Same recipe mismatched chroma in all arms before the fix.
feat(av1): decode the 128 root's gathered frame-edge HORZ/VERT arm on the inter pathAhmet Kaan Gümüş · 83a30ca
feat(av1): decode the 128 root's gathered frame-edge HORZ/VERT arm on the inter path

mi_rows/mi_cols that do not fill the last 128 superblock make has_rows128 /
has_cols128 false, and the gathered bit then codes PARTITION_HORZ (a 128x64
block whose bottom half is outside the frame) or PARTITION_VERT (64x128) --
the only 128-partition shape a 1080p stream reaches (mi_rows 270). The inter
tile path now decodes both through inter_piece! with two TX_64X64 luma units
per mu chunk, TX_32X32 chroma, per-block cdef_idx fan-out and sb-size-aware
whole-block delta-q; Neighbours::new pads its side arrays to a superblock
multiple (libaom av1_alloc_context_buffers) since such a block records state
past the last mi row. The intra path is square-block only and now refuses the
arm BY NAME instead of silently decoding it as four 64x64 quadrants.

Gate a_real_aomenc_sb128_gathered_edge_horz_partition_decodes_pixel_exact:
4 real aomenc --sb-size=128 --cpu-used=0 streams (384x320 and 192x256, 8+10
bit, cq 32/45/55), every decode-order frame incl. the hidden alt-ref compared
against the instrumented aomdec, hard-asserting the edge counter and the inter
128x64/64x128 block counter.
fix(av1): the neighbour palette side bands were indexed on the 16px SUB cell, so a 16x8 strip pair shared one slot and the second strip read the first's palette size -- every screen key frame with palette + tx-size-search decoded whole-superblocks wrongAhmet Kaan Gümüş · c642e28
fix(av1): the neighbour palette side bands were indexed on the 16px SUB cell, so a 16x8 strip pair shared one slot and the second strip read the first's palette size -- every screen key frame with palette + tx-size-search decoded whole-superblocks wrong

libaom keeps `palette_size`/`palette_colors` per 4x4 mi cell in `MB_MODE_INFO`, and
`av1_get_palette_cache`/`av1_get_palette_mode_ctx` (pred_common.c:73, pred_common.h:197)
read `xd->above_mbmi`/`xd->left_mbmi` -- the mi cell immediately above/left of the
block. Our `Neighbours::{above,left}_palette_{size,colors}` (and the UV pair) were one
entry per 16px SUB cell, a corner-cut whose own comment said it was "safe today because
every sub-16 leaf path refuses palette outright". Since lane-kf900 r4 lifted the rect
palette refusals that stopped being true: a 32x8 / 16x8 strip pair sits inside ONE cell,
so strip 1's left (above) neighbour lookup returned strip 0's -- or an already
overwritten sibling's -- palette, the colour cache came out one entry short, and
`read_palette_colors_y`'s cache-hit branch narrowed a different interval.

Measured on `$HOME/.cache/kf900-r6/DIFF_45_1_1_test.obu` (r6's ladder): exact through
mi(0,8) `angle_uv` rng=42372, then the first colour-index-map symbol at 34824 (oracle)
vs 51354 (ours) -- libaom's `xd->left_mbmi` for mi(0,8) is mi(0,7), palette size 3, ours
had been overwritten by mi(2,4)'s size 2.

Fix: the eight palette side arrays are mi-granular (`cols * (SUB / MI)`), every
record/lookup takes the block's REAL mi position, and `record_strip_palette`'s
split-axis `last` hack is gone -- it only existed because all four 1:4 strips aliased
onto one SUB slot. `palette_ctx_and_cache_mi`/`palette_uv_cache_mi` drop their separate
`mi_r` argument (the whole coordinate is mi now); the SUB-taking wrappers convert.

Gate: `a_real_aomenc_rect_strip_palette_decodes_pixel_exact` grows arms 3-4,
`smptebars-screen-txs-cq40/cq55` -- `--tune-content=screen --enable-palette=1
--enable-tx-size-search=1 --enable-1to4-partitions=1 --enable-intrabc=1`, 8 and 10 bit,
whole-frame compare. Both streams were DIFF before this fix and are pixel-exact after
(same bytes: `$HOME/.cache/kf900-r6/DIFF_{40,55}_1_1_smpt.obu`). Gate reports 5 firing
attempts, 4 named refusals, 6 frames compared, 0 out-of-scope mismatches.
test(av1): gate loop restoration's frame-edge stripe shapes -- stripe 0 and the partial bottom stripeAhmet Kaan Gümüş · 8c352b6
test(av1): gate loop restoration's frame-edge stripe shapes -- stripe 0 and the partial bottom stripe

The chartered defect (a 1920x792 10-bit AV1 key frame wrong in rows 0..7) does
not reproduce at this base: 11/11 decodable key frames of that stream decode
0-sample-exact against ffmpeg, so no fix was needed. What was missing was the
gate: every LR gate size so far was a whole multiple of 64 rows at --sb-size=64,
so the 56-row first stripe (RESTORATION_UNIT_OFFSET==8) and the truncated last
stripe -- the only two stripes whose boundary rows come from the frame's own
top/bottom row instead of the deblocked plane -- were never asserted to have run.

- restoration.rs: LR_STRIPE0_HITS / LR_LAST_STRIPE_HITS counters, bumped in
  filter_restoration_unit for a non-None filter on a stripe starting at plane
  row 0, resp. a truncated stripe ending at plane_h.
- stream.rs: new 10-bit gate, real aomenc --sb-size=128 --enable-restoration=1
  --cpu-used=0, 256x152 cq15 / 384x216 cq15 / 256x152 cq25, 16 seeds each, all
  frames vs ffmpeg, both counters hard-asserted per compared attempt: 48/48
  pixel-exact, stripe0 108, last-stripe 108.
- stream.rs: the 8-bit LR gate moves 192x128 -> 192x152 (128's stripe shapes are
  a subset) and asserts the same two counters: 40/40 pixel-exact.
Merge branch 'lane-kf1200' (d44afba): second 10-bit key-frame fixture for the skipped-leaf transform gridAhmet Kaan Gümüş · edebe88
Merge branch 'lane-kf1200' (d44afba): second 10-bit key-frame fixture for the skipped-leaf transform grid

Same decode_leaf8 root cause as lane-kf900 (kept once, kf900's comment); this lane
contributes an independent 10-bit key-frame fixture (reelb_ss600_key_frame.obu, a partial
8-px bottom superblock row) that pins it pixel-exact including chroma, plus the
frame-edge partition-bit gate and the trace_edge rung.

Gates: ss600 (1), frame_edge_partition_bit (1), skipped_8x8_intra_leaves (1),
refusal_inventory (3), gate_coverage (9), base_ctx_rect_offsets (1) -- all pass.
Merge branch 'lane-kf900' (cbfe32d): skipped-leaf tx grid, chroma-reference neighbour snap, palette and intrabc on rect stripsAhmet Kaan Gümüş · b4cddf3
Merge branch 'lane-kf900' (cbfe32d): skipped-leaf tx grid, chroma-reference neighbour snap, palette and intrabc on rect strips

- skipped 8x8 intra leaves publish their BLOCK side (not the resolved TX_4X4) to
  the next block's tx-size context; new 10-bit key-frame fixture reelb_kf900.obu gates it
  luma-exact with a >=15 hit assert.
- smooth_uv_neighbour now snaps to the chroma REFERENCE mi (mi & !1) like libaom's
  set_mi_row_col, which subsumes main's per-call pair_mi fix at the 16x4/4x16 arm.
  Merge resolution: the RECT4_16_UV_PAIR_FILT_HITS witness would have gone
  tautologically 0 (both sides snap to the same mi), so it now compares the snapped
  answer against a new smooth_uv_neighbour_unsnapped -- it measures what the snap
  buys, and the 16-level 1:4 gate keeps its hard assert.
- 10-bit palette literals, palette + use_intrabc on 1:4 / sub-16 rect strips.

Gates: skipped_8x8_intra_leaves (1), palette (7), intrabc (1), 1to4 (6), smooth (3),
refusal_inventory (3), gate_coverage (9), base_ctx_rect_offsets (1) -- all pass.
docs(intersub8): r5 gate re-run at the counter fix, film probe at the census offsetAhmet Kaan Gümüş · 9d47eed
docs(intersub8): r5 gate re-run at the counter fix, film probe at the census offset

Gate + cdef sibling + refusal_inventory + gate_coverage re-run on b64da0d:
14 passed, 0 failed; sub-8x8 gate fired=10 horz=5 vert=3 rect_masked=2 with
out_of_scope_mismatch==0. Film probe corrected to the census offset (ss=0, -t 2):
the 3840x1608 10-bit stream now decodes 30 frames with horz8x4=8 vert4x8=9 and
stops one refusal later, on the non-DC chroma 8x8 inter leaf.
wip(rectchroma2): merge lane-golomb 173b793 + partial work from the interrupted roundAhmet Kaan Gümüş · 51ce8e8
wip(rectchroma2): merge lane-golomb 173b793 + partial work from the interrupted round

Conflict resolutions: dump_stage per-picture index keeps the thread-local
counter; var-tx leaf lf grid keeps main's rect (tw,th) leaves with golomb's
luma-only fill (libaom get_transform_size splits only for AOM_PLANE_Y).
wip(sbab): partial from the interrupted roundAhmet Kaan Gümüş · f760942
wip(sbab): partial from the interrupted round

Superblock-level inter AB partition arms (HORZ_A/HORZ_B/VERT_A/VERT_B at
64x64 in an inter frame) plus a per-arm hit counter; refusal line removed.
No gate yet.
Merge branch 'lane-sqdrift' (7d498c0): square-only inter sequence with a 64x64 intra superblock gateAhmet Kaan Gümüş · 566a617
Merge branch 'lane-sqdrift' (7d498c0): square-only inter sequence with a 64x64 intra superblock gate

Root cause (the no-CfL uv_mode alphabet on 64-axis blocks) landed on main via
lane-sbrect10 (9f1f108); this lane confirmed it by ablation and contributes the
square-only gate plus two trace rungs (EC_IIS intra-in-inter symbol trace,
pre_rng on the partition_w64 TRACE line).

Gates: a_real_aomenc_square_only_inter_sequence_with_a_64x64_intra_superblock_decodes_pixel_exact,
a_real_aomenc_inter_frame_with_a_64x64_intra_block_reads_the_no_cfl_uv_alphabet -- both pass.
wip(sb128c): r7 partial from the interrupted roundAhmet Kaan Gümüş · 386c0a8
wip(sb128c): r7 partial from the interrupted round

Inter-path 128x64 / 64x128 at the 128 root: gathered-edge counters, the
two-square-TX_64X64 var-tx read for bw.max(bh) > 64, the mu-chunk chroma
branch ordered before the rect_tu one, sb-size-aware whole_sb delta-q
test, overhang clamp in PlaneBuf, and the HORZ/VERT inter_piece! arm with
per-block cdef_idx fan-out. AB shapes stay refused by name.
fix(av1): an intrabc block's chroma tx_type is inherited from its luma transform, not derived from the chroma intra mode -- every screen-content key frame with a real intra-block-copy block desynced at the first chroma eob symbolAhmet Kaan Gümüş · d68cb84
fix(av1): an intrabc block's chroma tx_type is inherited from its luma transform, not derived from the chroma intra mode -- every screen-content key frame with a real intra-block-copy block desynced at the first chroma eob symbol

libaom av1_get_tx_type (blockd.h) branches PLANE_TYPE_UV on is_inter_block, and
is_inter_block counts is_intrabc_block (blockd.h:373), so an intrabc block's
chroma tx_type is the colocated luma transform's coded type. We applied the
intra rule (intra_mode_to_tx_type of the chroma mode) and read DCT_DCT where
libaom had V_DCT: TX_CLASS_2D instead of TX_CLASS_VERT changes eob_multi_ctx,
the scan order and every nz context. Ladder (EC_TRACE_COEFF both decoders,
256x192 8-bit screen key frame): luma exact through after_bases rng=58543,
first divergence at the chroma eob, ref 65032 (eob 8) vs ours 37532 (eob 5).

The chartered premise -- a desync inside read_intrabc_dv -- was stale: the
oracle's EC_TRACE_IBC rung and our own trace both give dv=(-512,-608) at that
block, and a wrong DV predictor cannot move the bitstream position anyway.

Gate a_real_aomenc_screen_key_frame_reads_use_intrabc_on_rect_strips grows from
3 to 7 arms, spells --enable-intrabc=1, compares every frame of every decoding
arm and asserts a per-arm intrabc-block counter: 4 intrabc blocks across 3 arms,
all pixel-exact vs ffmpeg, 0 out-of-scope mismatches. gate_coverage drops
enable-intrabc from its 8-bit never-exercised list (its stated premise, "every
real stream's intrabc block sits under TX_MODE_SELECT", is disproven).
fix(av1): inter 32x32-level HORZ/VERT decoded the frame-edge second strip libaom never codedAhmet Kaan Gümüş · ca58ed5
fix(av1): inter 32x32-level HORZ/VERT decoded the frame-edge second strip libaom never coded

Merges lane-cdef 8c6065e (cdef_find_dir at a crop edge) and fixes the inter tile's
32-level PARTITION_HORZ/PARTITION_VERT, which decoded the second 32x16/16x32 strip
unconditionally. libaom decode_partition guards it with has_rows/has_cols, so at a
frame edge (height or width mod 16 == 8 -- both of the user's films) we read symbols
the encoder never wrote: without the guard a 72x192 cq32 stream refuses outright and
a 104x192 one decodes luma rows 127..191 of frame 5 wrong.

Adds an inter_edge_strip counter per level (64/32/16) x axis and un-ignores
lane-oddh r2's inter arm as a 5-size real-aomenc gate: 30 attempts luma-exact,
edge hits [109,34,0,3,2,432], 0 refusals, control 192x128 zero hits.
fix(av1): count the 8x8 inter leaf's fall-through CDEF skip-band write tooAhmet Kaan Gümüş · 408ab87
fix(av1): count the 8x8 inter leaf's fall-through CDEF skip-band write too

lane-cdef r1 incremented INTER8_SKIP_BAND_HITS only in decode_inter_block8's
COMPOUND early-return arm, so its gate's assert really read "a COMPOUND 8x8
leaf wrote the band". On the tree merged with main the 10-bit cq=12 arm's
leaves come through the single-ref fall-through instead, which writes the band
but did not count -- the gate failed on an instrumentation gap, not on pixels
(cdef_skipped_units passed, and all five arms are pixel-exact once past it).
Merge lane-uv8 6223830 into lane-leaf8tx: 8x8 intra-in-inter leaf tx_type alphabet + 4 lane mergesAhmet Kaan Gümüş · ca1ea86
Merge lane-uv8 6223830 into lane-leaf8tx: 8x8 intra-in-inter leaf tx_type alphabet + 4 lane merges

Conflict in stream.rs was two appended test fns; kept both sides.
fix(av1): get_tx_size_context's inter-neighbour override read a SUB-cell index into two mi-granular bandsAhmet Kaan Gümüş · 9fbdab4
fix(av1): get_tx_size_context's inter-neighbour override read a SUB-cell index into two mi-granular bands

`tx_size_context_txfm`/`_rect` implement libaom `get_tx_size_context`
(pred_common.h): when the above/left neighbour is an INTER block its BLOCK
size, not its transform-context band, decides the `tx_depth` CDF row. Both
copies indexed `above_inter`/`left_inter` with `mi_c / (SUB / MI)` /
`mi_r / (SUB / MI)`, but those two bands are mi-granular everywhere else they
are written (`record_inter_rect_mi`) and read (`intra_inter_ctx`) -- so the
override consulted a neighbour four mi columns/rows away and, at the first
intra block right of an inter one, read tx_depth off ctx 0 where libaom has
ctx 1. Same value, different interval: the tile desynced from there.

MEASURED on the r2 handoff's pinned stream (10-bit 192x128, md5
50ea2b42423f1c8b4eed9fa48c4775a6): the aomdec `EC_ISTEP name=tx_depth` ladder
was 85 of 147 elements and first diverged at mi(24,24) ctx 0 vs 1; it is now
147/147 identical and the stream decodes pixel-exact.

Consequence for the gate: with a correct decode that stream contains ZERO
intra HORZ/VERT strips in an inter frame -- r1/r2's "firing" counters were
read off our own desynced decode (class counter-from-refused-stream). 90
probe encodes over the old 192x128 / min=max=32 geometry produce no strip at
all, so the gate moves to the merged unsplit-strip gate's geometry (96x96,
min 16 / max 64, cq sweep down to 4) where aomenc does split intra strips.
Both arms are now GREEN with zero named refusals: 8-bit 6 counted-exact
attempts (depth1=9, depth2=1), 10-bit 2 counted-exact.

`EC_SPLITSTRIP` now prints EVERY intra strip with its depth, not only the
split ones -- a source that codes no strip at all and one that codes only
unsplit strips were indistinguishable through it.
fix(av1): the 8x8 intra leaf inside an inter frame read the REDUCED five-type tx_type set unconditionallyAhmet Kaan Gümüş · 564bd72
fix(av1): the 8x8 intra leaf inside an inter frame read the REDUCED five-type tx_type set unconditionally

decode_inter_block8's intra arm passed a hardcoded TxbSet::Luma8 (the
reduced_tx_set==1 alphabet, EXT_TX_SET_DTT4_IDTX, five types) for the leaf's
8x8 luma transform. With reduced_tx_set==0 libaom's av1_get_ext_tx_set_type
returns EXT_TX_SET_DTT4_IDTX_1DDCT for is_inter==0 at tx_size_sqr==TX_8X8 --
seven types. Same symbol value, different narrowing: the msac range diverged at
the leaf's first tx_type and desynced the rest of the tile, which is what
produced the 30/30 "named refusal" attempts the r1/r2 gate logs showed.

Route the set through txbset_for(8, reduced_tx_set); reduced_tx_set was already
a parameter of this function. Per-TU range ladder against the instrumented
aomdec on the gate's own 192x128 8-bit stream goes from a first divergence at
TU 3392 (frame 2, mi 2,34) to 13986/13986 identical.

Gate uv_mode_in_inter8_gate: 3/3 arms (8-bit, 10-bit, two-tile) pixel-exact on
attempt 0 with all three chroma classes firing; the counted predicate is
tightened to require all three on the same compared attempt.
Merge branch 'lane-sbrect10' (9f1f108): uv_mode reads the no-CfL alphabet when the block size excludes CfLAhmet Kaan Gümüş · b6adf58
Merge branch 'lane-sbrect10' (9f1f108): uv_mode reads the no-CfL alphabet when the block size excludes CfL

A 64x64 intra block inside an inter frame read uv_mode off the 14-symbol
CfL-allowed alphabet; libaom's is_cfl_allowed caps CfL at 32x32, so the value
matched (DC_PRED) while the interval narrowing did not and the tile desynced
from that block on (class wrong-alphabet-same-value). Gated at every uv_mode
read site (read_intra_mode, read_intra_mode_rect, intra-in-inter) with the
NOCFL_UV_MODE_HITS counter proving the shape fired, plus the compound MV
stack's global-motion tail slots. The superblock rect-strip gate's 10-bit arm
runs again.

Gate: a_real_aomenc_inter_frame_with_a_64x64_intra_block_reads_the_no_cfl_uv_alphabet
Suite: 384 passed / 0 failed / 33 ignored.
Merge branch 'main' (aa83400) into lane-intersub8Ahmet Kaan Gümüş · b198e87
Merge branch 'main' (aa83400) into lane-intersub8

Auto-merge clean in decode.rs / stream.rs / refusal_inventory.rs /
decode_probe.rs; cdf.rs is byte-identical to main's. One bsize_index and one
compound_type/wedge_idx read site survive the merge, so main's inter16ab
copy of the rect CDF-row fix and this lane's r4 copy did not duplicate.
cargo check -p ec-av1 --all-targets is clean.
feat(av1): lift the sub-8x8 inter HORZ refusal (two BLOCK_8X4 leaves)Ahmet Kaan Gümüş · 4496b6d
feat(av1): lift the sub-8x8 inter HORZ refusal (two BLOCK_8X4 leaves)

The |d|<=2 luma band that kept HORZ refused through r4 was the merged
lane-cdef defect: the 8x8 inter leaf never wrote the CDEF skip band, so
8x8 groups next to an 8x4 pair were filtered where libaom skips them.
A 56-arm sweep (7 cq x 4 sp x 2 depths, transposed source, rect on) now
has zero mismatching arms; the three that were red are pixel-exact.

The gate grows attempts 16..23 on the transposed source (aomenc picks HORZ
below 8x8 there, VERT on the untransposed one), counts the two axes apart
and asserts each fired on >=2 pixel-compared attempts, and asserts a
non-square masked-compound block (new RECT_MASKED_COMPOUND_HITS) so r4's
compound_type/wedge_idx CDF-row fix stops being unexercised.
Merge branch 'lane-cdef' (8c6065e): the 8x8 inter leaf writes the CDEF skip bandAhmet Kaan Gümüş · a2059e0
Merge branch 'lane-cdef' (8c6065e): the 8x8 inter leaf writes the CDEF skip band

lane-cdef r1 found that decode_inter_block8's leaf path never wrote the
per-8x8 skip band apply_cdef's is_8x8_block_skip reads, so an all-skip 8x8
group kept the previous frame's flags and was filtered where libaom's dlist
excludes it; it also runs cdef_find_dir on the same padded block the taps
read, and gives dump_stage/dump_stage16 a per-frame index.

Taken here because this lane's sub-8x8 HORZ residue has exactly that shape.
fix(av1): gate the top-right mv probe on the bs>64 half of has_top_right only, and cap inter var-tx leaves per root sizeAhmet Kaan Gümüş · 76749a1
fix(av1): gate the top-right mv probe on the bs>64 half of has_top_right only, and cap inter var-tx leaves per root size

The r5 wiring applied libaom's whole has_top_right, position mask included,
without its three shape refinements (is_last_vertical_rect,
is_first_horizontal_rect, the PARTITION_VERT_A bottom-left square). That is
right for a 128 block (bs > 64 -> no candidate, the defect r5 fixed) and wrong
below it: the 64-level AB, free-partition and 1:4 stream gates lost frame 16
luma. Gate on the size half only; ceiling and upgrade path named at the helper.
Also: the merged var-tx leaf ceiling is per root (32 below the 128 root, 64 at
it, where the mu-chunk reader codes a TX_64X64's 32x32 coded corner), and the
skipped-inter internal-edge suppression is narrowed to the 128 root, the only
size whose leaves are not the block.
test(av1): pin the rect-partitioned 192x128 stream whose inter frame carries a 64x64 intra blockAhmet Kaan Gümüş · 732ea3b
test(av1): pin the rect-partitioned 192x128 stream whose inter frame carries a 64x64 intra block

The rect-on twin of the square-only 64x64-intra-in-inter gate: all 6 decode-order
frames byte-exact against the oracle, asserting the no-CFL uv_mode alphabet fired.
Ablating the <=32 is_cfl_allowed bound makes it fail, so the gate is not vacuous.
Merge 8c6065e into lane-uv8Ahmet Kaan Gümüş · d22df34Browse files
Merge 10b801a into lane-uv8Ahmet Kaan Gümüş · 79d795fBrowse files