mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-07-25 05:02:05 +00:00
renamed us_hw_buffer_s to us_capture_hwbuf_s
This commit is contained in:
@@ -49,7 +49,7 @@ typedef struct {
|
||||
int dma_fd;
|
||||
bool grabbed;
|
||||
atomic_int refs;
|
||||
} us_hw_buffer_s;
|
||||
} us_capture_hwbuf_s;
|
||||
|
||||
typedef struct {
|
||||
int fd;
|
||||
@@ -62,7 +62,7 @@ typedef struct {
|
||||
uint jpeg_quality;
|
||||
uz raw_size;
|
||||
uint n_bufs;
|
||||
us_hw_buffer_s *hw_bufs;
|
||||
us_capture_hwbuf_s *bufs;
|
||||
bool dma;
|
||||
enum v4l2_buf_type capture_type;
|
||||
bool capture_mplane;
|
||||
@@ -130,8 +130,8 @@ int us_capture_parse_io_method(const char *str);
|
||||
int us_capture_open(us_capture_s *cap);
|
||||
void us_capture_close(us_capture_s *cap);
|
||||
|
||||
int us_capture_grab_buffer(us_capture_s *cap, us_hw_buffer_s **hw);
|
||||
int us_capture_release_buffer(us_capture_s *cap, us_hw_buffer_s *hw);
|
||||
int us_capture_grab_buffer(us_capture_s *cap, us_capture_hwbuf_s **hw);
|
||||
int us_capture_release_buffer(us_capture_s *cap, us_capture_hwbuf_s *hw);
|
||||
|
||||
void us_capture_buffer_incref(us_hw_buffer_s *hw);
|
||||
void us_capture_buffer_decref(us_hw_buffer_s *hw);
|
||||
void us_capture_buffer_incref(us_capture_hwbuf_s *hw);
|
||||
void us_capture_buffer_decref(us_capture_hwbuf_s *hw);
|
||||
|
||||
Reference in New Issue
Block a user