edith_codecs
Clone
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
lane-sb128c r1 -> r2 handoff
Tip 31d4d68 on lane-sb128c (worktree /home/user/Documents/Code/Rust/edith_codecs-sb128c,
CARGO_TARGET_DIR=$HOME/.cache/cargo-target-sb128c). Full detail: lanes/sb128c-r1.report.md.
ONE open defect: the 128x128 inter PARTITION_NONE block desyncs.
Repro (both files already exist, regenerate with the recipe in the report):
- stream
$HOME/.cache/sb128c-work/g8.obu(256x256, 8 frames,--sb-size=128 --cpu-used=0 --max-partition-size=128 --min-partition-size=32 --cq-level=62 --enable-rect-partitions=0 --enable-ab-partitions=0 --enable-1to4-partitions=0 --enable-palette=0 --enable-intrabc=0 --enable-tx-size-search=0 --deltaq-mode=0 --limit=8, gradients seed 61 + noise alls=6) decode_probe g8.obu-> refusesa split intra strip whose transform unit is 32x64, which the encoder cannot have coded (rect partitions off) => our desync.EC_AV1_TRACE=1 decode_probe g8.obu | grep partition_w128-> 4 xvalue=0(NONE), 10 xvalue=3.k1.obu(same recipe,--limit=1) decodes OK, so the key frame's 128 path is fine; the defect is on an inter frame.
Method: instrumented aomdec EC_TRACE_COEFF vs our EC_TRACE_COEFF, compare msac RANGE element by
element (never tell()), starting at the FIRST inter-frame 128 NONE block.
Suspect order (all untested):
read_cdeffor a NONE 128 block on the INTER path (CDEF_TRANSMITTEDreset + quadrant index). The key path resets it and replicatesCDEF_IDX_GRID; the inter path now does the same, unverified.maybe_read_delta_q/ delta_lf granularity at a 128 root on an inter frame.- mvstack with bw4 = bh4 = 32 (
has_top_rightat 128, tpl sample positions,check_sb_borderhardcodes 64 which the ledger says is correct at both sb sizes). - This round's own mu-chunk chroma interleave inside
decode_inter_block: theSome(3)chromatxb_skipoffset row, the per-unitrecord_mi_chroma, and the chunk-completion test ((leaves[idx+1].0/16, leaves[idx+1].1/16) != chunk).
Un-#[ignore] a_real_aomenc_inter_128x128_none_root_decodes_pixel_exact (stream.rs) when green, and
re-run the siblings 128x128 + refusal_inventory + gate_coverage before claiming root cause.