Fix libcamera compilation

This commit is contained in:
Kamil Trzcinski
2022-04-10 22:28:01 +02:00
parent 2e36ac9aed
commit abb94b1e29
9 changed files with 59 additions and 20 deletions

View File

@ -1,10 +1,5 @@
#include "libcamera.hh"
extern "C" {
#include "device/buffer_list.h"
#include <stdlib.h>
};
int libcamera_buffer_list_open(buffer_list_t *buf_list, unsigned width, unsigned height, unsigned format, unsigned bytesperline)
{
buf_list->libcamera = new buffer_list_libcamera_t{};