forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-09-28

2026-09-24

lane-av1-444: 10-bit film regression fix -- sub8 group uv stamps gated !chroma_444 && !intra_chroma (port of lane-av1-cfl 7c6dad53); three same-class per-unit chroma re-stamps (decode_rect_split chroma_tiled, decode_block_rect64 bigger arm, read_inter_rect_chroma multi arm -> mu_chroma_units replay); report continuation 8 attribution corrected: both 10-bit film gates are THIS LANE's regression (fail at 1ad7e0fc/b9530604, pass on main 73f3ac64), now greenAhmet Kaan Gümüş · f6ca882
lane-av1-444: 10-bit film regression fix -- sub8 group uv stamps gated !chroma_444 && !intra_chroma (port of lane-av1-cfl 7c6dad53); three same-class per-unit chroma re-stamps (decode_rect_split chroma_tiled, decode_block_rect64 bigger arm, read_inter_rect_chroma multi arm -> mu_chroma_units replay); report continuation 8 attribution corrected: both 10-bit film gates are THIS LANE's regression (fail at 1ad7e0fc/b9530604, pass on main 73f3ac64), now green

Gates re-run on lane-av1-444-film (CARGO_TARGET_DIR=~/.cache/cargo-target-av1444film):
- a_10bit_128sb_film_frames_with_warp_cdef_and_interintra_decode_pixel_exact: ok (15 frames pixel-exact)
- a_10bit_film_frames_with_small_side_globalmv_and_rect_warp_reach_decode_pixel_exact: ok (33 frames pixel-exact)

2026-09-23

ec-av1: 4:4:4 inter sub8/64x64 chroma port, entropy ladder end-to-end cleanAhmet Kaan Gümüş · 30614c6
ec-av1: 4:4:4 inter sub8/64x64 chroma port, entropy ladder end-to-end clean

- split4 per-piece chroma inherits the piece's own luma tx_type
  (av1_get_tx_type, blockd.h:1291); fixes the round-4 eob_multi_ctx wall
- rect2 per-piece 8x4/4x8 chroma units (ChromaRect8x4), group unit
  gated to 4:2:0, mode bookkeeping hoisted
- decode_intra_sub8_leaf chroma is per-piece at ss 0/0: 4x4 square and
  own-shape rect units anchored at the piece, uv-mode tx derivation
- 64x64 inter blocks code four TX_32X32 chroma units plane-major with
  the +10 txb_skip offset (rows at +3, lane-sb128b convention)

Fixture: entropy ladder in sync end-to-end (24-frame cut, zero
mismatch); shown frames 0..17 byte-exact; frame 18 carries a 2-sample
U +1 reconstruction diff (pre-filter, prediction identical) - see
lanes/av1444.report.md continuation 5.
ec-av1: 4:4:4 inter sub8 per-piece chroma + edge-clamped contextsAhmet Kaan Gümüş · e21f07c
ec-av1: 4:4:4 inter sub8 per-piece chroma + edge-clamped contexts

- clamp Neighbours::around_mi/around_mi_rect/luma_skip_ctx_rect to the
  frame's true mi_cols/mi_rows extent: libaom's above/left entropy arrays
  are calloc(aligned_mi_cols) and zero beyond the frame, so beyond-frame
  cells contribute nothing (fixture's reconstruct_rect len-64 panic gone;
  all 60 frames decode, exit 0)
- decode_inter_sub8_split4 at ss 0/0: every 4x4 piece codes its own 4x4
  U/V unit right after its luma (is_chroma_reference unconditional at
  ss 0/0), with per-piece MC and record_mi_chroma; the 4:2:0 group unit
  is gated !chroma_444 and the group's uv_mode/palette bookkeeping is
  hoisted to run at both subsamplings
- fixture decode_idx 1 entropy ladder vs instrumented aomdec: first
  mismatch moved 387 -> 925 (all partition_w8 + first 15 chroma TUs now
  bit-identical); current wall = chroma-4x4 eob CDF adaptation source
  (report)
- diagnostics: EC_DBG_SUB8 (per-b8 partition + per-piece decisions),
  EC_TRACE_PART, oracle-side EC_EOBPT_CDF

Regression arms rerun green: 420 square, 444 square filters off/on,
forced-64x64 444; fixture frame 0 byte-exact
ec-av1: 4:4:4 rect/1:4 chroma port (WIP) + byte-exact square witnessesAhmet Kaan Gümüş · a236cd3
ec-av1: 4:4:4 rect/1:4 chroma port (WIP) + byte-exact square witnesses

Square witnesses all byte-exact vs aomdec+ffmpeg (recipes under
$HOME/.cache/av1444/witness_*.sh): 8-bit profile-1 filters off and on,
forced-64x64-block arms (four-TX_32X32 chroma loop), 10-bit profile-2
filters off and on; 420 square arms unchanged (IDENTICAL).

Root causes fixed this round:
- u/v set_tile_origin hardcoded the 4:2:0 halving; at 4:4:4 the clamp
  hid the above/left edges from every chroma block in the right/bottom
  half of a tile (the 36k-diff chroma defect; entropy ladder was fully
  synced, 1596/1596 rng rungs vs instrumented aomdec).
- deblock_plane_span clipped the chroma loop filter to a quarter of
  the plane at 4:4:4 (CDEF/restoration were already exact).
- decode_block single-TU arm codes a 64x64 block's 4:4:4 chroma as
  four plane-major TX_32X32 units (av1_get_max_uv_txsize).

Rect/1:4 4:4:4 port (in progress):
- decode_block_rect4: shape-keyed chroma tables + the
  av1_get_ext_tx_set_type DCT_ONLY clamp (was ADST-at-32 panic).
- read_inter_rect_chroma helper: 64-axis inter strips code two
  plane-major 32-capped chroma units at 4:4:4; both inter rect readers
  use it; read_inter_plane_rect chroma skip_ctx takes the +3 offset.
- decode_rect4_16_strip: no 4:2:0 chroma pair at 4:4:4 -- every strip
  is its own chroma reference (key and inter paths), tables/CfL/edges
  anchor at the strip.

Still open: av1-profile1-444.ivf decodes 24+ frames then panics
(reconstruct_rect len 64 index 64) on a 64x16 intra strip with split
transform -- decode_rect_split's 64-axis chroma at 4:4:4 is next.
Full suite not run.
ec-av1: 4:4:4 luma byte-exact, chroma WIP (lane-av1-444)Ahmet Kaan Gümüş · d6b7cc7
ec-av1: 4:4:4 luma byte-exact, chroma WIP (lane-av1-444)

Sequence header refuses only 4:2:2 now (ss_x != ss_y); 4:4:4 and 4:2:0
proceed. Chroma plane size, tx size, CFL window, loop-filter chroma step
and the 8x8 leaf's chroma unit follow ss_x/ss_y; an 8x8 leaf at 4:4:4
reads 8x8 chroma. Restoration chroma unit size follows ss_x.

Square profile-1 recipe: luma IDENTICAL vs aomdec+ffmpeg both frames
(0/16384 diffs); chroma 37389/98304 diffs, first at U (112,0) inside the
64x64 block at (64,0) which takes the single-TU arm but codes four
TX_32X32 chroma units at 4:4:4 (av1_get_max_uv_txsize). 420 square arm
still IDENTICAL. 4:2:2 stays a named refusal. Full suite not run.