forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on c089dfa995e53574c49e122f8486580e6ecd2bc7

2026-09-27

Merge c5d88f0b (422mi24) — suite green: 422mi24 623/0Ahmet Kaan Gümüş · 80e4cb4
Merge c5d88f0b (422mi24) — suite green: 422mi24 623/0

# Conflicts:
#	crates/ec-av1/src/decode.rs
Merge 05263618 (422blockhalf) — suite green: review PASS 0.86 on 213c1eb0, suite queued READYAhmet Kaan Gümüş · a6aa444
Merge 05263618 (422blockhalf) — suite green: review PASS 0.86 on 213c1eb0, suite queued READY

# Conflicts:
#	crates/ec-av1/src/decode.rs
Merge 1191a48f (422sub8rect) — suite green: 422sub8rect GREEN 623/0 locallyAhmet Kaan Gümüş · abb068f
Merge 1191a48f (422sub8rect) — suite green: 422sub8rect GREEN 623/0 locally

# Conflicts:
#	crates/ec-av1/src/decode.rs
#	lanes/av1422filter.report.md
Merge e93418a9 (ibcskip2) — suite green: ibcskip2-suite GREEN 629/0 23997s on server-3Ahmet Kaan Gümüş · 4df88f7
Merge e93418a9 (ibcskip2) — suite green: ibcskip2-suite GREEN 629/0 23997s on server-3

# Conflicts:
#	crates/ec-av1/src/stream.rs
Merge cc09f390 (444interband) — suite green: 444interband 628/0Ahmet Kaan Gümüş · 64940fd
Merge cc09f390 (444interband) — suite green: 444interband 628/0

# Conflicts:
#	crates/ec-av1/src/stream.rs

2026-09-26

ec-av1: lane-av1422ctxgather -- the 4:2:2 strip chroma entropy context fixed at source: decode_inter_block's pair write and around_c gather kept the 4:2:0 pair span (16,8) for a HORZ strip that at ss (1,0) is its OWN chroma reference, so the strip at mi(8,4) zeroed left[9][1] under the mi(8,2) 8x8 leaf's level 5 and the mi(9,4) strip's U all_zero read one ctx row low (t422 frame 1, the parent lane's anchor; the write span is (16,4) at ss (1,0)); the strip chroma gathers (decode_rect4_16_strip's else arm, decode_inter_block's around_c, read_inter_rect_chroma's chunked units) route through around_mi_422_chroma at ss (1,0) -- one chroma column spans two luma mi at ss_x 1 and the per-mi gather double-counts each column's dc sign; 4:2:0/4:4:4 take the original expressions verbatim (all edits gated ss_x==1 && ss_y==0), lossless 4:4:4 stream gates green, frame 0 of the pinned t422 fixture exact at all ladder stages, the inter divergence drops 10x on frame 1 (Y 23948 -> 1739) with no frame regressed and the residual attributed downstream (first diffs Y (96,240), U (2,44), V (0,44)); the 4:2:2 header refusal stays unconditionalAhmet Kaan Gümüş · 76c3466
ec-av1: lane-av1422ctxgather -- the 4:2:2 strip chroma entropy context
fixed at source: decode_inter_block's pair write and around_c gather kept
the 4:2:0 pair span (16,8) for a HORZ strip that at ss (1,0) is its OWN
chroma reference, so the strip at mi(8,4) zeroed left[9][1] under the
mi(8,2) 8x8 leaf's level 5 and the mi(9,4) strip's U all_zero read one
ctx row low (t422 frame 1, the parent lane's anchor; the write span is
(16,4) at ss (1,0)); the strip chroma gathers (decode_rect4_16_strip's
else arm, decode_inter_block's around_c, read_inter_rect_chroma's chunked
units) route through around_mi_422_chroma at ss (1,0) -- one chroma column
spans two luma mi at ss_x 1 and the per-mi gather double-counts each
column's dc sign; 4:2:0/4:4:4 take the original expressions verbatim (all
edits gated ss_x==1 && ss_y==0), lossless 4:4:4 stream gates green,
frame 0 of the pinned t422 fixture exact at all ladder stages, the inter
divergence drops 10x on frame 1 (Y 23948 -> 1739) with no frame regressed
and the residual attributed downstream (first diffs Y (96,240), U (2,44),
V (0,44)); the 4:2:2 header refusal stays unconditional

2026-09-25

ec-av1: decode_inter_block's 422 chroma half on the per-axis plane-block modelAhmet Kaan Gümüş · e371b57
ec-av1: decode_inter_block's 422 chroma half on the per-axis plane-block model

lane-av1-422blockhalf: per-axis chroma pred buffers and blends, assembled grid stride x height sizing, BLOCK_INVALID 422 chroma as (4,8) unit tiling lifting the frame-11 (4,32) refusal, sub8_rect2 has_chroma per is_chroma_reference. 420/444 byte-identical; t422 frame 0 exact at three stages; frames-1+ blocker reattributed upstream to the mi(8,10) partition dispatch.
ec-av1: lane-av1-422blockhalf -- decode_inter_block's 4:2:2 chroma half on the per-axis plane-block modelAhmet Kaan Gümüş · 8dcaf0a
ec-av1: lane-av1-422blockhalf -- decode_inter_block's 4:2:2 chroma half on the per-axis plane-block model

The chroma prediction buffers (compound and single-ref arms, OBMC plan,
interintra stride, skip pushes, rect/lossless chroma reader strides) take
the plane block's own (side/2, side) shape at ss (1,0) instead of the
enclosing square, and the masked compound blend reads its luma mask
through the plane's real subsampling shifts -- the parent lane's
stop-note direct mask read is gone; 4:2:0/4:4:4 reduce to the parent
expressions verbatim.

decode_rect_split codes the BLOCK_INVALID chroma planes of the tall/wide
1:2 and 1:4 strips as (4, 8) rect units -- the Release oracle's
out-of-bounds max_txsize_rect_lookup[BLOCK_INVALID] byte (TX_4X8,
lane-av1-422m) stepping the plane -- with per-chroma-cell contexts,
mode-indexed intra tx type and per-unit skip prediction (a whole-plane
zero push asked the intra predictor for a 1:8 rect it never builds);
EC_RECTCHROMA_GAP now names only truly-unhandled shapes and prints zero
times on the fixture. read_inter_rect_chroma assembles its block grid at
stride x height, not stride squared.

decode_inter_sub8_rect2 gates has_chroma per piece
(is_chroma_reference): 4:2:2 codes both horz pieces and the odd-column
vert piece (the 4:2:0 i == 1 rule verbatim), inter pieces through a new
per-piece TX_4X4 arm at the floored cell, the 4:2:0 group tail gated off
at 4:2:2.

All 16 frames decode (the frame-11 (4,32) refusal is gone); frame 0
stays byte-exact at PREFILT/POSTDEB/POSTCDEF; frames 1+ remain divergent
and are reattributed to a partition-dispatch defect upstream of the
chroma half (ours dispatches SPLIT4 where the oracle codes HORZ at
mi(8,10)) -- named for the next lane, exactness not claimed. Refusal
unchanged; bypass never committed. cargo check 0 warnings; refusal gate
green.
ec-av1: lane-av1-422sub8rect review rework -- 444 OBMC back to the parent corner-cut, strided claim correctedAhmet Kaan Gümüş · 66b4c76
ec-av1: lane-av1-422sub8rect review rework -- 444 OBMC back to the parent corner-cut, strided claim corrected

Review findings on 4d1527f9: the ss-shifted OBMC port (plane-block-keyed
skip_chroma_above, >>ss blend extents) is libaom-conformant but NOT 444
byte-identical, and measurement went against it: on a 10-frame 4:4:4
--enable-obmc=1 fixture (sha256 4b5c0a47..., 2 rect OBMC leaves) parent
and tip read identical symbols and differ in exactly one V sample, with
the conformant tip FARTHER from aomdec (110 vs 111); single-change revert
builds attribute the whole delta to the OBMC change. Per the review
protocol the OBMC semantics are reverted to the parent corner-cut (ss
parameter dropped; encode.rs call unchanged again), deferred to the
owning 444 lane.

The TxParams::strided justification is corrected: pre-existing h<stride
callers DO get smaller scratches; identity is empirical (4:2:0 witness,
444 frame equality with the parent, revert experiment), and the stride*h
sizing stays -- the 4:2:2 leaf's TX_4X8 unit panics on the square sizing.

t422 frame 0 re-verified byte-exact at PREFILT/POSTCDEF after the rework;
4:2:0 pixel-exact witness and the refusal gate re-run green; cargo check
0 warnings.
ec-av1: lane-av1-422sub8rect -- the sub-8 inter 4:2:2 chroma ported to its real shapesAhmet Kaan Gümüş · 19f693e
ec-av1: lane-av1-422sub8rect -- the sub-8 inter 4:2:2 chroma ported to its real shapes

decode_inter_block8's whole chroma half moves to the BLOCK_4X8 plane block:
one TX_4X8 ChromaRect8x4/SCAN_4X8 unit per plane through read_inter_plane_rect
(offset-7 ctx, inherited luma tx type, around_mi_422_chroma walk), with the
MC build, warp, masked-compound, interintra, OBMC and skip pushes reshaped
per axis; the intra-in-inter arm reads the key-frame arm's rect reader.

decode_inter_sub8_split4's shared group unit is replaced by what the oracle
traces actually code at ss (1,0): every non-skipped odd-column piece is its
plane's own chroma reference and codes U+V TX_4X4 at the floored chroma cell
(build_inter_predictors_sub8x8 halves -- left from the left piece, right from
own; mixed groups whole-from-own), intra pieces route through
sub8_leaf_chroma422, and the 4:2:0 group tail is gated off at 4:2:2.

Shared helpers made ss-exact (4:2:0/4:4:4 identical): blend_masked_compound
and interintra_blend take per-axis mask subsampling (aom blend-a64-mask's
four branches), obmc_plan/obmc_run derive chroma extents by the plane ss,
TxParams::strided sizes stride*h (equal to the old square for every existing
caller). decode_inter_block's square-cut 4:2:2 chroma blend keeps the
pre-port direct mask read (stop-note: owning parent-lane surface).

Frame 0 of the pinned t422 fixture stays byte-exact at all four stages;
inter frames 1..10 decode and diverge ~15% less than the parent ladder
(no frame exactness claimed -- further 4:2:2 classes remain, trace:
EC_RECTCHROMA_GAP 16x8/8x32). Refusal unchanged; bypass never committed.
cargo check 0 warnings; 4:2:0 inter pixel-exact witness and refusal gates
green.
ec-av1: 444 intra-in-inter tail reads its four chroma unitsAhmet Kaan Gümüş · 77c2b16
ec-av1: 444 intra-in-inter tail reads its four chroma units

lane-av1-rect128recon: decode_inter_block's intra tail read ONE whole-plane chroma unit (block-level ctx, no +10 offset, TX_64X64 dqDenom corner) where 4:4:4 codes four plane-major TX_32X32 units. New ss00 arm walks per-unit contexts/stamps/reach. Witness 444_sb128rect_lr_witness.obu all 3 frames FINAL byte-exact vs aomdec and ffmpeg; gate extended take(2)->take(3).
lane-av1-444interband: pin t6 as the 444 inter-strip band gateAhmet Kaan Gümüş · edc72e0
lane-av1-444interband: pin t6 as the 444 inter-strip band gate

Main-review P2: the t6 exactness claim had no in-tree gate. Pin the
fixture (force-added, 32487 bytes, sha256 1e6dd4e05038c8d51e2c8d29f8c337
130c4fea0aed629415535e6e53af9a2c72, FNV1a64 52789f0fce2d1e52 per the
crate's pin convention) and add a_lossless_444_defaultp_inter_strip_
stream_decodes_byte_exact: len+FNV pin, the 1:4 counter delta pinned to
horz4=20 vert4=28 chroma_pairs=0, and the env-conditional aomdec arm
requiring all 6 frames sample-exact (av1llpredgate2's pattern).

Mutation-proven load-bearing: reverting the ss-0 filter makes the gate
fail at the pre-fix Golomb-tail refusal; restored, green -- the
a_lossless battery is now 8 passed 0 failed, cargo check 0 warnings.
lane-av1-444sbf2: f2 still red after d5325172; gate not extendedAhmet Kaan Gümüş · ef0d01e
lane-av1-444sbf2: f2 still red after d5325172; gate not extended

Measured the pinned 444 sb128 witness at 85ce04de with a fresh target dir
and per-frame strided slices: f2 vs aomdec AND ffmpeg is Y 7308 / U 9685 /
V 13854 (both oracles sample-agree with each other; f0/f1 byte-exact).
Stage ladder: f2 diverges at PREFILT -- Y 6952 / U 9568 / V 13496, first
diffs Y col128 row98, U col128 row64, V col128 row0 -- reconstruction,
before any loop filter; deblock/CDEF/LR only carry it. Every rung matches
av1lrflush r3's base measurements sample-for-sample, so the d5325172
entropy fix is inert on this fixture: the residual is DEFECT A unchanged,
the inter rect-strip recon/band-stamping reads on f2's inter 64x128 at
(128,0), no entropy desync. Gate stays take(2) (no wrong samples pinned);
the stale LR scoping comment stays for the paired take(3)+comment edit
once the entropy lane clears f2. Report-only commit; no decoder edit.
ec-av1: lane-av1lrflush -- honest pipeline row-0 witness (r4 review)Ahmet Kaan Gümüş · 4c11025
ec-av1: lane-av1lrflush -- honest pipeline row-0 witness (r4 review)

Replace the gate's LR_STRIPE0_HITS delta with a new process-global
LR_PIPELINE_ROW0 counter bumped by pipe_run_lr's own worker when a plane's
RU row 0 enters the processed range: the thread-local stripe counter was
satisfiable by frame 0's whole-frame LR on the gate's thread alone, so it
witnessed nothing about the pipeline. Expected delta is 5 (frame 1 restores
all three planes, frame 2 all but U). Mutation re-verified: disabling the
RU-row-0 band release now goes red at the row-0 assert itself (0 vs 5);
reverted, green. Report updated. cargo check 0 warnings; both a_444_sb128
gates and the EC_AV1_REQUIRE_AOMENC=1 restoration battery (10/10) green.
lane-av1-444interband: the inter 1:4 strip's chroma pair rewrite is 4:2:0-onlyAhmet Kaan Gümüş · 11dc087
lane-av1-444interband: the inter 1:4 strip's chroma pair rewrite is 4:2:0-only

decode_inter_block's strip tail ran the lane-inter16ab pair-span chroma
context rewrite unconditionally, but the pair form (16x8 / 8x16 span at
pair_mi) only exists at 4:2:0. At ss 0/0 every strip is its own chroma
reference and its own record already stamps exactly its own 16x4 (4x16)
span, so the rewrite smeared the strip's chroma state over one extra
row/col of cells: a skipped strip zeroed left[r+1] planes 1-2, erasing
the 16x16-intra block to its left's U/V coefficient-context stamps, and
the strip below read its chroma txb_skip off the wrong CDF row.

Measured on the default-partition lossless 4:4:4 6-frame stream in
/tmp/llkf (t6.obu, per av1llkf.report.md): decode refused mid-frame-1 at
the 16x4 strip mi(2,8) with the strip's U unit reading txb_skip base 0
where aom reads base 1 (left[2][1] 0 vs 23; the oracle's cells trace to
the intra block (0,4)'s U unit bc=3/br=2 as the last writer). Post-fix
all 6 frames are byte-exact against fresh aomdec --rawvideo output, and
INTER16_CHROMA_PAIR_HITS no longer fires on the pairless stream (31 -> 0
while the 48 strips still decode).

Gates: cargo test -p ec-av1 --lib a_lossless 7 passed 0 failed (both
4:2:0 lossless libaom gates untouched, the 444 min-partition-64 and
min-partition-8 inter gates, the sb128 pair, the 16x4 pair). cargo check
-p ec-av1 --all-targets: 0 warnings, 0 errors. rustfmt --check reports
no hunks inside the edited ranges.
lane-av1-444interband: the inter 1:4 strip's chroma pair rewrite is 4:2:0-onlyAhmet Kaan Gümüş · 1ddefc1
lane-av1-444interband: the inter 1:4 strip's chroma pair rewrite is 4:2:0-only

decode_inter_block's strip tail ran the lane-inter16ab pair-span chroma
context rewrite unconditionally, but the pair form (16x8 / 8x16 span at
pair_mi) only exists at 4:2:0. At ss 0/0 every strip is its own chroma
reference and its own record already stamps exactly its own 16x4 (4x16)
span, so the rewrite smeared the strip's chroma state over one extra
row/col of cells: a skipped strip zeroed left[r+1] planes 1-2, erasing
the 16x16-intra block to its left's U/V coefficient-context stamps, and
the strip below read its chroma txb_skip off the wrong CDF row.

Measured on the default-partition lossless 4:4:4 6-frame stream in
/tmp/llkf (t6.obu, per av1llkf.report.md): decode refused mid-frame-1 at
the 16x4 strip mi(2,8) with the strip's U unit reading txb_skip base 0
where aom reads base 1 (left[2][1] 0 vs 23; the oracle's cells trace to
the intra block (0,4)'s U unit bc=3/br=2 as the last writer). Post-fix
all 6 frames are byte-exact against fresh aomdec --rawvideo output, and
INTER16_CHROMA_PAIR_HITS no longer fires on the pairless stream (31 -> 0
while the 48 strips still decode).

Gates: cargo test -p ec-av1 --lib a_lossless 7 passed 0 failed (both
4:2:0 lossless libaom gates untouched, the 444 min-partition-64 and
min-partition-8 inter gates, the sb128 pair, the 16x4 pair). cargo check
-p ec-av1 --all-targets: 0 warnings, 0 errors. rustfmt --check reports
no hunks inside the edited ranges.
ec-av1: lane-av1lrflush -- r2's RU-row-0 flush defect refuted by measurementAhmet Kaan Gümüş · 3274825
ec-av1: lane-av1lrflush -- r2's RU-row-0 flush defect refuted by measurement

The pipelined LR band release provably flushes RU row 0: with the filter
pipeline engaged (EC_AV1_FILTER_THREADS=4, recon serial, pipe_on witnessed
by a new unconditional PIPELINE_TAKEN counter) the witness decodes
byte-identical to the whole-frame path on all three frames, including the
128-root-rect inter frame; r2's stop-with-site was a stage-ladder mixup
(its FINAL numbers are today's POSTCDEF numbers; f2 already diverges at
PREFILT). The real f2 residual re-enters at column 128 inside the inter
64x128 at (128,0) -- the entropy lane's inter rect-strip site, untouched
here. New defect named for its own lane: wavefront recon (recon threads>1)
loses chroma writes at PREFILT on the inter frames (Y exact).

Lands the refutation as a doubly non-vacuous gate (PIPELINE_TAKEN delta +
LR_STRIPE0_HITS delta + pipeline==serial byte-exact + frames 0/1 vs
aomdec and ffmpeg through the pipeline), mutation-verified red by
disabling the RU-row-0 band release. cargo check 0 warnings; restoration
battery (EC_AV1_REQUIRE_AOMENC=1) 10/10 green.
lane-av1sub8rect444: the lossless sub-8 rect leaf reads its 4:4:4 chroma per TX_4X4 unitAhmet Kaan Gümüş · 50b44b4
lane-av1sub8rect444: the lossless sub-8 rect leaf reads its 4:4:4 chroma per TX_4X4 unit

decode_intra_sub8_leaf's chroma_444 && bw != bh arm read the lossless leaf's
chroma as one TX_8X4/TX_4X8 rect unit per plane (read_coeffs_rect, skip ctx
fixed at above+left) where lossless forces per-unit TX_4X4 -- the oracle reads
FOUR units (plane-major, ctx 11 = the plane-block-bigger-than-transform +10
row) and the rect unit count desynced the tile at the leaf's own chroma.
Route the arm through the read_plane per-unit walk (per-unit around_mi, the
+3 chroma offset, the lossless tx_type drop, per-unit record_mi_chroma), skip
the tail's whole-leaf chroma stamp for the walk -- nested INSIDE the
chroma_444 branch so a walked leaf cannot fall into the 4:2:0 group tail and
clobber the per-unit stamps with the group-composed state. 4:2:0 and the
non-lossless rect path are byte-preserved; the 7 a_lossless gates stay green.

Counter LLSUB8RECT444_CHROMA_WALK_HITS + decode_probe line; report in
lanes/av1sub8rect444.report.md. Entropy witness on the parent lane's t6.obu:
the named leaf's four chroma units now pair 1:1 with fresh aomdec (first
mismatch moved from read #2326 to #2489, the 16x4 strip at mi(2,8) -- named
there, llcpred's lane).
gate_coverage: retire the stale 8-bit enable-global-motion entry + classify 12-bit gates as high-depthAhmet Kaan Gümüş · 4753516
gate_coverage: retire the stale 8-bit enable-global-motion entry + classify 12-bit gates as high-depth

a_real_affine_global_motion_stream_decodes_pixel_exact loops [8u32, 10u32]
passing --enable-global-motion=1 pixel-exact at both depths since
lane-gmaffine r1, so the 8-bit hole was already closed; the entry survived
because no suite ran a tree containing both the gate and this test until
the ROTZOOM suite. is_ten_bit now also recognizes the 12-bit spellings
(encode_12bit(, --bit-depth=12, --input-bit-depth=12, yuv420p12le) so
12-bit gates land in the high-depth bucket.
lane-av1-ibcskip2: skipped-intrabc sub8 chroma predicts the DV frame copyAhmet Kaan Gümüş · f97f58c
lane-av1-ibcskip2: skipped-intrabc sub8 chroma predicts the DV frame copy

sub8_leaf_chroma444's skip arm pushed the intra mode (DC for an intrabc
leaf) with zero residual where libaom's av1_build_inter_predictors_sb
runs for an intrabc block regardless of skip: a skipped intrabc leaf's
chroma is the bare frame copy at the DV. Measured fail-before on
ll444_ibc_rect.obu at this HEAD (the leaf8 chroma-extent fix upstream
lets the fixture decode through): luma clean, U 2794 / V 2830 differing
samples across 180 4x4 cells, 175 of them exactly the frame's 150
skipped intrabc leaves, 5 their poisoned neighbours.

Fix: new first arm in sub8_leaf_chroma444 -- when intrabc_dv is Some and
skip, bilinear MC of the current frame's U/V at the DV armed through
set_palette_pred and pushed with ZERO_RESIDUAL (the luma skip arms'
route); the inherited chroma tx_type slot is disarmed unconsumed.
SKIPPED_INTRABC_DV_COPY_HITS pins the route. The 4:2:0 group-tail skip
arms are RESERVED territory: untouched, byte-for-byte, and 4:2:0 call
sites pass intrabc_dv = None so control flow through the edited function
is identical (420-heavy intrabc/lossless/sb128 batteries green).

The ibc444rect gate a_lossless_444_intrabc_rect_leaf_walks_per_4x4_units
pinned the leaf8 palette_window panic b6d4b528 removed and went red at
this HEAD ((339,339) walk census vs the pinned (3,3)); flipped per its
own r1 doc to the full-frame exact aomdec comparison with the census and
==150 DV-copy counter asserts. Mutation check: count-but-predict-flat
arm leaves the gate red at 'aomdec plane U: 2503 samples differ'.

Green: the flipped gate reports frame sample-exact vs oracle aomdec
(339+339 rect walks, 150 skipped-intrabc DV copies, 0 differing samples
on Y/U/V); every intrabc-named gate (17), lossless-named gate (12) and
sb128-named gate (9) passes; cargo check -p ec-av1 --all-targets 0
warnings. Report: lanes/av1ibcskip2.report.md.
lane-av1llintercdf: the lossless sub-8 intra leaf reads its uv_mode off the canonical cfl_allowed_px alphabetAhmet Kaan Gümüş · 10366d7
lane-av1llintercdf: the lossless sub-8 intra leaf reads its uv_mode off the canonical cfl_allowed_px alphabet

The t6 frame-1 all_zero divergence the llkf lane deferred was never a CDF
adaptation desync: the all_zero rows were identical at the divergent read (the
llkf report compared our PRE-update row snapshot against the oracle's
POST-update cdf0 print). The states part one block earlier, inside the intra
8x4 leaf's uv_mode read -- decode_intra_sub8_leaf picked the 14-symbol
uv_mode_cfl row unconditionally where av1_is_cfl_allowed forces the 13-symbol
uv_mode_no_cfl row for a lossless block whose chroma plane block is not a
single TX_4X4 (an 8x4 leaf at 4:4:4). The read now goes through the canonical
cfl_allowed_px like every other uv site; 4:2:0 is arithmetically unchanged
(every sub-8 chroma block is 4x4-or-smaller, predicate stays true).

t6 frame 0 stays byte-exact; pairs 2316/2317 now match the oracle's (value,
rng) and the ECIN bits delta returns to the constant +15. Frames 1..5 still
differ through a second, independent site named in the report: the same leaf's
chroma_444 && bw != bh arm reads one TX_8X4/TX_4X8 rect unit per plane where
lossless forces per-unit TX_4X4 (oracle: four units, ctx 11) -- stopped with
the site per the ticket. Gates: a_lossless 7 passed; cargo check
--all-targets 0 warnings.
lane-av1leaf8oob: derive leaf8 intrabc chroma extent from subsamplingAhmet Kaan Gümüş · 9aeafc1
lane-av1leaf8oob: derive leaf8 intrabc chroma extent from subsampling

decode_leaf8's intrabc frame-copy closure hardcoded the 4:2:0 chroma
halving (vec![0u16; 4 * 4], predict_with_filter at 4, 4) for the U/V
prediction buffers. At 4:4:4 the leaf's own chroma plane block is 8x8,
so the 16-sample override reached PlaneBuf::reconstruct as an 8x8
prediction and indexed prediction[16] of the 16-sample buffer
(len 16, index 16, decode.rs:3774). Size both buffers from
(8 >> ss_x, 8 >> ss_y) instead -- identical at 4:2:0, 8x8 at 4:4:4 --
which also heals the stride-8 palette windows the TX4 4:4:4-lossless
arm cuts from the same buffers.

Gate: stream::tests::an_intrabc_8x8_leaf_chroma_frame_copy_at_444_
decodes_without_the_oob pins the witness-hunt reproducer
(fixtures/444_leaf8_oob.obu, force-added, sha256 72bed279...) with a
red-before run reproducing the exact panic and a leaf8_intrabc_hits
0 -> 4 non-vacuity delta. The gate pins no pixel baseline: the stream
diverges from the oracle aomdec and reads never-written chroma samples
in 458 whole 8x8 blocks (nondeterministic output) -- one pre-existing
decode desync, deferred to a divergence lane, measured in
lanes/av1leaf8oob.report.md. intrabc + lossless filters green, cargo
check 0 warnings.
lane-av1-ibc444rect: intrabc rect leaves at lossless 444 walk per-4x4 unitsAhmet Kaan Gümüş · 0bfd062
lane-av1-ibc444rect: intrabc rect leaves at lossless 444 walk per-4x4 units

An unskipped intrabc BLOCK_8X4/BLOCK_4X8 leaf on a lossless frame reads
its coefficients as (bw/4)*(bh/4) inter TX_4X4 units, plane-major --
read_tx_size's lossless first line forces TX_4X4 before any tree, the
frame's TxMode is ONLY_4X4 so no var-tx tree is read either, and
av1_read_tx_type's qindex==0 return drops the tx_type the lossy 4x4
inter sets carry. The old route read one LumaRect8x4Inter /
ChromaRect8x4 rect unit and desynced (fail-before: the lossless WHT
assert (4, 8) != (4, 4) at TxParams::run).

- decode_leaf_rect8's intrabc arm: lossless non-skip leaves push the
  per-4x4 leaf list through the existing unit loop; the TXFM band
  publish defers to after the loop (set_txfm_ctxs runs at
  parse_decode_block's tail) and shrinks to (4, 4); the units' coding
  tx_type is nulled at lossless; the residual goes through TxParams
  with the frame's lossless flag (the dequant_and_inverse_typed_wh
  shortcut ran a DCT inverse over WHT-ordered levels).
- sub8_leaf_chroma444's intrabc non-square arm: lossless walks per-4x4
  TxbSet::Chroma4 units like the non-intrabc arm (lane-av1-llsub8),
  predicting the current frame at the DV.
- Counters INTRABC_RECT8_LOSSLESS_{LUMA,CHROMA}_HITS + stream
  accessors; gate a_lossless_444_intrabc_rect_leaf_walks_per_4x4_units
  pins fixtures/ll444_ibc_rect.obu (provenance + measurement in
  lanes/av1ibc444rect.report.md).

Measured vs the instrumented aomdec: EC_TRACE_COEFF ladders align and
the walked leaves' samples are 0-diff on both planes (luma 0/339 leaves,
chroma clean); remaining fixture diffs sit exclusively on skipped
intrabc blocks (the skipped-intrabc sub8 chroma predictor, escalated in
the report) behind the llintra-deferred decode_leaf8 8x8 buffers, which
this lane does not touch. 4:2:0 unchanged: the lossless 420 key/inter,
loss64, 444 key-frame, dodge2 inter and ten lossy intrabc gates all
green.
lane-av1-llkf: the 4x16/16x4 rect route records its lossless chroma units at their own ss-aware spanAhmet Kaan Gümüş · 97a9038
lane-av1-llkf: the 4x16/16x4 rect route records its lossless chroma units at their own ss-aware span

The default-partition lossless 4:4:4 key frame's first entropy divergence
(frame-0 all_zero read #452): decode_rect4_16_strip's lossless chroma
walk recorded every TX_4X4 unit with record_mi_chroma(cu_mi, 8, 8, ...)
anchored at oy/2, ox/2 -- the 4:2:0 subsampled form. At 4:4:4 a unit is
ONE mi cell, so each record smeared the unit's state over a 2x2 mi block;
a 4-wide strip's later units overwrote the NEXT COLUMN's above cell with
their own state (aom's av1_set_entropy_contexts stamps exactly
tx_size_wide_unit x tx_size_high_unit cells, one above + one left for
TX_4X4), and the following block's all_zero read the wrong txb_skip row.

Both record sites in the lossless_pair branch (skip and non-skip) are now
ss-aware: anchor (oy << ss_y) / MI, (ox << ss_x) / MI, span 4 << ss.
4:2:0 is arithmetically identical; non-lossless and intrabc arms untouched.

Entropy: all_zero rng ladders match the oracle on all reads of the whole
key frame (testsrc2 2304/2304, mandelbrot 2304/2304; fail-before #452 and
#208). testsrc2 single-key-frame decodes byte-exact vs fresh aomdec; the
sibling dodge2.obu witness stays byte-exact; a_lossless gates 7/7;
cargo check --all-targets 0 warnings.
lane-av1-llpred2: skip_chroma_above reads the frame ss pair, not a rect-over-chroma_side ratioAhmet Kaan Gümüş · 0db45d1
lane-av1-llpred2: skip_chroma_above reads the frame ss pair, not a rect-over-chroma_side ratio

obmc_plan derived ss from trailing_zeros(write / chroma_side) on ONE
square side: a 4:2:0 16x8 strip read ss=(1,0) and lost its above-chroma
skip (libaom's av1_skip_u4x4_pred_in_obmc skips the plane block 8x4
under frame ss (1,1)), and a 4:4:4 16x8 strip divided 8/16=0 so
trailing_zeros(0)=64 panicked a debug build on the shift.

The decision is now the pure obmc_skip_chroma_above(write_w, write_h,
ss_x, ss_y) over the frame's own pair -- the same values obmc_run's
chroma windows shift by -- fed by ss_x(fctx)/ss_y(fctx) at all three
callsites (decode_inter_block, decode_inter_block8, the encoder's
obmc_prediction). A unit check pins the 4:2:0 16x8/8x16 skip and the
4:4:4 shapes; the 6-frame 444 fixture is cmp-exact against aomdec in a
debug decode probe, and the a_lossless 4:2:0 gates stay green.
lane-av1-llpred: chroma OBMC sizes follow the plane's own subsamplingAhmet Kaan Gümüş · ab30546
lane-av1-llpred: chroma OBMC sizes follow the plane's own subsampling

The min-partition-8 lossless 4:4:4 stream's 2772 chroma pixel diffs were
OBMC, not prediction input: obmc_run sized the chroma neighbour prediction
and blend windows with a literal /2 (the 4:2:0 half) where libaom shifts by
the plane's own subsampling (>>0 at 4:4:4), and obmc_plan's
skip_chroma_above hardcoded the luma shape list that av1_skip_u4x4_pred_in_obmc
only applies to 4x4/8x4/4x8 PLANE blocks, silencing the above-pass chroma
blend of every 8x8/16x8/8x16 OBMC block at 4:4:4. First differing sample:
frame 1 plane 1 x=88 y=4 (leaf mi(0,22), mv=(0,11)). Value-identical at
4:2:0. Stream now byte-exact vs fresh aomdec on all 6 frames; a_lossless
gates 6/6; cargo check 0 warnings.
lane-av1-llintra8: the inter frame's 8x8 intra leaf lossless 444 chroma walkAhmet Kaan Gümüş · 3e0f682
lane-av1-llintra8: the inter frame's 8x8 intra leaf lossless 444 chroma walk

decode_inter_block8's intra leaf read 4:4:4 lossless chroma as one TX_8X8
unit and hit TxParams::run's lossless WHT assert (8, 8) != (4, 4) -- the
one arm the inter arms' leaf8_inter_chroma_lossless did not cover. Route
it through read_intra_chroma_lossless (2x2 TX_4X4 raster per plane,
plane-major) and stamp chroma_stamped_per_unit so the tail's record_mi
keeps the walk's per-unit contexts. 4:2:0 keeps its single TX_4X4 unit.

Same leaf, one read earlier: gate the uv_mode CDF row on cfl_allowed_px
(decodemv.c:145, cfl.h:29 -- at lossless the CFL alphabet exists only
when the chroma plane block is BLOCK_4X4), so the 4:4:4 lossless leaf
reads the 13-symbol uv_mode_no_cfl alphabet instead of consuming a
different partition at its own uv_mode symbol.

Counter LLINTRA8_CHROMA_WALK_HITS + decode_probe line; report in
lanes/av1llintra8.report.md. Witness: testsrc2 128x96 lossless 444
min-partition-8, EC_COEFF trace 11292/11292 all_zero rngs byte-matched
against aomdec with the walk firing 34 times, key frame and all luma
planes byte-exact; dodge2.obu stays byte-exact; a_lossless gates 6/6.
lane-av1-llsub8b: 444 lossless inter sub8 rect chroma rasterAhmet Kaan Gümüş · 92ce894
lane-av1-llsub8b: 444 lossless inter sub8 rect chroma raster

decode_inter_sub8_rect2's chroma_444 coded arm read each 8x4/4x8 piece's
U/V plane block as one TX_8X4 rect unit where lossless codes TX_4X4 on
every plane (av1_get_tx_size) -- TxParams::run's WHT assert (8,4) != (4,4).
A lossless+mono-gated arm now routes the piece through the sibling's
read_inter_chroma_lossless walk at region (bw,bh), whose per-unit context
stamps replace the whole-block record_mi_chroma (the leaf8 rule).
4:2:0 untouched: the branch lives inside chroma_444 and the reserved
group-tail arm is not reached. The ll64 Golomb-tail refusal is gone; the
streams now stop at decode_inter_block8's intra-leaf chroma arm reading
one TX_8X8 at 4:4:4 lossless -- same class, llinter lane's function,
named in the report. dodge2 (sibling bytes) exact 6/6; mandelbrot witness
decodes 6/6 with 37 rect2 pieces; a_lossless gates 6/6; cargo check clean.