forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits

t900-r13.handoff.md4.0 KiBHistoryRawDownload

lane-t900 r13 handoff -- start at the OBMC LEFT pass of a bottom-overhanging block

Tip f24c9807 on lane-t900 (base main 2b65cb8e). Full report: lanes/t900-r13.report.md.

Suite (both runs green, no FAILED)

  • tip 66d88cfe (r12 code): test result: ok. 429 passed; 0 failed; 38 ignored; 0 measured; 0 filtered out; finished in 771.39s -- $HOME/.cache/t900-suite-r13.log.
  • tip 25603b14 (r13 code): test result: ok. 429 passed; 0 failed; 38 ignored; 0 measured; 0 filtered out; finished in 748.12s -- $HOME/.cache/t900-suite-r13b.log.
  • cargo check -p ec-av1 --tests clean on the final tip.

Facts established this round (do not re-measure)

  1. The four 4K offsets the r13 charter listed as whole-frame desyncs (2700 f73, 3000 f43, 1500, 5400) are byte-exact on this tip: 107/193/244/160 decode frames, 0 differing. r12's uv_mode_grid fix cured them. Cuts (each hashed twice, identical): ~/.cache/t900-tmp/h{2700,3000,1500,5400}.obu. Compare script ~/.cache/t900-tmp/cmp13.sh (uses $HOME/.cache/cargo-target-t900b so it never shares a target dir with a suite).
  2. r12's fix now has a witness: gm_small_side_witness.obu fires uv_mode_grid_override 138 times and the gate hard-asserts it. reelc_sb128_inter_witness fires it 24; the four reelb_* witnesses fire 0.
  3. The 1-3 B residue on the 1080p 900 s cut (36 frames, first 41, worst 13) is inside the OBMC blend, not the base MC. On frame 41 the chroma block mi_x=704 mi_y=768 bw=16 bh=16 (32x32 luma at mi(192,176), overhanging the bottom: mi_rows=198), mm=1 skip=1 mv0=(-4,14) ref0=5:
    • pre-blend chroma prediction = aomdec's, all 16 rows;
    • after the blend our prefilter recon differs at exactly one sample, row 11 col 1 (U(353,395), aom 492 ours 493), which lies in the LEFT pass's 8-column strip and below the ABOVE pass's 4-row strip. So: LEFT-pass neighbour prediction or its blend, at the block's last valid chroma row.
  4. Dead end (measured, reverted, recorded in a comment at the site): flooring the chroma OBMC blend length at 4 (libaom's clamp(..., 4, ...)) -- that clamp sizes the PREDICTION buffer only; the blend length is overlap >> ss. 36 differing frames -> 266, worst 13 B -> 11007 B.
  5. Ruled out by reading both sources: build_mc_border/update_extend_mc_border_params clamp to uv_crop_width/height (960x396) = our true_width/true_height; clamp_mv_to_umv_border_sb is result-equivalent to tap clamping.

Rungs available (both additive and env-gated)

  • aomdec private build (~/.cache/aom-oracle/src/av1/decoder/decodeframe.c, rebuilt with ninja -C ~/.cache/aom-oracle/build aomdec): EC_MCB="<plane>:<px>:<py>[:<frame>]" prints every dec_build_inter_predictors call whose plane-pixel span covers that pixel -- including the obmc=1 neighbour predictions (their rows come from the tmp buffer) -- with f= (decode-order frame, counter ec_t900_frame), bw/bh, mode, mm, skip, mv0, refs, interp, prew/preh/stride.
  • ours: OUR_MCB in decode.rs::obmc_blend, same env spelling, chroma rows before and after the blend; EC_OBMC (pre-existing) prints the neighbour list on both decoders.
  • Cut with frame 41 near the end: ~/.cache/t900-tmp/c900_62.obu (python3 ~/.cache/reelckf-work/trunc.py cut_900.obu 62 c900_62.obu).

Next step (chartered)

EC_MCB=1:353:395:41 on aomdec over c900_62.obu and read the obmc=1 entries for mi_x=704: compare each LEFT-pass neighbour (position, span, mv, ref, filter -- EC_OBMC on both) and then the tmp rows at row 11 against ours. Our left pass sizes are (bw, bh, oy) = (overlap_left, span4*4, off4*4) with chroma (overlap_left/2, bh/2, oy/2) (decode.rs ~19585); libaom's are bh = (mi_step*MI_SIZE) >> ss_y and blend width overlap >> ss_x -- check what libaom does with mi_step when the neighbour span runs past mi_rows at the frame bottom.

Owed

  • 1080p 0-10 s head re-probe (was 78 differing, first 86 -- unmeasured since r11).
  • census8's 24 not-exact 4K offsets (run8.sh) re-probe.