diff options
author | Niklas Haas <git@nand.wakku.to> | 2015-02-06 03:37:21 +0100 |
---|---|---|
committer | Niklas Haas <git@nand.wakku.to> | 2015-02-06 03:37:21 +0100 |
commit | 4fed18e81e7ffca623e4260d8569f959410b10bb (patch) | |
tree | 3605d5d4c042a951e0a3a21fe97fea9d94c90c85 /video/out/gl_video.h | |
parent | 4872443fc0217429ba60308213c118dc55b7b88c (diff) | |
download | mpv-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.h | 1 |
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; |