The direct-call NEARMV gate replays its own recorded writes
Browse files at this commitc28f3209974a363dfe8905ecc40dfb2433752012Parent: f7306dd- test
- the direct-call NEARMV gate replays its own recorded writes
1 changed file +4 -0
crates/ec-av1/src/decode.rsmodified+4 -0
| @@ -34560,6 +34560,10 @@ mod tests { | ||
| 34560 | 34560 | width, fctx, |
| 34561 | 34561 | ) |
| 34562 | 34562 | .unwrap(); |
| 34563 | + // lane-wave1: a direct caller of the block decoder RECORDS its writes | |
| 34564 | + // (the tile decoder is what replays them), so this gate replays its | |
| 34565 | + // own before reading the plane back. | |
| 34566 | + flush_recon(fctx, &mut y, &mut u, &mut v); | |
| 34563 | 34567 | |
| 34564 | 34568 | let (px, py) = (c * SUB, r * SUB); |
| 34565 | 34569 | let mut want_near = vec![0u16; side * side]; |