xref: /linux/Documentation/userspace-api/media/v4l/v4l2grab-example.rst (revision 3b5d1afd1f13bcab85eaa28223ad396694f929e3)
1.. Permission is granted to copy, distribute and/or modify this
2.. document under the terms of the GNU Free Documentation License,
3.. Version 1.1 or any later version published by the Free Software
4.. Foundation, with no Invariant Sections, no Front-Cover Texts
5.. and no Back-Cover Texts. A copy of the license is included at
6.. Documentation/userspace-api/media/fdl-appendix.rst.
7..
8.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
9
10.. _v4l2grab-example:
11
12**********************************
13Video Grabber example using libv4l
14**********************************
15
16This program demonstrates how to grab V4L2 images in ppm format by using
17libv4l handlers. The advantage is that this grabber can potentially work
18with any V4L2 driver.
19
20
21.. toctree::
22    :maxdepth: 1
23
24    v4l2grab.c
25