forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to lanes/av1intrabc.report.mdClear filter

2026-09-23

av1intrabc: merge-side follow-ups (merged-tree gates, probes, suite evidence)Ahmet Kaan Gümüş · b8ca533
av1intrabc: merge-side follow-ups (merged-tree gates, probes, suite evidence)

Gates and probes on the merged tree at daf83f3a: cargo check 0 warnings;
both-orientations gate green at 1 and 4 recon threads; rect14 five gates
5/0; refusal suite 21/0; ten-probe byte-exactness sweep all green.

Full suite attempt 1 hit the known aomenc pipe-drain infra deadlock
(write_all before wait_with_output) at the intra-16x4-strips gate after
603 passes; killed only the stuck aomenc child, suite drained 603/1/60,
and the killed-child test passed twice standalone (84.51s, 84.46s) with
its in-suite decode verdict already 3/3 pixel-exact: 604/0/60 effective
on the committed bytes. Carried deferrals recorded; loss64 + 444 lanes
still in flight.
lanes: record av1intrabc r4 verification (stream B exact, suite 599/0/60)Ahmet Kaan Gümüş · 18f1d15
lanes: record av1intrabc r4 verification (stream B exact, suite 599/0/60)

Re-measured db15bb5a. Streams A and B are byte-exact against ffmpeg.
Unblock gates, refusal/mono/444/qmatrix/cdf, and wave-1 probes are green.
Suite: 599 passed, 0 failed, 60 ignored.

2026-09-20

ec-av1: rect intrabc r4 -- publish every block's footprint into the intrabc mv gridAhmet Kaan Gümüş · e9e3a48
ec-av1: rect intrabc r4 -- publish every block's footprint into the intrabc mv grid

The DV predictor of a later intrabc block is libaom's INTRA_FRAME MV stack,
built by scans that walk `xd->mi[]` -- an entry for EVERY coded block -- and
step by `mi_size_wide/height[candidate->bsize]`. This decoder's grid held only
the intrabc blocks, so a non-intrabc neighbour read as `None`, the scan
advanced that cell by one instead of by its real width, and at mi(84,104) of
the 512x384 testsrc2 cq45 arm the row scan's extended offset -3 over-reached
from libaom's last probe (81,106) to (81,108). The extra -512 vote (weight 16)
flipped the sorted stack, so `nearestmv` became -512 where libaom's is -520:
one whole-pel-wrong skip=1 copy, 528 wrong luma samples.

`MiGrid` gains a block-COVERAGE map (`cover_rect`) filled for every coded
block from `Neighbours::fill_lf_grid_rect`, and `get` synthesizes a non-inter,
zero-MV entry from it, which `single_ref_match` never matches but the scan
still steps by. An unfilled cover reads as uncovered, so the tile writer's own
grid and every synthetic test grid keep their old behaviour exactly.

Stream B is byte-exact; stream A stays byte-exact. New gate
`a_coded_rect_intrabc_block_reconstructs_in_both_orientations` (HORZ coded,
VERT coded -- the regression stream -- and TX_MODE_SELECT), with a new
coded-orientation instrument; it fails pre-fix at the VERT arm.
ec-av1: rect intrabc r3 -- key-frame txfm-band publication for rect strips, frame reduced_tx_setAhmet Kaan Gümüş · 3b06ab7
ec-av1: rect intrabc r3 -- key-frame txfm-band publication for rect strips, frame reduced_tx_set

Two frame-level root causes behind the two remaining red arms of lane-av1-intrabc.

1. The key-frame 2:1 rect readers (decode_block_rect, decode_leaf_rect,
   decode_block_128rect) never published the TXFM_CONTEXT bands, so the
   var-tx context an intrabc block reads was stale. publish_txfm_bands_if_in_inter
   now also fires on an allow_intrabc key frame and the three readers call it.
   The 256x192 testsrc2 cq45 var-tx arm is byte-exact again.

2. decode_key_frame_tile_with_cdfs never published the header's
   reduced_tx_set into fctx.reduced_tx_set_inter, so a rect intrabc block
   (is_inter_block) read the reduced 2-symbol tx_type CDF instead of the
   16-symbol ALL16 row. The 512x384 cq45 arm went 7900 -> 528 luma samples.

Remaining (reported in lanes/av1intrabc.report.md 4c): that arm's only
residual difference is the DV VALUE at mi(84,104) (-504 vs -512, same
post-read range), i.e. our intrabc INTRA_FRAME mv-stack candidate ordering
differs from libaom's. Lane is NOT merge-ready; suite run deferred.
ec-av1: rect intrabc review round 2 -- square residual stride, per-leaf LF grid, frame-level tx_mode keyAhmet Kaan Gümüş · d5adb7a
ec-av1: rect intrabc review round 2 -- square residual stride, per-leaf LF grid, frame-level tx_mode key

Reviewer findings on the rect-strip intrabc port:

- P1-2 (panic): the rect residual and its prediction window now use the
  proven INTER path's square stride (bw.max(bh) / cw.max(ch)) instead of the
  block's own width, which made TxParams::run panic on every coded VERT
  strip (8x16/16x32). The dense mc prediction is re-laid at that stride.
- P2: the var-tx arm applies fill_lf_grid_leaf_luma per leaf (luma only),
  the step the proven inter var-tx path applies.
- P1-1 (partial): the intrabc tx-size read keys on a new frame-level
  fctx.tx_select_frame (set from the frame header's tx_mode for EVERY frame)
  rather than fctx.tx_select_inter, which the key-frame tile decoder forces
  false. Measured: the var-tx arm now fires on the reviewer's encode.

Status: NOT merge-ready. Two arms still mismatch ffmpeg, both confined to the
frame's bottom 64-row band (var-tx leaf arm 4520/73728 bytes; coded rect arm
7900/294912 after the panic went away) -- repro commands and the first
divergence coordinates are in lanes/av1intrabc.report.md 4b. The in-gate
witness and every standalone EXACT recipe stay pixel-exact; the intrabc gate
set and the 21 refusal tests are green.
ec-av1: intrabc on HORZ/VERT 2:1 rect strips reconstructs (decode_intrabc_rect)Ahmet Kaan Gümüş · a4e3e6e
ec-av1: intrabc on HORZ/VERT 2:1 rect strips reconstructs (decode_intrabc_rect)

The rect-strip intrabc refusal is lifted for the 2:1 shapes: whole-block
prediction (luma + both chroma planes at av1_get_max_uv_txsize), skip and
per-transform-unit residual readers over the real rect tables, and the same
bookkeeping shape as the square intrabc path (DC_PRED mode, coefficient
contexts, zeroed palette state, skip/LF grids, DV into the intrabc mi grid).

Witnesses: the key-frame gate's testsrc2-cq50-txs0 arm (flipped from a
refusal pin to a witness -- 1 rect-strip intrabc block, pixel-exact vs
ffmpeg) plus standalone recipes exercising 16x8 (residual, skip=0), 8x32
through decode_block_rect4, and a 16x8+8x32 pair.

Still named: the 1:4 pair strips (their chroma comes from the pair's
top-left mi and its coefficient state spans the pair) and the mixed-leaf
var-tx square path (census-pinned unreachable).