aboutsummaryrefslogtreecommitdiff
path: root/include/encoder/video/nvenc.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-09 18:32:26 +0200
committerdec05eba <dec05eba@protonmail.com>2024-10-09 18:32:26 +0200
commit935a7b892e90ead91e79ced7cb7011c69ca973e0 (patch)
tree93b70c141c9b730894343db8326ecf430ab090f2 /include/encoder/video/nvenc.h
parent0a8d176ab6b21053dd7f5736434b78515b282b4c (diff)
Rename video encoder cuda to video encoder nvenc
Diffstat (limited to 'include/encoder/video/nvenc.h')
-rw-r--r--include/encoder/video/nvenc.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/encoder/video/nvenc.h b/include/encoder/video/nvenc.h
new file mode 100644
index 0000000..d4a906b
--- /dev/null
+++ b/include/encoder/video/nvenc.h
@@ -0,0 +1,16 @@
+#ifndef GSR_ENCODER_VIDEO_NVENC_H
+#define GSR_ENCODER_VIDEO_NVENC_H
+
+#include "video.h"
+
+typedef struct gsr_egl gsr_egl;
+
+typedef struct {
+ gsr_egl *egl;
+ bool overclock;
+ gsr_color_depth color_depth;
+} gsr_video_encoder_nvenc_params;
+
+gsr_video_encoder* gsr_video_encoder_nvenc_create(const gsr_video_encoder_nvenc_params *params);
+
+#endif /* GSR_ENCODER_VIDEO_NVENC_H */