mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 21:27:08 +00:00
filter_kernels: fix bcspline params
bcspline is defined as B=1, C=0 in ImageMagick (as CubicFilter) and libplacebo, so we should match that.
This commit is contained in:
parent
faf5a4bc8d
commit
816de3f064
@ -398,7 +398,7 @@ const struct filter_kernel mp_filter_kernels[] = {
|
||||
.polar = true, .window = "hanning"},
|
||||
// Cubic filters
|
||||
{{"bicubic", 2, bicubic}},
|
||||
{{"bcspline", 2, cubic_bc, .params = {0.5, 0.5} }},
|
||||
{{"bcspline", 2, cubic_bc, .params = {1.0, 0.0} }},
|
||||
{{"hermite", 1, cubic_bc, .params = {0.0, 0.0} }},
|
||||
{{"catmull_rom", 2, cubic_bc, .params = {0.0, 0.5} }},
|
||||
{{"mitchell", 2, cubic_bc, .params = {1.0/3.0, 1.0/3.0} }},
|
||||
|
Loading…
Reference in New Issue
Block a user