Commits
Commits on
fd1f156b43499b3a85cca50f79f4fa941c2074ec2026-09-02
fix(av1): the intra tx_depth context read its neighbour's inter flag at the 16-px cell index while the band is written per mi -- a 16x16 intra block whose left neighbour is a var-tx inter block took tx_size_cat1 row 1 where libaom takes row 2 and desynced every later block of the frameAhmet Kaan Gümüş · 03467b0Browse files
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.
Merge branch 'lane-sbab' (1847e97): superblock-level inter AB partitionsAhmet Kaan Gümüş · 959902b
Merge branch 'lane-sbab' (1847e97): superblock-level inter AB partitions Lifts the 64-level inter AB refusal (HORZ_A/HORZ_B/VERT_A/VERT_B: two 32x32 inter squares plus one true 64x32/32x64 strip) and writes the var-tx side bands from write_w/write_h. Conflicts resolved keeping main's newer refusal list minus the SB-level AB entry this lane lifts, and both probe counters. Gates: inter_ab64 / sb_level_ab / superblock_level_rect_partition / refusal_inventory / gate_coverage / base_ctx_rect_offsets -- 16 passed. Known vacuity (accepted, as chartered): real_aomenc_1to4_streams_decode_pixel_exact_and_rect_vartx_leaves_fire_before_a_named_refusal now reds on its FIRING assert only -- 0 refusals, 0 mismatches, 0 rectangular var-tx leaves reached; the lane's earlier neighbour-band fix makes attempts refuse earlier. Pending lane-inter16ab r7.
Merge branch 'lane-uv8' (7f372b9): non-DC chroma modes on 8x8 intra leaves in inter framesAhmet Kaan Gümüş · ef5fdd5
Merge branch 'lane-uv8' (7f372b9): non-DC chroma modes on 8x8 intra leaves in inter frames txbset_for replaces the hardcoded Luma8 set. Conflicts resolved to main's side: main's newer OBMC refusal wording (the string the decode path actually emits) and its EC_TRACE_PART ordering; the lane's older refusal list entries were all lifted on main already. Gates: uv_mode_in_inter8 / non_dc_chroma / refusal_inventory / gate_coverage / base_ctx_rect_offsets -- 17 passed. The two known cross-product reds are unchanged (a_frame_edge_straddling_band, 10bit split_transform_intra_block).
Merge branch 'lane-reelckf2' (6fc8bab): loop-restoration stripe counters and their gatesAhmet Kaan Gümüş · e0d4def
Merge branch 'lane-reelckf2' (6fc8bab): loop-restoration stripe counters and their gates Clean merge, no conflicts. Gates: partial_bottom_stripe / restoration / refusal_inventory / gate_coverage / base_ctx_rect_offsets -- 21 passed. The two known cross-product reds carried from the sb128c merge are unchanged (a_frame_edge_straddling_band, 10bit split_transform_intra_block).
Merge branch 'lane-sb128c' (4e65b8a): the 128 partition root's inter arms and gathered 128 edgesAhmet Kaan Gümüş · ec3d792
Merge branch 'lane-sb128c' (4e65b8a): the 128 partition root's inter arms and gathered 128 edges Inter 128x128 NONE roots, intra-128-in-inter, and the gathered-edge HORZ/VERT 128x64 / 64x128 blocks, with the 17-row MOTION_MODE/OBMC tables and has_top_right size-half gating. Conflicts resolved keeping both sides everywhere they added; main's NOCFL counter kept over the lane's identical is_cfl_allowed fix, the lane's skip-inter-128 loop-filter suppression kept, and the chroma tail is now `!has_chroma` / `side > 64` / `rect_tu` in that order. cdf.rs NZ_MAP*/FILTER_INTRA* unchanged (only OBMC/MOTION_MODE go 14 -> 17 rows). Gates: 128x128 / superblock / gathered_edge_horz / ab_partitions / free_partitions / 1to4_streams / mvstack:: / refusal_inventory / gate_coverage / base_ctx_rect_offsets -- 75 passed, 0 failed, 1 ignored. Known cross-product reds carried into this tree (owned by the mergefix lane, reported by the batch coordinator on an equivalent merged tree): a_frame_edge_straddling_band_decodes_pixel_exact and a_real_aomenc_10bit_inter_sequence_with_a_split_transform_intra_block_decodes_pixel_exact.
Merge branch 'lane-mc64' (2be1f92): pinned 192x128 stream with a 64x64 intra block in an inter frameAhmet Kaan Gümüş · 361f8be
Merge branch 'lane-mc64' (2be1f92): pinned 192x128 stream with a 64x64 intra block in an inter frame Adds crates/ec-av1/fixtures/av1_192x128_8bit_intra64_in_inter.obu and its gate, plus the EC_MC_TRACE rung. Conflicts: kept main's per-var dump_stage_idx over the lane's single-counter stage_dump_idx, and main's sub-8x8 strip chroma footprint (the lane branched before it) with the lane's MC trace line. Gates: pinned_rect_stream (1), refusal_inventory (3), gate_coverage (9), base_ctx_rect_offsets (1) -- 14 passed, 0 failed.
Merge branch 'lane-inter16ab' (2e711e1): 16-level inter 1:4 arms and rectangular wedge codebooksAhmet Kaan Gümüş · 305b01a
Merge branch 'lane-inter16ab' (2e711e1): 16-level inter 1:4 arms and rectangular wedge codebooks Rect compound_type/wedge_idx CDF rows keyed by the block's true (w,h), the 8x4/4x8 inter coefficient sets, and the hgtw/hltw rectangular wedge codebooks (288-entry libaom enumeration pinned at lanes/wedge_libaom.expected.txt). Conflict resolution: the lane and main had each landed the same BLOCK_SIZES_ALL row fix under different names -- kept the lane's bsize_all_index / wedge_used_bsize / is_any_masked_compound_used_here and deleted main's duplicates (main's wedge_used_wh wrongly listed 16x64/64x16, which have no wedge codebook in libaom). The TxbSet 8x4-inter variants were also duplicated: kept main's names, dropped the lane's identical twins. Main's non-square COMPOUND_WEDGE refusal, auto-merged into the lane's lifted code, removed. Gates: wedge (1), interintra_wedge (2), rectangular_compound_wedge (1), 16x16_level_1to4 (1), 16x16_level_ab (1), 1to4 family (7), refusal_inventory (3), gate_coverage (9), base_ctx_rect_offsets (1) -- pass.
Merge branch 'lane-edgeboth' (6be7343): 16-level both-axes-cut nodes decode as a forced SPLITAhmet Kaan Gümüş · fa9efb8
Merge branch 'lane-edgeboth' (6be7343): 16-level both-axes-cut nodes decode as a forced SPLIT libaom decode_partition reads NO partition symbol when neither has_rows nor has_cols holds; this decoder refused that corner at the 16 level. Conflicts in decode.rs (two lanes each adding an edge-strip counter) and refusal_inventory.rs resolved by keeping both sides and dropping only the two both-axes refusals the lane lifted. Gates: both_axes_cut (1), refusal_inventory (3), gate_coverage (9), base_ctx_rect_offsets (1) -- 14 passed, 0 failed.
Merge branch 'lane-intersub8' (a5b9770): sub-8x8 inter partitions (SPLIT, HORZ, VERT) lifted and gatedAhmet Kaan Gümüş · 89682ac
Merge branch 'lane-intersub8' (a5b9770): sub-8x8 inter partitions (SPLIT, HORZ, VERT) lifted and gated The "an inter partition below 8x8" refusal is gone: the sub-8x8 inter arms decode, with the CDEF skip band for the 8x4/4x8 pair, and are gated at both bit depths. Four narrower refusals take its place (intra 4x4 / 8x4 / 4x8 inside the sub-8x8 split, sub-8x8 under a scaled reference, COMPOUND_WEDGE on a non-square block). Merge resolution: this lane's compound-8x8-leaf interp read is DROPPED -- lane-interp3 landed the same read with the is_nontrans_global_motion suppression term, and keeping both would have read the switchable_interp symbol twice. The lane's palette-on-1:4 refusal is not carried (lane-kf900 lifted that shape). Trace rungs from both sides kept. Gates: sub8x8_inter (1), dual_filter_obmc_8x8 (1), obmc (5), refusal_inventory (3), gate_coverage (9), base_ctx_rect_offsets (1) -- all pass.
Merge branch 'lane-interp3' (10b801a): compound 8x8 leaf interp read, ref ctx bands, per-ref global warpAhmet Kaan Gümüş · c4478d5
Merge branch 'lane-interp3' (10b801a): compound 8x8 leaf interp read, ref ctx bands, per-ref global warp
- compound 8x8 leaf reads its interp filter; ref-frame ctx bands; global-mv flags and
per-ref global warp; EC_OBMC trace emitter; dual_filter_obmc_8x8 gate.
- Merge resolution: lane-golomb already converted the same neighbour_filter panic to a
refusal, so ONE string survives ("an OBMC neighbour whose switchable interp filter was
never recorded") in decode.rs, refusal_inventory.rs and this lane's unit test. The
lane's palette-on-1:4-strip refusal is not carried (lane-kf900 lifted that shape).
Gates: dual_filter_obmc_8x8 (1), obmc (5), refusal_inventory (3), gate_coverage (9),
base_ctx_rect_offsets (1) -- all pass.docs(kf900): r6 (resumed) report -- palette neighbour bands at mi granularity, intrabc re-verified, suite 385/0/33Ahmet Kaan Gümüş · 9186646Browse files
Merge branch 'lane-rectchroma2' (48216c2): MC kernels take the block's true dims, and the edge gate goes full-planeAhmet Kaan Gümüş · 458e5c1
Merge branch 'lane-rectchroma2' (48216c2): MC kernels take the block's true dims, and the edge gate goes full-plane mc.rs predict_with_filters_kern / predict_scaled_kern / predict_compound_intermediate_kern now decide the per-axis narrow (4-tap) kernel from the TRUE block dims, and decode_inter_block's twelve prediction calls pass write_w/write_h plus the chroma dims -- the root cause of every "luma exact, chroma +-1" rect inter residue. New full-plane gate narrow_kernel, RECT_NARROW_KERN_HITS. Same commit: lane-interedge's a_real_aomenc_inter_frame_edge_half_strip gate flips from luma-only to full-plane (30 attempts + the 192x128 control, chroma_bad now asserted 0) -- the residue it tolerated was ours, and it is gone. Gates: narrow_kernel (1), inter_frame_edge_half_strip (1, full-plane), superblock_level_rect_partition (1), obmc (3), refusal_inventory (3), gate_coverage (9), base_ctx_rect_offsets (1) -- all pass.
Merge branch 'lane-interedge' (9920c36): inter 32-level HORZ/VERT second-strip frame-edge guardAhmet Kaan Gümüş · cfa93c0
Merge branch 'lane-interedge' (9920c36): inter 32-level HORZ/VERT second-strip frame-edge guard The second half of an inter HORZ/VERT at the true frame edge carries no symbols and no grid writes (libaom decode_partition's has_rows/has_cols guard); the oddh inter arm is un-ignored. Merge resolution keeps BOTH witness counters at the four sites -- lane-golomb's bump_edge32 before the guard and this lane's bump_inter_edge_strip in the else. Gates: inter_frame_edge_half_strip (1), odd (4), 32x32_frame_edge (1), refusal_inventory (3), gate_coverage (9), base_ctx_rect_offsets (1) -- all pass.
docs(sb128c): r7 suite totals -- 386 passed, 0 failed, 35 ignoredAhmet Kaan Gümüş · ce0a01cBrowse 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.
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.
docs(intersub8): r5 full-suite line -- 385 passed, 0 failed at the counter fixAhmet Kaan Gümüş · 823ca8cBrowse files
docs(sb128c): r7 report -- gathered frame-edge 128x64/64x128 on the inter path, film head bit-exactAhmet Kaan Gümüş · bd2a883Browse files
fix(av1): inventory the inter var-tx >64 leaf guard added with the 128 root's rect armAhmet Kaan Gümüş · de75d08Browse files
docs(sbab): r1 handoff -- real-vs-desync verdict, arms, root cause, gate numbersAhmet Kaan Gümüş · 199b50bBrowse 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.
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.
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.
Merge lane-cdef 8c6065e into lane-rectchroma2 (chroma deblock grid, CDEF skip band, LR crop)Ahmet Kaan Gümüş · e49934bBrowse files
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.
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
docs(mc64): r2 report -- root cause was the no-CFL uv_mode alphabet, rect-side gate pinned, suite 385/0Ahmet Kaan Gümüş · ad2dcf6Browse 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.