Commits
Commits on
16051cc5b9fbfa40740b30ae17d0f944dc5772ff2026-10-23
testcut P2 ec-h264: delete four heavy tests with mutation kill evidenceAhmet Kaan Gümüş · e9b9397
testcut P2 ec-h264: delete four heavy tests with mutation kill evidence Delete every_quantiser_matches_ffmpeg, every_quantiser_with_motion_matches_ffmpeg, high_profile_8x8_matches_ffmpeg and x264_hi444_10bit (222.2 s saved). Keep x264_hi444_8bit (K'=4), both never_panic tests (weak oracle, kill 4 each) and jvt_hi444_vectors_bit_exact (protected). Evidence from the r4 run; r1-r3 invalid. Mutation runs exclude encode::real_library_frames_encode_and_decode_exactly (needs personal media).
testcut P2 ec-h265: restore ffmpeg_decodes_bit_exactly_at_every_shape (hang mutant not killed by fast suite)Ahmet Kaan Gümüş · b49be85Browse files
testcut P2 ec-h265: delete 4 heavy tests with release-mode kill evidenceAhmet Kaan Gümüş · ddcb861Browse files
testcut P2 ec-h265: b2 chain stopped; timeouts invalid, all keptAhmet Kaan Gümüş · b68a710Browse files
testcut P2 ec-h265: resumed run stopped; report partial, all candidates keptAhmet Kaan Gümüş · f899940Browse files
cargo runner: find memguard-runner.sh without .gitAhmet Kaan Gümüş · 6bdd141
cargo runner: find memguard-runner.sh without .git cargo-mutants scratch copies and remote-run rsyncs have no .git, so `git rev-parse` failed and the test runner never started. Fall back to walking up from the cwd.
Restore edith_codecs after local data loss (2026-10-23)Ahmet Kaan Gümüş · b7434a2
Restore edith_codecs after local data loss (2026-10-23) On 2026-10-23 an automated agent ran `rm -rf $HOME` and deleted the local repository with all of its history. This commit restores the working tree from the newest surviving copy, the host-c server lane mirror. That mirror matches local main as of the testcut Phase 2 reports, including the tool cache, the nextest fast profile and changed-crates.sh. The history before this commit was not recovered.
2026-10-06
Merge lane/av1422mixll10: skipped intrabc+lossless 4:2:2 leaf writes both chroma rowsAhmet Kaan Gümüş · dd25ef9
Merge lane/av1422mixll10: skipped intrabc+lossless 4:2:2 leaf writes both chroma rows An 8x8 intrabc leaf in a lossless segment at 4:2:2 fell through decode_leaf8's skip-arm else and pushed one 4x4 of a 4x8 chroma plane block. The second row stayed unwritten (sentinel 0). Witness 422_mixll_intrabc_lossless_320x240_5f.obu sha256 9fa1f1d28d61e3096d70908728f9cdfa1a570b9769a3d31e8d385a61c12a2b25, frame 0 U/V (140..143,188..191) 0 vs 664/64. The else now windows the override per 4x4 unit. Gate green, flip control 0 to 1, stash mutation reds [0,16,16]. Reviewer PASS 0.93. The U arm already pushes both planes and the V arm pushes plane 2 again with the same arguments; that second push rewrites samples only and does not republish context.
lane/av1422mixll10: a skipped intrabc+lossless leaf predicts its whole 4x8 chroma plane blockAhmet Kaan Gümüş · 451c769
lane/av1422mixll10: a skipped intrabc+lossless leaf predicts its whole 4x8 chroma plane block decode_leaf8's skip arm dispatched chroma on `chroma_422 && !lossless` -> leaf8_chroma422_unit, else-if `chroma_units_ll` (which requires `intrabc_bufs.is_none()`) -> two 4x4 units, else a SINGLE push_intra of csz x csz at (cpx, cpy). An INTRABC + LOSSLESS 8x8 leaf at 4:2:2 falls to that else: the override buffer is the whole 4x8 plane block (cw x ch = 4x8), but the push reconstructs only 4x4, so rows cpy+4..cpy+8 were never written. Witness: probe cell5 frame 0, leaf mi (46,70), intrabc DV (-1024,-64), segment lossless. U(140..143,188..191) read the sentinel poison 0 against the oracle's 664 (EC_AV1_PLANE_SENTINEL census: U unwritten=16, spans y188..191 x140..=143); 16 U + 16 V samples differed on frame 0, frames 1-4 exact. Writer named by gdb conditional break + PIXPROBE: the write of 664 DOES happen at (140,184) 4x4 -- the missing one is the second unit row, never pushed (capture_filter_replay exonerated: it only reads the planes into the thread-local slot). Fix: the skip arm's else, when a prediction override (intrabc frame copy or palette colour map) is present and the plane block is taller than csz, predicts per 4x4 unit off the cw-stride window (`palette_window`), the same slice `read_intra_chroma_lossless` feeds set_palette_pred. Both planes (U at 25732, V at 25847). Gate: a_422_mixll_intrabc_lossless_leaf_predicts_whole_chroma_plane_block pins 422_mixll_intrabc_lossless_320x240_5f.obu (79333 bytes, fnv1a64 8342335520738450773, 320x240 yuv422p10le, 5 frames): every plane of every frame byte-exact vs ffmpeg, depth asserted 10 off the stream's own sequence header, and one flipped oracle U sample must move the U count 0 -> 1. Mutation-proved: with the fix stashed the gate's own assert reds [0, 16, 16] (the unwritten 16-sample pair), restored green [0, 0, 0]. Scope: ec-av1 lib suite (encoder::tests excluded, they outlive the deadline) 766 passed / 0 failed. 8-bit control cell2.obu (sha256 2fc8b22e...) scp'd from user@host-a:~/hunt422mix/out and stays byte-exact vs ffmpeg on all 5 frames (yuv422p).
2026-10-05
Merge lane/av1422schunt: 8 screen-tools 4:2:2 cells exact, tools did not fireAhmet Kaan Gümüş · e806f1b
Merge lane/av1422schunt: 8 screen-tools 4:2:2 cells exact, tools did not fire 8/8 byte-exact vs ffmpeg at 629ed5bd (256x144 and 384x256, 8-bit and 10-bit, cq 20/40). Flip control moved 8-bit and 10-bit zeros by exactly 1. The streams parse screen_tools but intrabc, palette, and var-tx counters stay 0: flat smptebars never motivated those tools. Coverage is screen-tools inter, not those arms. 10-bit cells are 6 frames, not 12, because the y4m wrapper sliced at 8-bit sample count.
lane/av1422schunt: 8-cell 4:2:2 screen-content hunt, 8/8 EXACT vs ffmpegAhmet Kaan Gümüş · 2afe35cBrowse files
Merge lane/av1422a2a4: intrabc var-tx tail no longer clobbers the per-leaf bandAhmet Kaan Gümüş · 05d59ea
Merge lane/av1422a2a4: intrabc var-tx tail no longer clobbers the per-leaf band A4 (sha256 e680b638..., 30937 B) refused mid-tile on efd1adf0 with the subsize string. Both oracles decode those bytes. The refusal was a desync: decode_block's tail published a block-level TXFM context after an intrabc var-tx tree, resetting left_txfm 16 to 8. The next tree read ctx 10 where libaom reads 9. Both publishes are now gated on the tree having run. The subsize guard is unchanged. decode_intrabc_owned_rect is not in the diff. Reviewer PASS 0.92. Re-decoded A2, A3, and A4 byte-exact vs ffmpeg and aomdec. Both tail mutations red at the gate's own assert (stream.rs:9755). Correction, not in the lane text: the gate pins size and FNV-1a64, not sha256. The sha equality to the hunt stream was proven by the reviewer with sha256sum and cmp, and is not what the gate enforces.
Merge lane/av1422ibcsplit: owned-rect tree branch not reachedAhmet Kaan Gümüş · 13a1ba3
Merge lane/av1422ibcsplit: owned-rect tree branch not reached Twelve aomenc encodes, each under 180s, produced zero streams that enter decode_intrabc_owned_rect's TX_MODE_SELECT tree branch at 4:2:2. The intrabc var-tx trees that did fire were on square blocks, a different function. No decoder edit. No unreachability assertion. Report only.
lane/av1422ibcsplit: the owned-rect tree branch is NOT REACHED in the 12-encode budget; report only, no decoder editAhmet Kaan Gümüş · 990a308Browse files
lane/av1422a2a4: 4:2:2 intrabc var-tx EITHER/OR tail publishes per leafAhmet Kaan Gümüş · 6c3a872
lane/av1422a2a4: 4:2:2 intrabc var-tx EITHER/OR tail publishes per leaf An intrabc block whose var-tx tree resolved MIXED leaves kept the two blanket tail publishes in decode_block (set_txfm_ctxs + fill_lf_grid), clobbering the per-leaf TXFM_CONTEXT band sizes libaom's var-tx branch leaves behind (parse_decode_block is an either/or; the tree branch never calls set_txfm_ctxs). Measured on the pinned 256x224 4:2:2 witness (fixtures/422_intrabc_vartx_mixedtree_a4.obu, aomenc testsrc2 tile cq30): the 32x32 intrabc block at mi(32,8) resolved 8x8+16x16 leaves, the blanket writes reset left_txfm[32..35] 16->8, the next tree's sub-read at (32,16) took txfm_partition_ctx 10 vs the oracle's 9, and the desync surfaced ~30 partition symbols later as the decodeframe.c:1456 'block size 4x8 invalid' refusal (E6/E7 symptom class; both ffmpeg and aomdec decode the stream to completion). Both publishes are now gated on the tree not having run. Red-before proven one hunk at a time against the new pinned gate (the_pinned_422_intrabc_vartx_mixedtree_witnesses_decode_pixel_exact); green: the_pinned_422 8/8, intrabc 29/29 (+1 pre-existing ignore), vartx 5/5; all four av1422ibcrect hunt streams byte-exact vs ffmpeg (A4 also vs aomdec). decode_intrabc_owned_rect untouched.
Merge lane/av1422ibctxsel: 4:2:2 intraBC non-split chroma gather uses the pair ruleAhmet Kaan Gümüş · dfdddd5
Merge lane/av1422ibctxsel: 4:2:2 intraBC non-split chroma gather uses the pair rule decode_intrabc_owned_rect gathered chroma context over the luma span. At ss (1,0) that doubles the above vote. A pinned 4:2:2 strip enters the arm 24 times; 5 of those entries differ (2A+L=-8 vs A+L=0) and the pre-fix tree refuses the stream mid-frame while ffmpeg and aomdec decode it. Routed through around_mi_422_chroma under ss (1,0) only. Reviewer PASS: the other subsamplings keep the old gather, no other function changed, fixture sha256 4f82d5da8b4c3d6553953fc373001a1c7a729c9b189214b65503af1e04eb6b68. The new pin has no fixture-library.tsv row. Regenerating the manifest on a pristine tree already drifts 651 lines, so that row waits for a canonical regen.
lanes: annotate the oracle-depth report's call-site countAhmet Kaan Gümüş · 717112f
lanes: annotate the oracle-depth report's call-site count The review counted 6 surviving 8-bit call sites, not 8. The original sentence stays; the correction sits under it.
Merge lane/av1oracledepth: depth-generic 4:4:4 oracle helperAhmet Kaan Gümüş · 07bdafe
Merge lane/av1oracledepth: depth-generic 4:4:4 oracle helper ffmpeg_decode_sequence_444 was 8-bit only, so a 10-bit 4:4:4 gate could not compare without ffmpeg converting. The new helper guards shape and depth from the stream's own header before spawning ffmpeg. ffmpeg_decode_sequence_10bit now asserts depth 10 as well as 4:2:0 shape. The palette gate's dead Err arm, which still accepted the pre-lift refusal string, now panics on any decode error. Reviewer PASS. Report prose says 8 existing call sites; there are 6.
lane/av1422ibctxsel: report -- the ss (1,0) non-split chroma gather is discriminated, routed, and gatedAhmet Kaan Gümüş · 6550585Browse files
lane/av1422ibctxsel: route the ss (1,0) non-split chroma gather through the pair ruleAhmet Kaan Gümüş · 785e89a
lane/av1422ibctxsel: route the ss (1,0) non-split chroma gather through the pair rule decode_intrabc_owned_rect's non-split chroma arms (both the var-tx tree and the no-leaves twin) fed `read_inter_plane_rect`'s CHROMA coefficient context with `around_mi_rect` over the block's LUMA span. At ss (1, 0) a chroma 4-px cell spans two luma mi columns, so the per-mi sum counts every chroma column twice; libaom's `get_txb_ctx_general` reads one vote per chroma cell, which is `around_mi_422_chroma`'s every-second sampling. The luma-span form is kept verbatim at ss (0, 0) and ss (1, 1) (`ss_x == 0` / `ss_y != 0`). Witness: fixtures/ibc422_nonsplit_ctx.obu (2170 B, sha256 4f82d5da8b4c3d6553953fc373001a1c7a729c9b189214b65503af1e04eb6b68, fnv1a64 0x92e2c4e45ca27e34) -- aomenc profile 2 384x288 4:2:2, 4 key frames, --sb-size=64 with the last superblock row half outside the frame (64x32 HORZ intra-BC strips), --enable-tx-size-search=1 plus a high-frequency patch that keeps the frame at TX_MODE_SELECT (txb_split_count > 0, encodeframe.c:2690), and a chroma band above the strips so a full-weight above context meets a full-weight left one of the opposite sign. Measured: 24 non-split chroma gathers entered; five V-plane reads (strips mi (64,16)..(64,80) of frame 0) disagree -- dc_sign_ctx 1 through the luma-span gather vs 0 through the pair rule (full = 2A + L = -8, pair = A + L = 0). Red-before (route reverted, same bytes): the wrong sign context desyncs the tile and the decoder refuses the stream mid-frame with the sub-8x8 plane-block refusal -- no frame decodes; both oracles (aomdec, ffmpeg) decode the pinned bytes fully, so that refusal is a desync symptom, not a real shape. Green-after: 4/4 frames byte-exact against ffmpeg yuv422p; the route counter reads 24; the 4:4:4 r512 arm fires it 0 times and stays byte-exact. New counter: IBC_OWNED_RECT_422_PAIR_HITS (accessor ibc_owned_rect_422_pair_hits). Gate: a_422_intrabc_owned_rect_nonsplit_chroma_context_uses_the_pair_rule. Scoped run: that gate + the 422 sb128 strip gate + a_16x4_intrabc_pair_strip (4:2:0) + the 4:4:4 owner-rect gate, all green.
Merge lane/av1422rect4dead: close the unreachable 4:2:2 else armAhmet Kaan Gümüş · dfe201c
Merge lane/av1422rect4dead: close the unreachable 4:2:2 else arm decode_rect4_16_intrabc's else arm still halved chroma as 4:2:0. The only shape that reaches it at ss (1,0) is a VERT_4 4x16 strip, and both 16-level dispatches refuse that shape before the call. Closed with an assertion, not a comment. Reviewer PASS: one caller, both callers under the guard, the assertion is not on the 4:2:0 or 4:4:4 path, the gate reds if the assertion string is absent.
🧪 ec-av1: depth-generic 4:4:4 ffmpeg oracle helper, 10-bit depth guard, dead 4:2:2 refusal arm deletedAhmet Kaan Gümüş · fd7986bBrowse files
lane/av1422rect4dead: close decode_rect4_16_intrabc else arm at ss (1,0)Ahmet Kaan Gümüş · 2cfb795
lane/av1422rect4dead: close decode_rect4_16_intrabc else arm at ss (1,0) The (pw/2, ph/2) pair-geometry else arm is unreachable at 4:2:2: its only caller chain is the two 16x16-level 1:4 arms, both under refuse_invalid_subsize((16, 16), part16), which at ss (1, 0) refuses the VERT_4 subsize (4, 16) -- the only shape that could reach the arm there (partition_subsize_dims((16,16), PARTITION_VERT_4) == (4, 16) is in PLANE_BLOCK_INVALID_422). The surviving HORZ_4 16x4 strip takes own422. At ss (1, 1) the arm is live and correct; at ss (0, 0) own444 wins first. Closed with an assertion naming the shape and the subsampling, per the repo rule for proven-unreachable paths, plus a source-scan gate that reds when the assertion or either 16-level guard is removed. 4:2:0 and 4:4:4 behaviour unchanged.
Merge lane/av1422aomdec51: 51/51 4:2:2 cells byte-exact in decode orderAhmet Kaan Gümüş · df788de
Merge lane/av1422aomdec51: 51/51 4:2:2 cells byte-exact in decode order The bookkeep census had 51/51 against ffmpeg in display order and had not re-run aomdec. Same 51 cells, decode order, depth-correct dumps, 869 frames, 0 diverging. The comparator bites: a one-sample flip moves the count by 1 at both 8-bit and 10-bit, and a first control that did not bite was thrown out. Report only.
ec-av1: the 51-cell 4:2:2 census re-measured in decode order against aomdecAhmet Kaan Gümüş · 68799ed
ec-av1: the 51-cell 4:2:2 census re-measured in decode order against aomdec The av1bookkeep corpus re-measure was the ffmpeg oracle in display order and left the aomdec decode-order census unmeasured. This lane ran that other instrument on the same 51 cells (cells_ff.json x formats.json 4:2:2 probe, sha256-verified cell by cell): our EC_AV1_FINAL_DUMP vs instrumented aomdec rung 12, both depth-correct, both decode order, hidden frames included -- 51/51 byte-exact, 869 frames, 0 diverging, 0 comparator-error. The liveness control is measured on the same compare path the verdicts use (compare_only, no re-decode): one sample flipped in the oracle dump moves the count by exactly 1 and lands on the injected offset, 8-bit and 10-bit (u16 LE low bit) alike, and restores to EXACT. The control caught two harness defects before any verdict was quoted: a compare path that re-decoded over its own injected flip (false control), and a Y-plane split assuming 1/3 of bytes where 4:2:2 Y is 2/3. Report only; no source change. Worktree lane/av1422aomdec51, base c38dd788. Run on user@host-b; instrumented aomdec confirmed before the run.
Merge lane/av1stale422prose: stale 4:2:2 refusal prose, comment-onlyAhmet Kaan Gümüş · e401114
Merge lane/av1stale422prose: stale 4:2:2 refusal prose, comment-only The lift already decodes 4:2:2. Nine comments still told a reader the sequence-header refusal stood, including three gates whose own byte-exact arm is the live assertion. Diff is comments only (0 non-comment lines). The palette gate's Err arm that still matches the old refusal string is code, not prose, and is left for a behavioural lane.
ec-av1: rewrite stale 4:2:2 sequence-header-refusal prose after the liftAhmet Kaan Gümüş · d0f9e9a
ec-av1: rewrite stale 4:2:2 sequence-header-refusal prose after the lift Comment-only honesty sweep. Every sentence a current reader would take as '4:2:2 still refuses / only a bypass can reach it' is rewritten to name the gate that now carries the claim (the pinned 422 decode gates, the palette window gate, the intrabc strip witness). Historical pre-lift records and the subsize/uncodable-shape refusals are left standing. decode.rs untouched. Proof: git diff -U0 with comment lines removed is empty; cargo check -p ec-av1 --tests clean; the_440_cell_is_not_a_codable_chroma_shape ok.
2026-10-04
Merge lane/av1422ibcrect: the unwitnessed 64-root chroma gather is entered and inertAhmet Kaan Gümüş · 12fd6d3
Merge lane/av1422ibcrect: the unwitnessed 64-root chroma gather is entered and inert decode_intrabc_owned_rect's non-split chroma gather is reachable at 4:2:2 on a 64x32 strip, not a 128-root. A 384x288 frame forces the last superblock row to code HORZ as one bit. That stream enters the arm 24 times and is byte-exact vs ffmpeg. The square gather doubles the vote magnitude, and dc_sign_ctx is a signum, so the row does not move (0 of 24). An inverted vote moves 24 of 24, so the zero is a measurement. The census's cited branch needs TX_MODE_SELECT leaves; this witness is TX_MODE_LARGEST and hits the leaves==None twin. No decode change. The stream is reproducible from the recipe and sha in the report; it is not pinned.
lane/av1422ibcrect: the ss (1,0) non-split chroma gather is entered by a real 4:2:2 64x32 intraBC stripAhmet Kaan Gümüş · b1b8a39
lane/av1422ibcrect: the ss (1,0) non-split chroma gather is entered by a real 4:2:2 64x32 intraBC strip Witnesses the site lane/av1422gathercensus left STOP-unwitnessed. Entry condition: decode_intrabc_owned_rect is reached only through decode_block_rect64 at the 64 root; its non-split chroma gather needs cw = bw >> ss_x <= 32 and ch = bh >> ss_y <= 32, i.e. a 64x32 (PARTITION_HORZ, or the 64x32 strip of HORZ_A/HORZ_B) or 64x16 (PARTITION_HORZ_4) strip at ss (1,0), non-skipped, non-lossless. Four aomenc encodes (all 4:2:2, sb64, screen content, intrabc, cpu-used=0, each under 0.6 s of encode time). One of them - a 384x288 geq sinusoid whose last superblock row is half outside the frame, which forces the 64-root partition to the gathered HORZ/SPLIT edge bit - enters the site 24 times (6 strips x 4 frames) with bw=64 bh=32 cw=32 ch=32 skip=false, and decodes byte-exact against ffmpeg on all four frames. The probe measured both gathers at every entry: the luma-span around_mi_rect and the pair rule around_mi_422_chroma. The double count is visible in the vote magnitudes (full = 2 x sampled where the extra cells are coded) but changes no dc_sign_ctx and no coded bit on any of the 24 entries, so no symbol and no pixel differs - which is why this stream cannot name a first wrong sample. A deliberately inverted vote makes the same print move 24 of 24 times, so the zero is a measurement, not an inert comparator. Second finding: the branch entered is the leaves == None twin of the census's cited call sites (which sit in the leaves.is_some() branch and additionally require TX_MODE_SELECT plus a txfm_partition split; this stream is TX_MODE_LARGEST, so that branch fires 0 times). No source change: decode.rs at this tip equals the base commit. The only commit is lanes/av1422ibcrect.report.md. No fixture is committed; the witness is reproducible from the recipe and sha256 recorded in the report.
Merge lane/av1422gathercensus: the ss (1,0) chroma-gather enumeration is closedAhmet Kaan Gümüş · 3973273
Merge lane/av1422gathercensus: the ss (1,0) chroma-gather enumeration is closed 98 gather call sites. 39 already route through around_mi_422_chroma. The rest are inside a 4:4:4 or 4:2:0 guard, or are a 1-cell gather where the pair rule reads the same cell. One site is structurally reachable at 4:2:2 and unwitnessed: decode_intrabc_owned_rect's around_mi_rect at the non-split chroma block. Zero hits on the committed 4:2:2 corpus, and the instrument fired on a 4:4:4 control, so the zero is a real zero. No route without a witness. Comment only. No decode change.
lane/av1422gathercensus: close the ss (1,0) chroma-gather enumerationAhmet Kaan Gümüş · 1530537
lane/av1422gathercensus: close the ss (1,0) chroma-gather enumeration Mechanical census of every chroma coefficient-context gather in decode.rs that can run at ss (1,0) without around_mi_422_chroma: 39 already routed, 1 unwitnessed (decode_intrabc_owned_rect 18022/18061 — structurally reachable, 0 hits over the committed 4:2:2 corpus), 9 guarded to 4:2:0/ 4:4:4 only, 4 single-cell-equivalent, rest luma-only. Comment-only change; report in lanes/av1422gathercensus.report.md.
Merge lane/av1muchunkluma: c3 and c4 were the intra-in-inter gather, already fixedAhmet Kaan Gümüş · 4674af4
Merge lane/av1muchunkluma: c3 and c4 were the intra-in-inter gather, already fixed The class report's luma-first samples (Y(62,6) and Y(126,3) of shown frame 1) reproduce on the tree before bd762046 and are gone on current main. Both streams enter the intra-in-inter side>64 walk (64 and 96 units) and the compound counter stays 0. Pinned and gated. Restoring the square gather reds both gates on those luma samples. No decode change.
ec-av1: pin the two compound-content 4:2:2 streams the iis gather closed, and gate themAhmet Kaan Gümüş · d04b2aa
ec-av1: pin the two compound-content 4:2:2 streams the iis gather closed, and gate them lane-av1muchunk422class left c3_grad128_comp and c4_grad256_comp diverging luma-first (Y (62, 6) and Y (126, 3) of shown frame 1) and reported them as "not the DC-sign class". Re-measured on current main: both are byte-exact, and the site that owns both is the intra-in-inter `side > 64` mu-chunk chroma gather fixed by bd762046 -- the class report's tree predates that fix, and the pre-fix control binary reproduces both streams' first wrong samples exactly. No decode code is changed here. Adds fixtures/422_muchunk_iis_128root_grad128.obu (34449 bytes, sha256 e801ce5596c9ed72) and fixtures/422_muchunk_iis_128x256_grad256.obu (68925, 90232481d39afa53) -- the hunt's c3/c4 bytes, re-encoded byte-identically by this lane from the frozen grad128/grad256 y4m sources with the hunt's argv. Two gates assert pinned length+FNV, 4:2:2 sequence-header shape, the intra-in-inter unit counter delta (64 / 96) with the compound-named counter unmoved, the oracle-free luma plane FNV of shown frame 1 plus the single sample that moved first (75 / 93) with shown frame 0 as control, then every plane of every shown frame against ffmpeg and the decode-order aom oracle (7 frames). Restoring the plain around_mi gather reds both gates on shown frame 1's luma plane; decode.rs was restored byte-for-byte afterwards.
Merge lane/av1muchunk422iis: the intra-in-inter side>64 gather was the bare around_miAhmet Kaan Gümüş · e1c8617
Merge lane/av1muchunk422iis: the intra-in-inter side>64 gather was the bare around_mi decode.rs:46820 called around_mi(unit_mi, unit_luma_w). At 4:2:2 that counts each chroma column twice, so the DC-sign row forks. The earlier sweep listed around_mi_rect and did not see this spelling. The walk now uses around_mi_422_chroma(unit_mi, unit_luma_w, unit_luma_h) at ss (1,0). The pinned i5_grad256_iis stream (667 bytes, sha 64794f27...) is byte-exact vs ffmpeg on all 6 shown frames. Restoring the square gather reds the gate at V[12196], chroma (190, 36), the pre-fix value 147. 4:2:0 and 4:4:4 keep the old call. The compound walk is untouched. c3 and c4 still diverge luma-first.
ec-av1: route the intra-in-inter side>64 mu-chunk chroma gather through the 4:2:2 pair ruleAhmet Kaan Gümüş · 5b9e8bc
ec-av1: route the intra-in-inter side>64 mu-chunk chroma gather through the 4:2:2 pair rule The intra-in-inter `side > 64` mu-chunk walk gathered its per-unit CHROMA coefficient context with the plain luma `around_mi`, which at ss (1, 0) sums `unit_luma_w / MI` above cells where libaom sums `txb_w_unit` -- twice as many -- so `dc_sign_ctx`'s signum flipped whenever the doubled above vote cancelled the left one. Route it through `around_mi_422_chroma` with the unit's per-axis luma footprint, the same ss (1, 0) gate the eight sibling chroma gathers use; 4:2:0 / 4:4:4 keep the plain gather verbatim. Pins the hunted stream i5_grad256_iis.obu as fixtures/422_muchunk_intra_in_inter_128x256.obu (667 bytes, sha256 64794f278eee738d) and gates it: the site counter delta is 96, shown frame 2's V plane is byte-exact against ffmpeg (all planes, all 6 shown frames) and against the decode-order oracle (7 frames), and restoring the square gather reds the gate on V (190, 36) of shown frame 2, ours 147 vs ffmpeg 146. Does not touch the compound walk, c3 or c4.
Merge lane/av1muchunk422class: the DC-sign fix closes the compound arm, not the classAhmet Kaan Gümüş · 8e08618
Merge lane/av1muchunk422class: the DC-sign fix closes the compound arm, not the class The hunt's compound streams c1 and c2 were wrong before the gather fix and are byte-exact after it. The pinned compound stream stays exact. The class is not closed. i5_grad256_iis (128x256, intra-in-inter, 0 compound hits, 24 site-8 hits) is unchanged by the fix and still wrong at V chroma (36, 190) of shown frame 2. The first wrong symbol is the same DC-sign row fork. The walk is the intra-in-inter side>64 loop, which still calls around_mi(unit_mi, unit_luma_w) at decode.rs:46820. The earlier sweep listed around_mi_rect sites and did not see this bare around_mi call. c3 and c4 diverge luma-first and are a different defect. No decode change.
lane-av1muchunk422class: the DC-sign fix closes the compound arm, not the classAhmet Kaan Gümüş · 078084b
lane-av1muchunk422class: the DC-sign fix closes the compound arm, not the class Re-decoded the hunt's still-present streams (no aomenc spent) against ffmpeg per plane on current main. c1_rot128_comp and c2_rot128_comp_lo -- the two other compound-arm 128-root 4:2:2 streams -- are byte-exact on all six shown frames post-fix, from pre-fix U/V (and trailing Y) divergence. The class itself is NOT closed: i5_grad256_iis still diverges, byte-identical before and after the fix, first wrong sample V chroma (190,36) of shown frame 2, and its first entropy fork is the same signature the fix targeted -- dc_sign_ctx 1 vs the oracle's 0 on a TX_32X32 chroma sign -- but in the intra-in-inter side>64 walk (decode.rs:46820 still gathers with the un-pair-ruled around_mi). c3/c4 diverge luma-first and are not this class. Report only; no code changed.
Merge lane/av1422mismatch9: the span-mismatch 9 is a shape count, not a pixel missAhmet Kaan Gümüş · 483046d
Merge lane/av1422mismatch9: the span-mismatch 9 is a shape count, not a pixel miss SB128RECT_REPLAY_SPAN_MISMATCH_HITS compares luma_span (chroma_tx << ss_x) with luma_span_h (chroma_tx << ss_y). At 4:2:2 those differ by construction, so the counter fires on every 128-root rect unit of that shape. Both pinned strips read (72 replay, 9 mismatch), and every one of the 144 replayed units is 64x32. The replay re-stamps the same left/above context cells. It writes no pixels. The strip pin stays byte-exact vs ffmpeg. The gate now asserts the measured pair (72, 9) and reds if the expected count is flipped to 10. No decode behaviour change.
av1: assert the measured 9 on SB128RECT_REPLAY_SPAN_MISMATCH_HITSAhmet Kaan Gümüş · 08f717d
av1: assert the measured 9 on SB128RECT_REPLAY_SPAN_MISMATCH_HITS The counter reads 9 on each pinned `422_intrabc_sb128_strip*.obu` cell and nothing explained it. It is not a pixel miss: the predicate (`luma_span != luma_span_h`) is a span DIFFERENCE, true by construction at ss (1,0); the replay re-stamps with the same per-axis pair the in-loop walk used; and `record_mi_chroma` writes only the left/above context arrays, no pixel. A temporary trace dumped 144 replayed units, all wh=(64,32). `the_422_block_128rect_chroma_chunk_gather_stays_per_axis` now asserts the measured (72, 9) per pin, with the reason, and its doc plus the counter and accessor docs are corrected to say the counter is a 4:2:2 shape test, not the divergence test it was named for. Red-before: flipping the expected count to 10 fails with left 9 / right 10. Report: lanes/av1422mismatch9.report.md
Merge lane/av1422gather3: the 128-root rect chroma gather takes the 4:2:2 pair ruleAhmet Kaan Gümüş · cb271bc
Merge lane/av1422gather3: the 128-root rect chroma gather takes the 4:2:2 pair rule decode_block_128rect was the one of the three named gathers that a 4:2:2 stream can enter. It fired 72 times on each pinned sb128 strip and still used around_mi_rect, which counts each chroma column twice. It now uses around_mi_422_chroma at ss (1,0). Output is unchanged on all 21 committed 4:2:2 cells, so the gate is a source scan plus the 72-unit reach counter. Dropping the guard reds it: the ss (1,0) guard must appear once, found 0. The other two named sites sit inside chroma_444 guards (ss 0,0). Zero hits on all 21 committed 4:2:2 cells. Not routed. Comments only.
av1: the 128-root rect chroma gather was not taking the 4:2:2 pair ruleAhmet Kaan Gümüş · 973f04a
av1: the 128-root rect chroma gather was not taking the 4:2:2 pair rule decode_block_128rect's per-chunk chroma unit walk gathered its coefficient context with the square-cut around_mi_rect, so at ss (1, 0) its above dc vote summed 16 luma mi cells where libaom's get_txb_ctx_general reads txb_w_unit = chroma_tx / 4 = 8 chroma cells (one chroma column per pair of luma mi columns -- both luma cells of a column carry the covering unit's whole-unit dc sign). The gather now routes through around_mi_422_chroma under the ss guard, verbatim around_mi_rect at every other shape, the same rule the mu-chunk walks take. Reachability measured: the walk fires at ss (1, 0) on both pinned 422_intrabc_sb128_strip*.obu cells, 72 chroma unit gathers each (sb128rect_chroma_replay_hits().0). No committed cell discriminates the change -- all 21 committed 4:2:2 cells are byte-exact against ffmpeg with the pair rule, exactly as the pre-change tree was -- so the_422_block_128rect_chroma_chunk_gather_stays_per_axis pins the routing by source scan and carries a 72-unit reachability arm. Both mutations (guard removed; guard kept with the square gather) red it. lanes/av1muchunk422sym.report.md's other two rows are closed as unreachable at ss (1, 0): decode_intra_sub8_leaf and decode_inter_sub8_rect2 gather those chroma contexts only inside their if chroma_444 arms (ss 0/0), 0 probe hits over the whole 4:2:2 corpus. Also corrects decode_block_128rect's stale prose that called 4:2:2 refused by name (it is admitted; SB128RECT_REPLAY_SPAN_MISMATCH_HITS fires there on byte-exact cells).
Merge lane/av1muchunk422sym: 4:2:2 mu-chunk chroma dc-sign was counting luma cellsAhmet Kaan Gümüş · a117ce2
Merge lane/av1muchunk422sym: 4:2:2 mu-chunk chroma dc-sign was counting luma cells The compound 128-root pin's V miss is the DC sign of the last mu chunk on decode frame 2. The sign value matched; the CDF row did not. around_mi_rect at ss (1,0) counts each chroma column twice, so the above vote is -8 instead of 0 and dc_sign_ctx picks the other row. The walk now uses around_mi_422_chroma on that axis pair, same as the other 4:2:2 chroma gathers. Forcing the compound site back to the square gather reds the pin: shown frame 2's V plane moves, first sample chroma (36, 60), the sample the diagnosis named. 4:2:0 and 4:4:4 stay on the old gather.
av1: the 4:2:2 mu-chunk walk's chroma dc-sign context read luma cellsAhmet Kaan Gümüş · f2fb6dd
av1: the 4:2:2 mu-chunk walk's chroma dc-sign context read luma cells The compound 128-root mu-chunk walk (and its single-reference and IntraBC twins) gathered each chroma unit's coefficient context with the plain rect gather. At ss (1, 0) one CHROMA column spans two luma mi columns, so that gather sums the unit's above dc sign over 16 luma mi cells where libaom's get_txb_ctx_general reads txb_w_unit = 8 CHROMA cells. dc_sign_ctx sees only the vote's signum, so the doubled above vote flips its row exactly when above and left cancel. Measured on 422_muchunk_compound_128root.obu, decode frame 2, the last mu chunk (cr 1, cc 1) of the walk: our V unit at chroma (bc 8, br 16) read dc_sign_cdf[1] where the oracle read row 0 -- same sign value, different CDF row, so the entropy state forked there. It is the first wrong symbol of the stream, and the fix makes all 7 decode-order frames byte-exact against the instrumented aomdec and all 6 shown frames byte-exact against ffmpeg. Route that gather through the 4:2:2 pair rule (around_mi_422_chroma) when ss is (1, 0), the plain rect gather everywhere else: 4:2:0 and 4:4:4 keep it verbatim and are unaffected (at 4:2:0 both extents double, so the signum never moved). Gate: a_422_muchunk_compound_128root_pinned_stream_reaches_its_unit_walk gains the exactness half the diagnostic lane handed over -- pinned fnv1a64 of shown frame 2's V plane (0xa0e58bf4207b29ba, pre-fix 0xc4e7fdb873433479) and of shown frame 0's control plane, plus the decode-order oracle compare. Restoring the square gather reds the pinned hash with exactly the pre-fix value. the_intrabc_128rect_chroma_chunk_walk_stays_per_axis now also pins that walk's 4:2:2 routing: its chroma chunk walk is reachable at ss (1, 0) on 422_intrabc_sb128_strip.obu (EC_IBC128_BANDS prints), but no committed fixture's votes cancel there, so the source scan -- not a pixel compare -- is what stops the routing being reverted. Residue named in lanes/av1muchunk422sym.report.md: the chroma rect gathers of decode_block_128rect, decode_intra_sub8_leaf and decode_inter_sub8_rect2 are the same class but different walks, and need their own reachability measurement.
Merge lane/av1muchunk422div: the compound 128-root miss is V coefficients, not the walk sizeAhmet Kaan Gümüş · 5ae8dcd
Merge lane/av1muchunk422div: the compound 128-root miss is V coefficients, not the walk size 422_muchunk_compound_128root.obu is luma-exact and U-exact. V is wrong on decode frames 2-5. Frames 3 and 5 are skip blocks inheriting the bad region. The intrinsic miss is the last mu chunk of the compound side>64 walk, chroma (32..63, 64..127). Prediction matches the reference. The dequant ladder matches the oracle until that chunk's last two chroma units, where signs diverge and our side emits one extra non-zero unit. The 4:2:2 stride at that site is already per-axis; restoring the square would reintroduce the OOB the lpf lane closed and would not touch this miss. No decode change. Next is a paired symbol ladder on that chunk's chroma context, not another size fix.
ec-av1: diagnose the 128-root compound mu-chunk divergence (no fix)Ahmet Kaan Gümüş · 3e6e38c
ec-av1: diagnose the 128-root compound mu-chunk divergence (no fix) 422_muchunk_compound_128root.obu is the counter witness for the compound `side > 64` mu-chunk walk. This lane measures where its V plane diverges from the oracle and names the arm. Measured (decode order, ours post-filter vs instrumented aomdec EC_AV1_FINAL_DUMP): Y and U bit-exact on every frame; V exact on frames 0, 1, 6 and 2138/2063/2105/1988 samples wrong on frames 2/3/4/5. Display order (ffmpeg rawvideo) agrees: 2063/2138/2105/1988 on shown frames 1-4. First wrong sample: decode frame 2, plane V, chroma (36,60) -> luma (72,60) -> mi (15,18); the intrinsic region is the walk's LAST mu chunk (cr=1, cc=1), mi rows 16..31 x cols 16..31, plus a deblock bleed band. A temporary env-gated probe at both mu-chunk allocation sites (EC_AV1_MUDBG, reverted) shows the compound site fires only for decode frames 2 and 4 (the two intrinsically wrong frames) and the single-reference twin only for frame 1 (bit-exact); every unit's cu/dst_start/chroma_stride/chroma_buf_h is as designed, so the walk's addressing is not the defect. Pre-filter dumps, EC_CPRED (prediction is a verified identity copy of the reference), and EC_DQCOEFF pairing (identical unit-for-unit until frame 2's last chroma units, which diverge at sign level and add one unit on our side) place the divergence in that chunk's chroma coefficient context. No code change: the charter's fix allowed only a square-restore at this site, and the probe proves the per-axis stride there is already correct (restoring the square would re-introduce the W_intrabc OOB the lpf lane closed) without touching this divergence. The pinned counter gate is untouched. Report: lanes/av1muchunk422div.report.md