summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2015-06-05 17:04:37 +0200
committerwm4 <wm4@nowhere>2015-06-05 17:08:39 +0200
commitb68627ed2b441f92648409d14a540b2ecac993de (patch)
tree473e0d2fecc137f9442d642f9d6ac3e788424ef1
parentaf58bfb62b4ce20aac525ca8a1d5f93c7f114fa6 (diff)
downloadmpv-b68627ed2b441f92648409d14a540b2ecac993de.tar.bz2
mpv-b68627ed2b441f92648409d14a540b2ecac993de.tar.xz
filter_kernels: distinguish between regular/EWA robidoux
This is because it turns out the regular robidoux is pretty useful for tscale etc.
-rw-r--r--video/out/filter_kernels.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/video/out/filter_kernels.c b/video/out/filter_kernels.c
index c759cbb257..ef69903df7 100644
--- a/video/out/filter_kernels.c
+++ b/video/out/filter_kernels.c
@@ -366,8 +366,10 @@ const struct filter_kernel mp_filter_kernels[] = {
{{"bcspline", 2, cubic_bc, .params = {0.5, 0.5} }},
{{"catmull_rom", 2, cubic_bc, .params = {0.0, 0.5} }},
{{"mitchell", 2, cubic_bc, .params = {1.0/3.0, 1.0/3.0} }},
- {{"robidoux", 2, cubic_bc, .params = {0.3782, 0.3109}}, .polar = true},
- {{"robidouxsharp", 2, cubic_bc, .params = {0.2620, 0.3690}}, .polar = true},
+ {{"robidoux", 2, cubic_bc, .params = {0.3782, 0.3109} }},
+ {{"robidouxsharp", 2, cubic_bc, .params = {0.2620, 0.3690} }},
+ {{"ewa_robidoux", 2, cubic_bc, .params = {0.3782, 0.3109}}, .polar = true},
+ {{"ewa_robidouxsharp", 2, cubic_bc, .params = {0.2620, 0.3690}}, .polar = true},
// Miscalleaneous filters
{{"box", 1, box, .resizable = true}},
{{"nearest", 0.5, box}},