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 commit90b0b045ed4973e727ef572865acd14fff00a5b4Parent: 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
1 changed file +7 -11
- crates/ec-av1/src/stream.rs +7 -11
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-map | |
| 30039 | - // rule asks for is NOT here, and the reason is measured, not assumed. | |
| 30040 | - // The same 192x128 cq-63 recipe with `--tile-columns=1` desyncs at | |
| 30041 | - // decode-order frame 4 -- and it desyncs identically with | |
| 30042 | - // `--min-partition-size=16 --max-partition-size=16` (frame 3, 13256 | |
| 30043 | - // luma px), i.e. with no sub-8x8 block of any kind in the stream, so | |
| 30044 | - // the defect is a pre-existing multi-tile one and not this lane's | |
| 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)); | |
| 30038 | + // lane-sub8x4 r3: the `--tile-columns=1` arm COMMON's neighbour-map | |
| 30039 | + // rule asks for. It was excluded in r2 because it desynced at | |
| 30040 | + // decode-order frame 4 -- identically with `--min-partition-size=16 | |
| 30041 | + // --max-partition-size=16`, i.e. with no sub-8x8 block at all. That was | |
| 30042 | + // main's `1d2259c` (the saved motion field kept only the LAST tile's | |
| 30043 | + // columns), merged into this lane in r3; the arm is restored here. | |
| 30044 | + arms.push((8, 63, 192, 128, true)); | |
| 30049 | 30045 | for (depth, cq, width, height, tiles) in arms { |
| 30050 | 30046 | let arm = format!("depth={depth} cq={cq} {width}x{height} tiles={tiles}"); |
| 30051 | 30047 | let stream = encode(depth, cq, width, height, tiles); |