Add template for vulkan video encoding

This commit is contained in:
dec05eba
2024-09-26 02:23:56 +02:00
parent 2b60c02181
commit aa2fa1e17e
3 changed files with 145 additions and 2 deletions

View File

@@ -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 */