mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-04-21 01:09:36 +09:00
Separate video encoding method from capture method
With this instead of kms_cuda/kms_vaapi/kms_software and xcomposite_cuda/xcomposite_vaapi/xcomposite_software there is now only kms and xcomposite.
This commit is contained in:
15
include/encoder/video/software.h
Normal file
15
include/encoder/video/software.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef GSR_ENCODER_VIDEO_SOFTWARE_H
|
||||
#define GSR_ENCODER_VIDEO_SOFTWARE_H
|
||||
|
||||
#include "video.h"
|
||||
|
||||
typedef struct gsr_egl gsr_egl;
|
||||
|
||||
typedef struct {
|
||||
gsr_egl *egl;
|
||||
bool hdr;
|
||||
} gsr_video_encoder_software_params;
|
||||
|
||||
gsr_video_encoder* gsr_video_encoder_software_create(const gsr_video_encoder_software_params *params);
|
||||
|
||||
#endif /* GSR_ENCODER_VIDEO_SOFTWARE_H */
|
||||
Reference in New Issue
Block a user