aboutsummaryrefslogtreecommitdiff
path: root/include/capture/kms_vaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/capture/kms_vaapi.h')
-rw-r--r--include/capture/kms_vaapi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/capture/kms_vaapi.h b/include/capture/kms_vaapi.h
index 26cda2c..b7fbb81 100644
--- a/include/capture/kms_vaapi.h
+++ b/include/capture/kms_vaapi.h
@@ -3,6 +3,7 @@
#include "../vec2.h"
#include "../utils.h"
+#include "../color_conversion.h"
#include "capture.h"
typedef struct _XDisplay Display;
@@ -13,6 +14,8 @@ typedef struct {
gsr_gpu_info gpu_inf;
const char *card_path; /* reference */
bool wayland;
+ bool hdr;
+ gsr_color_range color_range;
} gsr_capture_kms_vaapi_params;
gsr_capture* gsr_capture_kms_vaapi_create(const gsr_capture_kms_vaapi_params *params);