~sil2100/nux/precise_sru-1

« back to all changes in this revision

Viewing changes to NuxCore/Colors.cpp

  • Committer: Didier Roche
  • Date: 2012-02-17 10:28:35 UTC
  • mfrom: (159.3.34)
  • Revision ID: didier.roche@canonical.com-20120217102835-7fyqcabz0vad239t
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
{
27
27
  namespace color
28
28
  {
 
29
    // Definition of Luma coefficients as per ITU-R Recommendation BT.601
 
30
    // http://en.wikipedia.org/wiki/Rec._601
 
31
    const float LumaRed   = 0.299f;
 
32
    const float LumaGreen = 0.587f;
 
33
    const float LumaBlue  = 0.114f;
 
34
 
 
35
    //     // Definition of Luma coefficients as per ITU-R Recommendation BT.709
 
36
    //     // http://en.wikipedia.org/wiki/Rec._709
 
37
    //     float LumaRed   = 0.2126f;
 
38
    //     float LumaGreen = 0.7152f;
 
39
    //     float LumaBlue  = 0.0722f;
 
40
 
29
41
    const Color Transparent(0, 0, 0, 0);
30
42
 
31
43
    //Red colors