Commits
Commits on
f5672220ea90bb196782e8ff507f989e8ddd2b972026-09-02
docs(palette2): r12 report -- TU-inside-block reach root cause, gate green, suite 314/0/27Ahmet Kaan Gümüş · f567222Browse files
docs(palette2): r11 full-suite totals -- 306 passed / 1 failed / 26 ignored, the seed-46 gate is the only redAhmet Kaan Gümüş · 094999a
docs(palette2): r11 full-suite totals -- 306 passed / 1 failed / 26 ignored, the seed-46 gate is the only red r10's inherited nz_map_ctx_offset_tables_match_the_rect_rule failure is gone (main deleted the stale test; the merge took the deletion).
fix(av1): a transform unit inside a block is not a block at that positionAhmet Kaan Gümüş · b7ad53c
fix(av1): a transform unit inside a block is not a block at that position `Reach::of(tx, tu_px, tu_py, ..)` answered the standalone-block has_top_right/has_bottom_left tables for every transform unit of a split-transform SQUARE block (decode_block's multi-TU branch and decode_leaf8's 2x2 4x4 grid), where libaom's reconintra.c takes its TU branches instead: bottom-left is 0 outright for col_off > 0, and 1 while the unit below-left is still inside the block. The rect path (decode_rect_split, lane-rectsplit r1) already had the right rule inline; it now shares it as Reach::of_tu. Measured on the seed-46 gate stream: the TL 16x16 (D203, VERT_A, tx depth 1) at px(128,64) has four 8x8 luma TUs; aomdec reports n_bl=8,0,8,0 for them, ours granted bottom-left to the col_off=8 units and reconstructed a 25-pixel diagonal wedge at rows 68..71 that then propagated over the whole last superblock (2242 samples). a_real_aomenc_stream_with_filter_intra_on_a_horz_vert_strip_decodes_pixel_exact RED -> GREEN. New enumeration test encode::tests::of_tu_matches_libaom_has_top_right_and_has_bottom_left_per_unit checks of_tu against an MI-unit transcription of both libaom functions over every (block, tx, row_off, col_off, block-level answer).
merge(palette2): main 4a29b4e (sub8merge mi-granular mode maps + rectx coded strips)Ahmet Kaan Gümüş · 851c4fb
merge(palette2): main 4a29b4e (sub8merge mi-granular mode maps + rectx coded strips) Resolved decode.rs by keeping both sides at all 5 hunks: main's modes_above_left()/record_mode_mi()/record_uv_mode_mi() (mi-granular maps) alongside the lane's palette ctx/cache reads, palette refusals and palette neighbour stamps in decode_block_rect / decode_block_rect64. refusal_inventory + gate_coverage auto-merged and are green (3 + 9 tests).
docs(palette2): r11 report -- merge of main 096f4b8, seed 46 localized to one block (entropy exact)Ahmet Kaan Gümüş · c043c60
docs(palette2): r11 report -- merge of main 096f4b8, seed 46 localized to one block (entropy exact) The seed-46 gate is still RED and is NOT a lane regression in the entropy sense: the whole frame's symbol ladder is bit-exact vs instrumented aomdec, the mismatch is pre-loop-filter and confined to the frame's last superblock, and the first defective block is the TL 16x16 of a 32x32 PARTITION_VERT_A at px(128,64) (mode 7 / D203). Palette code, filter intra and the loop filter are ruled out with artifacts. Suite was still running at the tool cap.
Merge branch 'lane-rectx': coded (non-skip) 16x8/8x16 strips with TX_16X8/8X16 luma and 8x4/4x8 chroma coefficient paths (ReelC blocker)Ahmet Kaan Gümüş · e47e7ce
Merge branch 'lane-rectx': coded (non-skip) 16x8/8x16 strips with TX_16X8/8X16 luma and 8x4/4x8 chroma coefficient paths (ReelC blocker) Conflict resolution: cdf.rs/cdf_state.rs take the union (lane's EOB_PT_128_LUMA* /EOB_PT_32_CHROMA* tables + main's q-dependent EOB_PT_512_CHROMA row); decode.rs keeps main's sub8 mi-exact neighbour maps and its Option<prev_leaf> decode_leaf8 (lane's prev_leaves/write_back_split_modes duplicate of the same fix dropped), lane's coded rect leaf path, both scan-table families; encode.rs keeps main's VERT_A/B Reach tables with the table_row naming.
Merge branch 'lane-sub8merge': sub-8x8 partitions (4x4 leaves, mi-granular y/uv mode maps with tile guards; ReelB head blocker) + Reach row-shadowing fix from the mergeAhmet Kaan Gümüş · 9c1c99fBrowse files
merge(palette2): main 096f4b8 (rectsplit r4, tx64x16 SB 1:4, gmaffine, hidden-frame compares)Ahmet Kaan Gümüş · 652ab0d
merge(palette2): main 096f4b8 (rectsplit r4, tx64x16 SB 1:4, gmaffine, hidden-frame compares) decode.rs auto-merged; decode_block_rect64's split arm (main's SB-level 1:4 path) gained the lane's RectStripModes palette fields and the r10 early-return palette stamp -- same class as decode_block_rect's arm. cdf.rs is main's byte-for-byte, main's deletion of nz_map_ctx_offset_tables_match_the_rect_rule taken. refusal_inventory.rs: kept the two lane palette strings + main's superblock-level partition value string; dropped the three no longer emitted.
docs(palette2): r10 full-suite totals -- 294/2/27, one inherited failure and one lane regressionAhmet Kaan Gümüş · 11df160
docs(palette2): r10 full-suite totals -- 294/2/27, one inherited failure and one lane regression Full `cargo test -p ec-av1 --lib` on the merged tree (the previous r10 agent was killed before it finished): 294 passed, 2 failed, 27 ignored. - nz_map_ctx_offset_tables_match_the_rect_rule fails IDENTICALLY at the merge base 06d856d (inherited from main: 44e8768 transposed the tables, the test still reads [col][row] while decode.rs:1804 reads [row][col]). - a_real_aomenc_stream_with_filter_intra_on_a_horz_vert_strip_decodes_pixel_exact PASSES at 06d856d and FAILS here (seed 46, luma (188,62) ours=116 ffmpeg=115, 2242 samples, bbox x135..191 y62..127) -- a regression this lane owns; main's gate is newer than the lane's rect-strip work, so the merge is the first time the two met.
Merge lane-tx64x16 88100e5: superblock-level HORZ_4/VERT_4 (four 64x16/16x64 strips; ReelC blocker) with TX_64X16/16X64 luma and 32x8/8x32 chroma coefficient pathsAhmet Kaan Gümüş · b38f3aaBrowse files
Merge branch 'lane-rectsplit': per-TU rect prediction under split transforms at the superblock level (ReelB mid-film blocker); nz_map ctx offsets from libaom's generating rule (the [row][col] table read was wrong at 120/1024 positions per rect shape); EOB_PT_512_CHROMA q-context rowsAhmet Kaan Gümüş · e11191cBrowse files
2026-09-01
fix(av1): Reach::top_right/bottom_left shadowed the block's position row with the table-row index -- the sub8 merge's has_tr_4x4/has_bl_4x4 row lookup rebound `row`, so the bit index (row * table_stride + col) read the wrong bit for EVERY block size; split_transform_horz_vert seed 55 (3080 luma samples) and the sub8 gate both green againAhmet Kaan Gümüş · 5c19acd
fix(av1): Reach::top_right/bottom_left shadowed the block's position row with the table-row index -- the sub8 merge's has_tr_4x4/has_bl_4x4 row lookup rebound `row`, so the bit index (row * table_stride + col) read the wrong bit for EVERY block size; split_transform_horz_vert seed 55 (3080 luma samples) and the sub8 gate both green again
Merge branch 'lane-gatesweep': 13 real-aomenc gates pixel-compare every successful decode (counter only decides counting); gate_buckets summary; 43 previously uncompared decodes all exact; merged with lane-hidden's decode-order comparesAhmet Kaan Gümüş · 01c42f6Browse files
wip(lane-palette2): agents killed by session limit 2026-09-02 -- uncommitted state preserved by orchestratorAhmet Kaan Gümüş · 429f129Browse files
wip(lane-sub8merge): agents killed by session limit 2026-09-02 -- uncommitted state preserved by orchestratorAhmet Kaan Gümüş · ff5e206Browse files
docs(tx64x16): r2 report -- stale-base finding, the 2 real failures + fixes, ReelC's new stop, 32-level handoffAhmet Kaan Gümüş · b583cf2Browse files
Merge branch 'lane-narrow4': prediction blocks <=4 on an axis use the regular 4-tap kernel under EIGHTTAP_SHARP too (spec 7.11.3.4 filterIdx; libaom av1_interp_4tap[MULTITAP_SHARP]==sub_pel_filters_4); was the 4x4 chroma residue of 8x8 inter leaves (lane-gmaffine r5)Ahmet Kaan Gümüş · 97075e6Browse files
fix(av1): a prediction block 4 or fewer samples wide reads the REGULAR narrow subpel kernel under EIGHTTAP_SHARP too -- spec 7.11.3.4 filterIdx sends EIGHTTAP and EIGHTTAP_SHARP to filter index 4, and libaom's av1_interp_4tap[MULTITAP_SHARP] is av1_sub_pel_filters_4 (filter.h:239-244, comment "For w<=4, MULTITAP_SHARP is the same as EIGHTTAP_REGULAR"); we used the 8-tap sharp table there, invisible above 4 samples so it only bit 4-wide chroma. Cherry-picked from lane-gmaffine 3bb10f1; unit test pins all four narrow mappings (regular->4, smooth->4smooth, sharp->4, bilinear->bilinear).Ahmet Kaan Gümüş · 53b4e56
fix(av1): a prediction block 4 or fewer samples wide reads the REGULAR narrow subpel kernel under EIGHTTAP_SHARP too -- spec 7.11.3.4 filterIdx sends EIGHTTAP and EIGHTTAP_SHARP to filter index 4, and libaom's av1_interp_4tap[MULTITAP_SHARP] is av1_sub_pel_filters_4 (filter.h:239-244, comment "For w<=4, MULTITAP_SHARP is the same as EIGHTTAP_REGULAR"); we used the 8-tap sharp table there, invisible above 4 samples so it only bit 4-wide chroma. Cherry-picked from lane-gmaffine 3bb10f1; unit test pins all four narrow mappings (regular->4, smooth->4smooth, sharp->4, bilinear->bilinear).
wip(merge): lane-sub8 merged into main 61c6a5b -- conflicts resolved, gates RED, NOT for mainAhmet Kaan Gümüş · 6795386
wip(merge): lane-sub8 merged into main 61c6a5b -- conflicts resolved, gates RED, NOT for main Conflict resolutions kept here so a successor need not redo them: - decode.rs Neighbours::new -- main's mi-granular inter bands + sub8's four mi mode maps (sub8_mode_col/row, uv_mode_col/row). - decode.rs record_split_luma_rect -- main's rect (w_mi,h_mi) span with sub8's record_mode_mi/record_uv_mode_mi calls. - encode.rs Reach::top_right/bottom_left -- main's VERT_A/B tables kept, sub8's has_tr_4x4/has_bl_4x4 row kept, side-4 falls back to the ordinary table inside a VERT_A/B (no vert 4x4 row exists) with a corner-cut note. - examples/decode_probe.rs -- main's EC_PROBE_OUT + dimensions print. - refusal_inventory.rs -- sub8's sub-8x8 reader still refuses intrabc while main's 8x8-and-up reader reconstructs one; refusal string narrowed to "a sub-8x8 leaf that uses intrabc" and listed. - gate_coverage.rs -- enable-1to4-partitions retired from the 8-bit list (sub8's gate passes =1), 10-bit entry reworded. RED on the merged tree (both fail; each side is green alone): - a_real_aomenc_stream_with_a_sub8_split_decodes_pixel_exact (seed=100 cq=6) - a_real_aomenc_stream_with_a_split_transform_horz_vert_strip_decodes_pixel_exact (seed 55, luma (191,76) ours=127 ffmpeg=128, 3080 samples, bbox x94..191 y76..127) -- green at main 61c6a5b, absent from the sub8 lane's tree.
fix(av1): a 4-sample-wide prediction block reads the REGULAR narrow subpel kernel under EIGHTTAP_SHARP too (spec 7.11.3.4 filterIdx, av1_interp_4tap[MULTITAP_SHARP] == av1_sub_pel_filters_4) -- we used the 8-tap sharp kernel there, which only ever bit the 4x4 chroma of an 8x8 leaf; both 8x8-leaf motion gates go pixel-exact 24/24 frames at 8- and 10-bit, suite 271/2 -> 273/0Ahmet Kaan Gümüş · 06a5eac
fix(av1): a 4-sample-wide prediction block reads the REGULAR narrow subpel kernel under EIGHTTAP_SHARP too (spec 7.11.3.4 filterIdx, av1_interp_4tap[MULTITAP_SHARP] == av1_sub_pel_filters_4) -- we used the 8-tap sharp kernel there, which only ever bit the 4x4 chroma of an 8x8 leaf; both 8x8-leaf motion gates go pixel-exact 24/24 frames at 8- and 10-bit, suite 271/2 -> 273/0
fix(av1): a split-transform rect strip must still stamp its palette neighbour stateAhmet Kaan Gümüş · 1b23037
fix(av1): a split-transform rect strip must still stamp its palette neighbour state decode_block_rect's split-transform arm (depth != 0) returns before the fn's own tail, so record_palette_y_rect/record_palette_uv_rect never ran for that block: the above/left palette arrays kept a DEAD block's size+colours, and the next block's UV colour cache (Neighbours::palette_uv_cache) then hit a cached entry with the wrong VALUE. Same cache length, so the same bits are read and the entropy stream stays in sync -- the defect is silent, pixels only. smptebars 192x192 cq45 (--enable-palette=1 --min/max-partition-size=16/64): U 512 bytes wrong (x48..55, y0..63 chroma, max |d| 28), Y and V exact, and --enable-palette=0 exact -> now 0 bytes off. On the lane this cell was hidden behind the 32x32 partition value=7 refusal main has since lifted (class refusal-hides-a-defect). PALETTE_PRED set/take now go through set_palette_pred/take_palette_pred, which trace every arm and consumption (with the caller's location and a stale flag) under EC_DEBUG_PAL=1 -- 20 set sites vs 2 take sites were unauditable before. Sweep: 4486 is the ONLY early return Ok in any decode_block* fn. palette gate: 40/70 matched (was 17/70), 0 named refusals, palette_rect_hits=142. screen-content gate: 47/70 matched, 31 through a split-tx palette block.
test(av1): every real-aomenc gate pixel-compares each successful decode, counter or notAhmet Kaan Gümüş · 64df83b
test(av1): every real-aomenc gate pixel-compares each successful decode, counter or not Class [[gate-skips-on-its-own-failure]] / counter-from-refused-stream: 13 gates in stream.rs, after a SUCCESSFUL decode_stream, `continue`d to the next attempt when their feature hit counter had not moved -- BEFORE any pixel compare -- so a wrong-pixel decode in that bucket was silently swallowed. The counter now only decides whether an attempt counts toward the firing total (`counted`); every successful decode is compared against ffmpeg on all planes and all frames, and a mismatch panics as before. Gates fixed (counter): intra tx_select (tx_depth_hits), tx_select_inter_gate (txfm_split), smooth-luma (smooth_luma_hits), smooth/paeth chroma (smooth_uv_hits), directional chroma (directional_uv/angle_delta), golden (non_last_ref_hits), single-ref gate x5 (ref_hits), reference_select (comp_mode_hits), compound refs (skip_mode_hits), obmc (obmc_hits), obmc 8x8 (obmc_hits_8), temporal MV gate (tmv_hits), min8 tx_class1 (tx_class1_hits). New `gate_buckets()` helper prints counted-exact / uncounted-exact / named-refusals at every exit, summing to the attempts made. No recipe, seed, counter or assertion was changed. Measured (EC_AV1_REQUIRE_AOMENC=1, 26 tests + refusal_inventory + gate_coverage, all pass): 43 previously-uncompared successful decodes now pixel-compared -- bwdref 17, obmc8x8 11, altref2 6, last3 2, altref 2, reference_select 2, tx_class1 2, last2 1 -- all pixel-exact, no new defect exposed, no gate ignored.
Merge branch 'lane-covbd2': gate_coverage derives default-on tools pinned off (tx-size-search, deblocking, diff-wtd, onesided, fwd-kf, directional-intra, interintra-wedge, multi-tile) per bit depth + superres-mode alias; 9 coverage testsAhmet Kaan Gümüş · e148046Browse files
fix(av1): SB-level 1:4 gate is GREEN on current main -- plus two main-red pins (nz_map test read the abandoned transposition, 1:4 coverage hole closed)Ahmet Kaan Gümüş · 7820978
fix(av1): SB-level 1:4 gate is GREEN on current main -- plus two main-red pins (nz_map test read the abandoned transposition, 1:4 coverage hole closed) r1's red 16x64 gate was a STALE BASE, not a defect: rebasing lane-tx64x16 from dc5553f onto main (5811ec5 -> 6d86d3a) turns `a_real_aomenc_stream_with_a_superblock_level_1to4_partition_decodes_pixel_exact` green with no change to the 1:4 wiring, and the r1 suite's "17 failures" drop to 2, neither of them this lane's: - `decode::tests::nz_map_ctx_offset_tables_match_the_rect_rule` (RED on main, not on this branch's diff): the test read `NZ_MAP_CTX_OFFSET_32X64/_64X32` as `[col][row]` (lane-rectsplit r2's column-major premise, later disproved and reverted) while the tables and their only real consumer -- `base_ctx`'s `TxClass::TwoD` arm, decode.rs:1829 -- are display-major `[row][col]`. Read in the consumer's order; table content untouched, so every merged rect gate keeps the reading it is green under. - `gate_coverage::tests::never_exercised_8bit_matches_the_gate_recipes`: this lane's gate passes `--enable-1to4-partitions=1` at 8 bit, so the 8-bit hole is retired; the 10-bit entry stays and now says so. Rebase conflicts resolved keeping BOTH SB partition arms (main's AB arms from part32 r4 and this lane's HORZ_4/VERT_4), with `reduced_tx_set` threaded into the 1:4 `decode_block_rect64` calls; the unreachable `_` arm now refuses an out-of-range partition value instead of the (now coded) 1:4 pair.
test(av1): gate coverage sees default-on tools and non---enable-* spellingsAhmet Kaan Gümüş · 32a6763
test(av1): gate coverage sees default-on tools and non---enable-* spellings Third instance of tool-disabled-in-every-gate: the derivation read "--enable- only, so tools aomenc has on by default and the gates pin off through another spelling were invisible -- --enable-tx-size-search=0 (34/41 8-bit gates, the pin behind lane-ab16's real-stream PANIC), --loopfilter-control=0, single-tile --tile-columns/--tile-rows, --cpu-used. DEFAULT_ON_TOOLS (10 entries: tool, aomenc spellings, default, on-rule) plus NEVER_ON_8BIT (6) / NEVER_ON_10BIT (7) pinned per bit depth under the unchanged 'defaulted means unknown' rule, with the off/defaulted split in each reason. ALIASES maps --superres-mode onto enable-superres, which retires the two enable-superres entries covbd deferred. Print helper extended. gate_coverage 9/9, refusal_inventory 3/3.
Merge branch 'lane-hidden' (68e6619): every alt-ref gate compares decode-order frames incl. hidden via decode_all_frames_vs_oracle; hidden_arnr_arm (--arnr-maxframes=0) second arms; oracle rung 13 (EC_MODE_MV/stack=) scripted; no hidden-frame defect found (273/0 on branch)Ahmet Kaan Gümüş · 2b7f47fBrowse files
docs(tx64x16): r1 report -- suite totals, ruled-out list, open residueAhmet Kaan Gümüş · afee91cBrowse files
feat(av1): 1:4 partitions at 64x64 (TX_64X16/TX_16X64 luma, 32x8/8x32 chroma) -- wiring lands, gate still REDAhmet Kaan Gümüş · 1dd6e1e
feat(av1): 1:4 partitions at 64x64 (TX_64X16/TX_16X64 luma, 32x8/8x32 chroma) -- wiring lands, gate still RED PARTITION_HORZ_4/VERT_4 wired at the superblock level (four 64x16 / 16x64 strips, libaom's quarter_step + frame-edge break), decode_block_rect64 generalised from a hardcoded 32x32 luma corner to bw.min(32) x bh.min(32), and the two new chroma scans SCAN_32X8/SCAN_8X32 transcribed from libaom's column-major default_scan_32x8/8x32 (conversion validated by reproducing the existing SCAN_16X8 first -- libaom's default_scan_16x8 literal equals this repo's SCAN_8X16, so a naive copy installs the transpose). No new CDF table is owed: av1_get_adjusted_tx_size maps TX_64X16->TX_32X16, get_txsize_entropy_ctx and txsize_log2_minus4 agree for both pairs (TX_64X16 == TX_32X16, TX_32X8 == TX_16X16), av1_scan_orders gives TX_64X16 default_scan_32x16, and av1_nz_map_ctx_offset[TX_64X16] IS av1_nz_map_ctx_offset_32x16. The transform primitives were already generic (charter premise was stale): inverse_transform_2d_typed_wh already zeroes past 32 on a 64 axis, already skips the sqrt2 scale at 4:1, and row_shift_wh already matched inv_shift_64x16/inv_shift_32x8. The gate (a_real_aomenc_stream_with_a_superblock_level_1to4_partition_...) FAILS: seed 73's four real 16x64 VERT_4 strips mismatch ffmpeg (10754 luma samples, first at (64,56), across the deblock edge above the strips), stream pinned at crates/ec-av1/fixtures/tx64x16-vert4-mismatch-seed73.obu. The skip-case VERT_4 decodes pixel-exact. Refusal string narrowed but NOT proven lifted -- see lanes/tx64x16-r1.report.md for the ruled-out list and the pre-existing seed-55 defect this recipe also exposes.
Merge lane-inter8 r3 (89945ba): EC_MODE_VAL leaf instrument, inter_sb_none_gate params, ignored tile-column arm; 10-bit twin pinned to the leaf interp-filter read (lane-gmaffine)Ahmet Kaan Gümüş · 628d9cbBrowse files
Merge branch 'lane-scaledref': compound/OBMC/interintra under scaled references; WARPED_CAUSAL alphabet dropped when the ref is scaled (was silent wrong pixels); one-sided chroma OBMC for 8x8 luma; EC_PROBE_OUT (verifier PASS, 268/0/23)Ahmet Kaan Gümüş · ea8bda8Browse files
fix(av1): SB-level HORZ/VERT split-transform strips -- transposed rect nz_map offset read AND an eob_pt chroma CDF transcribed from libaom's 1D-class rowAhmet Kaan Gümüş · fdfb8e3
fix(av1): SB-level HORZ/VERT split-transform strips -- transposed rect nz_map offset read AND an eob_pt chroma CDF transcribed from libaom's 1D-class row Two defects, the first hiding the second behind a named refusal. 1. base_ctx read av1_nz_map_ctx_offset's rect tables [row][col]. libaom indexes them by coeff_idx = col * 32 + row (get_nz_map_ctx_from_stats decomposes col = coeff_idx >> bhl, bhl = log2 of the ADJUSTED height = 5 for TX_64X32 and TX_32X64), so 32 consecutive flat entries are one COLUMN and the cdf.rs 5x5 transcriptions are [col][row]. Reading them [row][col] is the transpose = the other shape's rule with 11 and 16 swapped. Now states libaom's generating rule (txb_common.h:199-209) directly, as base_ctx_rect already did, with a unit test over the whole 5x5 domain of both shapes. 2. EOB_PT_512_CHROMA came from av1_default_eob_multi512_cdfs[q][plane][1] -- the eob_multi_ctx = 1 (V_DCT/H_DCT) row, flat and q-independent -- not the 2D row, which has the usual four q-context variants. The first real 32x16 chroma transform read eob_pt group 8 (eob 103) where aomdec read group 3 (eob 3) at identical msac range. This is what made seed 43 of the merged SB HORZ/VERT gate RED in r3 once (1) was fixed; before that the stream exited through a refusal 13 elements earlier and the gate scored it as a pass. Refusal lifted: "a superblock-level HORZ/VERT strip with a split transform (per-unit rect prediction is not ported)" -- gate (b) a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact un-ignored and green with its per-attempt SB-interior-TU counter. Gates: (a)(b)(c) + merged SB HORZ/VERT + filter-intra strip + inventory/coverage green; full lib suite 272 passed / 0 failed / 23 ignored. Third leg (lane-tx64x16's --min-partition-size=16 --enable-1to4-partitions=1 sweep, seeds 42..81): 33 exact, 7 named refusals, 0 mismatches -- seed 55's 3944 wrong luma samples are gone. The ReelB mid-film extract now advances past this refusal to PARTITION_HORZ_4.
test(av1): every alt-ref gate now compares hidden frames -- decode-order compare at 13 sites + an --arnr-maxframes=0 second arm; finding: the gates' own recipes emit ~0 hidden frames (5 across 281 attempt-streams), the arm emits 1-3 each and all are pixel-exact; oracle rung 13 (EC_MODE_MV + EC_MODE_VAL stack=) lifted out of the hand-patched build tree into instrument-aom-oracle.shAhmet Kaan Gümüş · 33130e2
test(av1): every alt-ref gate now compares hidden frames -- decode-order compare at 13 sites + an --arnr-maxframes=0 second arm; finding: the gates' own recipes emit ~0 hidden frames (5 across 281 attempt-streams), the arm emits 1-3 each and all are pixel-exact; oracle rung 13 (EC_MODE_MV + EC_MODE_VAL stack=) lifted out of the hand-patched build tree into instrument-aom-oracle.sh
Merge main 06d856d into lane-palette2Ahmet Kaan Gümüş · 2b5b4fa
Merge main 06d856d into lane-palette2 decode.rs reconstruct_rect: keep the lane's PALETTE_PRED override wrapper, with main's EC_DEBUG_EDGES trace moved inside the else after edges_rect. refusal_inventory: main's list minus the screen-content palette string (this lane lifted it), plus the lane's two palette strings; main's 1:4 SB string kept.
docs(rectx): r5 report -- mi-exact mode neighbour for every kf_y_mode reader, 32-mi reach stride, chroma-only residue localisedAhmet Kaan Gümüş · eb6a140Browse files
docs(sub8): round 6 report -- per-tile mi maps, 3-arm gate, suite 269/0/22Ahmet Kaan Gümüş · 47ca477Browse files
docs(inter8): r3 report -- 10-bit desync pinned to the leaf's post-mv mode info, tile-band audit, two ablated candidatesAhmet Kaan Gümüş · 1c02f8f
docs(inter8): r3 report -- 10-bit desync pinned to the leaf's post-mv mode info, tile-band audit, two ablated candidates Suite on this branch: 270 passed / 0 failed / 25 ignored.
fix(av1): eob_pt class-1 CDF row existed only for two luma sizes -- every chroma (and 16x16+) 1D-class transform read the 2D tableAhmet Kaan Gümüş · d1963fa
fix(av1): eob_pt class-1 CDF row existed only for two luma sizes -- every chroma (and 16x16+) 1D-class transform read the 2D table
lane-gmaffine r4. libaom's av1_default_eob_multi*_cdfs are
[q][PLANE_TYPES][2], the second index being eob_multi_ctx = (tx_class ==
TX_CLASS_2D) ? 0 : 1. This crate carried that class-1 row for
eob_pt_16_luma and eob_pt_64_luma only; 14 of the 16 TxbSet arms passed
eob_pt_class1: None and silently read the 2D row.
It bites on every INTER block's chroma, because chroma never codes a
tx_type symbol -- it inherits the colocated luma type verbatim
(av1_get_tx_type, blockd.h:1291). The two 8x8-leaf motion gates code
H_ADST luma, so their 4x4 chroma is class 1: right eob value, wrong
interval, desync one symbol later, surfacing as bogus partition refusals
('an inter partition below 16x16 other than SPLIT', 'a partition below
8x8').
Measured: EC_TRACE_COEFF ladder vs instrumented aomdec on the globalmv
gate's own 8-bit cq32 stream -- first divergent element is the chroma
4x4 eob of leaf mi=(6,4), both entering at rng=37748 and decoding
eob=16, ours leaving at 35080 vs aomdec's 54536. All four gate streams
now decode all 24 frames.
Also: warp is per PLANE and libaom's av1_init_warp_params bails out at
block_width/height < 8, so an 8x8 leaf's 4x4 chroma is predicted
translationally even when its luma warps -- guarded at both warp sites.
Both 8x8 motion gates remain RED on PIXELS now, not refusals: luma
byte-exact on all 24 frames, U/V off by +-1..3 in the three 4x4 chroma
blocks whose luma tx_type is the 1D-class H_ADST (leaves mi (6,4),
(8,4), (10,4), none of them warped or global). Suite 271 passed, 2
failed, 24 ignored.Merge branch 'lane-txselect': inter TX_MODE_SELECT var-tx (txfm_split tree, TXFM_CTX_INIT=64, per-leaf residual), eob_pt class-1 rows above 8x8; gates 8/10-bit green (verifier PASS, 269/0/23); fmt-only churn dropped, main's uv_tx_grid chroma deblock keptAhmet Kaan Gümüş · 4463654Browse files
fix(av1): the mi-granular mode maps are per TILE -- tile-relative guards + per-tile/row resetAhmet Kaan Gümüş · 91b5f76
fix(av1): the mi-granular mode maps are per TILE -- tile-relative guards + per-tile/row reset sub8_mode_col/row and uv_mode_col/row were read with a frame-relative availability guard (mi_r > 0 / mi_c > 0) and never cleared, so the first block of a second tile column/row read the previous tile's recorded (row, mode) entry as its own neighbour: wrong intra-mode context and wrong chroma edge-filter type. Verifier repro (128x64, --tile-columns=1, seeds 207/228) mismatched 221 and 158 bytes, every one at x>=64; both streams now decode pixel-exact. decode_leaf_rect also records its own span in those maps (the caller patched only the coarse 16x16 slot, so a neighbour of the top strip read the bottom strip's mode). Gate: three arms (single tile, --tile-columns=1, --tile-rows=1), tile_hits delta >= 2 asserted on the tile arms, the Err arm now panics on any decode error that is not a named "unsupported: " refusal, and the lavfi noise fixture carries all_seed so (seed, cq) names one exact stream. Reverting the guard+reset hunks makes that gate FAIL (U plane, seed=139 cq=12).
Merge lane-rectsplit 4c3389a: per-attempt gate counters on the three rect-split gates, EC_NZOFF_DUMP/EC_SBPART_DUMP64 instruments, SB split-tx refusal kept (r2's nz_map transposition disproved by the merged SB HORZ/VERT gate); decode_probe dump kept main's versionAhmet Kaan Gümüş · f9e482fBrowse files
Merge lane-inter8 12809b2: interior 16x16 SPLIT into 8x8 inter leaves; mi-granular inter neighbour bands; three leaf-context defects (fabricated compound refs, sibling override, comp ctx corner) + compound-arm tail; 8-bit 8x8-leaf gate green (verifier PASS, 269/0/23); conflict = keep mi index + main's segment_id readAhmet Kaan Gümüş · f822a4cBrowse files
fix(av1): rect has_tr/has_bl row stride is 32 mi (MAX_MIB_SIZE_LOG2=5), not 16 -- r4's '4 - bw_log2' halved it and every table row but the first read the wrong byte; pinned by a bijection test over a whole superblock walkAhmet Kaan Gümüş · b4af125
fix(av1): rect has_tr/has_bl row stride is 32 mi (MAX_MIB_SIZE_LOG2=5), not 16 -- r4's '4 - bw_log2' halved it and every table row but the first read the wrong byte; pinned by a bijection test over a whole superblock walk
Merge branch 'lane-hbdgates': 10-bit gates for filter/smooth/paeth intra, intra-edge-filter, rect+ab partitions; ten_bit_tool_gate driver; gate_coverage drops ignored gates (279/0/24 on branch); 10-bit LR gate un-ignored on the merged treeAhmet Kaan Gümüş · 8c9548c
Merge branch 'lane-hbdgates': 10-bit gates for filter/smooth/paeth intra, intra-edge-filter, rect+ab partitions; ten_bit_tool_gate driver; gate_coverage drops ignored gates (279/0/24 on branch); 10-bit LR gate un-ignored on the merged tree NEVER_EXERCISED_10BIT keeps the union of both removals: main's three (restoration, dist-wtd-comp, global-motion, closed by lane-hbdinter and lane-cwarp) and hbdgates' six (filter/smooth/paeth intra, intra-edge-filter, rect and ab partitions). gate_bodies()/is_ten_bit() take hbdgates' versions (ignored gates excluded, helper-built recipes recognised). a_real_aomenc_10bit_restoration_stream_decodes_pixel_exact was #[ignore]d on the branch because hbdgates' base lacked main's 10-bit LR fix (SGR box-sum scaling, Wiener clamp). On the merged tree it passes 16/16 attempts pixel-exact, lr_hits=28, so the #[ignore] is removed.
fix(av1): revert r2's nz_map transposition -- it regressed the merged SB HORZ/VERT partition gate; SB split-tx refusal restoredAhmet Kaan Gümüş · 429edc6
fix(av1): revert r2's nz_map transposition -- it regressed the merged SB HORZ/VERT partition gate; SB split-tx refusal restored r3 ran the gates r2 never reached. r2's claimed root cause (base_ctx reading the rect av1_nz_map_ctx_offset tables [row][col] instead of [col][row]) turns the split-transform SB gate green at the cost of turning the MERGED gate a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_decodes_pixel_exact RED at seed 43. All four index/shape combinations measured; two fail both. The real unknown is the orientation of (row,col) out of the square 32x32-corner scan vs libaom's column-major coeff_idx, so the SB-level split-transform refusal is restored and gate (b) is #[ignore]d again with that reason. Kept from r2: per-attempt gate counters (no vacuous pass from a stream that later refuses), the SB-interior-TU counter gate (b) asserts, the chroma shape guard justification, gate (c)'s corrected recipe comment, the nz_map table packing pin, and the EC_NZOFF_DUMP / decode_probe dump instruments.
docs(av1): lane-palette2 r9 report -- GREEN, merge resolution + palette prediction on a split-tx rect stripAhmet Kaan Gümüş · e0183b2Browse files
feat(av1): localize the 10-bit 8x8-leaf desync to the leaf's post-mv mode info; tile-band auditAhmet Kaan Gümüş · aba325a
feat(av1): localize the 10-bit 8x8-leaf desync to the leaf's post-mv mode info; tile-band audit lane-inter8 r3. Instrumentation: `EC_MODE_VAL` in `decode_inter_block8`'s compound arm, byte-format-identical to the oracle's rung-4 line, plus (in the oracle tree, not in scripts/) `EC_MODE_MV` right after libaom's `assign_mv` and `stack=` on its `EC_MODE_VAL`. With those, the 10-bit twin's first divergent element is pinned: on the compound 8x8 leaf mi=(4,14) the entry range (37004) and the post-mv range (57308) are IDENTICAL to aomdec, as are mode=20, ref0=1, ref1=4, mv0=(0,-9) and mv-stack size 2. The divergence is strictly in the leaf's post-mv mode info, where the only symbol aomdec reads for a compound 8x8 leaf is read_mb_interp_filter -- which decode_inter_block8 never reads (it hardcodes Regular, decode.rs:11181). Class symbol-consumption-gap. lane-gmaffine r3 owns that read (0b8cb54); a cherry-pick onto this branch conflicts, so it is left to merge from there rather than duplicated. 8-bit ladder re-measured: 57/57. 10-bit: 41/57. Tile audit (lane-sub8 verifier's class warning): every reader of the mi-granular inter bands guards tile-relative (zero `mi_r > 0`/`mi_c > 0` hits in decode.rs; the leaf uses tile_row0_mi/tile_col0_mi), start_tile resets the above mi bands over the tile's own mi column span, start_row resets every left mi band. The `--tile-columns=1` gate arm added to prove it at runtime is RED for an unrelated reason (128x64 makes aomenc code an SB-level rect partition on the key frame: lane-sbpart's arm) and is ignored with that reason spelled out.
docs(gmaffine): r3 report -- lane-inter8 merged, SUB-vs-mi context index fixed, next divergent leaf namedAhmet Kaan Gümüş · 154097bBrowse files
fix(av1): 8x8 leaf read its single_ref and interp-filter neighbour contexts at SUB(16px) indices after the bands went mi-granularAhmet Kaan Gümüş · 7250c10
fix(av1): 8x8 leaf read its single_ref and interp-filter neighbour contexts at SUB(16px) indices after the bands went mi-granular lane-gmaffine r3, on top of the lane-inter8 merge. `decode_inter_block8` still indexed `neighbours.above_ref/above_ref1/above_filter` with `c` and `left_*` with `r` -- `outer_at`, the enclosing 16x16's SUB(16px) coordinates -- while every other read in the same function had moved to `cmi`/`rmi` (mi, 4px) with lane-inter8 r2's mi-granular bands. Wrong units, so a leaf's `read_single_ref` p1..p6 contexts and its `switchable_interp` neighbour rows came from an unrelated 16px column/row. Measured on the gate's own recipe (--min/--max-partition-size=8, gm and warp both off, 8-bit cq32): aomdec's EC_MODE_VAL ladder and ours agree on mode, mv, ref and range for the 16 leaves of the first 32x32 up to (6,4); leaf (6,6) had identical mode/mv/stack but post-mode-info range 41953 vs aomdec's 38345 -- the divergence sat after the mv, in the filter/ref tail. With mi indices that leaf and the next 15 now match to the range. Instrument kept: `EC_MODE_VAL8` under EC_TRACE_MODE, one line per 8x8 leaf (newmv/globalmv/ref0/mv/stack/rng), diffable against aomdec's EC_MODE_VAL. Both 8x8 motion gates are still RED: the next divergence is leaf mi=(0,14) of the same frame, where aomdec reads NEWMV (mv 0,-12) and we read not-new from a 3-entry stack.