Pin the film-grain gate below use_ref_frame_mvs's unimplemented path
Browse files at this commit25e8a4f8934b705d9742f8437566df5667313ec8Parent: 6836b28- fix
- pin the film-grain gate below use_ref_frame_mvs's unimplemented path
1 changed file +11 -0
- crates/ec-av1/src/stream.rs +11 -0
crates/ec-av1/src/stream.rsmodified+11 -0
| @@ -2580,6 +2580,17 @@ mod tests { | ||
| 2580 | 2580 | "--enable-palette=0", |
| 2581 | 2581 | "--enable-intrabc=0", |
| 2582 | 2582 | "--enable-cfl-intra=0", |
| 2583 | + // Temporal MV projection (`use_ref_frame_mvs`) has no | |
| 2584 | + // decode path here (`mvstack.rs`'s documented corner-cut: | |
| 2585 | + // `zero_mv_ctx` and the mode-context GLOBALMV_OFFSET bit | |
| 2586 | + // are always computed as if it were off) -- this gate | |
| 2587 | + // isolates grain synthesis, so it must stay inside that | |
| 2588 | + // envelope like every other feature disabled above, not | |
| 2589 | + // silently decode a wrong mode context. Root cause of | |
| 2590 | + // this test's frame-1 mismatch: aomenc turns | |
| 2591 | + // `use_ref_frame_mvs` on by default once order hints are | |
| 2592 | + // enabled, unrelated to `--tune-content=film`. | |
| 2593 | + "--enable-ref-frame-mvs=0", | |
| 2583 | 2594 | "--tune-content=film", |
| 2584 | 2595 | "--obu", |
| 2585 | 2596 | "-o", |