Skip to content

Commit a3c7c7b

Browse files
committed
Add README section for DMA-BUF support
Briefly describe DMA-BUF's purpose for cross-device buffer sharing.
1 parent 599a2f9 commit a3c7c7b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ Available virtual V4L2 compatible devices:
5959
1. fbX(640,480,rgb24,mmap) -> /dev/video0
6060
```
6161

62+
The default memory type is MMAP. You can switch to DMA-BUF using the `-t` option, for example:
63+
```shell
64+
$ sudo ./vcam-util -c -t dmabuf
65+
```
66+
The DMA-BUF framework provides a unified way to share buffers across multiple devices.
67+
6268
You can use this command to check if the driver is ok:
6369
```shell
6470
$ sudo v4l2-compliance -d /dev/videoX -f

0 commit comments

Comments
 (0)