Commits
Commits on
2b05cf7c672af00c27ff4baa012fa6a6516fecfe2026-09-02
feat(av1): intra 8x4/4x8 and 4x4 leaves of an inter frame's sub-8x8 partition decode behind EC_SUB8INTRA_DECODE (gate RED, refusals kept)Ahmet Kaan Gümüş · 2b05cf7
feat(av1): intra 8x4/4x8 and 4x4 leaves of an inter frame's sub-8x8 partition decode behind EC_SUB8INTRA_DECODE (gate RED, refusals kept) decode_intra_sub8_leaf reads read_intra_block_mode_info's syntax (y_mode[0], no angle delta below 8x8, uv_mode + CfL only on the chroma reference, filter_intra off the shape's own class row) and then decode_leaf_rect8's luma/chroma body, with the INTER frame's tx-depth context and set_txfm_ctxs publication. Both sub-8x8 callers guard their chroma tail when the chroma reference is intra, and predict the group's 4x4 chroma WHOLE from the chroma-reference block's mv when a sibling is intra (is_sub8x8_inter false). Measured: 5/6 film probes stop first on sub-block 0 of a HORZ/VERT pair, non-skip; under the switch all six move to the next wall. The path is NOT proven: on an 8-bit 128x128 aomenc witness the intra leaf itself is bit-exact (mode + tx_depth rng match the oracle) but the stream desyncs inside the next 8x8 group, so the refusals stay the default behaviour and no gate is added.
docs(av1): lane-intra16x4 r1 handoff -- measurement table, what the path implements, the surviving pixel mismatch, next stepAhmet Kaan Gümüş · e5f8021Browse files
feat(av1): intra 16x4/4x16 strip of an inter 16x16-level 1:4 partition decodes behind EC_INTRA16X4_DECODE (gate RED, refusal kept)Ahmet Kaan Gümüş · dfaeea5
feat(av1): intra 16x4/4x16 strip of an inter 16x16-level 1:4 partition decodes behind EC_INTRA16X4_DECODE (gate RED, refusal kept) The key frame's per-strip body is lifted out of decode_rect4_16 into decode_rect4_16_strip and run from the INTER block path with INTRA_IN_INTER_MODE = (size_group 0, the skip decode_inter_block already read), so a single intra strip of a partition whose other strips are inter decodes through the readers the key frame already proves -- including the 4:2:0 pairing (even strips read no chroma, the odd one codes one 8x4/4x8 unit at the pair's origin, predicted per the strip that carries it). The inter path additionally publishes set_txfm_ctxs + txfm_partition_update for the strip (the key-frame body has no var-tx tree) and reads the tx-depth symbol off the real TXFM_CONTEXT bands; without that the block after the strip broke while the strip itself was exact. Not pixel-proven: the r1 gate (real aomenc, 4 recipes x 8/10 bit, every frame Y/U/V vs ffmpeg) is RED and #[ignore]d with its measurement, so the named refusal stays the default and the new path is behind EC_INTRA16X4_DECODE=1. Measured with the switch on, all six 10-bit film probes leave this wall (five stop on the sub-8x8 intra block, another lane's shape).
docs(av1): lane-rectres r1 report -- shape histogram, gate result, film wall move, open suiteAhmet Kaan Gümüş · ba3aca0
docs(av1): lane-rectres r1 report -- shape histogram, gate result, film wall move, open suite The full `cargo test -p ec-av1 --lib` run had not printed its result line when the round ended; the report says so rather than claiming a total.
feat(av1): the 32x32-level 1:4 inter strip codes its rectangular residual (32x8/8x32)Ahmet Kaan Gümüş · 0f5742b
feat(av1): the 32x32-level 1:4 inter strip codes its rectangular residual (32x8/8x32) MEASURED first: an env-gated print at the refusal site (EC_RECTRES=1) on both 10-bit 3840x1608 film cuts and four offsets of the 10-bit 1920x792 stream gives 6/6 refusals at w=32 h=8 or w=8 h=32, non-skip, inter -- nothing else. The 64-axis shapes the charter expected were already supported and never fire. TX_32X8 codes all 256 positions. New TxbSet::LumaRect32x8Inter = the intra LumaRect32x8 tables (get_txsize_entropy_ctx = TX_16X16, txsize_log2_minus4 = 4) plus a tx_type table the intra twin has none of: av1_get_ext_tx_set_type at tx_size_sqr_up == TX_32X32 is EXT_TX_SET_DCT_IDTX for inter with or without reduced_tx_set, read at the txsize_sqr_map[TX_32X8] == TX_8X8 row. Chroma pair is one 16x4/4x16 unit (ss_size_lookup[BLOCK_32X8] = BLOCK_16X4) = Chroma8's tables. Scans, sub_tx_size_map[TX_32X8] = TX_16X8 var-tx leaves and the rect coefficient reader were already shape-general. Gate a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual: real aomenc, --enable-1to4-partitions=1 --enable-tx-size-search=1 --min-partition-size=8 --max-partition-size=32, 16 attempts x 8/10-bit, both orientations, every decode-order frame Y/U/V vs ffmpeg, oos_mismatch == 0, one hard assert per lifted shape on the PIXEL-COMPARED counter: 32x8=7 8x32=8, 0 refusals, 0 mismatches. A 72-run recipe sweep found that only 32-pixel motion bands at cq >= 48 make aomenc code a NON-SKIP strip; narrower bands give the same partition with skip set and prove nothing about the residual. Film frontier: the 10-bit 3840x1608 cut still shows 33 frames -- the gain is inside frame 34, which now codes a 32x8 residual unit and stops on a different wall (an intra 16x4/4x16 strip inside an inter 16x16-level 1:4 partition). All six cuts moved to that same next refusal. The rect64 refusal is NOT lifted: the clean prefix reports rect64_corner_tu 0/0, so no witness exists yet.
Merge branch 'lane-rect64port' (d08f9c6): TX_64X32/TX_32X64 split-intra-strip luma corner ported onto main behind EC_RECT64_SPLIT (no film witness yet; the next wall is the inter rect-residual refusal)Ahmet Kaan Gümüş · 480a3f2Browse files
docs(rect64port): r1 suite line -- 417 passed, 3 failed (the 3 known reds), 37 ignoredAhmet Kaan Gümüş · da8601bBrowse files
fix(av1): the loop filter ignored spec 7.14.2's skip/pu_edge suppression, filtering a var-tx interior edge lattice the reference never touchesAhmet Kaan Gümüş · fc0fe40
fix(av1): the loop filter ignored spec 7.14.2's skip/pu_edge suppression, filtering a var-tx interior edge lattice the reference never touches edge_params dropped the `!pv_skip || !curr_skipped || pu_edge` term on the invariant "a coded block's transform is always its own full size", which var-tx broke: every 8-px interior transform edge inside a skipped inter block was filtered. Adds a per-4x4-mi coded-block-origin band (written alongside the skip flag) for the pu_edge term. On the pinned 192x68 cq61 tile_cols=1 8-bit stream, decode-order frame 1 goes 7244 -> 0 wrong post-deblock luma px; its pre-filter reconstruction was already bit-exact, which disproves the compound-prediction premise this round started from. The 1:4 rect-vartx sibling gate stays green. The straddling gate still fails on a different, isolated defect: decode frame 2 is wrong pre-filter in the x=96..127 column band. (cherry picked from commit 6bc2c8b32c187d51e7723249c7eecbad9a298466)
docs(rect64port): r1 report -- port landed behind EC_RECT64_SPLIT, no witness (frontier moved to the inter rect-residual refusal)Ahmet Kaan Gümüş · ddb3943Browse files
feat(av1): TX_64X32/TX_32X64 luma corner read for a split intra strip, behind EC_RECT64_SPLIT=1 (no witness yet)Ahmet Kaan Gümüş · 42d7c39
feat(av1): TX_64X32/TX_32X64 luma corner read for a split intra strip, behind EC_RECT64_SPLIT=1 (no witness yet) Hand-port of the lane-intra64split decode hunk onto main 78d8ff7: a 64-level HORZ/VERT intra strip whose luma transform unit is the un-split TX_64X32 / TX_32X64 reads its coded 32x32 corner through TxbSet::Luma64 with default_scan(TX32) and the real rect shape passed to av1_nz_map_ctx_offset -- byte for byte decode_block_rect64's depth-0 key-frame arm. Per-orientation counter rect64_corner_tu_hits(0|1) exported through stream.rs and printed by decode_probe. NOT lifted: measured on both 10-bit 3840x1608 cuts, the arm fires (16x 64x32 + 2x 32x64 on the first cut, 2x 32x64 on the second) but the SAME frame then stops at "a non-skip rectangular (HORZ/VERT/HORZ_B) strip needs rectangular residual coding", so no frame containing the shape ever completes and no pixel comparison exists. A refusal is lifted only with a gate, so the arm sits behind EC_RECT64_SPLIT=1 and the refusal stays the default; refusal_inventory and gate_coverage unchanged.
Merge branch 'lane-sb128c' (2432624): 128-root AB partitions, tx_size ctx against max_txsize_rect, per-unit reach above 64Ahmet Kaan Gümüş · 6f01e4dBrowse files
docs(sb128c): r10 report -- two root causes behind the 128-rect divergence, suite 388/0/35Ahmet Kaan Gümüş · 8a9dc08Browse files
Merge branch 'lane-vert46' (3b4b9b6): per-transform-unit chroma entropy context above 64, var-tx bands stamped at the block's true dimsAhmet Kaan Gümüş · d4020b9Browse files
Cherry-pick lane-inter16ab (ee04373): every block of an inter frame publishes its txfm-partition bandAhmet Kaan Gümüş · de4295bBrowse files
fix(av1): transform-unit top-right/bottom-left inside a block wider than 64Ahmet Kaan Gümüş · d1400b2
fix(av1): transform-unit top-right/bottom-left inside a block wider than 64 A block wider than 64 is coded in 64x64 "mu" chunks in raster order, so libaom's has_top_right takes the column offset MODULO the chunk (plus the one centre unit of a 128x128) and has_bottom_left grants the left edge of a right-hand chunk what the already-coded left chunk holds. Reach::of_tu applied the plain block-wide rule, so the last unit column of every chunk of a 128x64 intra block predicted from a chunk not yet reconstructed -- 375 wrong samples per 128x64 block on a 512x512 key frame with the transform split. Gate: a 512x512 arm (second 128 superblock column, high-frequency source, --enable-tx-size-search=1) joins the sb128 intra_rect_block gate: 164 128x64 + 156 64x128 blocks, 294 of them at TX_16X16, 5 frames pixel-exact.
Cherry-pick lane-mergefix (3b96a3a): reset the var-tx above/left txfm contexts per tile and per superblock rowAhmet Kaan Gümüş · 703bfadBrowse files
Merge branch 'lane-leaf8tx' (fe98aec): an 8x8 intra leaf in an inter frame whose tx_depth splits into 4x4 unitsAhmet Kaan Gümüş · b995924Browse files
Cherry-pick lane-intra14 (e04736b): pin the 10-bit film witness for intra 1:4 strips in an inter frameAhmet Kaan Gümüş · c7de6d4Browse files
Merge branch 'lane-pal8' (aec5aad): palette reconstruction on 8x8 intra leavesAhmet Kaan Gümüş · c206f61Browse files
Merge branch 'lane-cdefstrip' (092b124): the CDEF skip band on skipped rect inter stripsAhmet Kaan Gümüş · b8a5772Browse files
Merge branch 'lane-intrasplit' (a37a4bc): split transforms on intra HORZ/VERT strips in inter framesAhmet Kaan Gümüş · ebaad18Browse files
Merge branch 'lane-sb128c' (103b66f): the 128 partition root's intra rect arm and per-mu-chunk contextsAhmet Kaan Gümüş · d969cdcBrowse files
Merge branch 'lane-kf900' (fc7fca2): an 8x8 intra leaf ignored the use_intrabc it had just readAhmet Kaan Gümüş · c1efa28Browse files
docs(leaf8tx): r4 report -- refusal lifted with a 60-arm swept gate, suite 404/1, and the CDEF frame-edge arm the refusal was hidingAhmet Kaan Gümüş · 70674d1Browse files
docs(vert46): r1 handoff -- first diverging element, both root causes, cmp resultAhmet Kaan Gümüş · b72a951Browse files
fix(av1): rect tx-size context compared against the block side, not max_txsize_rectAhmet Kaan Gümüş · 606ff15
fix(av1): rect tx-size context compared against the block side, not max_txsize_rect get_tx_size_context resolves the above/left transform sizes against max_txsize_rect_lookup[bsize], which tops out at 64x64: a 64x128 or 128x64 block must compare against 64, never against its own 128 side. The rect helper passed the raw block dimensions, so the right 64x128 half of a 128-root VERT read the tx-depth symbol off CDF row 0 where libaom uses row 1 -- entropy desync from that block on (326839/393216 bytes of a 512x512 key frame). The square path already capped this way. After the fix the whole 5370-element all_zero coefficient ladder of a 512x512 sb128 stream is identical to the oracle's; the residual is reconstruction-only.
Merge branch 'lane-angledelta' (2fd3e86): tx_size_context_txfm reads the inter neighbour bands per MIAhmet Kaan Gümüş · a2877a3Browse files
fix(av1): a 128-root block re-stamped its chroma entropy context from the whole-block grid and recorded a 64x128 var-tx block as 128x128 -- the mu-chunk DC sign of every unit but the top-left was lost (dc_sign_ctx 1 vs libaom 2 at the first chroma unit of the 64x128 edge block) and the next superblock's 128-root partition ctx read 16 vs 19; 192x256 sb128 8-bit inter stream goes 4-of-6 frames differing (36073 bytes) -> 6/6 bit-exact, new gate arm 46Ahmet Kaan Gümüş · 52c91bc
fix(av1): a 128-root block re-stamped its chroma entropy context from the whole-block grid and recorded a 64x128 var-tx block as 128x128 -- the mu-chunk DC sign of every unit but the top-left was lost (dc_sign_ctx 1 vs libaom 2 at the first chroma unit of the 64x128 edge block) and the next superblock's 128-root partition ctx read 16 vs 19; 192x256 sb128 8-bit inter stream goes 4-of-6 frames differing (36073 bytes) -> 6/6 bit-exact, new gate arm 46
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
docs(sb128c): r9 handoff -- the 128-root AB arms land, gate red on a pre-existing 64x128 VERT divergence at (320,0)Ahmet Kaan Gümüş · 71e7de0Browse files
feat(av1): the four AB partitions at the 128x128 superblock root, key and inter -- 128x64/64x128 half plus two 64x64 quadrants in libaom decode_partition's visit order, per-piece cdef unit and vert-AB reach; gate is RED on a pre-existing 512x512 128-rect VERT divergence proven independent of this armAhmet Kaan Gümüş · 9fbbf1a
feat(av1): the four AB partitions at the 128x128 superblock root, key and inter -- 128x64/64x128 half plus two 64x64 quadrants in libaom decode_partition's visit order, per-piece cdef unit and vert-AB reach; gate is RED on a pre-existing 512x512 128-rect VERT divergence proven independent of this arm
feat(av1): decode an 8x8 intra leaf in an inter frame whose tx_depth splits it into 4x4 transform units -- refusal lifted, its EC_LEAF8TX_SPLIT bypass removed, and the gate that proves it now sweeps all 30 aomenc arms at both bit depths with one end-of-sweep counter assert; the gate's shipped recipe had --enable-tx-size-search=0 last, so the split it claims to cover fired 0 times before this commitAhmet Kaan Gümüş · ded6f5c
feat(av1): decode an 8x8 intra leaf in an inter frame whose tx_depth splits it into 4x4 transform units -- refusal lifted, its EC_LEAF8TX_SPLIT bypass removed, and the gate that proves it now sweeps all 30 aomenc arms at both bit depths with one end-of-sweep counter assert; the gate's shipped recipe had --enable-tx-size-search=0 last, so the split it claims to cover fired 0 times before this commit Also: the OBMC sentinel unit test asserted the pre-merge refusal text, and two refusal strings the rectchroma2 merge made stale are dropped from the inventory.
docs(av1): lane-pal8 r1 report + handoff (8x8-leaf palette lifted and gated; suite 401/1, one unattributed straddling-band failure)Ahmet Kaan Gümüş · ae334b6
docs(av1): lane-pal8 r1 report + handoff (8x8-leaf palette lifted and gated; suite 401/1, one unattributed straddling-band failure)
docs(sb128c): r8 suite totals -- 387 passed, 0 failed, 35 ignoredAhmet Kaan Gümüş · 56e5abeBrowse 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.
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.
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.