From 8876572e2c60e8c5e59f2e8376096099aa3a8d7f Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 30 Mar 2015 06:38:49 +0200 Subject: vo_opengl: make jinc presets resizable No real reason this is disabled with the new configuration API. --- video/out/filter_kernels.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'video/out/filter_kernels.c') diff --git a/video/out/filter_kernels.c b/video/out/filter_kernels.c index d7163893ed..f4b1cfacbf 100644 --- a/video/out/filter_kernels.c +++ b/video/out/filter_kernels.c @@ -352,16 +352,16 @@ const struct filter_kernel mp_filter_kernels[] = { {{"ewa_ginseng", 3, jinc, .resizable = true}, .polar = true, .window = "sinc"}, // Radius is based on the true jinc radius, slightly sharpened as per // calculations by Nicolas Robidoux. Source: Imagemagick's magick/resize.c - {{"ewa_lanczossharp", 3.2383154841662362, jinc, .blur = 0.9812505644269356}, - .polar = true, .window = "jinc"}, + {{"ewa_lanczossharp", 3.2383154841662362, jinc, .blur = 0.9812505644269356, + .resizable = true}, .polar = true, .window = "jinc"}, // Similar to the above, but softened instead. This one makes hash patterns // disappear completely. Blur determined by trial and error. - {{"ewa_lanczossoft", 3.2383154841662362, jinc, .blur = 1.015}, - .polar = true, .window = "jinc"}, + {{"ewa_lanczossoft", 3.2383154841662362, jinc, .blur = 1.015, + .resizable = true}, .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"}, + {{"haasnsoft", 3.2383154841662362, jinc, .blur = 1.11, .resizable = true}, + .polar = true, .window = "hanning"}, // Cubic filters {{"bicubic", 2, bicubic}}, {{"bcspline", 2, cubic_bc, .params = {0.5, 0.5} }}, -- cgit v1.2.3