From aa2fa1e17e1f2e6f2d31347e3f4ed2bff3806ed5 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 26 Sep 2024 02:23:56 +0200 Subject: Add template for vulkan video encoding --- include/encoder/video/vulkan.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/encoder/video/vulkan.h (limited to 'include/encoder/video') 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 */ -- cgit v1.2.3