[PATCH 2/2] Move the EDID parsing to its own file

Richard Hughes hughsient at gmail.com
Sat May 4 01:39:36 PDT 2013


On 4 May 2013 00:16, Kai-Uwe Behrmann <ku.b at gmx.de> wrote:
>> +struct weston_edid_color_Yxy {
>> +       double Y;
>> +       double x;
>> +       double y;
>> +};
> Why is the Y value set when it is all about primaries. No one will ever use
> that other than for assuming 1.0 .

I assumed a standard type would be more useful than a custom type. If
it stays as Yxy, then colord can use it without having to do a:

var2->Y = 1.0;
var2->x = var1->x;
var2->y = var1->y;

...every time.

Richard


More information about the wayland-devel mailing list