diff options
Diffstat (limited to 'video/out/filter_kernels.c')
-rw-r--r-- | video/out/filter_kernels.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/filter_kernels.c b/video/out/filter_kernels.c index e6fa8aa24a..c7c28466b0 100644 --- a/video/out/filter_kernels.c +++ b/video/out/filter_kernels.c @@ -348,6 +348,10 @@ const struct filter_kernel mp_filter_kernels[] = { {"ewa_lanczos", -1, ewa_lanczos, .params = {1.0, NAN}, .polar = true}, {"ewa_hanning", -1, ewa_hanning, .params = {1.0, NAN}, .polar = true}, {"ewa_ginseng", -1, ewa_ginseng, .params = {1.0, NAN}, .polar = true}, + // Radius is based on the true jinc radius, slightly sharpened as per + // calculations by Nicolas Robidoux. Source: Imagemagick's magick/resize.c + {"ewa_lanczossharp", 3.2383154841662362, ewa_lanczos, + .params = {0.9812505644269356, NAN}, .polar = true}, {"lanczos", -1, lanczos}, {"blackman", -1, blackman}, {0} |