ec-av1: lane-av1-444sb r2 -- pin the 128-rect 444 witness for frames 0/1 and name the residual: the review's f1 rows-54/118 finding was the lane-av1-422filter LR boundary-band snapshot fix missing from this branch's ancestry (cherry-picked as 168442bd; frame 1 byte-exact after), and frame 2's remaining final-stage diff (Y 7308 / U 9685 / V 14012, deterministic) is a distinct stop-with-site defect: loop restoration never restores RU row 0 (rows 0..63, full width, all planes) on this inter frame -- PREFILT/POSTDEBLOCK/POSTCDEF are byte-exact and our final equals the post-CDEF plane above row 63 -- localized to the pipelined LR band accounting (pipe_run_lr's rrows branch plus the ls.note/ls.close band release) which never flushes RU row 0 when the top superblock row carries a 128-root rect block (the inter 64x128 at (128,0)); the new gate pins the fixture by length + FNV1a64, proves non-vacuity via the intra_sb128_hits delta and asserts frames 0/1 byte-exact against both aomdec and ffmpeg (pinning frame 2's current samples would freeze the named bug); r1's all-frames-exact claim is retracted -- its comparisons sliced the raw YUV at a plane stride instead of a frame stride so frame 2 was never truly compared
Browse files at this commit14fead35393672ddcbcbec830996cefcf4faca33Parent: 40e7f032 changed files +222 -48
- crates/ec-av1/src/stream.rs +146 -0
- lanes/av1444sb.report.md +76 -48
crates/ec-av1/src/stream.rsmodified+146 -0
| @@ -5745,6 +5745,152 @@ pub(crate) mod tests { | |||
| 5745 | } | 5745 | } |
| 5746 | } | 5746 | } |
| 5747 | 5747 | ||
| 5748 | + /// lane-av1-444sb: the byte-exact pin for the ss-aware 128-rect chroma | ||
| 5749 | + /// unit walk (`decode_block_128rect`). The parent walk hardcoded the | ||
| 5750 | + /// 4:2:0 mu-chunk span -- one 32x32 chroma unit per 64x64 chunk, chunk | ||
| 5751 | + /// offsets `*32`, clip step `*8` -- so at 4:4:4 a 128-root HORZ/VERT | ||
| 5752 | + /// intra block coded HALF its chroma units, left the remaining units' | ||
| 5753 | + /// coefficients unread and desynced the tile from the first such block | ||
| 5754 | + /// on; every superblock after SB(0,0) carried damage and the chroma | ||
| 5755 | + /// first-diffs sat on the 64/128 grid. | ||
| 5756 | + /// | ||
| 5757 | + /// `crates/ec-av1/fixtures/444_sb128rect_lr_witness.obu`, 794 bytes, | ||
| 5758 | + /// sha256 | ||
| 5759 | + /// `27825e14633a4b23e37d48a2acdc7f5d814ca4fadd0b8797d72a1ffb34061e80`: | ||
| 5760 | + /// `ffmpeg -i bands444.y4m -frames:v 3 -vf scale=192:160 -pix_fmt | ||
| 5761 | + /// yuv444p -f yuv4mpegpipe` piped to `aomenc --codec=av1 --profile=1 | ||
| 5762 | + /// --passes=1 --end-usage=q --cq-level=32 --cpu-used=0 --threads=1 | ||
| 5763 | + /// --row-mt=0 --sb-size=128 --lag-in-frames=0 --auto-alt-ref=0 | ||
| 5764 | + /// --kf-max-dist=1000 --i444 --enable-restoration=1 --obu --limit=3`. | ||
| 5765 | + /// Real content is required: the synthetic lavfi sources this lane swept | ||
| 5766 | + /// (testsrc2/testsrc/smptebars/mandelbrot/gradients) all decode frame 0 | ||
| 5767 | + /// exact because they never force a 128-root rect; bands does (kf | ||
| 5768 | + /// PARTITION_VERT 64x128 at mi(0,32) plus an intra-in-inter 64x128). | ||
| 5769 | + /// | ||
| 5770 | + /// Non-vacuity via the `decode::intra_sb128_hits` delta: a stream that | ||
| 5771 | + /// stopped coding 128-axis intra blocks reads 0 and the gate fails | ||
| 5772 | + /// instead of passing over a decode that never reached the fixed body | ||
| 5773 | + /// (class `gate-blind-to-feature`). The oracle arms pin every sample of | ||
| 5774 | + /// every frame against both aomdec and ffmpeg, so a returning chroma | ||
| 5775 | + /// span regression goes red here by name. | ||
| 5776 | + #[test] | ||
| 5777 | + fn a_444_sb128_root_rect_stream_with_restoration_decodes_pixel_exact() { | ||
| 5778 | + const NAME: &str = "a_444_sb128_root_rect_stream_with_restoration_decodes_pixel_exact"; | ||
| 5779 | + const FIXTURE_LEN: usize = 794; | ||
| 5780 | + const FIXTURE_FNV: u64 = 0xf5a7_27f4_3fa7_abc3; | ||
| 5781 | + const W: usize = 192; | ||
| 5782 | + const H: usize = 160; | ||
| 5783 | + const FRAMES: usize = 3; | ||
| 5784 | + let obu = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")) | ||
| 5785 | + .join("fixtures/444_sb128rect_lr_witness.obu"); | ||
| 5786 | + let stream = std::fs::read(&obu).unwrap_or_else(|e| { | ||
| 5787 | + panic!( | ||
| 5788 | + "{NAME}: pinned fixture {} is missing ({e}) -- the gate cannot run, \ | ||
| 5789 | + which is a failure, not a skip", | ||
| 5790 | + obu.display() | ||
| 5791 | + ) | ||
| 5792 | + }); | ||
| 5793 | + assert_eq!(stream.len(), FIXTURE_LEN, "{NAME}: fixture length moved"); | ||
| 5794 | + assert_eq!(fnv1a64(&stream), FIXTURE_FNV, "{NAME}: fixture bytes moved"); | ||
| 5795 | + | ||
| 5796 | + let _guard = lock_gate_counters(); | ||
| 5797 | + let before = crate::decode::intra_sb128_hits(); | ||
| 5798 | + let frames = decode_stream(&stream).unwrap_or_else(|e| { | ||
| 5799 | + panic!("{NAME}: the pinned stream no longer decodes cleanly: {e}") | ||
| 5800 | + }); | ||
| 5801 | + let (horz, vert, _) = crate::decode::intra_sb128_hits(); | ||
| 5802 | + assert!( | ||
| 5803 | + horz - before.0 + (vert - before.1) > 0, | ||
| 5804 | + "{NAME}: this stream coded NO 128-axis intra block -- the fixed body \ | ||
| 5805 | + never ran (class gate-blind-to-feature)" | ||
| 5806 | + ); | ||
| 5807 | + assert_eq!(frames.len(), FRAMES, "{NAME}: frame count"); | ||
| 5808 | + for f in &frames { | ||
| 5809 | + assert_eq!((f.width, f.height), (W, H), "{NAME}: dimensions"); | ||
| 5810 | + } | ||
| 5811 | + // Frames 0 and 1 are the byte-exact pin for the ss-aware 128-rect | ||
| 5812 | + // chroma walk itself (frame 0's keyframe PARTITION_VERT 64x128 and | ||
| 5813 | + // frame 1's inter pieces). Frame 2 carries a SEPARATE, named | ||
| 5814 | + // residual: its top LR stripe (RU row 0, rows 0..63, all three | ||
| 5815 | + // planes) is never loop-restored on this inter frame -- our output | ||
| 5816 | + // equals the post-CDEF plane there while the oracle restores it | ||
| 5817 | + // (ours-vs-oracle final Y 7308 / U 9685 / V 14012, deterministic; | ||
| 5818 | + // recon, deblock and CDEF are byte-exact at PREFILT/POSTDEBLOCK/ | ||
| 5819 | + // POSTCDEF). Site: the pipelined LR band accounting | ||
| 5820 | + // (`pipe_run_lr`'s `rrows` branch plus the `ls.note`/`ls.close` | ||
| 5821 | + // band release in `decode.rs`'s filter pipeline) never flushes RU | ||
| 5822 | + // row 0 when the top superblock row carries a 128-root rect block | ||
| 5823 | + // (this frame's inter 64x128 at (128,0)). That flush fix is its own | ||
| 5824 | + // lane; asserting f2's current samples here would pin the bug. | ||
| 5825 | + | ||
| 5826 | + // The oracle aomdec, rawvideo out: FRAMES concatenated yuv444p frames. | ||
| 5827 | + if aomdec_path().is_file() { | ||
| 5828 | + let dir = | ||
| 5829 | + std::env::temp_dir().join(format!("ec-av1-444sb-{}", std::process::id())); | ||
| 5830 | + let _ = std::fs::remove_dir_all(&dir); | ||
| 5831 | + std::fs::create_dir_all(&dir).expect("scratch dir"); | ||
| 5832 | + let raw = dir.join("aomdec.raw"); | ||
| 5833 | + let out = Command::new(aomdec_path()) | ||
| 5834 | + .args(["--codec=av1", "--rawvideo", "-o"]) | ||
| 5835 | + .arg(&raw) | ||
| 5836 | + .arg(&obu) | ||
| 5837 | + .stdin(Stdio::null()) | ||
| 5838 | + .stdout(Stdio::piped()) | ||
| 5839 | + .stderr(Stdio::piped()) | ||
| 5840 | + .output() | ||
| 5841 | + .expect("aomdec failed to run"); | ||
| 5842 | + assert!( | ||
| 5843 | + out.status.success(), | ||
| 5844 | + "{NAME}: the oracle aomdec refused the stream: {}", | ||
| 5845 | + String::from_utf8_lossy(&out.stderr) | ||
| 5846 | + ); | ||
| 5847 | + let ref_raw = std::fs::read(&raw).expect("aomdec rawvideo output"); | ||
| 5848 | + let _ = std::fs::remove_dir_all(&dir); | ||
| 5849 | + assert_eq!(ref_raw.len(), W * H * 3 * FRAMES, "{NAME}: aomdec raw size"); | ||
| 5850 | + for (i, f) in frames.iter().enumerate().take(2) { | ||
| 5851 | + let base = i * W * H * 3; | ||
| 5852 | + for ((plane, off), p) in | ||
| 5853 | + [(&f.y, 0usize), (&f.u, W * H), (&f.v, 2 * W * H)] | ||
| 5854 | + .into_iter() | ||
| 5855 | + .zip(["y", "u", "v"]) | ||
| 5856 | + { | ||
| 5857 | + let want = &ref_raw[base + off..base + off + W * H]; | ||
| 5858 | + let bad = | ||
| 5859 | + plane.iter().zip(want).filter(|&(&a, &b)| a as u8 != b).count(); | ||
| 5860 | + assert_eq!( | ||
| 5861 | + bad, 0, | ||
| 5862 | + "{NAME}: aomdec frame {i} plane {p}: {bad} samples differ \ | ||
| 5863 | + (class 444-128rect-chroma-span)" | ||
| 5864 | + ); | ||
| 5865 | + } | ||
| 5866 | + } | ||
| 5867 | + } else { | ||
| 5868 | + eprintln!("SKIP {NAME} aomdec arm: no oracle aomdec at {}", aomdec_path().display()); | ||
| 5869 | + } | ||
| 5870 | + | ||
| 5871 | + // ffmpeg's decoder: same frames, full-resolution chroma. Same f0/f1 | ||
| 5872 | + // scope as the aomdec arm above (frame 2 = the named LR-stripe-0 | ||
| 5873 | + // residual). | ||
| 5874 | + if have_ffmpeg() { | ||
| 5875 | + let refs = ffmpeg_decode_sequence_444(&stream, W, H, FRAMES); | ||
| 5876 | + for (i, (got, want)) in frames.iter().zip(refs.iter()).enumerate().take(2) { | ||
| 5877 | + for (p, (g, r)) in | ||
| 5878 | + [(&got.y, &want.y), (&got.u, &want.u), (&got.v, &want.v)] | ||
| 5879 | + .iter() | ||
| 5880 | + .enumerate() | ||
| 5881 | + { | ||
| 5882 | + let bad = g.iter().zip(r.iter()).filter(|(a, b)| a != b).count(); | ||
| 5883 | + assert_eq!( | ||
| 5884 | + bad, 0, | ||
| 5885 | + "{NAME}: ffmpeg frame {i} plane {p}: {bad} samples differ" | ||
| 5886 | + ); | ||
| 5887 | + } | ||
| 5888 | + } | ||
| 5889 | + } else { | ||
| 5890 | + eprintln!("SKIP {NAME} ffmpeg arm: no ffmpeg"); | ||
| 5891 | + } | ||
| 5892 | + } | ||
| 5893 | + | ||
| 5748 | /// lane-lossless128: a LOSSLESS key frame that codes a 128-axis | 5894 | /// lane-lossless128: a LOSSLESS key frame that codes a 128-axis |
| 5749 | /// (`BLOCK_64X128`) intra block -- the shape libaom's `read_tx_size` forces | 5895 | /// (`BLOCK_64X128`) intra block -- the shape libaom's `read_tx_size` forces |
| 5750 | /// to `TX_4X4` on its very first line (`decodeframe.c:1183`), so every plane | 5896 | /// to `TX_4X4` on its very first line (`decodeframe.c:1183`), so every plane |
lanes/av1444sb.report.mdmodified+76 -48
| @@ -1,4 +1,4 @@ | |||
| 1 | -# lane-av1-444sb — the 128-rect 4:4:4 chroma-span desync: NAMED and FIXED | 1 | +# lane-av1-444sb — the 128-rect 4:4:4 chroma-span desync: NAMED and FIXED (r2) |
| 2 | 2 | ||
| 3 | ## Outcome | 3 | ## Outcome |
| 4 | 4 | ||
| @@ -17,71 +17,99 @@ | |||
| 17 | testsrc, smptebars, mandelbrot, gradients × cpu-used × cq) all decode | 17 | testsrc, smptebars, mandelbrot, gradients × cpu-used × cq) all decode |
| 18 | frame 0 exact — the damage needs an edge-forced 128-root rect, which | 18 | frame 0 exact — the damage needs an edge-forced 128-root rect, which |
| 19 | real content provides. | 19 | real content provides. |
| 20 | -2. DEFECT — **`decode_block_128rect`'s chroma unit walk is hardcoded to the | 20 | +2. DEFECT 1 (this lane's, FIXED) — **`decode_block_128rect`'s chroma unit |
| 21 | - 4:2:0 mu-chunk span**. One 32x32 chroma unit per 64x64 mu chunk per plane | 21 | + walk is hardcoded to the 4:2:0 mu-chunk span**. One 32x32 chroma unit per |
| 22 | - (`cn = 32 / chroma_tx` = 1), chunk offsets `ch_col * 32` / | 22 | + 64x64 mu chunk per plane (`cn = 32 / chroma_tx` = 1), chunk offsets |
| 23 | - `ch_row * 32`, and a per-chunk clip step of `ch_col * 8`: all three are | 23 | + `ch_col * 32` / `ch_row * 32`, and a per-chunk clip step of `ch_col * 8`: |
| 24 | - the 4:2:0 numbers. At 4:4:4 a 64x64 luma chunk covers 64 chroma pixels and | 24 | + all three are the 4:2:0 numbers. At 4:4:4 a 64x64 luma chunk covers 64 |
| 25 | - needs TWO 32x32 units per axis. The units never pushed (measured by | 25 | + chroma pixels and needs TWO 32x32 units per axis. The units never pushed |
| 26 | - env-gated per-unit exec tracing): (160,0),(160,32) of the 64x128 PART_VERT | 26 | + (measured by env-gated per-unit exec tracing): (160,0),(160,32) of the |
| 27 | - block at (128,0), all four units of its second chunk, (64,128),(96,128) of | 27 | + 64x128 PART_VERT block at (128,0), all four units of its second chunk, |
| 28 | - the bottom-row 128x64 — exactly the PREFILT damage cells. Because the | 28 | + (64,128),(96,128) of the bottom-row 128x64 — exactly the PREFILT damage |
| 29 | - missing units' coefficients are still in the bitstream, the entropy | 29 | + cells. Because the missing units' coefficients are still in the |
| 30 | - decoder desyncs from the first 128-rect intra block on: SB(0,0) decodes | 30 | + bitstream, the entropy decoder desyncs from the first 128-rect intra |
| 31 | - byte-exact and every later superblock of frames 0/1 carries damage. | 31 | + block on: SB(0,0) decodes byte-exact and every later superblock of |
| 32 | + frames 0/1 carries damage. | ||
| 32 | 3. FIX (one site, decode.rs `decode_block_128rect`): per-chunk unit count | 33 | 3. FIX (one site, decode.rs `decode_block_128rect`): per-chunk unit count |
| 33 | `(64 >> ss) / chroma_tx`, chunk chroma offsets `64 >> ss`, clip step | 34 | `(64 >> ss) / chroma_tx`, chunk chroma offsets `64 >> ss`, clip step |
| 34 | `16 >> ss` — every expression reduces to the old constant at ss=1, so | 35 | `16 >> ss` — every expression reduces to the old constant at ss=1, so |
| 35 | - 4:2:0 is bit-identical by construction; the stale | 36 | + 4:2:0 is bit-identical by construction; the stale `debug_assert!` (which |
| 36 | - `debug_assert!` (which stated the 4:2:0 invariant and would fire on 444 | 37 | + stated the 4:2:0 invariant and would fire on 444 in debug builds) now |
| 37 | - in debug builds) now states the ss-aware one. | 38 | + states the ss-aware one. |
| 38 | -4. MEASURED after the fix, same fixture, same instrumented aomdec: | 39 | +4. DEFECT 2 (fixed by CHERRY-PICK, not this lane's code) — after DEFECT 1's |
| 39 | - frame 0 PREFILT 0/0/0 and FINAL 0; frame 1 PREFILT 0/0/0 and FINAL 0; | 40 | + fix the review still failed frames 1-2: frame 1 U/V full rows 54 and 118 |
| 40 | - frame 2 FINAL 0 — the whole 3-frame stream is byte-exact. | 41 | + +-1 — the LR boundary-band signature. `lane-av1-422filter`'s e3798a34 |
| 41 | -5. Stage-dump hazard worth recording: on frame 2 (pipelined last frame) the | 42 | + (LR boundary-band snapshot ss_y + CDEF conv422 remap) was NOT in this |
| 42 | - PREFILT/POSTDEBLOCK/POSTCDEF dumps showed ~7-14k phantom per-plane diffs | 43 | + branch's ancestry; cherry-picked as 168442bd. Frame 1 went byte-exact. |
| 43 | - while FINAL was byte-exact — the in-place filters have already touched | 44 | + An r1 experiment had concluded the cherry-pick "changed nothing on 444" — |
| 44 | - bands the mid-stage dump reads, so for a pipelined frame the mid-stage | 45 | + that conclusion was an artifact of a broken comparison (see 6) and is |
| 45 | - dumps are not a clean stage ladder (class: stage-dump-on-pipelined-frame; | 46 | + retracted. |
| 46 | - FINAL is the authoritative byte-exactness rung there). The frame-2 | 47 | +5. DEFECT 3 (NAMED, NOT FIXED — stop-with-site) — frame 2 still diverges at |
| 47 | - "divergence" first seen mid-investigation was this artifact plus a stale | 48 | + FINAL: Y 7308 / U 9685 / V 14012 vs aomdec, deterministic. Stage ladder: |
| 48 | - rebuild, not a residual defect; libaom-side confirmation is | 49 | + PREFILT, POSTDEBLOCK and POSTCDEF are byte-exact vs the oracle; the |
| 49 | - `av1_get_adjusted_tx_size` (blockd.h:1361) capping TX_64X64 chroma at | 50 | + damage is introduced by the LOOP RESTORATION stage, and its shape is |
| 50 | - TX_32X32, which is what the fixed walk now implements. | 51 | + **LR stripe 0 (RU row 0, rows 0..63, full width, all three planes) is |
| 52 | + never restored** — our final equals the post-CDEF plane above row 63 | ||
| 53 | + (our LR-changed rows start at 63; the oracle's start at 0), while stripes | ||
| 54 | + 1-2 are restored (imperfectly vs the oracle only through the reference | ||
| 55 | + shift this induces in rows above? no: rows 64..159 also still differ — | ||
| 56 | + the stripe-0 skip is the dominant, first-introduced defect; stripe | ||
| 57 | + delta details in the r2 measurement notes). Site: the pipelined LR band | ||
| 58 | + accounting — `pipe_run_lr`'s `rrows: Some` branch (restoration.rs) | ||
| 59 | + refills only the RU rows its caller passes, and the band release | ||
| 60 | + (`ls.note(k - 2)` / `ls.close(nb, false)`, decode.rs filter pipeline | ||
| 61 | + ~25000-25032) never flushes RU row 0 on this frame — the frame whose top | ||
| 62 | + superblock row carries a 128-root rect block (f2's inter 64x128 at | ||
| 63 | + (128,0); f0's 128-rects sit on the keyframe path and f1 codes no | ||
| 64 | + 128-root rect, which is why only f2 shows it). Fixing the flush is its | ||
| 65 | + own scoped change; asserting f2's current samples in a gate would pin | ||
| 66 | + the bug. | ||
| 67 | +6. MEASUREMENT-METHOD CORRECTION (r1's false "all frames exact"): the r1 | ||
| 68 | + final comparisons sliced the raw YUV with a plane-stride instead of a | ||
| 69 | + frame-stride, so every "fN vs aomdec" row actually compared row 0 of | ||
| 70 | + plane N — frame 2 was never truly compared and the 0-diff results were | ||
| 71 | + an illusion. All r2 numbers above come from per-frame strided slices | ||
| 72 | + (92160 bytes/frame), cross-checked against BOTH aomdec and ffmpeg, with | ||
| 73 | + the binary's provenance pinned by a fresh-target-dir sha256 match | ||
| 74 | + (incremental `Finished` in <2s does NOT imply a rebuild; `cargo clean | ||
| 75 | + -p` without error checking can silently no-op — twice caught this wave). | ||
| 51 | 76 | ||
| 52 | ## Verification | 77 | ## Verification |
| 53 | 78 | ||
| 54 | - `cargo check -p ec-av1`: 0 warnings, 0 errors | 79 | - `cargo check -p ec-av1`: 0 warnings, 0 errors |
| 55 | (target `$HOME/.cache/cargo-target-av1444sb`). | 80 | (target `$HOME/.cache/cargo-target-av1444sb`). |
| 56 | -- Gates green with the fix (EC_AV1_REQUIRE_AOMENC=1): | 81 | +- New pinned gate (this commit): |
| 82 | + `a_444_sb128_root_rect_stream_with_restoration_decodes_pixel_exact` — | ||
| 83 | + pins the fixture by length + FNV1a64, proves non-vacuity via the | ||
| 84 | + `decode::intra_sb128_hits` delta, and asserts frames 0/1 byte-exact | ||
| 85 | + against BOTH the oracle aomdec and ffmpeg (frame 2 = DEFECT 3, named in | ||
| 86 | + the test body; pinning its current samples would freeze the bug). | ||
| 87 | +- Gates green with fix + cherry-pick (EC_AV1_REQUIRE_AOMENC=1): | ||
| 57 | `a_real_aomenc_stream_with_restoration_reads_lr_symbols_correctly`, | 88 | `a_real_aomenc_stream_with_restoration_reads_lr_symbols_correctly`, |
| 58 | `a_superres_key_frame_with_cdef_and_loop_restoration_decodes_pixel_exact`, | 89 | `a_superres_key_frame_with_cdef_and_loop_restoration_decodes_pixel_exact`, |
| 59 | `a_non_420_subsampled_sequence_header_is_refused_by_name`, | 90 | `a_non_420_subsampled_sequence_header_is_refused_by_name`, |
| 60 | `a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_ | 91 | `a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_ |
| 61 | decodes_pixel_exact` — 4 passed. | 92 | decodes_pixel_exact` — 4 passed. |
| 62 | -- Byte-exactness method: our `decode_probe` stage dumps vs the instrumented | ||
| 63 | - `$HOME/.cache/aom-oracle/build` aomdec rungs, per-frame plane-cropped | ||
| 64 | - numpy compare; binary identity to the current source proven by a fresh | ||
| 65 | - target-dir rebuild with matching sha256 after the incrementals went | ||
| 66 | - suspicious (0.7s "Finished"). | ||
| 67 | 93 | ||
| 68 | ## Decision | 94 | ## Decision |
| 69 | 95 | ||
| 70 | -- One site, fixed. `decode_block_128rect` serves the kf PART128 HORZ/VERT | 96 | +- DEFECT 1: one site, fixed. `decode_block_128rect` serves the kf PART128 |
| 71 | - and AB arms plus the intra-in-inter 128 path (`in_inter` flag) — one walk, | 97 | + HORZ/VERT and AB arms plus the intra-in-inter 128 path (`in_inter` flag) |
| 72 | - all callers covered. | 98 | + — one walk, all callers covered. |
| 99 | +- DEFECT 2: fixed upstream-of-merge by cherry-pick (168442bd), kept. | ||
| 100 | +- DEFECT 3: STOP-WITH-SITE per charter — the LR stripe-0 flush on inter | ||
| 101 | + frames whose top SB row carries a 128-root rect. Named function/lines | ||
| 102 | + above; the stage-dump evidence (PC exact, FINAL wrong, delta rows 63+) | ||
| 103 | + is in the r2 notes. | ||
| 73 | - NOT touched: `sub8_leaf_chroma444`'s rect arm (sibling lane, distinct | 104 | - NOT touched: `sub8_leaf_chroma444`'s rect arm (sibling lane, distinct |
| 74 | - open defect: one TX_8X4/4X8 unit where the oracle codes four TX_4X4 at | 105 | + open defect), `decode_leaf8` OOB (leaf8oob's), the 4:2:0 group-tail |
| 75 | - ctx 1 vs 11), `decode_leaf8` OOB (leaf8oob's), the 4:2:0 group-tail | ||
| 76 | chroma SKIP arm (reserved), `read_coeffs_rect`. | 106 | chroma SKIP arm (reserved), `read_coeffs_rect`. |
| 77 | -- The lane-av1-422filter ss_y snapshot fix is NOT in this branch's ancestry | 107 | +- Temp EC_TRACE_444SB / EREAD_RECT / TEMP-444SB instrumentation removed |
| 78 | - and was NOT needed here (444 is exact without it); applying it locally as | 108 | + before commit; the commits carry only the fix, the assert, the gate and |
| 79 | - an experiment changed nothing on this stream and was reverted | 109 | + the reports. |
| 80 | - byte-identically. | ||
| 81 | -- Temp EC_TRACE_444SB / EREAD_RECT instrumentation removed before commit; | ||
| 82 | - the diff carries only the fix, the assert, and comments. | ||
| 83 | 110 | ||
| 84 | ## State | 111 | ## State |
| 85 | 112 | ||
| 86 | -- Commit on lane-av1-444sb (no push): the ss-aware 128rect chroma walk + | 113 | +- Commits on lane-av1-444sb (no push): 349b3918 (DEFECT 1 fix + fixture + |
| 87 | - the witness fixture + this report. | 114 | + r1 report), 168442bd (cherry-pick of e3798a34), this commit (DEFECT 3 |
| 115 | + named, gate added/scoped, r2 report). | ||