Pin the film-grain gate below use_ref_frame_mvs's unimplemented path
Browse files at this commit07a8e46ead9e64392384bb053e701f81ccafc40dParent: 1ce9f54- 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
| @@ -2549,6 +2549,17 @@ mod tests { | |||
| 2549 | "--enable-palette=0", | 2549 | "--enable-palette=0", |
| 2550 | "--enable-intrabc=0", | 2550 | "--enable-intrabc=0", |
| 2551 | "--enable-cfl-intra=0", | 2551 | "--enable-cfl-intra=0", |
| 2552 | + // Temporal MV projection (`use_ref_frame_mvs`) has no | ||
| 2553 | + // decode path here (`mvstack.rs`'s documented corner-cut: | ||
| 2554 | + // `zero_mv_ctx` and the mode-context GLOBALMV_OFFSET bit | ||
| 2555 | + // are always computed as if it were off) -- this gate | ||
| 2556 | + // isolates grain synthesis, so it must stay inside that | ||
| 2557 | + // envelope like every other feature disabled above, not | ||
| 2558 | + // silently decode a wrong mode context. Root cause of | ||
| 2559 | + // this test's frame-1 mismatch: aomenc turns | ||
| 2560 | + // `use_ref_frame_mvs` on by default once order hints are | ||
| 2561 | + // enabled, unrelated to `--tune-content=film`. | ||
| 2562 | + "--enable-ref-frame-mvs=0", | ||
| 2552 | "--tune-content=film", | 2563 | "--tune-content=film", |
| 2553 | "--obu", | 2564 | "--obu", |
| 2554 | "-o", | 2565 | "-o", |