mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
render/color: add wlr_color_transfer_function_get_default_luminance()
This commit is contained in:
parent
50537e2e6f
commit
10b8880fc7
3 changed files with 33 additions and 0 deletions
|
|
@ -42,6 +42,13 @@ struct wlr_color_primaries {
|
|||
struct wlr_color_cie1931_xy red, green, blue, white;
|
||||
};
|
||||
|
||||
/**
|
||||
* Luminance range and reference white luminance level, in cd/m².
|
||||
*/
|
||||
struct wlr_color_luminances {
|
||||
float min, max, reference;
|
||||
};
|
||||
|
||||
/**
|
||||
* A color transformation formula, which maps a linear color space with
|
||||
* sRGB primaries to an output color space.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue