forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-10-03

lane-av1muchroma: size decode_block's skip-arm chroma grid per axisAhmet Kaan Gümüş · 66fb257
lane-av1muchroma: size decode_block's skip-arm chroma grid per axis

The `chroma_side * chroma_side` mu-chroma sites split in two once measured.

Under decode_inter_block `chroma_side` is `(side >> ss_x).max(side >> ss_y)`
-- the ENCLOSING square lane-av1-422j introduced -- so at 4:2:2 those eleven
sites allocate 2.0x their per-axis extent: oversized, never short. The
block-tail mu_chroma_units replay strides the assembled grid by chroma_side,
so the square IS the writer/reader contract there; shrinking sites 11/12 to
chroma_w * chroma_h reds two pinned gates. Left alone.

decode_block has its own binding, `side >> ss_x`, which at 4:2:2 is half the
plane block: site 1 sized a 64x64 block's chroma at 32x32 = 1024 where the
plane block is 32x64 = 2048. Latent, not live -- the only consumer reduces the
plane through neighbour_state, which sums the slice and reads grid[0], and a
skip block is all zeros -- but an allocation half the block it names traps
the next per-row consumer. Sized per axis.

Gate: s422_322x240.obu, the smallest 4:2:2 fixture that reaches the site, with
two paired counters. skip_arm_chroma_rect_shapes is the non-vacuity arm (it
fires only where per-axis and square differ); skip_arm_chroma_short_samples
reads the allocation's real length and must stay 0. Restoring the square reds
it by 64 samples. A first draft keyed the counter on `chroma_side !=
chroma_height` and did not bite -- that proxy was replaced by the
length measurement.

Reachability, from an env-gated probe over the pinned 4:2:2 corpus (10
fixtures) and the 51 4:4:4 gates: sites 4/7/10 are guarded ss_x == 0 && ss_y
== 0, so 4:4:4 only -- unreachable at 4:2:2 structurally. Sites 2/8 are the
side > 64 mu-chunk walks: live at 4:2:0 and 4:4:4, unreached at 4:2:2, and
sound where they sit, so no fix was invented for the unwitnessed case. Sites
3/5/6/9/11/12 are reached and already correct.

palette_uv_side and the floor-> chroma plane allocators are untouched and
named still-open in the report.