From 62d61fda12e3774fee6b671e44fb89bd2ef8da8c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 4 Jul 2024 01:35:03 +0200 Subject: Add support for software video encoding with '-encoder cpu' option, currently h264 only --- include/capture/xcomposite_software.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/capture/xcomposite_software.h (limited to 'include/capture/xcomposite_software.h') diff --git a/include/capture/xcomposite_software.h b/include/capture/xcomposite_software.h new file mode 100644 index 0000000..d41083c --- /dev/null +++ b/include/capture/xcomposite_software.h @@ -0,0 +1,13 @@ +#ifndef GSR_CAPTURE_XCOMPOSITE_SOFTWARE_H +#define GSR_CAPTURE_XCOMPOSITE_SOFTWARE_H + +#include "capture.h" +#include "xcomposite.h" + +typedef struct { + gsr_capture_xcomposite_params base; +} gsr_capture_xcomposite_software_params; + +gsr_capture* gsr_capture_xcomposite_software_create(const gsr_capture_xcomposite_software_params *params); + +#endif /* GSR_CAPTURE_XCOMPOSITE_SOFTWARE_H */ -- cgit v1.2.3