forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits

sb128c-r9.handoff.md2.5 KiBHistoryRawDownload

lane-sb128c r9 -> r10 handoff

Tip d00a97b (branch lane-sb128c). The four 128-root AB shapes are IMPLEMENTED on both tile paths and the refusal is lifted; the new gate a_real_aomenc_sb128_ab_partition_at_the_128_root_decodes_pixel_exact is RED for a reason that is NOT the AB code.

The blocker, bisected (do not re-derive)

  • Stream $HOME/.cache/sb128c-r9/ab45.obu (512x512 cq45 8-bit key, recipe in $HOME/.cache/sb128c-r9/mk.sh). Frame 0 differs from the oracle.
  • EC_AV1_PREFILT_DUMP on BOTH decoders: first differing sample is byte 321 = (x=320, y=0), i.e. the very FIRST sample of the RIGHT 64x128 half of the third 128 root, which is PARTITION_VERT (root values of frame 0: 1,1,2,5,1,1,3,3,0,0,3,3,0,0,3,3). Post-filter the diff bleeds left to x=317, which is a deblock artefact, not the cause.
  • 326839 of 393216 bytes differ => entropy desync from that block on, not a reconstruction rounding defect.
  • CONTROL: the same stream encoded with --enable-ab-partitions=0 ($HOME/.cache/sb128c-r9/noab.obu, mknoab.sh) diverges at the SAME place. The defect is r8's decode_block_128rect / the 128-root VERT arm, reached only now that the AB refusal no longer short-circuits the compare (class refusal-hides-a-defect).
  • Frame 0 of every failing arm contains ZERO AB partitions -- the first AB in ab18.obu is the 38th 128 root (frame 2).

Where to look first

The right 64x128 half at (mi_row 0, mi_col 80). Suspects, cheapest first:

  1. decode_block_128rect's mode-info read for a block whose LEFT neighbour is the other half of the same root (read_intra_mode_rect ctx / neighbour record of the left half at 64-px granularity).
  2. The left half's neighbour recording: r8 stamps the lf/skip grids with the resolved unit size, so a 64x128 block records 2 units of 64 -- check record_mi_luma / fill_skip_grid cover the full 64x128 footprint.
  3. A cross-decoder msac RANGE ladder at that block's entry (never tell()).

Cheap repro

~/.cache/sb128c-r9/cmp.sh ~/.cache/sb128c-r9/ab45.obu       # post-filter
EC_AV1_PREFILT_DUMP=... aomdec / decode_probe               # pre-filter

Still owed

  • The full suite was never run this round (deadline). Expect 388 tests, 1 failure (the new gate) until the above is fixed.
  • gate_coverage.rs was NOT touched: the new gate passes --enable-ab-partitions=1, which other gates already do, so its NEVER_EXERCISED lists are unaffected -- CONFIRM by running cargo test -p ec-av1 --lib gate_coverage.