diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-03-03 03:47:30 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-03-08 11:34:36 +0100 |
commit | d0c221a233e0bc07e22cffb06ec3ae77a5f96010 (patch) | |
tree | 154ad68ce13a71541bf6667f933194e313237dc1 /include/capture/kms_cuda.h | |
parent | 4d8a9e2e1d7d257aeff0497b6550df82f60bc0e8 (diff) |
Refactor kms_vaapi and kms_cuda
Also fixes color metadata, color range and hdr on nvidia wayland.
Diffstat (limited to 'include/capture/kms_cuda.h')
-rw-r--r-- | include/capture/kms_cuda.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/capture/kms_cuda.h b/include/capture/kms_cuda.h index 5691f61..ce3e8ce 100644 --- a/include/capture/kms_cuda.h +++ b/include/capture/kms_cuda.h @@ -3,6 +3,7 @@ #include "../vec2.h" #include "../utils.h" +#include "../color_conversion.h" #include "capture.h" typedef struct _XDisplay Display; @@ -12,6 +13,7 @@ typedef struct { const char *display_to_capture; /* if this is "screen", then the first monitor is captured. A copy is made of this */ gsr_gpu_info gpu_inf; bool hdr; + gsr_color_range color_range; } gsr_capture_kms_cuda_params; gsr_capture* gsr_capture_kms_cuda_create(const gsr_capture_kms_cuda_params *params); |