diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-22 13:15:42 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-23 11:04:21 (GMT) |
commit | f6fa883bb733376b2ac1c4772cce5b4316ab693f (patch) | |
tree | 7c72964dd5e69b5563714d92256f8fcf92816684 /Documentation/media/kapi/v4l2-dev.rst | |
parent | f4a6bdd1f36f940411b20fb3f615faa4127174a2 (diff) | |
download | linux-f6fa883bb733376b2ac1c4772cce5b4316ab693f.tar.xz |
[media] doc-rst: reorganize the kAPI v4l2 chapters
Reorganize the order of the document, putting the chapters
on a more logical order and renaming some sections.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/kapi/v4l2-dev.rst')
-rw-r--r-- | Documentation/media/kapi/v4l2-dev.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/media/kapi/v4l2-dev.rst b/Documentation/media/kapi/v4l2-dev.rst index 306306d..b03f9b3 100644 --- a/Documentation/media/kapi/v4l2-dev.rst +++ b/Documentation/media/kapi/v4l2-dev.rst @@ -1,5 +1,5 @@ -Video device creation -===================== +Video device' s internal representation +======================================= The actual device nodes in the ``/dev`` directory are created using the :c:type:`video_device` struct (``v4l2-dev.h``). This struct can either be @@ -309,8 +309,8 @@ it has been initialized: This can be done from the release callback. -video_device helper functions ------------------------------ +helper functions +---------------- There are a few useful helper functions: @@ -357,7 +357,7 @@ The name is used as a hint by userspace tools such as udev. The function should be used where possible instead of accessing the video_device::num and video_device::minor fields. -video_device kAPI ------------------ +video_device functions and data structures +------------------------------------------ .. kernel-doc:: include/media/v4l2-dev.h |