forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-09-30

lane-av1422losslesspanic: the --lossless=1 4:2:2 panic is a family of five extent sites, not a one-liner; report only, nothing fixedAhmet Kaan Gümüş · 9204526
lane-av1422losslesspanic: the --lossless=1 4:2:2 panic is a family of five extent sites, not a one-liner; report only, nothing fixed

Main asked for a one-line extent fix in read_inter_chroma_lossless. Measured,
it is not one line, so the tree is back at ef9d7c97 and this commit carries
the site inventory instead.

Reproduced on all three --lossless=1 4:2:2 cells (W_intrabc 130320 B,
X_intrabc_tiled 131696 B, Y_intrabc_10b 202281 B) at decode.rs:37565,
'range end index 20 out of range for slice of length 16'. Instrumented
geometry at the failing call: reg=(4,16) blk=(4,16) stride=4, 64 elements
needed against the square's 16.

4:2:2-only because decode_inter_block hands the caller the per-axis
(chroma_stride, chroma_buf_h) pair at ss (1,0) and the square at 4:2:0 and
4:4:4. Discriminator measured: four 4:2:0 lossless recipes are byte-exact or
refuse by name and never reach the line, the six a_lossless_444_* gates
pass, and the committed 4:2:2 lossless IBC pins decode exact -- so the gap
is lossless INTER 4:2:2 specifically.

Applying sites 1-3 in turn walks the panic forward through the inventory:
  1. decode.rs:37580  mu_units(stride*stride) -> stride*blk_h
  2. decode.rs:45037  unit split indexed at chroma_side -> chroma_stride
  3. decode.rs:45023  unit rows/cols from the luma-per-ss height -> chroma_buf_h
  4. decode.rs:39995  4:2:2 strip chroma rect handed the 4:2:0 pair's (8,4)/(4,8)
  5. decode.rs:4366  4x4 CHROMA unit read at prediction strides 128 and 64,
                     failing prediction buffer empty -- not reached, measured
Each is format-preserving at 4:2:0 and 4:4:4. Site 4 changes chroma_stride
and chroma_buf_h for the whole of decode_inter_block at 4:2:2 including the
lossy arms that currently measure byte-exact; site 5 is the chroma
prediction source never having been resolved per axis on this path.

Sites 1-3 are reverted. No cell decodes byte-exact with them, and a partial
fix here would convert a loud panic into a plausible wrong picture on a path
no gate covers. No gate committed either: a gate whose only red is 'still
panics' is a ratchet on a defect, not a fix.

The height-242 4:2:2 divergence is untouched and still open, not chased.