summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video.h
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2015-02-06 03:37:21 +0100
committerNiklas Haas <git@nand.wakku.to>2015-02-06 03:37:21 +0100
commit4fed18e81e7ffca623e4260d8569f959410b10bb (patch)
tree3605d5d4c042a951e0a3a21fe97fea9d94c90c85 /video/out/gl_video.h
parent4872443fc0217429ba60308213c118dc55b7b88c (diff)
downloadmpv-4fed18e81e7ffca623e4260d8569f959410b10bb.tar.bz2
mpv-4fed18e81e7ffca623e4260d8569f959410b10bb.tar.xz
vo_opengl: add support for linear scaling without CMS
This introduces a new option linear-scaling, which is now implied by srgb, icc-profile and sigmoid-upscaling. Notably, this means (sigmoidized) linear upscaling is now enabled by default in opengl-hq mode. The impact should be negligible, and there has been no observation of negative side effects of sigmoidized scaling, so it feels safe to do so.
Diffstat (limited to 'video/out/gl_video.h')
-rw-r--r--video/out/gl_video.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gl_video.h b/video/out/gl_video.h
index 63e33718ce..74a8b7fd93 100644
--- a/video/out/gl_video.h
+++ b/video/out/gl_video.h
@@ -36,6 +36,7 @@ struct gl_video_opts {
float scaler_antiring[2];
float gamma;
int srgb;
+ int linear_scaling;
int fancy_downscaling;
int sigmoid_upscaling;
float sigmoid_center;