edith_codecs
Clone
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
lane-t900 r6 report -- the 128-SB inter witness is pinned, the intra 16x4-in-inter opt-in is lifted
Branch lane-t900, tip 14e0b20b (one commit this round on top of r5's
1bd6f815; main 243f125e was already merged, git merge-base --is-ancestor main HEAD = yes).
STEP 0 -- suite (the r2-r5 fixes were UNVERIFIED against it)
systemd-run --user --unit=t900-suite-r6-... -p MemoryMax=10G ... cargo test -p ec-av1 --lib -j3 on the r5 tip:
test result: ok. 425 passed; 0 failed; 38 ignored; 0 measured; 0 filtered out; finished in 766.69s
No FAILED name. None of the five r2-r5 fixes (chroma-context wipe, in-inter tx-depth context, rect interintra, mi-exact edge-filter neighbours, per-plane warp bail-out, 128-root cdef literal) reddened anything.
EVIDENCE: $HOME/.cache/t900-suite-r6.log | full ec-av1 lib suite on 1bd6f815 | 425 passed 0 failed 38 ignored
STEP 1 -- the witness, the gate, the lift
crates/ec-av1/fixtures/reelc_sb128_inter_witness.obu, 166303 bytes, sha256
1191ce80e2c6c5855eaf7a8f5e8cda2cdf809f467b0dbc5e26df96dfa6b2c8bd, git add -f'd. First 19 frame-carrying OBUs of a 2 s cut taken 900 s into the 10-bit
1920x792 use_128x128_superblock=1 stream: 14 decode-order frames, 12 shown.
Cut a SECOND time independently from the source (-ss 900 -t 2 -c:v copy -f obu + the same OBU truncation) -- both cuts hash identically, so the fixture is
reproducible from the source and not from a scratch file.
All 14 decode-order frames byte-exact vs instrumented aomdec
(EC_AV1_FINAL_DUMP, ~/.cache/t900-tmp/cmp.sh), all 12 shown frames
pixel-exact on every plane vs ffmpeg inside the gate.
New gate a_10bit_128sb_film_frames_with_warp_cdef_and_interintra_decode_pixel_exact
(stream.rs, modelled on the hidden-ARF gate) hard-asserts every counter > 0:
| counter | fired | the defect it proves is exercised |
|---|---|---|
| warp_plane_suppress | 15 | r5: per-plane warp bail-out on the plane's own w/h |
| cdef_idx | 763 | r5: the 128-root second half's own cdef_idx literal |
| inter_sb128_vert | 68 | r5: the 128-root HORZ/VERT inter arm |
| interintra_rect | 118 | r4: interintra on a rectangular block |
| non_chroma_ref_ctx_skip | 163 | r3: non-chroma-reference block leaves chroma ctx alone (NEW counter) |
| intra_in_inter_txctx | 1946 | r2: in-inter tx-depth row from the TXFM_CONTEXT bands (NEW counter) |
| edge_filter_mi_fix | 195 | r4: mi-exact intra-edge-filter neighbours (NEW counter) |
| intra16x4_in_inter | (78, 149, 108) | the lifted shape: 16x4, 4x16, chroma-paired |
Three counters were added this round because those fixes shipped with none.
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)
REFUSAL LIFTED: the EC_INTRA16X4_DECODE opt-in over "an intra 16x4/4x16 strip
inside an inter 16x16-level 1:4 partition". lane-wit16x4 r1 re-widened it
because lane-sub8x4 r3's witness counters were phantoms of a desync (class
counter-from-refused-stream); here the arm fires 227 times inside frames that
are decoded AND compared exact. refusal_inventory.rs's note and the ignored
aomenc gate's #[ignore] text updated in the same commit. The named refusal
STAYS for a 16x4/4x16 strip with no chroma-pair record and every other sub-8
shape, so the inventory string itself does not move.
NOT LIFTED: EC_INTRA128_IN_INTER (the 128x64/64x128 intra-in-inter arm). It
fires 0 times on this witness (decode_probe with only EC_INTRA16X4_DECODE:
intra128_in_inter: 128x64=0 64x128=0), so there is still no witness for it --
lifting it would be a capability claim (class refusal-lifted-without-a-gate).
Sibling gates re-run (COMMON's SIBLING GATES rule), filters interintra hidden_arf rect64_corner_tus sub8 1to4 obmc refusal_inventory gate_coverage:
test result: ok. 39 passed; 0 failed; 4 ignored; 0 measured; 421 filtered out; finished in 204.70s
STEP 2 -- frame 14's U-only residue: LOCALISED, NOT FIXED
Re-measured on this tip with the 16-frame cut ~/.cache/t900-tmp/t900_h.obu
(the 14-frame witness stops one frame short of it): decode-order frames 0..13
exact, frame 14 = 32 differing bytes, frame 15 = 28.
Prefilter compare (pf.sh, ~/.cache/t900-tmp/pf_h2/) narrows it much further
than r5's post-filter numbers:
- frame 14: Y 0, V 0, U 14 pixels, bbox chroma x 472..475, y 284..287 -- exactly ONE 4x4 chroma transform unit, aligned.
- frame 15: same superblock, U 24 pixels, bbox x 472..477 y 281..288.
That unit is the chroma of the 8x8 inter block at luma (944,568) = mi(142,236),
which our EC_TRACE_MODE shows as an INTER COMPOUND leaf (cmode=24 ref0=1 ref1=5), NOT an intra-in-inter block -- r5's handoff premise ("intra-in-inter
8x8, CfL alpha or chroma DC suspected") is DISPROVED twice over: EC_PRED emits
no intra prediction at that chroma position at all (only at y=288), so CfL
cannot be involved.
What the shape of the residue rules in and out:
- V is exact and comes AFTER U in the same block, and no later block differs -- the entropy stream is in sync. So this is reconstruction, not a symbol.
- Y is exact, so it is not the block's motion vectors, its compound mask or its reference; chroma MC is plane-symmetric and would move V too.
- The 4x4 diff is a smooth low-order-AC pattern (+4..+8 top-right, -7..-5
bottom-left, see the block dump in the handoff), i.e. one or two AC
coefficients' worth of basis, exactly the signature of an inverse transform
fed the right coefficients with the WRONG basis -- class
tx-type-set-membership(an inter chroma unit inherits the colocated lumatx_type; a wrong choice inside the same TX_CLASS leaves the msac range untouched and corrupts only the pixels).
reduce_inherited_chroma_tx_type (decode.rs:14794) and read_inter_luma8's
top-left-unit rule (decode.rs:14700) were both read and both look right for
this shape, so the next step is the oracle rung, not another code read: the
aom oracle prints EC_COEFF_STEP tag=tx_type plane=%d with NO value
(decodetxb.c:182) -- printing tx_type there and diffing that one line for
this TU decides it in one run.
Disposition: deferred(the oracle's tag=tx_type line needs the VALUE printed
and aomdec rebuilt) -- everything else about the defect is pinned above.
STEP 3 -- film table (decode-order vs aomdec, 2 s cuts, this tip)
| cut | frames aomdec/ours | first differing | bad frames | stop |
|---|---|---|---|---|
| t900 | 267 / 267 | 14 | 234 | -- |
| t5400 | 275 / 275 | 1 | 273 | -- |
| t6300 | 125 / 125 | 1 | 124 | -- |
| t8100 | 96 / 32 | 1 | 31 | REFUSED "a Golomb tail longer than this decoder reads" |
| witness (14 frames) | 14 / 14 | -- | 0 | -- |
Unchanged from r5 -- this round added no decode fix, it pinned and gated what r2-r5 found.
~/.cache/reelc-0-10s.obu (10 s cut) re-probed on this tip with NO env
switches: it now runs past the lifted 16x4 shape and stops at
REFUSED: unsupported: AV1 tile (an intra-coded 128x64 block on the inter block path (no size-group/tx-category row for that shape here)).
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
Suite after the round's changes
Re-armed on tip 14e0b20b as t900-suite-r6b, log
$HOME/.cache/t900-suite-r6b.log -- see the handoff for its result line.