Fix includes
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
#include "device/hw/buffer.h"
|
||||
#include "device/hw/buffer_list.h"
|
||||
#include "device/hw/device.h"
|
||||
#include "device/hw/v4l2.h"
|
||||
|
||||
buffer_t *buffer_open(const char *name, buffer_list_t *buf_list, int index) {
|
||||
buffer_t *buf = calloc(1, sizeof(buffer_t));
|
||||
|
@ -21,7 +21,7 @@ typedef struct buffer_s {
|
||||
int dma_fd;
|
||||
|
||||
int mmap_reflinks;
|
||||
buffer_list_t *mmap_source;
|
||||
buffer_t *mmap_source;
|
||||
bool enqueued;
|
||||
uint64_t enqueue_time_us;
|
||||
} buffer_t;
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include "device/hw/buffer.h"
|
||||
#include "device/hw/buffer_list.h"
|
||||
#include "device/hw/device.h"
|
||||
#include "device/hw/v4l2.h"
|
||||
|
||||
buffer_list_t *buffer_list_open(const char *name, struct device_s *dev, unsigned type, bool do_mmap)
|
||||
{
|
||||
|
@ -1,5 +1,7 @@
|
||||
#include "device/hw/buffer_lock.h"
|
||||
#include "device/hw/buffer_list.h"
|
||||
#include "device/hw/buffer.h"
|
||||
#include "device/hw/v4l2.h"
|
||||
|
||||
bool buffer_lock_is_used(buffer_lock_t *buf_lock)
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "device/hw/buffer.h"
|
||||
#include "device/hw/buffer_list.h"
|
||||
#include "device/hw/device.h"
|
||||
|
||||
#include "device/hw/v4l2.h"
|
||||
#include <pthread.h>
|
||||
|
||||
pthread_mutex_t buffer_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include "device/hw/device.h"
|
||||
#include "device/hw/buffer.h"
|
||||
#include "device/hw/buffer_list.h"
|
||||
#include "device/hw/v4l2.h"
|
||||
|
||||
device_t *device_open(const char *name, const char *path) {
|
||||
device_t *dev = calloc(1, sizeof(device_t));
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "device/hw/device.h"
|
||||
#include "device/hw/v4l2.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "device/hw/device.h"
|
||||
#include "device/hw/v4l2.h"
|
||||
#include "opts/opts.h"
|
||||
|
||||
#include <ctype.h>
|
||||
|
@ -2,6 +2,7 @@
|
||||
#include "device/hw/device.h"
|
||||
#include "device/hw/buffer.h"
|
||||
#include "device/hw/buffer_list.h"
|
||||
#include "device/hw/v4l2.h"
|
||||
|
||||
#define N_FDS 50
|
||||
#define QUEUE_ON_CAPTURE // seems to provide better latency
|
||||
|
Reference in New Issue
Block a user