Commit c09f1072 authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Jean-Baptiste Kempf

Fix bugs in film grain generation

- calculate chroma grain based on src (not dst) luma pixels;
- division should precede multiplication in delta calculation.

Together, these fix differences in film grain reconstruction between
libaom and dav1d for various generated samples.
parent cfd6fe6d
Pipeline #9148 passed with stages
in 6 minutes and 30 seconds