Commits
Commits on
main2026-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.
docs(cdefstrip): r1 report -- suite 401 passed, 0 failed, 33 ignoredAhmet Kaan Gümüş · ef399f2Browse files
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.
fix(av1): tx_size ctx read above_inter/left_inter at mi/4, so an intra neighbour whose tx_depth split to 4x4 read as an inter neighbour contributing its block size -- ctx 1 vs libaom's 2 at one block, adapting the wrong tx_size_cat0 row and desyncing the next tx_depth read; the pinned 10-bit split-leaf stream now decodes pixel-exactAhmet Kaan Gümüş · 5cb1524
fix(av1): tx_size ctx read above_inter/left_inter at mi/4, so an intra neighbour whose tx_depth split to 4x4 read as an inter neighbour contributing its block size -- ctx 1 vs libaom's 2 at one block, adapting the wrong tx_size_cat0 row and desyncing the next tx_depth read; the pinned 10-bit split-leaf stream now decodes pixel-exact Also traces the `br` rung of the square coefficient path (`EC_COEFF_STEP tag=br`), without which the cross-decoder range ladder is blind to every base-range symbol and mis-attributes the first divergence.
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.
docs(intra14): r4 report and handoff -- six merges, the film witness pinned, one sibling refusal from a live gateAhmet Kaan Gümüş · 05708e1Browse files
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.
fix(av1): an 8x8 intra leaf ignored the use_intrabc it had just readAhmet Kaan Gümüş · 68ca7c5
fix(av1): an 8x8 intra leaf ignored the use_intrabc it had just read decode_leaf8 consumed use_intrabc and its DV through read_intra_mode and then decoded the block as ordinary intra: it read the luma tx_type off the 7-symbol TX_SET_INTRA_1 row where libaom reads the 16-symbol EXT_TX_SET_ALL16 (is_inter_block counts is_intrabc_block, blockd.h:373), so the msac range diverged at the next symbol with no refusal -- invisible in the r6 residue because the block sat in the frame's LAST superblock. The leaf now mirrors decode_block: inter ext-tx set, BILINEAR prediction from the current frame's pre-filter reconstruction at the DV (skip and non-skip), chroma tx_type inherited from the coded luma type and DISARMED after the V read (leaving it armed leaked into every later chroma block: 320 chroma samples, luma exact), an inter-skip tx size under TxMode::Select (unskipped is refused with decode_block's existing string), and record_intrabc_mi so a later DV's MV stack sees the leaf. Gate: a_real_aomenc_screen_key_frame_reads_use_intrabc_on_rect_strips arm 8 "testsrc2-cq55-leaf8" (rect and 1:4 partitions off, palette on, tx-size-search off) with a hard per-arm leaf8_intrabc_hits assert and a gate-wide vacuity assert; 256x192 8-bit screen stream goes 320 wrong chroma samples + an entropy desync -> whole frame identical to ffmpeg. Full suite still owed (handoff).
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.
feat(av1): intra 128x64/64x128 at the 128 superblock root -- rect intra block with per-TU prediction, mu-chunk chroma, and a frame-edge write clipAhmet Kaan Gümüş · 603f865
feat(av1): intra 128x64/64x128 at the 128 superblock root -- rect intra block with per-TU prediction, mu-chunk chroma, and a frame-edge write clip The key-frame path refused the 128 root's HORZ/VERT arm by name (r7). It now decodes one BLOCK_128X64 (or 64x128) per half through decode_block_128rect: two-or-more SQUARE luma transform units (max_txsize_rect_lookup caps at TX_64X64), one 32x32 chroma unit per 64x64 mu chunk per plane on the offset-10 txb_skip rows, per-TU prediction in raster order, one cdef_idx per half fanned over the CDEF units it covers. PlaneBuf::reconstruct/reconstruct_rect now clip at the padded frame edge: our buffer is 32-aligned while libaom's is superblock aligned, and a 64x64 unit of a bottom-edge 128x64 block indexed one row past a 1080p buffer -- two panics on real 10-bit 1920x792 extracts. Gate: a_real_aomenc_sb128_intra_rect_block_decodes_pixel_exact, 5 real aomenc streams (8+10 bit, HORZ and VERT, cq 8..55), every decode-order frame pixel-exact vs aomdec, 96 intra 128-rect blocks.
feat(av1): palette on a square 8x8 intra leaf (decode_leaf8 passed None palette ctx/cache and refused every real 8x8 palette block)Ahmet Kaan Gümüş · c9d2302
feat(av1): palette on a square 8x8 intra leaf (decode_leaf8 passed None palette ctx/cache and refused every real 8x8 palette block) decode_leaf8 handed read_intra_mode `None`/`&[]` for the palette mode ctx and colour cache, so `palette_y_mode` was read off CDF row 0 and any block that actually used a palette refused by name -- and at 8 bit aomenc palettes SQUARE blocks, so with --min-partition-size=8 every screen-content stream stopped there. Wired the leaf's own per-mi ctx/cache (av1_get_palette_mode_ctx / av1_get_palette_cache, decodemv.c:567), kept the decoded PaletteY/PaletteUv, reconstructed through the existing PALETTE_PRED slot (whole 8x8, or a per-4x4-TU window slice under a split tx_depth) and stamped the leaf's real palette state into the per-mi neighbour bands. Gate a_real_aomenc_palette_stream_with_8x8_leaves_decodes_pixel_exact: 48 real aomenc arms (testsrc2/smptebars x 8+10 bit x cq 30/40/55 x tx-size-search 0/1 x tile-columns 0/1, --tune-content=screen --enable-palette=1 --min-partition-size=8), 44 8x8-leaf palette blocks across 24 arms, 47 arms / 47 frames compared pixel-exact vs ffmpeg, 0 out-of-scope mismatches. The superblock-level (64-level) HORZ/VERT strip palette refusal was measured, not assumed: removing it decodes testsrc2-10bit-cq55-txs0-tc1 with a whole-frame mismatch, so it stays and the gate asserts an arm still reaches it.
docs(leaf8tx): r2 handoff -- merges, gate sweep fix, and the split leaf's divergent txb_skip CDF rowAhmet Kaan Gümüş · 741a48aBrowse files
test(av1): instrument the CDEF per-8x8 skip band, and gate skipped rect inter stripsAhmet Kaan Gümüş · a81f6e3
test(av1): instrument the CDEF per-8x8 skip band, and gate skipped rect inter strips
The charter's premise (32x8/8x32 and the other rect-strip inter arms never
write the per-8x8 CDEF skip band, the sibling of the 8x8-leaf gap lane-cdef
fixed) is DISPROVED, measured not argued.
Instrument instead of an arm-by-arm audit: Neighbours::skip_written records
whether any coded block wrote the per-mi skip band this frame, and apply_cdef
counts 8x8 CDEF units with an unwritten band (decode::cdef_unwritten_skip_units)
in a pass placed before both of its early returns, so the count is valid for
every frame. A fresh Neighbours seeds skip_grid all-false ("not skip"), so an
arm that forgets fill_skip_grid_rect is exactly an unwritten unit -- the defect
class, visible without pixels.
Result: 0 unwritten units on 177 real aomenc streams (145 corpus + 32 new sweep
arms: 2 sources x cq 18/24/32/45 x min-partition-size 4/8 x 8+10 bit), covering
32x8/8x32/64x32/32x64/64x16/16x64 strips and the AB/1:4 arms. Two more counters
for the class: rect_skip_band_hits (skipped RECTANGULAR blocks that wrote the
band, 49 in the new gate) and cdef_mixed_skip_units (an 8x8 unit whose four mi
cells disagree on skip -- 0 everywhere, since only 16x4/4x16 and sub-8x8 inter
can straddle a unit and both are still refused).
Also re-measured: the charter's named +-1 defect (4 luma px of decode-order
frame 1 in a skipped 32x8 strip row) is already gone on this main -- lane-cdef
fixed it. That stream's LAST frame still mismatches, but it mismatches with
--enable-cdef=0 too, so it is a separate, non-CDEF defect (report section 4).
Gate: a_real_aomenc_stream_with_skipped_rect_inter_strips_keeps_the_cdef_skip_band
-- real aomenc, cdef + rect + 1:4 enabled, min-partition-size=8, 6 arms over
8+10 bit and cq 18/24/45, every decode-order frame on all three planes, hard
asserting the unwritten count never grows; an attempt counts as firing only when
a skipped rect strip wrote the band AND an 8x8 unit was excluded by the all-skip
rule. 4 firing+exact attempts.fix(av1): the CDEF sub-16 inter-leaf gate sweeps instead of hard-asserting its counters on the first decoded attemptAhmet Kaan Gümüş · 3f8f440
fix(av1): the CDEF sub-16 inter-leaf gate sweeps instead of hard-asserting its counters on the first decoded attempt Lifting a refusal reshuffles which attempt that gate lands on, so a per-attempt counter assert aborted before any pixel compare. Every decoded attempt is now compared; the two counters are asserted once at the end over the compared attempts. Also: EC_LEAF8TX_SPLIT=1 bypasses the 8x8 intra tx_depth-split refusal for the ablation arms, and the EC_TRACE_COEFF all_zero rung prints the txb_skip table side and its CDF row for cross-decoder ladders.
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 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 main (3566501) into lane-kf900Ahmet Kaan Gümüş · 9356e69
Merge main (3566501) into lane-kf900 Auto-merge; palette neighbour bands at mi granularity and the intrabc chroma tx_type fix survive untouched (Neighbours palette fns re-read).
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: 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 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: 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 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: lane-intersub8 a5b9770 into lane-intra14 -- sub-8x8 inter leaves, keep both partition tracesAhmet Kaan Gümüş · b932b3eBrowse files
Merge lane-rectchroma2 48216c2 into lane-leaf8tx: the 4-tap MC kernel decision came from the square buffer, causing chroma +-1 on rect/8x8 inter leavesAhmet Kaan Gümüş · 942b908Browse files
Merge main 1176a16 into lane-leaf8tx: CDEF skip band, golomb frame-edge partitions, kf900/kf1200 fixturesAhmet Kaan Gümüş · 8c20321
Merge main 1176a16 into lane-leaf8tx: CDEF skip band, golomb frame-edge partitions, kf900/kf1200 fixtures Kept main's OBMC unrecorded-filter refusal string; kept the lane's EC_OBMC trace lines.
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.
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
docs(sb128c): r7 suite totals -- 386 passed, 0 failed, 35 ignoredAhmet Kaan Gümüş · ce0a01cBrowse files
docs(leaf8tx): r1 suite result -- 393/1, the failure is a sibling gate's first-attempt counter assert reshuffled by the liftAhmet Kaan Gümüş · ccf0be0Browse 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(intrasplit): r3 report -- both split-transform intra strip arms GREEN (get_tx_size_context inter-neighbour index), suite 387/1, 1:4 cross-product red proven bit-identical before the fixAhmet Kaan Gümüş · db2b19aBrowse 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.
docs(leaf8tx): r1 report -- angle delta lifted and gated, tx_depth split kept refusedAhmet Kaan Gümüş · b95a98bBrowse files
Merge branch 'lane-golomb' (173b793): frame-edge partition bits, luma-only deblock grid, cropped reference guardsAhmet Kaan Gümüş · 58dfef5
Merge branch 'lane-golomb' (173b793): frame-edge partition bits, luma-only deblock grid, cropped reference guards - frame-edge partition bits at the 32 level; edge32 gate. - chroma deblock grid keeps the block's own av1_get_max_uv_txsize -- the var-tx leaf write is LUMA only (libaom get_transform_size splits for AOM_PLANE_Y alone). Merge resolution: lane-r14's RECT (row,col,tw,th) leaves are kept and routed through this lane's fill_lf_grid_leaf_luma. - inter chroma tx_type set narrowing, cropped reference-size guard, loop-restoration crop, mc.rs:203 panic converted to a refusal (OBMC neighbour with no recorded switchable interp filter). The lane's second refusal string (palette on a 1:4 rect strip) is NOT carried: lane-kf900 lifted that shape, and it no longer exists in decode.rs. Gates: 32x32_frame_edge (1), refusal_inventory (3), gate_coverage (9), base_ctx_rect_offsets (1), vartx (1), 1to4 (6) -- all pass.
feat(av1): decode a nonzero angle_delta_y on an 8x8 intra leaf inside an inter frameAhmet Kaan Gümüş · 7136112
feat(av1): decode a nonzero angle_delta_y on an 8x8 intra leaf inside an inter frame av1_use_angle_delta(BLOCK_8X8) is true, so the leaf codes angle_delta_y off angle_delta_cdf[mode - V_PRED] exactly as a key-frame block does; the delta already fed the directional predictor here, only the refusal stood in front of it. Gated by a real-aomenc 192x128 6-frame inter sequence (8- and 10-bit, --enable-angle-delta=1, --enable-directional-intra=1, min/max partition 8/32), 109 / 75 nonzero-delta 8x8 intra leaves on the first attempt, every decode-order frame pixel-exact vs ffmpeg. The sibling tx_depth-split refusal STAYS: its per-TU implementation is in the tree behind the refusal and decodes the 8-bit arm exactly, but a 10-bit stream still mismatches (see lanes/leaf8tx-r1.report.md).
fix(av1): rect inter blocks picked the 4-tap chroma kernel from the square prediction buffer, not the blockAhmet Kaan Gümüş · 759e688
fix(av1): rect inter blocks picked the 4-tap chroma kernel from the square prediction buffer, not the block decode_inter_block predicts a rectangular block over its enclosing square buffer (side x side, chroma_side x chroma_side; write_w/write_h govern only the pixel write). The narrow-block decision lived in mc::predict_with_filters and read that buffer's dimensions, while libaom av1_get_interp_filter_params_with_block_size takes it per axis from the prediction block's own w/h -- so the chroma of an 8x16 / 16x8 inter block (4x8 / 8x4) used the 8-tap kernel where libaom uses the 4-tap one. Luma is never <= 4 wide on this path, which is why such streams decoded luma-exact and differed by +-1 on scattered chroma samples (lane-interedge r1's 192x128 control, no frame-edge node, cdef/LR off). mc gains predict_with_filters_kern / predict_scaled_kern / predict_compound_intermediate_kern (old entry points delegate with kern = block dims) plus a RECT_NARROW_KERN_HITS counter; decode_inter_block's 12 prediction calls pass write_w/write_h and write_chroma_w/write_chroma_h. New gate a_real_aomenc_rect_inter_block_predicts_chroma_with_the_narrow_kernel_pixel_exact: real aomenc mandelbrot 192x128 and 128x192, 8- and 10-bit, cq 20/32/45, 6 frames, lag-in-frames=0, every decode-order frame compared on Y, U and V; 12/12 arms exact, narrow-kernel counter nonzero at both depths and in both orientations. Same recipe mismatched chroma in all arms before the fix.