We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0147f0 commit 867f95bCopy full SHA for 867f95b
src/test/v4l_dmabuf.c
@@ -11,6 +11,13 @@ struct dma_buf_export_sync_file {
11
};
12
#define DMA_BUF_IOCTL_EXPORT_SYNC_FILE _IOWR(DMA_BUF_BASE, 2, struct dma_buf_export_sync_file)
13
#endif
14
+#ifndef DMA_BUF_IOCTL_IMPORT_SYNC_FILE
15
+struct dma_buf_import_sync_file {
16
+ uint32_t flags;
17
+ int32_t fd;
18
+};
19
+#define DMA_BUF_IOCTL_IMPORT_SYNC_FILE _IOWR(DMA_BUF_BASE, 3, struct dma_buf_import_sync_file)
20
+#endif
21
22
static const char device_name[] = "/dev/video0";
23
0 commit comments