1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 12:25:03 +00:00

filter_kernels: add comment to prevent confusion

There are conflicting definitons of Ginseng.
This commit is contained in:
Niklas Haas 2015-03-15 17:44:21 +01:00
parent 31a5f08f13
commit 9cd523bf5f
No known key found for this signature in database
GPG Key ID: 3BA77D4BFDB10BCE

View File

@ -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;