From 9cd523bf5fab1c93ecf0418b5ae5d61b1e8fed9e Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sun, 15 Mar 2015 17:44:21 +0100 Subject: [PATCH] filter_kernels: add comment to prevent confusion There are conflicting definitons of Ginseng. --- video/out/filter_kernels.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/video/out/filter_kernels.c b/video/out/filter_kernels.c index 084c7b85ae..1b8c70ba1a 100644 --- a/video/out/filter_kernels.c +++ b/video/out/filter_kernels.c @@ -279,6 +279,8 @@ static double lanczos(kernel *k, double x) static double ewa_ginseng(kernel *k, double x) { + // Note: This is EWA ginseng, aka sinc-windowed jinc. + // Not to be confused with tensor ginseng, aka jinc-windowed sinc. double radius = k->radius; if (fabs(x) >= radius) return 0.0;