Realistic Film Grain Rendering for VapourSynth, implemented in CUDA
Prototype:
core.fgrain_cuda.Add(clip clip[, int num_iterations = 800, float grain_radius_mean = 0.1, float grain_radius_std=0.0, float sigma = 0.8, int seed = 0])
Currently only grays is supported.
CUDA is required.
cmake -S . -B build -D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CUDA_ARCHITECTURES="52;61-real;75-real;86-real" \
-D CMAKE_CUDA_FLAGS="--threads 0 --use_fast_math"
cmake --build build
cmake --install build