forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-09-26

ec-av1: lane-av1-422bigblock review close -- the 128-rect walk reshaped onto the reviewed 349b3918 expression form and the report's 4:4:4 evidence made honestAhmet Kaan Gümüş · c818774
ec-av1: lane-av1-422bigblock review close -- the 128-rect walk reshaped onto the reviewed 349b3918 expression form and the report's 4:4:4 evidence made honest

Review findings closed: the decode_block_128rect chroma walk now uses the
same ss-parameterized expression the reviewed lane-av1-444sb fix (349b3918)
landed -- cn = ((64 >> ss_x)/chroma_tx).max(1) for the width axis with the
added cn_h = ((64 >> ss_y)/chroma_tx).max(1) for the height axis, per-axis
(64 >> ss) chunk offsets and (16 >> ss) clamp strides -- so at ss(0,0) this
lane's code reduces line-for-line to that reviewed form and the eventual
merge of the two chains is a semantic union, not a conflict; at ss(1,0) the
two axes' counts part ways (1 x 2 stacked TX_32X32).

The 444_sb128rect_lr_witness (sha 27825e14) was decoded on this tree: its
output is byte-identical to the parent commit's on the same stream (measured
by stash-and-rebuild, all three frames), so the rewrite is proven
output-neutral on it; the stream still diverges from aomdec identically
before and after because this branch predates the 444 chain's chroma-context
fixes (9e77c16b, 76f8c3fe) and the desync starts at frame-0 Y sample 128,
before the first 128-rect block ever fires -- 349b3918's own frames-0/1 gate
remains the merged-tree pin.

Report corrections: the lossless sb128 gate is a 4:2:0 stream (seq_profile 0
in the fixture bytes) and is relabeled as such -- it never proved 4:4:4; the
4:4:4 behavior change of the 128rect rewrite (parent was assert-broken
there) and the ceil-vs-floor half-width edge of the RefPix three-way
inference at odd reference dimensions are now disclosed in the report.
ec-av1: lane-av1-422bigblock -- the 128-root 4:2:2 chroma chunk de-square-cut on the per-axis plane-block model and the reference plane resolution taught the third subsampling shapeAhmet Kaan Gümüş · c74c912
ec-av1: lane-av1-422bigblock -- the 128-root 4:2:2 chroma chunk de-square-cut on the per-axis plane-block model and the reference plane resolution taught the third subsampling shape

Both witnessed defects are fixed and both pinned witnesses decode pixel-exact
vs aomdec on the local EC_AV1_ALLOW_422_PROBE patch-run-restore build.

Defect 1 (422_allskip_2f.obu) does NOT reproduce at this HEAD: the block-half
port already entropy-locks it -- all 20 key-frame coefficient units pair
rng-for-rng with the instrumented oracle and the all-skip inter frame reads
zero units on both sides; the shown frame is byte-identical to aomdec.
Re-verified, no change needed.

Defect 2 (422_sb128_3f.obu, the f2 128x128 PARTITION_NONE non-skip inter
block) had three stacked causes under the historical range-end panic:
decode_inter_block's mu-chunk chroma walk cut each chunk's 32x64 chroma into
a chroma_side-square 64x64 (twice the oracle's 16 units, 8 per plane, 2
stacked per chunk) -- now per-axis with per-unit luma spans through
around_mi_rect and per-axis record_mi_chroma; the unit prediction window was
indexed at the square chroma_side instead of the buffer's own chroma_stride
(the empty-slice densify panic) -- now the real stride while the assembled
grid keeps the square stride the block-tail re-stamp already indexes; and
RefPix::planes guessed every non-4:4:4 reference quarter-height, so inter
prediction off the slot read a clamped row-63 edge over chroma rows 64..127
-- now a three-way length inference (luma-sized, half-width, quarter) that is
exact for every dimension.

Defect 3 (s2.obu crash, via parent IRC): the same class in
decode_block_128rect's intra chroma walk -- square cn, chunk offsets and
clamp strides, square around_mi/tu_reach -- now per-axis; s2 decodes all 16
frames with no panic. Its remaining frame-0 divergence is named in the report
for the owning lane: an entropy desync from coefficient unit 38, a plane-2
TX_4X8 chroma unit at mi(12,24) (oracle 1089 units, ours 541), the sub-8
4:2:2 class, pre-existing -- the base tree panics at frame 0 and never
produced pixels. decode_intrabc_128rect carries the same square-cut walk
unwitnessed; deferred with its unblock named in the report.

4:2:0/4:4:4 identity: the 10-bit inter sequence gate, the two-tile-rows
aomenc gate, the 4:4:4 lossless sb128 gate and both 128-root encoder
round-trip gates are green; t422 frame 0 stays byte-exact vs the instrumented
oracle at PREFILT, POSTDEBLOCK, POSTCDEF and FINAL on all three planes.
Both witnesses are pinned with git add -f and gated by
the_pinned_422_bigblock_witnesses_are_present_and_refuse_by_name (byte pins
plus the unconditional refusal-by-name contract; the decode-level assertions
are probe-measured and reproducible from the report's recipe because
decode_stream still refuses 4:2:2 unconditionally). cargo check: 0 warnings.