http ping + snapshot

This commit is contained in:
Devaev Maxim
2018-09-18 20:56:54 +03:00
parent dbe20ae6da
commit 3c20c9af52
11 changed files with 205 additions and 26 deletions

View File

@@ -18,6 +18,7 @@ struct hw_buffer_t {
struct picture_t {
unsigned char *data;
unsigned long size;
unsigned long allocated;
};
struct device_runtime_t {
@@ -28,7 +29,7 @@ struct device_runtime_t {
unsigned n_buffers;
struct hw_buffer_t *hw_buffers;
struct picture_t *pictures;
unsigned max_picture_size;
unsigned long max_picture_size;
bool capturing;
};