mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 05:15:12 +00:00
filter_kernels: add haasnsoft
This is a peculiar filter I stumbled upon while playing around with windows, it removes aliasing almost completely while not ringing at all. The downside is that it's quite blurry, but at high resolutions it's not so noticeable.
This commit is contained in:
parent
1984e31706
commit
6bd673c1d2
@ -358,6 +358,10 @@ const struct filter_kernel mp_filter_kernels[] = {
|
||||
// disappear completely. Blur determined by trial and error.
|
||||
{{"ewa_lanczossoft", 3.2383154841662362, jinc, .blur = 1.015},
|
||||
.polar = true, .window = "jinc"},
|
||||
// Very soft (blurred) hanning-windowed jinc; removes almost all aliasing.
|
||||
// Blur paramater picked to match orthogonal and diagonal contributions
|
||||
{{"haasnsoft", 3.2383154841662362, jinc, .blur = 1.11}, .polar = true,
|
||||
.window = "hanning"},
|
||||
// Cubic filters
|
||||
{{"bicubic", 2, bicubic}},
|
||||
{{"bcspline", 2, cubic_bc, .params = {0.5, 0.5} }},
|
||||
|
Loading…
Reference in New Issue
Block a user