forge
Explore
Log in

Don't you dare go Hollow

edith_codecs

Clone
★ 0

0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits

av1422i.report.md4.2 KiBHistoryRawDownload

lane-av1-422i — bottom-SB-row partition gather re-measured: already rng-exact at HEAD; refusal stays

Outcome

The assignment's premise — "ours reads no partition symbol at the bottom 64x64 mi(32,0)" — is FALSE at HEAD 6cdd3dae, and this round proves it with live traces instead of the previous round's EC_PART-only dumps. The gathered two-symbol read the assignment asks for has existed since lane-hgkf r1 (decode.rs:27096, the (true, false) arm of the 64-level dispatch): it reads gather(&cdfs.partition_w64[ctx], VERT_ALIKE) with VERT_ALIKE = [2, SPLIT, 4, 6, 7, 9], maps 0 → PARTITION_HORZ / 1 → SPLIT — line-for-line libaom ec_read_partition_impl + partition_gather_vert_alike (av1_common_int.h:1485, out[0] = TOP − {VERT, SPLIT, HORZ_A, VERT_A, VERT_B, VERT_4}).

Why the previous round could not see it: the (true, false) arm emits OUR_PART under EC_AV1_TRACE (trace_edge, decode.rs:6068), not the oracle's EC_PART format — the 422h dumps were filtered on EC_PART, so the read was invisible and looked like "no symbol".

Measurement

Fixture /tmp/t422.obu reused by hash d3fa4beeb1309033e4a03f5ae5c431c8fa8386ba1ada088684710423c7938129 (256x144, 22 frames, 64x64 superblocks). Probe: decode_probe with a LOCAL EC_AV1_ALLOW_422_PROBE bypass at the stream.rs:1709 refusal — REVERTED before commit. Ours run with EC_TRACE=1 EC_AV1_TRACE=1 (fresh trace /tmp/u_f0.txt); oracle o_pal.txt.

  • Context numbering: ours partition_ctx indexes partition_w64 0..15 with the bsl*4 term folded out — a constant −12 rename of libaom's ctx for the 64 level (ours 0/2/2/2, 1/3/3 vs oracle 12/14/14/14, 13/15/15 at every paired SB). Same slot, same CDF, same state; pairing confirms it.
  • Bottom superblock row, frame 0 — all four gathered reads pair rng-for-rng, pre-read rng identical:
    • mi(32,0) ours 54818 / oracle 54818 (oracle ctx 13, value 1 = HORZ)
    • mi(32,16) ours 41610 / oracle 41610
    • mi(32,32) ours 61472 / oracle 61472
    • mi(32,48) ours 45794 / oracle 45794
  • Interior pairing of the mi(32,0) strip continues past the gather: post uv_mode rng 43856 on both sides (mode=12, uv_mode=12), first luma all_zero ends at 53566 on both sides. The 64x32 strip's 4:2:2 chroma (32x32 square, ss (1,0)) rides the square arm as documented. has_rows=false correctly skips the second strip on both sides.
  • Frame 0 therefore decodes through the bottom superblock row. The EC_RECTCHROMA_GAP luma=64x32 tx=32x32 chroma=32x32 lines are the non-fatal diagnostic at decode.rs:10225, not a desync.

Next divergence (named stop — inter rect lane, not this lane)

Frame 1 (first inter frame) panics at decode.rs:29094:39 — range end index 68 out of range for slice of length 64 — in the all-zero-residual prediction copy: a rect inter block's prediction[src..src + w] reads past a 64-sample buffer. Trigger context: mi(4,0) 64x64 inter, partition_w16 value=7 (VERT_B) at the 16-level, tell=542. The earlier round's decode.rs:14888 decode_rect4_16_strip closed-shape stop was not reached this run (frame 0 completes; the panic fires first). Both sites are downstream of the bottom-row partition gather and outside this lane's ownership; decode.rs:14888 and the decode.rs:19169 skip arm remain untouched, as do the four chroma-ref fixes.

State

  • No source change this round: the gather the assignment requested is already in HEAD, so there is nothing to write without inventing a duplicate arm. git diff vs 6cdd3dae touches only this report; the stream.rs probe bypass is reverted (refusal a chroma format of 4:2:2 (subsampling_x != subsampling_y)... byte-identical, unconditional).
  • Refusal STAYS: the 16-frame stream is not pixel-exact (frame 1 panics), so the delete condition (pixel-exact + 422 chroma counter) is unmet.
  • 420 gates green (private target dir $HOME/.cache/cargo-target-av1422i): a_non_420_subsampled_sequence_header_is_refused_by_name 1/1 (proves the reverted refusal fires by name), a_real_aomenc_stream_with_a_skipped_8x8_ intra_leaf_whose_tx_split_decodes_pixel_exact 2/2 (both bit depths) under EC_AV1_REQUIRE_AOMENC=1.
  • No push. Traces left at /tmp/u_f0.txt (ours, frame 0 bottom row + frame 1 panic) and /tmp/o_pal.txt (oracle).