[PATCH 2/2] Move the EDID parsing to its own file
Bill Spitzak
spitzak at gmail.com
Mon May 6 11:28:46 PDT 2013
The Y of the primaries can be used as alternative method of specifying
the whitepoint. (convert the 3 Yxy colors to XYZ, add them, then convert
back to Yxy and the xy is the whitepoint, I think).
I think the reason rgb sets are specfied as 4 pairs of xy (the three
primaries and the whitepoint) instead of 3 triples is to remove the
arbitrary multiplier that makes there be 9 numbers instead of 8.
Richard Hughes wrote:
> 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
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list