Validate headers

This commit is contained in:
Kamil Trzcinski
2022-04-08 23:09:24 +02:00
parent d1b57fa37b
commit e7c68cb60e
4 changed files with 13 additions and 4 deletions

View File

@ -1,10 +1,15 @@
#pragma once
#include "v4l2.h"
#include <stdbool.h>
#include <stdint.h>
#include <linux/videodev2.h>
typedef struct buffer_s buffer_t;
typedef struct device_s device_t;
typedef struct buffer_list_s {
char *name;
struct device_s *device;
device_t *device;
buffer_t **bufs;
int nbufs;
int type;

View File

@ -1,7 +1,7 @@
#include "device/hw/links.h"
#include "device/hw/device.h"
#include "device/hw/buffer.h"
#include "device/hw/buffer_list.h"
#include "device/hw/links.h"
#define N_FDS 50
#define QUEUE_ON_CAPTURE // seems to provide better latency

View File

@ -1,6 +1,7 @@
#pragma once
#include "v4l2.h"
#include <stdint.h>
#include <stdbool.h>
#define LINKS_LOOP_INTERVAL 100