mirror of https://github.com/mpv-player/mpv
filter_kernels: get rid of sinc/lanczos aliases
Just set the radius with scale-radius if it's really needed
This commit is contained in:
parent
8eb9ddd868
commit
1ec77214b1
|
@ -364,21 +364,9 @@ const struct filter_kernel mp_filter_kernels[] = {
|
||||||
{"spline36", 3, spline36},
|
{"spline36", 3, spline36},
|
||||||
{"spline64", 4, spline64},
|
{"spline64", 4, spline64},
|
||||||
{"gaussian", -1, gaussian, .params = {28.85390081777927, NAN} },
|
{"gaussian", -1, gaussian, .params = {28.85390081777927, NAN} },
|
||||||
{"sinc2", 2, sinc},
|
|
||||||
{"sinc3", 3, sinc},
|
|
||||||
{"sinc4", 4, sinc},
|
|
||||||
{"sinc", -1, sinc},
|
{"sinc", -1, sinc},
|
||||||
{"ewa_lanczos2", 2, ewa_lanczos, .polar = true},
|
|
||||||
{"ewa_lanczos3", 3, ewa_lanczos, .polar = true},
|
|
||||||
{"ewa_lanczos4", 4, ewa_lanczos, .polar = true},
|
|
||||||
{"ewa_lanczos", -1, ewa_lanczos, .polar = true},
|
{"ewa_lanczos", -1, ewa_lanczos, .polar = true},
|
||||||
{"lanczos2", 2, lanczos},
|
|
||||||
{"lanczos3", 3, lanczos},
|
|
||||||
{"lanczos4", 4, lanczos},
|
|
||||||
{"lanczos", -1, lanczos},
|
{"lanczos", -1, lanczos},
|
||||||
{"blackman2", 2, blackman},
|
|
||||||
{"blackman3", 3, blackman},
|
|
||||||
{"blackman4", 4, blackman},
|
|
||||||
{"blackman", -1, blackman},
|
{"blackman", -1, blackman},
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue