]> git.sesse.net Git - movit/blob - d65.h
86f423bdd4ce8054b27d57d6ccefafb0a977bc46
[movit] / d65.h
1 #ifndef _D65_H
2 #define _D65_H 1
3
4 // The D65 illuminant, which is the standard white point (ie. what you should get
5 // for R=G=B=1) for almost all video color spaces in common use. It has a color
6 // temperature roughly around 6500 K, which is sort of bluish; it is intended to
7 // simulate average daylight conditions.
8 //
9 // The definition (in xyz space) is given, for instance, in both Rec. 601 and 709.
10 static const double d65_x = 0.3127, d65_y = 0.3290, d65_z = 1.0 - d65_x - d65_y;
11
12 #endif  // !defined(_D65_H)
13