forge
Explore
Log in

Don't you dare go Hollow

Restore the --tile-columns=1 arm in the sub-8x8 intra gate -- r2's multi-tile desync was main's motion-field tile clamp, fixed by 1d2259c

Browse files at this commit

90b0b045ed4973e727ef572865acd14fff00a5b4Ahmet Kaan GümüşParent: 6890111
  • test
    • restore the --tile-columns=1 arm in the sub-8x8 intra gate -- r2's multi-tile desync was main's motion-field tile clamp, fixed by 1d2259c
Show full message
test(av1): restore the --tile-columns=1 arm in the sub-8x8 intra gate -- r2's multi-tile desync was main's motion-field tile clamp, fixed by 1d2259c

The arm was excluded in r2 with a measured reason: the 192x128 cq-63 recipe with
--tile-columns=1 desynced at decode-order frame 4, and identically with
--min-partition-size=16 --max-partition-size=16 (no sub-8x8 block of any kind),
so the defect was pre-existing and not this lane's bands. Merging main brings
1d2259c (av1_copy_frame_mvs read the mi grid through the per-tile reach clamp,
so the saved motion field kept only the last tile's columns) -- exactly the
frame-3/4 temporal-MV shape. With that fix the arm is pixel-exact, so the gate
now carries the neighbour-map tile arm COMMON asks every lane for: 13 arms.
crates/ec-av1/src/stream.rsmodified+7 -11
@@ -30035,17 +30035,13 @@ mod tests {
30035 }30035 }
30036 }30036 }
30037 }30037 }
30038- // lane-sub8x4 r2: the `--tile-columns=1` arm COMMON's neighbour-map30038+ // lane-sub8x4 r3: the `--tile-columns=1` arm COMMON's neighbour-map
30039- // rule asks for is NOT here, and the reason is measured, not assumed.30039+ // rule asks for. It was excluded in r2 because it desynced at
30040- // The same 192x128 cq-63 recipe with `--tile-columns=1` desyncs at30040+ // decode-order frame 4 -- identically with `--min-partition-size=16
30041- // decode-order frame 4 -- and it desyncs identically with30041+ // --max-partition-size=16`, i.e. with no sub-8x8 block at all. That was
30042- // `--min-partition-size=16 --max-partition-size=16` (frame 3, 1325630042+ // main's `1d2259c` (the saved motion field kept only the LAST tile's
30043- // luma px), i.e. with no sub-8x8 block of any kind in the stream, so30043+ // columns), merged into this lane in r3; the arm is restored here.
30044- // the defect is a pre-existing multi-tile one and not this lane's30044+ arms.push((8, 63, 192, 128, true));
30045- // bands. Streams pinned at `~/.cache/sub8x4-tmp/tiles.obu` (sub-8x8)
30046- // and `t16.obu` (no sub-8x8); see lanes/sub8x4-r2.report.md. Restore
30047- // this arm when that defect is fixed:
30048- // arms.push((8, 63, 192, 128, true));
30049 for (depth, cq, width, height, tiles) in arms {30045 for (depth, cq, width, height, tiles) in arms {
30050 let arm = format!("depth={depth} cq={cq} {width}x{height} tiles={tiles}");30046 let arm = format!("depth={depth} cq={cq} {width}x{height} tiles={tiles}");
30051 let stream = encode(depth, cq, width, height, tiles);30047 let stream = encode(depth, cq, width, height, tiles);