forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 8a5feaaf4eec5ffa092cf5d42e7919f05c221426Filtered to crates/ec-av1/src/gate_coverage.rsClear filter

2026-09-17

docs(av1): intrabc_hits counts DV READS (a refused rect-strip block bumps it but is never reconstructed); depth-parameterised recipe helper counts at both depths in the gate-coverage derivationAhmet Kaan Gümüş · b89dee0
docs(av1): intrabc_hits counts DV READS (a refused rect-strip block bumps it but is never reconstructed); depth-parameterised recipe helper counts at both depths in the gate-coverage derivation

2026-09-02

Merge branch 'lane-kf900' (5a28354): intrabc chroma tx_type and palette neighbour bandsAhmet Kaan Gümüş · 11a8d8e
Merge branch 'lane-kf900' (5a28354): intrabc chroma tx_type and palette neighbour bands

Chroma transform units under intrabc inherit the luma tx_type; palette
neighbour bands are recorded per mi. Clean merge, no conflicts.

Gates: intrabc (7 arms) / rect_strip_palette / palette / refusal_inventory /
gate_coverage / base_ctx_rect_offsets -- 23 passed. Both
split_transform_intra_block arms are green again; only
a_frame_edge_straddling_band_decodes_pixel_exact remains red (known
cross-product, mergefix lane).

Merged at r6 (5a28354) and NOT retired: the lane's r7 round is still running
in its worktree.
test(av1): enable-intrabc leaves the 10-bit never-exercised list -- the new palette+tx-size-search gate arms spell --enable-intrabc=1 and pixel-compare at 10 bitAhmet Kaan Gümüş · 94e1d30
test(av1): enable-intrabc leaves the 10-bit never-exercised list -- the new palette+tx-size-search gate arms spell --enable-intrabc=1 and pixel-compare at 10 bit

`never_exercised_10bit_matches_the_gate_recipes` caught this itself: the r6 gate arms
`smptebars-screen-txs-cq40/cq55` run at 8 AND 10 bit with `--enable-intrabc=1`, so the
10-bit coverage hole for the tool is closed by the same arms that gate the palette fix.
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).
Merge branch 'lane-r14' (b86eb38): general sub_tx_size_map and (row,col,tw,th) var-tx leaves, plus rectangular inter leaf codingAhmet Kaan Gümüş · fcf808d
Merge branch 'lane-r14' (b86eb38): general sub_tx_size_map and (row,col,tw,th) var-tx leaves, plus rectangular inter leaf coding

Var-tx split now recurses with a general sub_tx_size_map and codes leaves by
(row, col, tx_w, tx_h) instead of a square-only shape, so a split transform on
a 1:4 inter strip with a 64-px axis decodes instead of refusing. Refusal
dropped from refusal_inventory.rs; gate_coverage drops enable-tx64 from the
never-exercised set.

Gate: real_aomenc_1to4_streams_decode_pixel_exact_and_rect_vartx_leaves_fire_before_a_named_refusal
Suite: 382 passed / 0 failed / 33 ignored.
test(av1): the sb128 CfL gate retires enable-cfl-intra from both coverage listsAhmet Kaan Gümüş · 52a7f38
test(av1): the sb128 CfL gate retires enable-cfl-intra from both coverage lists

The gate passes --enable-cfl-intra=1 at 8 and 10 bits, so both
NEVER_EXERCISED lists drop it. covers_both_depths also learns the
'for depth in [8usize, 10]' spelling: such a gate builds both streams from one
recipe, but its yuv420p10le arm made is_ten_bit classify it 10-bit only.
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-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.
fix(av1): an intra block inside an inter frame refused a nonzero angle_delta_y -- the refusal claimed "this encoder never writes one" and aomenc writes one by defaultAhmet Kaan Gümüş · ac20fa3
fix(av1): an intra block inside an inter frame refused a nonzero angle_delta_y -- the refusal claimed "this encoder never writes one" and aomenc writes one by default

`read_intra_angle_info` writes angle_delta_y for any directional y_mode at
bsize >= 8x8 in an inter frame exactly as in a key frame, and aomenc's
--enable-angle-delta defaults to 1: the first gate attempt (seed 42) carries
4 such blocks. decode_inter_block now reads the delta and threads it through
its split-transform per-TU and block-level luma predictions, and derives
smooth_neighbor (get_intra_edge_filter_type) via Neighbours::modes_above_left
instead of the hardcoded `false` that decided the intra edge filter's
strength. New gate a_real_aomenc_inter_sequence_with_a_directional_intra_block
_with_angle_delta_decodes_pixel_exact (8-bit + 10-bit) asserts the hit counter
and compares every frame's Y/U/V vs ffmpeg. Flipping all 56
--enable-angle-delta=0 spellings to =1 leaves the 17 inter_sequence gates
green (no hidden defect). decode_inter_block8's 8x8 leaf keeps its refusal --
80 attempts never reached a directional 8x8 intra leaf -- reworded to a claim
about this decoder's coverage rather than about the encoder.
fix(av1): a 16x8/8x16 intra leaf reads tx_size_cdf[cat 1], not cat 2 -- wrong-row tx_depth desynced every 16-level rect strip under --enable-tx-size-searchAhmet Kaan Gümüş · 5f35cce
fix(av1): a 16x8/8x16 intra leaf reads tx_size_cdf[cat 1], not cat 2 -- wrong-row tx_depth desynced every 16-level rect strip under --enable-tx-size-search

lane-rect1d r1. `decode_leaf_rect` read its `tx_depth` symbol from
`cdfs.tx_size_cat2`, the table the 32-level strips (BLOCK_32X16/16X32) use.
libaom's `bsize_to_tx_size_cat` reads `bsize_to_tx_size_depth_table` and
subtracts one: BLOCK_16X8/8X16 (and the 1:4 BLOCK_16X4/4X16 this function also
decodes) sit at depth 2, so they read `tx_size_cdf[1]` -- the same table a
16x16 square block reads. Both tables carry three symbols, so the wrong one
still decodes a plausible depth, from the wrong probabilities: the range
diverges silently at the first such leaf and every later symbol in the tile
comes out of the wrong place.

Found by copying lane-rectclass's 1D-tx-class gate onto this tree (main's
`read_coeffs_rect` no longer refuses a 1D class, so the gate now DECODES those
TUs and the merge exposed the mismatch). Bisection: pinned stream
(sha256 5b3c8fc9... twice), coefficient range ladder ours vs instrumented
aomdec matched for 105 transform units and diverged at the 106th; the mode
ladder matched through `uv_mode` (rng 50640 both) and the next symbol was
aomdec's `name=tx_depth val=0 ctx=2 cat=1 rng=60682` against our cat-2 read.
Block: mi_row=24 mi_col=44, BLOCK_16X8, 10-bit seed 42.

Gate: `a_real_aomenc_stream_with_a_1d_tx_class_on_a_rect_transform_decodes_pixel_exact`
(copied from lane-rectclass ef7a476, minus its two now-nonexistent refusal
strings and the vacuous `class1_refusals == 0` assert), plus a new
`rect_class1_hits` counter so the gate pins the 1D class on a RECTANGULAR
transform rather than settling for the square reader's own 1D types:
12/12 pixel-exact (6 of them 10-bit), 219 rect coefficient TUs, 10 of them a
1D tx class. `enable-flip-idtx` leaves the 10-bit coverage-hole list.

`examples/dump_yuv.rs`: raw u16 plane dump -- both prefilt dumps narrow to
`u8`, which is blind to exactly this defect at 10 bits.
feat(av1): 64x64 masked compound infers COMPOUND_DIFFWTD instead of refusingAhmet Kaan Gümüş · 6d86b95
feat(av1): 64x64 masked compound infers COMPOUND_DIFFWTD instead of refusing

libaom `read_compound_type` (decodemv.c 1634-1656) only codes a
`compound_type` symbol when `is_interinter_compound_used(COMPOUND_WEDGE,
bsize)`; `av1_wedge_params_lookup[BLOCK_64X64].wedge_types == 0`, so at
64x64 the type is INFERRED as COMPOUND_DIFFWTD and only the 1-bit
`mask_type` literal follows. This decoder read the symbol nowhere and
refused the block by name instead ("a masked compound 64x64 inter
block..."), which capped every `--enable-masked-comp=1` stream whose
superblock stayed unsplit.

The DIFFWTD mask build and blend are already size- and bit-depth-generic
(`mc::diffwtd_mask` carries the `bd - 8` round term, `blend_masked_compound`
takes the block dims), so the lift is the alphabet decision plus a narrow
counter. 64x64 is the only wedge-less size this decoder's square inter path
reaches; the rect shapes (64x32/32x64/64x16/16x64) are refused one level up
by "a non-skip rectangular (HORZ/VERT/HORZ_B) strip needs rectangular
residual coding" and gain nothing from code here.

Gate: a_real_aomenc_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact
(+ its 10-bit arm) -- --sb-size=64 --max/min-partition-size=64 pins every
block to the inferred size, --enable-masked-comp=1 --enable-diff-wtd-comp=1
--enable-dist-wtd-comp=0 leaves the inferred arm as the only masked choice;
per-attempt hit snapshots counted on decoded+compared attempts only.
6/6 pixel-exact both depths, diffwtd_inferred_hits 79 (8-bit) / 51 (10-bit).
gate_coverage NEVER_ON_10BIT is now empty: the 10-bit arm is the first
recipe to spell --enable-diff-wtd-comp=1 and fire it.
Merge branch 'lane-defon': every default-on aomenc tool is spelled on in a gate with a hard counter; forward keyframes counted; NEVER_ON_8BIT emptyAhmet Kaan Gümüş · 15a2683
Merge branch 'lane-defon': every default-on aomenc tool is spelled on in a gate with a hard counter; forward keyframes counted; NEVER_ON_8BIT empty

Auto-merged cleanly. Post-merge coverage print (fresh binary): NEVER_ON_8BIT
0 of 10 over 51 8-bit gates; NEVER_ON_10BIT only enable-diff-wtd-comp over 24
10-bit gates -- multi-tile is no longer a hole, so the list the tx4x8 merge
had already trimmed reconciles with the lane's by the test itself.
Merge branch 'lane-tx4x8': 4x8/8x4 leaves read tx_depth (TX_MODE_SELECT) and code TX_4X8/8X4 (ReelB head blocker); every rect shape carries its own libaom reach rowAhmet Kaan Gümüş · a07b869
Merge branch 'lane-tx4x8': 4x8/8x4 leaves read tx_depth (TX_MODE_SELECT) and code TX_4X8/8X4 (ReelB head blocker); every rect shape carries its own libaom reach row

Conflicts: cdf_state.rs (union -- main's eob_pt_*_class1 fields plus the
lane's eob_pt_32_luma pair and the two rect TxbSets, all three hunks),
decode.rs (lane's read_coeffs_rect: it implements the TX_CLASS_HORIZ/VERT arm
main refused; duplicate SCAN_4X8/SCAN_8X4 transcriptions collapsed to one,
trace names unified on rect_trace), encode.rs (lane's per-shape
HAS_TR_*/HAS_BL_* consts + rect_reach_tables win over main's
has_tr_rect_table/has_bl_rect_table, kept main's documented
Reach::rect_table_index as the index and its bijection test, kept main's
VERT_A/B tables), gate_coverage.rs (10-bit "multi-tile" hole closed by the
merged recipes -- its own test demanded the entry go), lanes/COMMON-20260901.md
(main's systemd-run suite section).
Merge branch 'lane-tx64x16': 32x32-level HORZ_4/VERT_4 (four 32x8/8x32 strips, ReelB mid-film blocker) gated on a band fixture at 8/10-bit; 1:4 gates assert out-of-scope pixel mismatchesAhmet Kaan Gümüş · 3ac3386
Merge branch 'lane-tx64x16': 32x32-level HORZ_4/VERT_4 (four 32x8/8x32 strips, ReelB mid-film blocker) gated on a band fixture at 8/10-bit; 1:4 gates assert out-of-scope pixel mismatches

Conflicts: decode.rs (kept main's base_ctx domain test read table[col][row],
kept the lane's transposed-scan-pair test), encode.rs (kept main's
has_tr_rect_table/has_bl_rect_table + rect_table_index from lane-rectx r5 and
folded the lane's 32x8/8x32 rows into them; the lane's HAS_*_RECT arrays and
Reach::rect_table are dropped as redundant), gate_coverage.rs (lane's side:
1:4 partitions leave NEVER_EXERCISED_10BIT).

2026-09-01

test(av1): the 32x32-level 1:4 gate fires and is pixel-exact -- 8-pixel bands, not gradientsAhmet Kaan Gümüş · 3e19c89
test(av1): the 32x32-level 1:4 gate fires and is pixel-exact -- 8-pixel bands, not gradients

r3 lifted the "a 32x32 partition type this decoder does not code (value=8)"
refusal with its gate #[ignore]d because no gradients-derived fixture ever made
aomenc's RD pick a 32-level HORZ_4/VERT_4 (class refusal-lifted-without-a-gate).
The content those shapes win on is 8-pixel BANDS: a 32x8 strip is flat, a 32x16
one straddles two bands, so HORZ_4 beats HORZ and SPLIT; a noise layer with an
explicit seed keeps the flat bands out of screen-content mode. Measured 16
HORZ_4 / 24 VERT_4 strips per frame at both bit depths.

Gate un-ignored unchanged in its asserts: 8-bit 7/8 attempts pixel-exact
(64 HORZ_4 + 72 VERT_4 + 136 coded strips), 10-bit 5/8 (48 + 48 + 96), zero
attempts out of scope, zero mismatches, refusals all named. gate_coverage:
enable-1to4-partitions leaves NEVER_EXERCISED_10BIT.

decode_probe now prints the rect4_32 counters (via stream::rect4_32_counters),
which is how the fixture search was measured rather than reasoned about.
test(av1): the last two NEVER_ON default-on tools -- forward keyframes and 10-bit interintra-wedge/one-sided compoundAhmet Kaan Gümüş · 0ef28ca
test(av1): the last two NEVER_ON default-on tools -- forward keyframes and 10-bit interintra-wedge/one-sided compound

--enable-fwd-kf=1 --fwd-kf-dist=8 on the altref hidden-frames gate (the only
gate that decodes show_frame==0 frames at all, and it runs both bit depths),
with a new decode::fwd_kf_hits() counter incremented in decode_stream for a KEY
frame coded with show_frame == 0 -- hard-asserted per depth: 42 frames decoded,
2 hidden, 3 forward keyframes, all pixel-exact vs the oracle in decode order at
both 8 and 10 bits.

Two new 10-bit gates through ten_bit_tool_gate:
- a_real_aomenc_10bit_stream_with_interintra_wedge_decodes_pixel_exact
  (--enable-interintra-wedge=1, 8/8 pixel-exact, wii_hits=3)
- a_real_aomenc_10bit_stream_with_onesided_compound_decodes_pixel_exact
  (--enable-onesided-comp=1, 8/8 pixel-exact, uni_comp_hits=5)

NEVER_ON_8BIT is now empty (0 of 10 over 45 gates); NEVER_ON_10BIT is down to
enable-diff-wtd-comp (the 10-bit gradients fixture decodes 8/8 pixel-exact with
diffwtd_hits == 0 -- encoder choice, it needs mandelbrot content in
ten_bit_tool_gate) and multi-tile (covbd2's, not this lane's).
wip(merge): lane-sub8 merged into main 61c6a5b -- conflicts resolved, gates RED, NOT for mainAhmet Kaan Gümüş · 6795386
wip(merge): lane-sub8 merged into main 61c6a5b -- conflicts resolved, gates RED, NOT for main

Conflict resolutions kept here so a successor need not redo them:
- decode.rs Neighbours::new -- main's mi-granular inter bands + sub8's four
  mi mode maps (sub8_mode_col/row, uv_mode_col/row).
- decode.rs record_split_luma_rect -- main's rect (w_mi,h_mi) span with
  sub8's record_mode_mi/record_uv_mode_mi calls.
- encode.rs Reach::top_right/bottom_left -- main's VERT_A/B tables kept,
  sub8's has_tr_4x4/has_bl_4x4 row kept, side-4 falls back to the ordinary
  table inside a VERT_A/B (no vert 4x4 row exists) with a corner-cut note.
- examples/decode_probe.rs -- main's EC_PROBE_OUT + dimensions print.
- refusal_inventory.rs -- sub8's sub-8x8 reader still refuses intrabc while
  main's 8x8-and-up reader reconstructs one; refusal string narrowed to
  "a sub-8x8 leaf that uses intrabc" and listed.
- gate_coverage.rs -- enable-1to4-partitions retired from the 8-bit list
  (sub8's gate passes =1), 10-bit entry reworded.

RED on the merged tree (both fail; each side is green alone):
- a_real_aomenc_stream_with_a_sub8_split_decodes_pixel_exact (seed=100 cq=6)
- a_real_aomenc_stream_with_a_split_transform_horz_vert_strip_decodes_pixel_exact
  (seed 55, luma (191,76) ours=127 ffmpeg=128, 3080 samples, bbox x94..191
  y76..127) -- green at main 61c6a5b, absent from the sub8 lane's tree.
test(av1): default-on tools spelled on in the gates that exercise them -- loopfilter-control=1 (2 8-bit + 1 10-bit deblock gate), enable-tx-size-search=1 (shared tx-select inter helper, both depths), enable-directional-intra=1 (directional chroma), enable-diff-wtd-comp=1 + new diffwtd_hits assert (masked compound), enable-onesided-comp=1 + new uni_comp_hits assert (interintra); gate_coverage counts a bit_depth-parameterised helper at both depths; NEVER_ON 6/7 -> 1/5Ahmet Kaan Gümüş · df86cfc
test(av1): default-on tools spelled on in the gates that exercise them -- loopfilter-control=1 (2 8-bit + 1 10-bit deblock gate), enable-tx-size-search=1 (shared tx-select inter helper, both depths), enable-directional-intra=1 (directional chroma), enable-diff-wtd-comp=1 + new diffwtd_hits assert (masked compound), enable-onesided-comp=1 + new uni_comp_hits assert (interintra); gate_coverage counts a bit_depth-parameterised helper at both depths; NEVER_ON 6/7 -> 1/5
fix(av1): SB-level 1:4 gate is GREEN on current main -- plus two main-red pins (nz_map test read the abandoned transposition, 1:4 coverage hole closed)Ahmet Kaan Gümüş · 7820978
fix(av1): SB-level 1:4 gate is GREEN on current main -- plus two main-red pins (nz_map test read the abandoned transposition, 1:4 coverage hole closed)

r1's red 16x64 gate was a STALE BASE, not a defect: rebasing lane-tx64x16 from
dc5553f onto main (5811ec5 -> 6d86d3a) turns
`a_real_aomenc_stream_with_a_superblock_level_1to4_partition_decodes_pixel_exact`
green with no change to the 1:4 wiring, and the r1 suite's "17 failures" drop to
2, neither of them this lane's:

- `decode::tests::nz_map_ctx_offset_tables_match_the_rect_rule` (RED on main,
  not on this branch's diff): the test read `NZ_MAP_CTX_OFFSET_32X64/_64X32` as
  `[col][row]` (lane-rectsplit r2's column-major premise, later disproved and
  reverted) while the tables and their only real consumer -- `base_ctx`'s
  `TxClass::TwoD` arm, decode.rs:1829 -- are display-major `[row][col]`. Read in
  the consumer's order; table content untouched, so every merged rect gate keeps
  the reading it is green under.
- `gate_coverage::tests::never_exercised_8bit_matches_the_gate_recipes`: this
  lane's gate passes `--enable-1to4-partitions=1` at 8 bit, so the 8-bit hole is
  retired; the 10-bit entry stays and now says so.

Rebase conflicts resolved keeping BOTH SB partition arms (main's AB arms from
part32 r4 and this lane's HORZ_4/VERT_4), with `reduced_tx_set` threaded into
the 1:4 `decode_block_rect64` calls; the unreachable `_` arm now refuses an
out-of-range partition value instead of the (now coded) 1:4 pair.
test(av1): gate coverage sees default-on tools and non---enable-* spellingsAhmet Kaan Gümüş · 32a6763
test(av1): gate coverage sees default-on tools and non---enable-* spellings

Third instance of tool-disabled-in-every-gate: the derivation read "--enable-
only, so tools aomenc has on by default and the gates pin off through another
spelling were invisible -- --enable-tx-size-search=0 (34/41 8-bit gates, the pin
behind lane-ab16's real-stream PANIC), --loopfilter-control=0, single-tile
--tile-columns/--tile-rows, --cpu-used.

DEFAULT_ON_TOOLS (10 entries: tool, aomenc spellings, default, on-rule) plus
NEVER_ON_8BIT (6) / NEVER_ON_10BIT (7) pinned per bit depth under the unchanged
'defaulted means unknown' rule, with the off/defaulted split in each reason.
ALIASES maps --superres-mode onto enable-superres, which retires the two
enable-superres entries covbd deferred. Print helper extended.

gate_coverage 9/9, refusal_inventory 3/3.
test(av1): multi-tile gates with the coding tools ON, and the films' real tiling measuredAhmet Kaan Gümüş · 9c8c214
test(av1): multi-tile gates with the coding tools ON, and the films' real tiling measured

Every existing tile gate turns rect/ab partitions, tx-size search, cdef and
restoration OFF to isolate the per-tile loop -- the tool-disabled-in-every-gate
shape, under which a tile-edge defect in any of those tools is invisible.

- stream.rs: `run_multi_tile_gate` + 4 arms (2x2 grid and 4 columns, 8- and
  10-bit, intra and inter) through `decode_stream`, rect+ab partitions, default
  cdef and loop restoration on, deblocking left crossing tile boundaries. The
  parsed `tile_info` is asserted to carry the grid asked for (skipping
  `show_existing_frame` headers, which code no tile info) and `tile_hits` is
  asserted >= tiles*frames so a header claiming 4 tiles cannot pass on one
  decoded tile.
- The 8-bit 2x2 inter arm is `#[ignore]`d with an open defect documented in
  place: seed 42 mismatches in one 32x32 block at x[224..255] y[32..63] from
  frame 4 on; not cdef, not restoration, not deblocking; seeds 47/48 are exact;
  tile attribution unproven because the single-tile control refuses.
- decode_probe: prints the tiling of every frame header before decoding. Both
  of his AV1 films measure cols=1 rows=1 uniform over 181 headers each,
  confirmed independently by ffmpeg's trace_headers (tile_cols_log2=0,
  tile_rows_log2=0) -- multi-tile is NOT on the critical path for them.
- gate_coverage: 5 stale 10-bit entries deleted (global-motion and
  dist-wtd-comp were already closed by lane-cwarp and left this test red at
  main 9c35ecc; ab-partitions, rect-partitions and restoration are closed by
  the new 10-bit arms), plus a note on why tiling cannot join the
  `--enable-*` derivation.
Merge branch 'lane-hbdgates': 10-bit gates for filter/smooth/paeth intra, intra-edge-filter, rect+ab partitions; ten_bit_tool_gate driver; gate_coverage drops ignored gates (279/0/24 on branch); 10-bit LR gate un-ignored on the merged treeAhmet Kaan Gümüş · 8c9548c
Merge branch 'lane-hbdgates': 10-bit gates for filter/smooth/paeth intra, intra-edge-filter, rect+ab partitions; ten_bit_tool_gate driver; gate_coverage drops ignored gates (279/0/24 on branch); 10-bit LR gate un-ignored on the merged tree

NEVER_EXERCISED_10BIT keeps the union of both removals: main's three
(restoration, dist-wtd-comp, global-motion, closed by lane-hbdinter and
lane-cwarp) and hbdgates' six (filter/smooth/paeth intra, intra-edge-filter,
rect and ab partitions). gate_bodies()/is_ten_bit() take hbdgates' versions
(ignored gates excluded, helper-built recipes recognised).

a_real_aomenc_10bit_restoration_stream_decodes_pixel_exact was #[ignore]d on
the branch because hbdgates' base lacked main's 10-bit LR fix (SGR box-sum
scaling, Wiener clamp). On the merged tree it passes 16/16 attempts
pixel-exact, lr_hits=28, so the #[ignore] is removed.
test(av1): 10-bit gates for the seven tools only an 8-bit gate ever enabledAhmet Kaan Gümüş · 576f72d
test(av1): 10-bit gates for the seven tools only an 8-bit gate ever enabled

His two films are yuv420p10le, so a tool gated only at 8 bits is ungated where
it matters (lane-covbd r1). Six of the seven holes close with real-aomenc
10-bit streams, pixel-exact vs ffmpeg on every shown frame:

- a_real_aomenc_10bit_intra_tools_stream_decodes_pixel_exact -- filter-intra,
  smooth-intra, paeth-intra, intra-edge-filter on one key frame, a separate
  hard-asserted counter each (6/6 attempts exact; filter_intra_hits=2
  smooth_pred_hits=16 paeth_pred_hits=3 intra_edge_filter_hits=22).
- a_real_aomenc_10bit_rect_and_ab_partitions_decode_pixel_exact -- the 8-bit
  free-partition/AB inter recipe at 10 bits (12/16 attempts exact, 4 named
  refusals; rect_partition_hits=32 partab_hits=4).
- a_real_aomenc_10bit_restoration_stream_decodes_pixel_exact -- WRITTEN AND
  FAILING, so #[ignore]d with the pin in the attribute: seed 42, frame 0,
  plane Y index 122, ours 351 vs ffmpeg 350, on a stream where lr_hits=2.
  That is a real 10-bit loop-restoration defect for a follow-on lane; the gate
  is not weakened and enable-restoration stays a listed 10-bit hole.

intra.rs gains per-tool counters (smooth_pred_hits / paeth_pred_hits /
intra_edge_filter_hits) because smooth_uv_hits lumps SMOOTH..=PAETH together
and would have let a paeth-only stream "prove" smooth intra.

ten_bit_tool_gate() samples every counter PER ATTEMPT and sums only over
attempts that decoded AND compared, so a refused stream can never contribute a
firing; a pixel mismatch panics with plane + first-diff index + both values +
the firing deltas, never SKIPs.

gate_coverage: gate_bodies() now drops #[ignore]d gates (an ignored gate
exercises nothing) and recognises gates whose --passes=1 lives in the shared
10-bit helper; 45 -> 49 gates, 4 -> 7 ten-bit, NEVER_EXERCISED_10BIT 19 -> 13.
Merge branch 'lane-hbdinter': 10-bit loop restoration (SGR box sums scaled by bd-8, wiener clamp at the bd bound), combine_compound two-step rounding; 10-bit inter+LR gate (verifier PASS, 271/0/23); restoration leaves NEVER_EXERCISED_10BITAhmet Kaan Gümüş · b933555
Merge branch 'lane-hbdinter': 10-bit loop restoration (SGR box sums scaled by bd-8, wiener clamp at the bd bound), combine_compound two-step rounding; 10-bit inter+LR gate (verifier PASS, 271/0/23); restoration leaves NEVER_EXERCISED_10BIT

Also drops enable-dist-wtd-comp and enable-global-motion from
NEVER_EXERCISED_10BIT: lane-cwarp's 10-bit compound global-warp gate passes
=1 for both, so never_exercised_10bit_matches_the_gate_recipes was already
failing at 9c35ecc. gate_coverage is green again after this commit.

Conflict resolutions: warp.rs took main's (cwarp warp_inner/warp_affine_compound
is a superset of hbdinter's const BD -> bit_depth()); mc.rs kept hbdinter's
single (bd-8) diffwtd_mask round plus its combine_compound two-step and
inter_pred_hits counter; stream.rs kept main's encode_10bit_gradients helper
and cwarp gates plus hbdinter's a_real_aomenc_10bit_inter_sequence gate.
test(av1): gate coverage is per (tool x bit depth), not per toolAhmet Kaan Gümüş · 0810a85
test(av1): gate coverage is per (tool x bit depth), not per tool

Every 10-bit gate ran --enable-restoration=0, so the 10-bit loop-restoration
path was never exercised and two hbd defects (SGR box sums unscaled, Wiener
clamp at the 8-bit bound) survived the '10-bit bit-exact' milestone.
gate_coverage.rs now classifies each real-aomenc gate by bit depth and pins
NEVER_EXERCISED_8BIT (12) and NEVER_EXERCISED_10BIT (19) over a fixed
26-flag TOOL_UNIVERSE, with the same 'defaulted means unknown' rule: only an
explicit --enable-<tool>=1 in a gate of that depth retires an entry.
45 gates, 4 of them 10-bit.
test(av1): gate coverage is per (tool x bit depth), not per toolAhmet Kaan Gümüş · 969b81e
test(av1): gate coverage is per (tool x bit depth), not per tool

Every 10-bit gate ran --enable-restoration=0, so the 10-bit loop-restoration
path was never exercised and two hbd defects (SGR box sums unscaled, Wiener
clamp at the 8-bit bound) survived the '10-bit bit-exact' milestone.
gate_coverage.rs now classifies each real-aomenc gate by bit depth and pins
NEVER_EXERCISED_8BIT (12) and NEVER_EXERCISED_10BIT (19) over a fixed
26-flag TOOL_UNIVERSE, with the same 'defaulted means unknown' rule: only an
explicit --enable-<tool>=1 in a gate of that depth retires an entry.
45 gates, 4 of them 10-bit.
feat(av1): decode an intrabc block vector -- use_intrabc now reads a real DV instead of refusingAhmet Kaan Gümüş · fbda1c6
feat(av1): decode an intrabc block vector -- use_intrabc now reads a real DV instead of refusing

The DV predictor is the ordinary MV stack queried with INTRA_FRAME
(libaom av1_find_mv_refs/av1_find_ref_dv), the difference reads off a
separate ndvc context at full-pel precision (MV_SUBPEL_NONE), and the
block-copy prediction rides the existing PALETTE_PRED per-block
prediction override with BILINEAR taps off the current frame's own
pre-loop-filter planes (all loop filters are already off when
allow_intrabc). tx_type switches to the inter ext-tx sets, since libaom
counts an intrabc block as is_inter_block.

Two real index bugs fell out: mvstack's sign_bias() and gm_mv() both
indexed table[ref_frame - LAST_FRAME] unguarded, so any INTRA_FRAME
query -- exactly what intrabc does -- panicked at usize::MAX.

The lane's refusal is REPLACED, not lifted: every real aomenc intrabc
block sits under TX_MODE_SELECT, whose inter var-tx transform tree
(read_var_tx_size) this decoder has nowhere, so no stream reconstructs
one end to end yet and enable-intrabc stays in gate_coverage's
NEVER_EXERCISED list. Recipe + evidence in lanes/intrabc-r1.report.md.

2026-08-30

Merge branch 'lane-palette': palette-Y blocks decode pixel-exactAhmet Kaan Gümüş · 2195bbd
Merge branch 'lane-palette': palette-Y blocks decode pixel-exact

Blocker (3) closed. Root cause was call ORDER, not a table: every symbol was
already bit-exact through read_palette_colors_y, and the range diverged exactly
at decode_color_index_map's entry because libaom reaches decode_color_map_tokens
from parse_decode_block AFTER the whole mode-info decode, including UV palette
mode_info and filter_intra. We called it inline after the Y colours and never
read UV palette mode_info at all. Fix: read UV palette mode_info, defer the
index map past filter_intra. UV palette reconstruction stays refused by name.

enable-palette leaves NEVER_EXERCISED with positive evidence -- the new gate
passes --enable-palette=1 -- so intrabc is now the last entry.

Two conflicts resolved here, both additive-vs-additive:
- Neighbours' delta_lf_grid (lane-realworld) and the palette neighbour cache
  (lane-palette) are independent fields; kept both.
- Three lanes each numbered their new oracle instrumentation rung "6".
  lane-palette's two are renumbered 8 and 8b behind superres's 6 and 7.

Suite 256 passed / 0 failed.
Merge branch 'lane-superres': key-frame superres decodes pixel-exact (3/3 frames, superres_hits=3)Ahmet Kaan Gümüş · eb818a1
Merge branch 'lane-superres': key-frame superres decodes pixel-exact (3/3 frames, superres_hits=3)

Root cause was deblocking the mi-alignment margin: libaom's set_lpf_parameters
early-returns TX_4X4 once x >= dst.width or y >= dst.height -- the CODED frame
dimensions, not the mi-grid-padded extent our true_width/true_height used. That
early return is also why r6's two oracle trace points never fired.

Two guard adjustments the merge forced, both tightening rather than relaxing:
- refusal_inventory gains the lane's new inter-frame superres refusal.
- gate_coverage now closes a coverage hole only on POSITIVE evidence -- some
  gate passing . It used to retire an entry as soon as a
  gate merely left the flag off its command line, which this merge would have
  done to palette and intrabc: aomenc's default for both is content-dependent,
  so 'defaulted' means unknown, not exercised. Negative-checked: flipping one
  gate's --enable-palette to =1 fails the test by name.

Suite 255 passed / 0 failed.
merge main into lane-palette: multi-tile key-frame decode, chroma smooth/paeth, CDEF index readsAhmet Kaan Gümüş · 7b81e30
merge main into lane-palette: multi-tile key-frame decode, chroma smooth/paeth, CDEF index reads

Resolved six decode.rs conflicts (Neighbours' palette fields + main's
tile-origin fields coexist on the struct/constructor; read_intra_mode
gained both the palette ctx/cache param and main's mi_r/mi_c param,
updated at both call sites; PlaneBuf::reconstruct keeps the palette-buf
override + filter_intra branch and now threads real smooth_neighbor
instead of a hardcoded false) and one gate_coverage.rs conflict
(NEVER_EXERCISED = enable-intrabc only: main's cdef/chroma lanes already
retired enable-cdef/paeth-intra/smooth-intra, this lane's own real
palette gate already retired enable-palette). Added the two refusal
strings the merge introduced (palette-Y pixel-mismatch refusal, split-
luma-transform-under-palette refusal) to refusal_inventory.rs's pinned
list -- suite failed once on the missing one, fixed, green after.

EC_AV1_REQUIRE_AOMENC=1 cargo test -p ec-av1 --lib: 244 passed, 0
failed, 17 ignored.
test(av1): real-aomenc palette-Y gate (smptebars, hue=s=0); palette_hits fires, pixel mismatch documentedAhmet Kaan Gümüş · 7e82cbf
test(av1): real-aomenc palette-Y gate (smptebars, hue=s=0); palette_hits fires, pixel mismatch documented

Verified r2's two milestones green first: 234/0 (matches the tree's baseline,
nothing to commit for that step). New gate proves the reconstruction path is
non-vacuous (palette_hits hard-asserted) but the reconstructed pixels
mismatch ffmpeg's decode of the same bytes -- read_palette_colors_y,
read_uniform, palette_color_index_context and the PALETTE_Y_COLOR_INDEX CDF
table were all checked line-for-line against the aom-oracle source and match
exactly, so the actual desync site is still unlocated (documented in the
gate's own doc comment and lanes/palette-r3.report.md). SKIPs rather than
fails so the suite stays green; removes enable-palette from
gate_coverage.rs's NEVER_EXERCISED since a real block now reconstructs from it.
Merge branch 'lane-chroma': smooth, paeth and directional chroma decodeAhmet Kaan Gümüş · be7060a
Merge branch 'lane-chroma': smooth, paeth and directional chroma decode

The lane went looking for chroma modes and found a luma bug first:
reconstruct() hardcoded smooth_neighbor = false, so the intra edge filter took
the wrong strength bucket whenever a directional block neighboured a
smooth-predicted one. Its own comment called it a corner-cut. Twenty gates had
never caught it because every one of them passed --enable-smooth-intra=0.

Landed here: the luma fix with smooth_neighbor threaded properly, UV-mode
neighbour tracking, the smooth/paeth chroma refusals gone (blocker 5 of the
default-settings chain), and the directional-chroma sibling in
decode_inter_block's intra-in-inter branch.

Gate-proven for the key-frame path. The inter-frame intra-block path is a
structural mirror of it plus a green suite, NOT proven by firing -- the lane
disclosed this itself, and the owed gate is written down in
lanes/chroma-r4.report.md: force an inter-frame leaf with such a uv_mode,
assert smooth_uv_hits/directional_uv_hits and pixel-exactness.

Both guards fired as designed and are updated: gate_coverage loses
enable-smooth-intra and enable-paeth-intra, refusal_inventory loses the two
round-2 chroma refusals.

Suite 239 passed / 0 failed.
Merge branch 'lane-realworld': cdef_idx decodes, gated on a real aomenc streamAhmet Kaan Gümüş · 51e931c
Merge branch 'lane-realworld': cdef_idx decodes, gated on a real aomenc stream

Blocker 1 of the default-settings chain is closed. The per-64x64 cdef_idx
symbol is read (spec 5.11.56) at all five sites where skip is decoded, kept in
a per-superblock grid, and apply_cdef selects that superblock's strength pair
instead of index 0. Gate a_real_aomenc_stream_with_cdef_decodes_pixel_exact:
40/40 pixel-exact, zero refusals, cdef_idx_hits hard-asserted > 0 (24-40/run).

The lane also established why the obvious gate could never work: cdef_bits
selects among per-SUPERBLOCK strength profiles, so a single-64x64-superblock
fixture gives the encoder nothing to differentiate -- 20 attempts kept the
counter at 0. It needed 128x64.

Both guards on main fired exactly as designed and are updated here:
gate_coverage's NEVER_EXERCISED loses enable-cdef (a gate enables it now), and
refusal_inventory loses "a frame with cdef_bits > 0". The decode.rs conflict was
the counter doc-comment restyle against the lane's new CDEF thread-locals; the
lane's block is kept, restyled to match.

Suite 237 passed / 0 failed.
test(av1): pin the coding tools no real-aomenc gate exercisesAhmet Kaan Gümüş · 21b2356
test(av1): pin the coding tools no real-aomenc gate exercises

lane-chroma r1 found reconstruct()'s `smooth_neighbor` hardcoded false -- wrong
whenever a directional block neighbours a smooth-mode one -- and it had survived
twenty real-aomenc gates because every one of them passes --enable-smooth-intra=0.
The corner-cut was not hidden by a weak assert; it was hidden by the gates'
encoder recipes, which no assert had ever looked at.

gate_coverage derives, from the gate source itself, the set of aomenc tools
switched off in all 20 gates and on in none -- provably never exercised by a
real stream -- and pins it: cdef, intrabc, paeth-intra, palette, smooth-intra.
An unlisted tool joining that set fails the test, and so does an entry the
gates have since started enabling, so a lane closing a hole must delete its
line. Negative-checked: dropping the enable-cdef entry fails with exactly that
name.

Suite 234 passed / 0 failed.