summaryrefslogtreecommitdiff
path: root/src/colour_conversion.cc
AgeCommit message (Collapse)Author
2015-06-24No-op: whitespace.Carl Hetherington
2015-04-22Add p3_to_xyz colour conversion preset.Carl Hetherington
2015-04-22Fix crash in previous.Carl Hetherington
2015-04-22Express colour conversions as chromaticities and adjust so thatCarl Hetherington
everything is specified as something_to_xyz and then you can get an inverse LUT if you want one.
2015-02-17Use 2.222222 for the power in the modified Rec. 709 input gammaCarl Hetherington
correction, as per fnordware DCIconverter.
2015-02-17Rec 709 -> XYZ and sRGB -> XYZ matrices are, it seems, the same;Carl Hetherington
I'm getting this from fnordware DCIconverter. https://github.com/fnordware/DCIconverter/blob/master/src/DCIconverter.cpp
2015-02-17Typo causing wrong matrix to be used for Rec. 709.Carl Hetherington
2015-01-04Try to fix static initialisation order problems.Carl Hetherington
2015-01-03Various fixes to XYZ/RGB transforms.Carl Hetherington
2014-12-28Change colourspace handling round a bit:1.0-colour-cleanupCarl Hetherington
- move the essence of GammaLUT into TransferFunction and handle different bit depths more neatly - add ColourConversion to describe input gamma correction, colour transformation and then output gamma correction in one class. - add default ColourConversions for sRGB->XYZ, Rec709->XYZ and XYZ->RGB.