aboutsummaryrefslogtreecommitdiff
path: root/include/encoder
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
parent0a8d176ab6b21053dd7f5736434b78515b282b4c (diff)
Rename video encoder cuda to video encoder nvenc
Diffstat (limited to 'include/encoder')
-rw-r--r--include/encoder/video/cuda.h16
-rw-r--r--include/encoder/video/nvenc.h16
2 files changed, 16 insertions, 16 deletions
diff --git a/include/encoder/video/cuda.h b/include/encoder/video/cuda.h
deleted file mode 100644
index 6d32e09..0000000
--- a/include/encoder/video/cuda.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef GSR_ENCODER_VIDEO_CUDA_H
-#define GSR_ENCODER_VIDEO_CUDA_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_cuda_params;
-
-gsr_video_encoder* gsr_video_encoder_cuda_create(const gsr_video_encoder_cuda_params *params);
-
-#endif /* GSR_ENCODER_VIDEO_CUDA_H */
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 */