summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_video.c')
-rw-r--r--video/out/gl_video.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 8bab6a5c4c..603f334c9b 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -275,6 +275,16 @@ static const struct gl_video_opts gl_video_opts_def = {
.alpha_mode = 2,
};
+const struct gl_video_opts gl_video_opts_hq_def = {
+ .npot = 1,
+ .dither_depth = 0,
+ .dither_size = 6,
+ .fbo_format = GL_RGB16,
+ .scale_sep = 1,
+ .scalers = { "lanczos2", "bilinear" },
+ .scaler_params = {NAN, NAN},
+ .alpha_mode = 2,
+};
static int validate_scaler_opt(const m_option_t *opt, struct bstr name,
struct bstr param);