edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
lane-sqdrift r1 -> r2 handoff
Branch lane-sqdrift @ 6edd5af (off main 85887c7). Worktree
/home/user/Documents/Code/Rust/edith_codecs-sqdrift, CARGO_TARGET_DIR=$HOME/.cache/cargo-target-sqdrift.
Do NOT redo any of this (all measured, see lanes/sqdrift-r1.report.md for the EVIDENCE lines)
- Stream:
/home/user/.cache/sqdrift/gen.sh->s.obu, sha256c6af4fb4ebdc3d74dcfa0c945c0ef2d5e1e3a0902891d9e0a97a5608776b5d55, hashed twice. - Frames 0-3 byte-exact pre-filter AND post-filter (both dumps). No poisoned reference.
- Frame 4 damage = exactly the last SB, mi(16,32), PARTITION_NONE at 64x64, INTRA in an inter frame (aomdec prints neither EC_MODE nor EC_IMODE for it).
- We enter that block IN SYNC: our
pre_rng=33730== aomdecEC_PART ... rng=33730. - TX_64X64 dequant + inverse transform EXONERATED against real libaom (0/4096).
- The stream contains no rect/AB/1:4 partition at all; main's 1:4-strip refusal on it is a phantom of this desync.
- aomdec's prediction there is none of DC/SMOOTH/SMOOTH_V/SMOOTH_H/PAETH computed from the true neighbours, so its coefficients differ too -> a SYMBOL diverges, not a predictor.
The one open question
Which symbol between partition_w64 and the end of that block. Ordered suspects:
read_delta_q_params-- delta_q IS present (base_q_idx 80/110/168) and this is the only block in the stream withbsize == sb_size, libaom's own special case (decodemv.c:if (bsize != cm->seq_params->sb_size || !mbmi->skip_txfm)), incl. thedelta_lfsub-read.skip/is_interctx at a 64x64 block.y_mode[size_group_lookup[BLOCK_64X64]=3]CDF content (adaptation drift; frames 0-3 never crossed a decision boundary).tx_depth:--enable-tx-size-search=0, so TX_64X64 must code no depth symbol.- The 64x64 luma coefficient read (eob_pt alphabet at TX_64X64,
all_zeroctx).
Instruments already in the tree
EC_AV1_TRACE=1->TRACE partition_w64 ... pre_rng=<range before the symbol>.EC_IIS=1->TRACE iis px= py= side= w= h= sg= mode= skip=at the square intra-in-intery_moderead (decode.rs, right aftercdfs.y_mode[size_group_wh(..)])./home/user/.cache/sqdrift/h.c-- libaom inverse-transform harness. Build:gcc -O1 -o h h.c -I$SRC -I$BUILD -I$SRC/apps $BUILD/libaom.a -lm -lpthread. MUST callav1_rtcd(); aom_dsp_rtcd();first orav1_idct64is a NULL fn ptr (segfault).- The oracle has NO range print inside
read_intra_block_mode_info/read_delta_q_params. Add one viascripts/instrument-aom-oracle.shinto a PRIVATE build dir; never rebuild the shared~/.cache/aom-oracle/build/aomdecin place.