mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-05-27 07:46:15 +00:00
refactoring
This commit is contained in:
@@ -61,15 +61,15 @@ typedef struct {
|
|||||||
drmModeModeInfo mode;
|
drmModeModeInfo mode;
|
||||||
u32 conn_id;
|
u32 conn_id;
|
||||||
us_drm_buffer_s *bufs;
|
us_drm_buffer_s *bufs;
|
||||||
unsigned n_bufs;
|
uint n_bufs;
|
||||||
drmModeCrtc *saved_crtc;
|
drmModeCrtc *saved_crtc;
|
||||||
unsigned next_n_buf;
|
uint next_n_buf;
|
||||||
bool has_vsync;
|
bool has_vsync;
|
||||||
|
|
||||||
us_ftext_s *ft;
|
us_ftext_s *ft;
|
||||||
|
|
||||||
unsigned p_width;
|
uint p_width;
|
||||||
unsigned p_height;
|
uint p_height;
|
||||||
float p_hz;
|
float p_hz;
|
||||||
|
|
||||||
us_drm_state_e state;
|
us_drm_state_e state;
|
||||||
@@ -78,8 +78,8 @@ typedef struct {
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
char *path;
|
char *path;
|
||||||
char *port;
|
char *port;
|
||||||
unsigned n_bufs;
|
uint n_bufs;
|
||||||
unsigned timeout;
|
uint timeout;
|
||||||
|
|
||||||
us_drm_runtime_s *run;
|
us_drm_runtime_s *run;
|
||||||
} us_drm_s;
|
} us_drm_s;
|
||||||
|
|||||||
Reference in New Issue
Block a user