Why radius of ewa_* 4tap is 4.241? #14325
-
How did get this value? I know 3taps is 3.28..., 4taps is 4.2410628637960698819573. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
https://code.videolan.org/videolan/libplacebo/-/merge_requests/560#note_408215 |
Beta Was this translation helpful? Give feedback.
-
Say some digressions, If I used ewa_hanning with 4taps, did I make a mistake in math? |
Beta Was this translation helpful? Give feedback.
I'm going to be completely honest, there's no benefit to using 4-lobe
ewa_hanning
over 3-lobeewa_lanczossharp
. The sharpness difference isn't perceivable but the former rings very badly due to having a more prominent halo. This kind of defeats the purpose of even adding the Hann window in the first place.There isn't even that much of a benefit to using 4-lobe
ewa_lanczos
, hence whyewa_lanczos4
will never exist as an aliased option in mpv. The only reason whyewa_lanczos4sharpest
even has a usecase is because the 3-lobe "sharpest" variant of the filter is subpar for upscaling and has nasty aliasing for a polar filter. Meanwhile the 4-lobe variant performs better in comparison (though it…