diff options
| author | dec05eba <dec05eba@protonmail.com> | 2026-07-21 15:54:27 +0200 |
|---|---|---|
| committer | dec05eba <dec05eba@protonmail.com> | 2026-07-21 15:54:27 +0200 |
| commit | 40f5b54158b8aed05137fd63dab06b73edf96ebe (patch) | |
| tree | f2c35910c51619024644c4e7d50d9c617b09abbd /include/defs.h | |
| parent | 2891f2b637058d7fcf4651059cd88dc03e62e68c (diff) | |
Improve hdr and night color capture (tested on kde)
Diffstat (limited to 'include/defs.h')
| -rw-r--r-- | include/defs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/defs.h b/include/defs.h index b868148..4bb10d8 100644 --- a/include/defs.h +++ b/include/defs.h @@ -27,8 +27,17 @@ typedef enum { } gsr_monitor_rotation; typedef struct { + float red_x, red_y; + float green_x, green_y; + float blue_x, blue_y; + float white_x, white_y; +} gsr_color_chromaticities; + +typedef struct { float sdr_white_luminance; /* cd/m² (nits) */ float max_peak_luminance; /* cd/m² (nits) */ + gsr_color_chromaticities primaries; /* The color volume that the monitor image is encoded in, valid when |primaries_valid| is true */ + bool primaries_valid; } gsr_monitor_hdr_info; typedef enum { |
