Commits
Commits on
7bbea7cb0f2edf79406443ce0ddd119db1d169912026-09-02
fix(av1): the var-tx above/left txfm contexts were never reset at a tile boundary -- libaom re-inits above_txfm per tile (av1_zero_above_context) and left_txfm per superblock row (av1_zero_left_context) to 64, so at the first block of a second tile column our txfm_partition ctx read the previous tile's resolved transform size and picked the wrong CDF row; all 14 txfm_partition symbols of the 192x68 8-bit 2-tile-column gate stream now match the instrumented oracle in ctx and range, edge-straddling gate 6859 -> 3622 differing pixels (second defect open, see lanes/mergefix-r2.handoff.md)Ahmet Kaan Gümüş · 7bbea7c
fix(av1): the var-tx above/left txfm contexts were never reset at a tile boundary -- libaom re-inits above_txfm per tile (av1_zero_above_context) and left_txfm per superblock row (av1_zero_left_context) to 64, so at the first block of a second tile column our txfm_partition ctx read the previous tile's resolved transform size and picked the wrong CDF row; all 14 txfm_partition symbols of the 192x68 8-bit 2-tile-column gate stream now match the instrumented oracle in ctx and range, edge-straddling gate 6859 -> 3622 differing pixels (second defect open, see lanes/mergefix-r2.handoff.md)
docs(mergefix): r1 handoff -- tx_depth neighbour-index fix, straddling-band first divergenceAhmet Kaan Gümüş · 9c6d151
docs(mergefix): r1 handoff -- tx_depth neighbour-index fix, straddling-band first divergence Bisection over the five lane merges, the pinned streams, the first diverging element for each red gate and the oracle instrumentation the second one needs.
fix(av1): tx_size_context_txfm read above_inter/left_inter at SUB granularity, not miAhmet Kaan Gümüş · 4ee6fb6
fix(av1): tx_size_context_txfm read above_inter/left_inter at SUB granularity, not mi `Neighbours::above_inter`/`left_inter` are written per mi cell by `record_inter_rect_mi`, but `tx_size_context_txfm` indexed them with `mi_c / (SUB / MI)` / `mi_r / (SUB / MI)` -- i.e. it asked a block two mi away whether it was inter. libaom's `get_tx_size_context` lets an INTER neighbour contribute its BLOCK size instead of its transform size, so whenever that mis-indexed cell said "intra" while the true neighbour was a var-tx-split inter block, the neighbour contributed its (smaller) split transform size and the `tx_depth` symbol was read from CDF row 0 instead of row 1 -- a silent entropy desync at the first intra-in-inter block whose left/above neighbour split its transform. Gate `a_real_aomenc_10bit_inter_sequence_with_a_split_transform_intra_block_decodes_pixel_exact` (64x64 10-bit, seed 54) goes RED -> green: first diverging element was frame 4 mi(4,12) `tx_depth val=1 ctx=0 rng=46620` vs the instrumented aomdec's `ctx=1 cat=1 rng=51092`.
docs(intra14): r4 report and handoff -- six merges, the film witness pinned, one sibling refusal from a live gateAhmet Kaan Gümüş · 05708e1Browse files
test(av1): pin the film witness for intra 1:4 strips in an inter frame, gated on the sibling 64x32 transform refusalAhmet Kaan Gümüş · 4554875Browse files
merge: lane-sb128c fedb7fe into lane-intra14 -- 128-root inter NONE arm beside the 16x16 AB leaf macro, skip-inter LF suppressionAhmet Kaan Gümüş · 2955fbbBrowse files
merge: lane-rectchroma2 48216c2 into lane-intra14 -- rect inter chroma narrow kernel, keep the staged dump namingAhmet Kaan Gümüş · c3abafeBrowse files
merge: lane-inter16ab 2e711e1 into lane-intra14 -- rect wedge codebooks replace the non-square refusal, keep both counter setsAhmet Kaan Gümüş · b6c20ebBrowse files
merge: lane-uv8 7f372b9 into lane-intra14 -- 8x8 intra tx_type set, OBMC trace, keep the newer OBMC refusal wordingAhmet Kaan Gümüş · 5f9e0bfBrowse files
merge: lane-intersub8 a5b9770 into lane-intra14 -- sub-8x8 inter leaves, keep both partition tracesAhmet Kaan Gümüş · b932b3eBrowse files
merge: main 1176a16 into lane-intra14 -- keep intrabc read plus the intra-in-inter mode split in read_intra_mode_rectAhmet Kaan Gümüş · 70abd19Browse files
test(av1): full-plane gate for rect inter chroma narrow-kernel predictionAhmet Kaan Gümüş · cd6e06e
test(av1): full-plane gate for rect inter chroma narrow-kernel prediction a_real_aomenc_rect_inter_block_predicts_chroma_with_the_narrow_kernel_pixel_exact: real aomenc mandelbrot 192x128 and its transposed twin 128x192, 8- and 10-bit, cq 20/32/45, 6 frames, lag-in-frames=0 so every decode-order frame is compared on Y, U and V against ffmpeg; CDEF and loop restoration on. Hard asserts 12/12 arms compared (a refusal fails, never SKIPs) and the rect-narrow-kernel counter nonzero at both depths and both orientations.
docs(intersub8): r5 full-suite line -- 385 passed, 0 failed at the counter fixAhmet Kaan Gümüş · 823ca8cBrowse files
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.
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.
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.
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).
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.
Merge lane-cdef 8c6065e into lane-rectchroma2 (chroma deblock grid, CDEF skip band, LR crop)Ahmet Kaan Gümüş · e49934bBrowse files
docs(uv8): r3 handoff -- reduced-vs-full 8x8 intra tx_type set, gate green, suite in flightAhmet Kaan Gümüş · 82b6c95Browse files
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).
docs(sb128c): r6 report -- merge of main + lane-golomb, the has_top_right over-gating regression, the 128-root partition sweep and the film's gathered-HORZ blockerAhmet Kaan Gümüş · 3355529Browse files
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.
docs(inter16ab): r5 report -- rect wedge codebooks (hgtw/hltw), 288-entry libaom enumeration, gate 16/16, film blocker moves to rect residual codingAhmet Kaan Gümüş · d2534b6Browse files
docs(uv8): r2 handoff -- 4 lane merges, and the min-8 desync localised to the first filter-intra CfL 8x8 intra leaf of an inter frameAhmet Kaan Gümüş · db5c143Browse files
debug(av1): EC_TRACE_MODE_STEP ladder lines for the 8x8 intra-in-inter leaf (use_filter_intra + modes)Ahmet Kaan Gümüş · 6670752Browse files
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.
docs(kf900): r5 suite result -- 385 passed / 0 failed / 33 ignoredAhmet Kaan Gümüş · 593f3e5Browse files
docs(intersub8): r5 report -- HORZ lifted, root cause was the merged 8x8-leaf CDEF skip bandAhmet Kaan Gümüş · 2afc992Browse files
fix(av1): drop the sub-8x8 inter refusal the merged lane-intersub8 liftedAhmet Kaan Gümüş · a9c4f35Browse files
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.
Merge 7d498c0 (lane-sqdrift) into lane-uv8: no-CFL uv alphabet for >=64 intra-in-interAhmet Kaan Gümüş · e21ece2Browse files
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.
Merge af47324 (lane-intersub8) into lane-uv8: keep interp3 compound-leaf interp readAhmet Kaan Gümüş · 3009c58Browse files
feat(av1): non-DC chroma modes on an 8x8 intra leaf inside an inter frame (UNGATED)Ahmet Kaan Gümüş · 9e5cab1
feat(av1): non-DC chroma modes on an 8x8 intra leaf inside an inter frame (UNGATED) decode_inter_block8's intra arm now reads uv_mode over the CFL-allowed alphabet, the CfL alphas and angle_delta_uv in libaom's own order (read_intra_block_mode_info, decodemv.c:1178-1220), predicts chroma from get_uv_mode(uv_mode) with the CfL AC over the leaf's 4x4 chroma, derives the chroma tx_type from that mode, reads palette_uv only when uv_mode is DC, takes its luma/chroma edge-filter strength from the mi-exact neighbour modes instead of a hardcoded false, and stamps the mode/uv_mode neighbour bands it never wrote. New per-leaf counters intra_in_inter8_uv_hits(). The refusal string and its CAPABILITY_CLAIMS line are dropped, but the gate (stream.rs::uv_mode_in_inter8_gate, 8-bit/10-bit/2-tile arms) never observed a firing attempt: every --min-partition-size=8 inter stream refuses on an UNRELATED, pre-existing inter-frame desync (same refusals with the chroma tools switched off; the key frame of the same recipe is pixel-exact). See lanes/uv8-r1.handoff.md.
feat(av1): rectangular wedge masks (hgtw/hltw codebooks) -- COMPOUND_WEDGE and wedge-interintra on 8x16/16x8/16x32/32x16/8x32/32x8 inter blocksAhmet Kaan Gümüş · da48c91
feat(av1): rectangular wedge masks (hgtw/hltw codebooks) -- COMPOUND_WEDGE and wedge-interintra on 8x16/16x8/16x32/32x16/8x32/32x8 inter blocks wedge.rs carried only wedge_codebook_16_heqw and the one signflip row the three square sizes share, so every rectangular masked-compound or wedge-interintra block was refused by name. Ported the remaining two codebooks (wedge_codebook_16_hgtw for h>w, _hltw for h<w, reconinter.c 203-235) and the four distinct wedge_signflip_lookup rows (reconinter.c 160-183), keyed by the block's TRUE footprint. Masks are stored padded to a max(bw,bh)-square plane so the existing square prediction/blend buffers index them unchanged (a rect strip is predicted square and writes only write_w x write_h). Verification by ENUMERATION against a C harness LINKED AGAINST libaom (av1_init_wedge_masks + av1_get_contiguous_soft_mask): all 9 wedge-capable bsizes x 2 signs x 16 indices = 288 checksums, fixture lanes/wedge_libaom.expected.txt; its 96 square lines are byte-identical to the older independent transcription lanes/wedge_dump.expected.txt. New gate a_real_aomenc_stream_with_a_rectangular_compound_wedge_decodes_pixel_exact: 16/16 attempts (8+10 bit, cq 50/55, 4 pans) pixel-exact vs ffmpeg and vs aomdec over every decode-order frame, 298 rect wedge blocks (16x32=108 hgtw, 32x16=190 hltw), 0 zero-wedge mismatches. Both "the wedge codebook is square-only" refusals dropped from refusal_inventory. The 1:4 gate's VERT_4 / split-tx-8x4 arms now assert their MEASURED blocker (the rect-residual-coding refusal) instead of a bare 0.
docs(intersub8): r4 report -- rect masked-compound CDF row root-caused, HORZ still refused on a post-entropy pixel bandAhmet Kaan Gümüş · 781507aBrowse files
fix(av1): rect masked compound read the SQUARE envelope's compound_type/wedge_idx CDF rowAhmet Kaan Gümüş · f750870
fix(av1): rect masked compound read the SQUARE envelope's compound_type/wedge_idx CDF row A 16x8 (or any non-square) compound block with comp_group_idx==1 read BLOCK_16X16's compound_type_cdf/wedge_idx_cdf row instead of BLOCK_16X8's, because decode_inter_block indexed those tables by its square `side` argument rather than the block's true (write_w, write_h) footprint -- class table-indexed-by-raw-size. The same square envelope also decided is_any_masked_compound_used, so a 4x16/16x4 strip would read a comp_group_idx symbol libaom never writes. Root cause proven by range ladder on a 192x128 6-frame 8-bit AV1 stream (transposed-structure geq source, cq14, rect partitions on): entering the 16x8 block both decoders are at rng 46505, agree through the mv (58288), and after the fix agree at the end of mode info (61760) and at the next block (60694); that stream now decodes pixel-exact on every decode-order frame, where before it drifted from decode-order frame 5. Also: a COMPOUND_WEDGE mask on a non-square block is refused by name (the wedge codebook here is built per square side only), and EC_TRACE_MODE gains EC_CGI / EC_CIDX / EC_IF rungs (comp_group_idx, compound_idx, interp filter: ctx + value + range) -- the rungs that localized this. The sub-8x8 HORZ (two BLOCK_8X4) refusal STAYS: with the fix, 3 of 28 sweep arms still differ by |d| <= 2 in luma only, in the bottom-left corner, with an element-exact entropy ladder -- a post-entropy filter/reconstruction defect. EC_AV1_SUB8_HORZ=1 decodes it for that bisect.