diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-02-03 18:16:02 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-03-04 10:06:08 +0100 |
commit | 89306818bb3d2f6942e3cb6bb6c0ce01e7f7f65c (patch) | |
tree | ab059803ffbc646df379b1e8853f644cf291c7fb /test/gl_video.c | |
parent | 9746e71efc36363f0b007fb73d886d5d35b5671a (diff) | |
download | mpv-89306818bb3d2f6942e3cb6bb6c0ce01e7f7f65c.tar.bz2 mpv-89306818bb3d2f6942e3cb6bb6c0ce01e7f7f65c.tar.xz |
cocoa: add support for querying ambient lighting
This will be pretty useful to let mpv automatically change VO parameters based
on ambient lighting conditions.
The conversion code and polinomial equation from Apple LMU values to Lux is
taken from Firefox: their license, MPL is GPL compatible and allows
relicensing to GPL (MPL is more liberal).
Diffstat (limited to 'test/gl_video.c')
0 files changed, 0 insertions, 0 deletions