edith_codecs
Clone
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
lane-golomb r8 HANDOFF -- two true-size fixes in, suite GREEN, straddle arms still blocked
Tip: lane-golomb (report lanes/golomb-r8.report.md, fix 97de75e, merge of main
85887c7 at 3a08902). Suite: 379 passed; 0 failed; 34 ignored
($HOME/.cache/golomb-suite-r8.log). edge32 gate green, 38 pixel-exact attempts, 2 refusals.
Landed
- Reference-height refusal compared the mi-rounded
true_heightwith the croppedreference.height; now compares the header'sframe_height(libaom compares references ony_crop_width/height). Every 192x68 attempt used to refuse; none do now. apply_loop_restorationnow takes the cropped(frame_width, frame_height)instead of planetrue_width/true_height(libaomav1_get_upsampled_plane_size+assert(plane_w == crop_widths)+av1_extend_frame). UNGATED -- every straddle recipe runs--enable-restoration=0.
The ONE open defect this lane still owns
A +-1 straddling-band INTER reconstruction defect, both orientations, all on frame 1 (frame 0 is bit-exact in every case, so it is not intra and not a per-frame filter constant):
68x192cq35 8-bit:frame 1 plane Y: 141 px differ, first at row 0 col 64 (167 vs 166)-- cols 64..67 are the straddling COLUMNS of a 68-wide frame (mi-rounded 72).192x68cq59 8-bit:frame 1 plane Y: 217 px, first at row 60 col 170 (172 vs 173).192x68cq35 10-bit:frame 1 plane Y: 305 px, first at row 56 col 48 (530 vs 531). Reproduce by re-addingarms.push((68, 192, 5, false))/arms.push((192, 68, 5, false))inedge32_gate(crates/ec-av1/src/stream.rs, the comment block just abovelet cqs) and running withEC_GATE_VERBOSE=1(new this round -- names each attempt before decoding it, because a desync otherwise panics inmc.rswith no arm in the message).
RULED OUT this round, do not re-attempt:
- Reference border padding.
aom_yv12_extend_frame_borders_ccallsextend_planewithcrop_widths/crop_heightsand memsets fromsrc + width - 1, so libaom OVERWRITES decoded columns 68..71 with column 67 -- exactly what ourmc::sampleclamp attrue_width-1of the cropped reference already does. The charter's hypothesis (b) is refuted at the source. - Loop restoration. The gate recipe has
--enable-restoration=0; the 68x192 diff is byte-identical before and after fix 2 (golomb-gate-r8c.logvsr8d.log). - Var-tx clipping (
max_w_mi/max_h_mi). libaom'smax_block_wideis derived frommb_to_right_edge, i.e.cm->mi_params.mi_cols-- the MI-ROUNDED bound, which is what we use. Correct as-is.
Next probe to run (r8 ran out of budget before it): dump the 68x192 cq35 stream to disk, then
bisect the frame-1 divergence with EC_AV1_PREFILT_DUMP (8-bit vars -- the 16-bit ones
SEGFAULT the oracle aomdec on an 8-bit stream) against the instrumented aomdec. If the
divergence is already present pre-filter it is inter prediction/residual in the straddling
band; if not, it is deblock/CDEF at the x=68 (resp. y=68) mi edge.
Two blockers that are NOT this lane's code
192x68cq40 8-bit PANICS indecode_inter_block8(from_switchable_symbolhanded a 4th symbol,mc.rs:203) = lane-sub8's open below-8x8 desync. A panic cannot be tolerated as a named refusal, so no straddle arm can span cq40 until sub8 lands.192x68cq35 8-bit refuses "an inter SB-level AB partition (HORZ_A/HORZ_B/VERT_A/VERT_B)" even though the recipe sets--enable-ab-partitions=0-- worth one measurement of its own.