summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2015-03-15 17:44:21 +0100
committerNiklas Haas <git@nand.wakku.to>2015-03-15 18:06:27 +0100
commit9cd523bf5fab1c93ecf0418b5ae5d61b1e8fed9e (patch)
treed055010fdc8340bb2b0166e4d53277abf8fbf816
parent31a5f08f135535e5c284d3994d2fad17ce8e2e53 (diff)
downloadmpv-9cd523bf5fab1c93ecf0418b5ae5d61b1e8fed9e.tar.bz2
mpv-9cd523bf5fab1c93ecf0418b5ae5d61b1e8fed9e.tar.xz
filter_kernels: add comment to prevent confusion
There are conflicting definitons of Ginseng.
-rw-r--r--video/out/filter_kernels.c2
1 files changed, 2 insertions, 0 deletions
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;