mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-17 05:34:14 -04:00
render/color: introduce enum wlr_color_transfer_function
This commit is contained in:
parent
e11012a024
commit
50537e2e6f
1 changed files with 8 additions and 0 deletions
|
|
@ -20,6 +20,14 @@ enum wlr_color_named_primaries {
|
||||||
WLR_COLOR_NAMED_PRIMARIES_BT2020 = 1 << 1,
|
WLR_COLOR_NAMED_PRIMARIES_BT2020 = 1 << 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Well-known color transfer functions.
|
||||||
|
*/
|
||||||
|
enum wlr_color_transfer_function {
|
||||||
|
WLR_COLOR_TRANSFER_FUNCTION_SRGB = 1 << 0,
|
||||||
|
WLR_COLOR_TRANSFER_FUNCTION_ST2084_PQ = 1 << 1,
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CIE 1931 xy chromaticity coordinates.
|
* CIE 1931 xy chromaticity coordinates.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue