clients: add simple-v4l-dmabuf client

Graphics / Wayland / Weston - Emmanuel Gil Peyrot [collabora.com] - 11 January 2016 13:34 UTC

This client opens a V4L2 device, usually exposed as /dev/videoN, and retrieves its frames as dmabuf for later import into the compositor.

It supports both single- and multi-planar devices, and any format exposed by the V4L2 device the Wayland compositor accepts.

This client never changes the v4l2 settings, use `v4l2-ctl -c` if you want to change those.

5d43af3 clients: add simple-v4l-dmabuf client
.gitignore | 1 +
Makefile.am | 15 +
clients/simple-dmabuf-v4l.c | 945 +++++++++++++++++++++++++++++++++++++++++++
configure.ac | 14 +
4 files changed, 975 insertions(+)

Upstream: cgit.freedesktop.org


  • Share