From 99dfd3368d9564d39792b2f00253d92f736cec5e Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 23 Feb 2015 17:42:49 +0100 Subject: filter_kernels: rename ginseng to ewa_ginseng This is done mainly for consistency, since all of the EWA filters share similar properties and it's important to distinguish them for documentation purposes. --- video/out/filter_kernels.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/out') diff --git a/video/out/filter_kernels.c b/video/out/filter_kernels.c index a498234c7d..e0b45afe4d 100644 --- a/video/out/filter_kernels.c +++ b/video/out/filter_kernels.c @@ -294,7 +294,7 @@ static double lanczos(kernel *k, double x) return radius * sin(pix) * sin(pix / radius) / (pix * pix); } -static double ginseng(kernel *k, double x) +static double ewa_ginseng(kernel *k, double x) { double radius = k->radius; if (fabs(x) >= radius) @@ -352,7 +352,7 @@ const struct filter_kernel mp_filter_kernels[] = { {"sinc", -1, sinc}, {"ewa_lanczos", -1, ewa_lanczos, .polar = true}, {"ewa_hanning", -1, ewa_hanning, .polar = true}, - {"ginseng", -1, ginseng, .polar = true}, + {"ewa_ginseng", -1, ewa_ginseng, .polar = true}, {"lanczos", -1, lanczos}, {"blackman", -1, blackman}, {0} -- cgit v1.2.3