diff options
| author | dec05eba <dec05eba@protonmail.com> | 2026-07-14 21:06:27 +0200 |
|---|---|---|
| committer | dec05eba <dec05eba@protonmail.com> | 2026-07-14 21:06:27 +0200 |
| commit | 7a5785e4dfd023dc5e037ad535f5b7aa26278ff4 (patch) | |
| tree | 579ca25730412d890210721ac09b9ba4c02b9ca2 /include/defs.h | |
| parent | 174192d5605c51b41f39bb8c5de1abc1edc8a106 (diff) | |
kms capture: implement hdr to sdr tonemapping
Diffstat (limited to 'include/defs.h')
| -rw-r--r-- | include/defs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/defs.h b/include/defs.h index d6de6d8..7aa9d32 100644 --- a/include/defs.h +++ b/include/defs.h @@ -26,6 +26,12 @@ typedef enum { GSR_MONITOR_ROT_270, } gsr_monitor_rotation; +typedef struct { + bool hdr_enabled; + float sdr_white_luminance; /* cd/m² (nits) */ + float max_peak_luminance; /* cd/m² (nits) */ +} gsr_monitor_hdr_info; + typedef enum { GSR_CONNECTION_X11, GSR_CONNECTION_WAYLAND, |
