mpv/DOCS/man
Stefano Pigozzi c028d782c1 vo_opengl: add gamma-auto option
This automatically sets the gamma option depending on lighting conditions
measured from the computer's ambient light sensor.

sRGB – arguably the “sibling” to BT.709 for still images – has a reference
viewing environment defined in its specification (IEC 61966-2-1:1999, see
http://www.color.org/chardata/rgb/srgb.xalter). According to this data, the
assumed ambient illuminance is 64 lux. This is the illuminance where the gamma
that results from ICC color management is correct.

On the other hand, BT.1886 formalizes that the gamma level for dim environments
to be 2.40, and Apple resources (WWDC12: 2012 Session 523: Best practices for
color management) define the BT.1886 dim at 16 lux.

So the logic we apply is:

  * >= 64lux -> 1.961 gamma
  * =< 16lux -> 2.400 gamma
  * 16lux < x < 64lux -> logaritmic rescale of lux to gamma. The human
    perception of illuminance roughly follows a logaritmic scale of lux [1].

[1]: https://msdn.microsoft.com/en-us/library/windows/desktop/dd319008%28v=vs.85%29.aspx
2015-03-04 10:06:08 +01:00
..
af.rst af_rubberband: make all librubberband options configurable 2015-02-11 17:11:05 +01:00
ao.rst ao_null: add emulation for certain broken behavior 2015-01-30 21:30:54 +01:00
changes.rst manpage: move out the MPlayer comparison page 2015-02-05 22:12:11 +01:00
encode.rst
input.rst command: add rescan_external_files 2015-02-16 22:08:16 +01:00
ipc.rst manpage: ipc: add a socat example 2015-02-21 16:26:37 +01:00
lua.rst manpage: remove empty line to fix formatting 2015-03-02 19:09:51 +01:00
mpv.rst manpage: fix typo 2015-02-28 12:57:54 +01:00
options.rst stream_cdda: add option to enable cdtext, and disable it by default 2015-03-03 15:29:07 +01:00
osc.rst OSC: add osc-message script command (wip) 2015-01-02 16:48:16 +01:00
vf.rst manpage: fix vf_scale arnd parameter 2015-02-19 19:06:46 +01:00
vo.rst vo_opengl: add gamma-auto option 2015-03-04 10:06:08 +01:00