Do not jump to 0 % or 100 % when changing direction of transition

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Fix last commit for transition=0

Signed-off-by: Mattias Andrée <maandree@operamail.com>
allow running output of external processes to get configurations

Signed-off-by: Mattias Andrée <maandree@operamail.com>
commit data structures for adjustment methods

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add functions that should be used by the common code to free method specific data

Signed-off-by: Mattias Andrée <maandree@operamail.com>
running ./configure --enable-fakegdi --enable-wingdi enables a dummy wingdi gamma adjustment method

Signed-off-by: Mattias Andrée <maandree@operamail.com>
fake-w32gdi uses randr (very sloopyly)

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add functions for freeing resources

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add CRTC iterator

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add gamma_resolve_selections

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add functions to restore and update the gamma ramps

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add initialiser for common parts of the state

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add gamma_set_option

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add gamma-common to list of files to compile and fix a bunch or small errors

Signed-off-by: Mattias Andrée <maandree@operamail.com>
update other parts of the program

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add methods for updateing the brightness and temperature on all CRTC:s in a server

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add a gamma setting that is not an error correction

Signed-off-by: Mattias Andrée <maandree@operamail.com>
add lookup table adjustment

Signed-off-by: Mattias Andrée <maandree@operamail.com>
LUT adjustment both before and after gamma, brightness and temperature

Signed-off-by: Mattias Andrée <maandree@operamail.com>
implement LUT applying (pre and post adjustments and calibrations)

Signed-off-by: Mattias Andrée <maandree@operamail.com>