Lane-t900 r6 report -- the 128-SB inter witness, the lifted 16x4-in-inter opt-in, and the frame-14 U-only transform residue
Browse files at this commitda0870652a2e1f6281f5fb8932da6212eb85ff46Parent: 27cd698- docs
- lane-t900 r6 report -- the 128-SB inter witness, the lifted 16x4-in-inter opt-in, and the frame-14 U-only transform residue
1 changed file +138 -0
- lanes/t900-r6.report.md +138 -0
lanes/t900-r6.report.mdadded+138 -0
| @@ -0,0 +1,138 @@ | ||
| 1 | +# lane-t900 r6 report -- the 128-SB inter witness is pinned, the intra 16x4-in-inter opt-in is lifted | |
| 2 | + | |
| 3 | +Branch `lane-t900`, tip `14e0b20b` (one commit this round on top of r5's | |
| 4 | +`1bd6f815`; main `243f125e` was already merged, `git merge-base --is-ancestor | |
| 5 | +main HEAD` = yes). | |
| 6 | + | |
| 7 | +## STEP 0 -- suite (the r2-r5 fixes were UNVERIFIED against it) | |
| 8 | + | |
| 9 | +`systemd-run --user --unit=t900-suite-r6-... -p MemoryMax=10G ... cargo test -p | |
| 10 | +ec-av1 --lib -j3` on the r5 tip: | |
| 11 | + | |
| 12 | + test result: ok. 425 passed; 0 failed; 38 ignored; 0 measured; 0 filtered out; finished in 766.69s | |
| 13 | + | |
| 14 | +No FAILED name. None of the five r2-r5 fixes (chroma-context wipe, in-inter | |
| 15 | +tx-depth context, rect interintra, mi-exact edge-filter neighbours, per-plane | |
| 16 | +warp bail-out, 128-root cdef literal) reddened anything. | |
| 17 | + | |
| 18 | +EVIDENCE: $HOME/.cache/t900-suite-r6.log | full ec-av1 lib suite on 1bd6f815 | 425 passed 0 failed 38 ignored | |
| 19 | + | |
| 20 | +## STEP 1 -- the witness, the gate, the lift | |
| 21 | + | |
| 22 | +`crates/ec-av1/fixtures/reelc_sb128_inter_witness.obu`, 166303 bytes, sha256 | |
| 23 | +`1191ce80e2c6c5855eaf7a8f5e8cda2cdf809f467b0dbc5e26df96dfa6b2c8bd`, `git add | |
| 24 | +-f`'d. First 19 frame-carrying OBUs of a 2 s cut taken 900 s into the 10-bit | |
| 25 | +1920x792 `use_128x128_superblock=1` stream: 14 decode-order frames, 12 shown. | |
| 26 | +Cut a SECOND time independently from the source (`-ss 900 -t 2 -c:v copy -f | |
| 27 | +obu` + the same OBU truncation) -- both cuts hash identically, so the fixture is | |
| 28 | +reproducible from the source and not from a scratch file. | |
| 29 | + | |
| 30 | +All 14 decode-order frames byte-exact vs instrumented aomdec | |
| 31 | +(`EC_AV1_FINAL_DUMP`, `~/.cache/t900-tmp/cmp.sh`), all 12 shown frames | |
| 32 | +pixel-exact on every plane vs ffmpeg inside the gate. | |
| 33 | + | |
| 34 | +New gate `a_10bit_128sb_film_frames_with_warp_cdef_and_interintra_decode_pixel_exact` | |
| 35 | +(stream.rs, modelled on the hidden-ARF gate) hard-asserts every counter > 0: | |
| 36 | + | |
| 37 | +| counter | fired | the defect it proves is exercised | | |
| 38 | +|---|---|---| | |
| 39 | +| warp_plane_suppress | 15 | r5: per-plane warp bail-out on the plane's own w/h | | |
| 40 | +| cdef_idx | 763 | r5: the 128-root second half's own `cdef_idx` literal | | |
| 41 | +| inter_sb128_vert | 68 | r5: the 128-root HORZ/VERT inter arm | | |
| 42 | +| interintra_rect | 118 | r4: interintra on a rectangular block | | |
| 43 | +| non_chroma_ref_ctx_skip | 163 | r3: non-chroma-reference block leaves chroma ctx alone (NEW counter) | | |
| 44 | +| intra_in_inter_txctx | 1946 | r2: in-inter tx-depth row from the TXFM_CONTEXT bands (NEW counter) | | |
| 45 | +| edge_filter_mi_fix | 195 | r4: mi-exact intra-edge-filter neighbours (NEW counter) | | |
| 46 | +| intra16x4_in_inter | (78, 149, 108) | the lifted shape: 16x4, 4x16, chroma-paired | | |
| 47 | + | |
| 48 | +Three counters were added this round because those fixes shipped with none. | |
| 49 | + | |
| 50 | +EVIDENCE: crates/ec-av1/fixtures/reelc_sb128_inter_witness.obu | cargo test -p ec-av1 --lib -- a_10bit_128sb_film_frames_with_warp_cdef_and_interintra --nocapture | ok, 12 shown frames pixel-exact, counters 15/763/68/118/163/1946/195 and (78,149,108) | |
| 51 | + | |
| 52 | +REFUSAL LIFTED: the `EC_INTRA16X4_DECODE` opt-in over "an intra 16x4/4x16 strip | |
| 53 | +inside an inter 16x16-level 1:4 partition". lane-wit16x4 r1 re-widened it | |
| 54 | +because lane-sub8x4 r3's witness counters were phantoms of a desync (class | |
| 55 | +`counter-from-refused-stream`); here the arm fires 227 times inside frames that | |
| 56 | +are decoded AND compared exact. `refusal_inventory.rs`'s note and the ignored | |
| 57 | +aomenc gate's `#[ignore]` text updated in the same commit. The named refusal | |
| 58 | +STAYS for a 16x4/4x16 strip with no chroma-pair record and every other sub-8 | |
| 59 | +shape, so the inventory string itself does not move. | |
| 60 | + | |
| 61 | +NOT LIFTED: `EC_INTRA128_IN_INTER` (the 128x64/64x128 intra-in-inter arm). It | |
| 62 | +fires 0 times on this witness (`decode_probe` with only `EC_INTRA16X4_DECODE`: | |
| 63 | +`intra128_in_inter: 128x64=0 64x128=0`), so there is still no witness for it -- | |
| 64 | +lifting it would be a capability claim (class `refusal-lifted-without-a-gate`). | |
| 65 | + | |
| 66 | +Sibling gates re-run (COMMON's SIBLING GATES rule), filters `interintra | |
| 67 | +hidden_arf rect64_corner_tus sub8 1to4 obmc refusal_inventory gate_coverage`: | |
| 68 | + | |
| 69 | + test result: ok. 39 passed; 0 failed; 4 ignored; 0 measured; 421 filtered out; finished in 204.70s | |
| 70 | + | |
| 71 | +## STEP 2 -- frame 14's U-only residue: LOCALISED, NOT FIXED | |
| 72 | + | |
| 73 | +Re-measured on this tip with the 16-frame cut `~/.cache/t900-tmp/t900_h.obu` | |
| 74 | +(the 14-frame witness stops one frame short of it): decode-order frames 0..13 | |
| 75 | +exact, frame 14 = 32 differing bytes, frame 15 = 28. | |
| 76 | + | |
| 77 | +Prefilter compare (`pf.sh`, `~/.cache/t900-tmp/pf_h2/`) narrows it much further | |
| 78 | +than r5's post-filter numbers: | |
| 79 | + | |
| 80 | +* frame 14: **Y 0, V 0, U 14 pixels**, bbox chroma x 472..475, y 284..287 -- | |
| 81 | + exactly ONE 4x4 chroma transform unit, aligned. | |
| 82 | +* frame 15: same superblock, U 24 pixels, bbox x 472..477 y 281..288. | |
| 83 | + | |
| 84 | +That unit is the chroma of the 8x8 inter block at luma (944,568) = mi(142,236), | |
| 85 | +which our `EC_TRACE_MODE` shows as an INTER COMPOUND leaf (`cmode=24 ref0=1 | |
| 86 | +ref1=5`), NOT an intra-in-inter block -- r5's handoff premise ("intra-in-inter | |
| 87 | +8x8, CfL alpha or chroma DC suspected") is DISPROVED twice over: `EC_PRED` emits | |
| 88 | +no intra prediction at that chroma position at all (only at y=288), so CfL | |
| 89 | +cannot be involved. | |
| 90 | + | |
| 91 | +What the shape of the residue rules in and out: | |
| 92 | + | |
| 93 | +* V is exact and comes AFTER U in the same block, and no later block differs -- | |
| 94 | + the entropy stream is in sync. So this is reconstruction, not a symbol. | |
| 95 | +* Y is exact, so it is not the block's motion vectors, its compound mask or its | |
| 96 | + reference; chroma MC is plane-symmetric and would move V too. | |
| 97 | +* The 4x4 diff is a smooth low-order-AC pattern (+4..+8 top-right, -7..-5 | |
| 98 | + bottom-left, see the block dump in the handoff), i.e. one or two AC | |
| 99 | + coefficients' worth of basis, exactly the signature of an inverse transform | |
| 100 | + fed the right coefficients with the WRONG basis -- class | |
| 101 | + `tx-type-set-membership` (an inter chroma unit inherits the colocated luma | |
| 102 | + `tx_type`; a wrong choice inside the same TX_CLASS leaves the msac range | |
| 103 | + untouched and corrupts only the pixels). | |
| 104 | + | |
| 105 | +`reduce_inherited_chroma_tx_type` (decode.rs:14794) and `read_inter_luma8`'s | |
| 106 | +top-left-unit rule (decode.rs:14700) were both read and both look right for | |
| 107 | +this shape, so the next step is the oracle rung, not another code read: the | |
| 108 | +aom oracle prints `EC_COEFF_STEP tag=tx_type plane=%d` with NO value | |
| 109 | +(decodetxb.c:182) -- printing `tx_type` there and diffing that one line for | |
| 110 | +this TU decides it in one run. | |
| 111 | + | |
| 112 | +Disposition: deferred(the oracle's `tag=tx_type` line needs the VALUE printed | |
| 113 | +and aomdec rebuilt) -- everything else about the defect is pinned above. | |
| 114 | + | |
| 115 | +## STEP 3 -- film table (decode-order vs aomdec, 2 s cuts, this tip) | |
| 116 | + | |
| 117 | +| cut | frames aomdec/ours | first differing | bad frames | stop | | |
| 118 | +|---|---|---|---|---| | |
| 119 | +| t900 | 267 / 267 | 14 | 234 | -- | | |
| 120 | +| t5400 | 275 / 275 | 1 | 273 | -- | | |
| 121 | +| t6300 | 125 / 125 | 1 | 124 | -- | | |
| 122 | +| t8100 | 96 / 32 | 1 | 31 | REFUSED "a Golomb tail longer than this decoder reads" | | |
| 123 | +| witness (14 frames) | 14 / 14 | -- | **0** | -- | | |
| 124 | + | |
| 125 | +Unchanged from r5 -- this round added no decode fix, it pinned and gated what | |
| 126 | +r2-r5 found. | |
| 127 | + | |
| 128 | +`~/.cache/reelc-0-10s.obu` (10 s cut) re-probed on this tip with NO env | |
| 129 | +switches: it now runs past the lifted 16x4 shape and stops at | |
| 130 | +`REFUSED: unsupported: AV1 tile (an intra-coded 128x64 block on the inter block | |
| 131 | +path (no size-group/tx-category row for that shape here))`. | |
| 132 | + | |
| 133 | +EVIDENCE: ~/.cache/t900-tmp/d_t900 d_t5400 d_t6300 d_t8100 | cmp.sh on the four 2 s cuts, aomdec EC_AV1_FINAL_DUMP vs decode_probe | first differing decode-order frame 14 / 1 / 1 / 1 | |
| 134 | + | |
| 135 | +## Suite after the round's changes | |
| 136 | + | |
| 137 | +Re-armed on tip `14e0b20b` as `t900-suite-r6b`, log | |
| 138 | +`$HOME/.cache/t900-suite-r6b.log` -- see the handoff for its result line. |