mirror of
https://github.com/mpv-player/mpv
synced 2024-12-17 20:34:58 +00:00
filter_kernels: add comment to prevent confusion
There are conflicting definitons of Ginseng.
This commit is contained in:
parent
31a5f08f13
commit
9cd523bf5f
@ -279,6 +279,8 @@ static double lanczos(kernel *k, double x)
|
|||||||
|
|
||||||
static double ewa_ginseng(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;
|
double radius = k->radius;
|
||||||
if (fabs(x) >= radius)
|
if (fabs(x) >= radius)
|
||||||
return 0.0;
|
return 0.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user