mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 17:17:16 +09:00
Add region capture with -w region -region WxH+X+Y
This commit is contained in:
@@ -12,6 +12,8 @@ typedef struct {
|
||||
bool record_cursor;
|
||||
int fps;
|
||||
vec2i output_resolution;
|
||||
vec2i region_size;
|
||||
vec2i region_position;
|
||||
} gsr_capture_kms_params;
|
||||
|
||||
gsr_capture* gsr_capture_kms_create(const gsr_capture_kms_params *params);
|
||||
|
||||
@@ -15,6 +15,8 @@ typedef struct {
|
||||
gsr_color_range color_range;
|
||||
bool record_cursor;
|
||||
vec2i output_resolution;
|
||||
vec2i region_size;
|
||||
vec2i region_position;
|
||||
} gsr_capture_nvfbc_params;
|
||||
|
||||
gsr_capture* gsr_capture_nvfbc_create(const gsr_capture_nvfbc_params *params);
|
||||
|
||||
Reference in New Issue
Block a user