Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | style and some minor fixes | Mattias Andrée | 2025-03-06 | 1 | -1/+0 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Style | Mattias Andrée | 2025-03-06 | 1 | -6/+36 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Nicer X macros | Mattias Andrée | 2025-03-05 | 1 | -2/+1 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Cleanup and style update (avoid typedef) | Mattias Andrée | 2025-03-05 | 1 | -8/+2 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Unify header files (so far most) | Mattias Andrée | 2025-03-05 | 1 | -3/+1 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Use colour temperature table from libred | Mattias Andrée | 2025-03-05 | 1 | -275/+11 |
| | | | | Signed-off-by: Mattias Andrée <m@maandree.se> | ||||
* | Add coopgamma backend | Mattias Andrée | 2016-12-19 | 1 | -35/+22 |
| | | | | Signed-off-by: Mattias Andrée <maandree@kth.se> | ||||
* | colorramp: Use supplied gamma ramps as initial value | Jon Lund Steffensen | 2015-01-04 | 1 | -6/+9 |
| | | | | | | | | | This changes colorramp_fill() to base the ramp calculations on the existing values in the supplied tables, instead of basing it on a pure `i/size` value computed on the fly. All gamma adjustment methods are changed to explicitly initialize the ramps to the `i/size` value before calls to colorramp_fill(). | ||||
* | redshift: Simplify set_temperature by passing color_setting_t | Jon Lund Steffensen | 2014-12-27 | 1 | -8/+9 |
| | | | | | | | | Changes all set_temperature function in gamma adjustment methods to take a color_setting_t pointer with the color settings. Colorramp functions are similarly changed to take a color settings struct. | ||||
* | colorramp: Add float-typed colorramp_fill() equivalent | Jon Lund Steffensen | 2014-12-15 | 1 | -3/+25 |
| | |||||
* | Apply gamma after brightness and termperature | Mattias Andrée | 2014-03-18 | 1 | -6/+5 |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | Constify gamma parameter to set_temperature() methods | Jon Lund Steffensen | 2013-12-09 | 1 | -1/+1 |
| | |||||
* | colorramp: Use new color ramp table provided by Ingo Thies. | Jon Lund Steffensen | 2013-10-21 | 1 | -94/+248 |
| | | | | | | This table is calculated by the actual Planckian locus below 5000K, and by CIE daylight standard above 5000K. Also, the new table applies proper gamma correction according to sRGB. More information can be found in README-colorramp. | ||||
* | colorramp: Fix slight flicker caused by improper scaling of gamma ramp values | Jon Lund Steffensen | 2013-10-21 | 1 | -3/+3 |
| | | | | | Values generated by colorramp_fill() will be a maximum of i * 256 - 1, due to the use of UINT16_MAX. Simplest fix ought to be using (UINT16_MAX+1), which is safe, as the maximum value (255 * 256) still fits in a uint16. (Thanks to Sean Hildebrand) | ||||
* | Allow brightness to be adjusted (between 10% and 100%, the latter being the default). | Jon Lund Steffensen | 2011-04-21 | 1 | -4/+4 |
| | |||||
* | Change comment in colorramp.c. | Jon Lund Steffensen | 2010-06-21 | 1 | -1/+1 |
| | |||||
* | Don't include gettext headers when NLS is disabled. | Jon Lund Steffensen | 2010-05-24 | 1 | -2/+0 |
| | |||||
* | Add gettext support in redshift. | Jon Lund Steffensen | 2010-02-02 | 1 | -1/+1 |
| | |||||
* | Move source and headers to src dir. | Jon Lund Steffensen | 2009-12-23 | 1 | -0/+150 |