mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-20 02:10:06 +01:00
render/color: turn enum wlr_color_encoding into a bitfield
This will allow us to describe the set of supported encodings as a bitfield.
This commit is contained in:
parent
0d24cdb822
commit
378a491823
1 changed files with 9 additions and 9 deletions
|
|
@ -48,15 +48,15 @@ enum wlr_alpha_mode {
|
|||
* value is unset or unknown.
|
||||
*/
|
||||
enum wlr_color_encoding {
|
||||
WLR_COLOR_ENCODING_NONE,
|
||||
WLR_COLOR_ENCODING_IDENTITY,
|
||||
WLR_COLOR_ENCODING_BT709,
|
||||
WLR_COLOR_ENCODING_FCC,
|
||||
WLR_COLOR_ENCODING_BT601,
|
||||
WLR_COLOR_ENCODING_SMPTE240,
|
||||
WLR_COLOR_ENCODING_BT2020,
|
||||
WLR_COLOR_ENCODING_BT2020_CL,
|
||||
WLR_COLOR_ENCODING_ICTCP,
|
||||
WLR_COLOR_ENCODING_NONE = 0,
|
||||
WLR_COLOR_ENCODING_IDENTITY = 1 << 0,
|
||||
WLR_COLOR_ENCODING_BT709 = 1 << 1,
|
||||
WLR_COLOR_ENCODING_FCC = 1 << 2,
|
||||
WLR_COLOR_ENCODING_BT601 = 1 << 3,
|
||||
WLR_COLOR_ENCODING_SMPTE240 = 1 << 4,
|
||||
WLR_COLOR_ENCODING_BT2020 = 1 << 5,
|
||||
WLR_COLOR_ENCODING_BT2020_CL = 1 << 6,
|
||||
WLR_COLOR_ENCODING_ICTCP = 1 << 7,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue