aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-26 02:23:56 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-26 02:23:56 +0200
commitaa2fa1e17e1f2e6f2d31347e3f4ed2bff3806ed5 (patch)
tree3b9d2c993acb608062e30d7b44da630174208d4d /include
parent2b60c02181884988dba8afbe91ce56aa3dbbabc2 (diff)
Add template for vulkan video encoding
Diffstat (limited to 'include')
-rw-r--r--include/encoder/video/vulkan.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/encoder/video/vulkan.h b/include/encoder/video/vulkan.h
new file mode 100644
index 0000000..383fc4f
--- /dev/null
+++ b/include/encoder/video/vulkan.h
@@ -0,0 +1,15 @@
+#ifndef GSR_ENCODER_VIDEO_VULKAN_H
+#define GSR_ENCODER_VIDEO_VULKAN_H
+
+#include "video.h"
+
+typedef struct gsr_egl gsr_egl;
+
+typedef struct {
+ gsr_egl *egl;
+ gsr_color_depth color_depth;
+} gsr_video_encoder_vulkan_params;
+
+gsr_video_encoder* gsr_video_encoder_vulkan_create(const gsr_video_encoder_vulkan_params *params);
+
+#endif /* GSR_ENCODER_VIDEO_VULKAN_H */