Make bufer_list to be more v4l2-less

This commit is contained in:
Kamil Trzcinski
2022-04-10 09:57:23 +02:00
parent 76f35f37c8
commit 4746484844
6 changed files with 57 additions and 56 deletions

View File

@@ -13,19 +13,18 @@ typedef struct buffer_list_s {
device_t *device;
buffer_t **bufs;
int nbufs;
int type;
struct v4l2_format v4l2_format;
bool do_mplanes;
bool do_mmap;
bool do_dma;
bool do_capture;
bool do_mmap, do_dma, do_capture;
struct {
bool do_mplanes;
int type;
} v4l2;
unsigned fmt_width, fmt_height, fmt_format, fmt_bytesperline, fmt_interval_us;
bool do_timestamps;
uint64_t last_enqueued_us;
uint64_t last_dequeued_us;
uint64_t last_enqueued_us, last_dequeued_us;
bool streaming;
int frames;