diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-10 16:57:43 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-10 17:06:28 +0200 |
commit | 706f8a9975cb8889742d1f606ff466205ed29805 (patch) | |
tree | 53f11f25ecbab359cfa29e56c0effff67e4c0500 /Documentation/media/uapi/v4l/dmabuf.rst | |
parent | [media] doc-rst: improve DTV_BANDWIDTH_HZ notes (diff) | |
download | linux-706f8a9975cb8889742d1f606ff466205ed29805.tar.xz linux-706f8a9975cb8889742d1f606ff466205ed29805.zip |
[media] doc-rst: improve display of notes and warnings
There are several notes and warning mesages in the middle of
the media docbook. Use the ReST tags for that, as it makes
them visually better and hightlights them.
While here, modify a few ones to make them clearer.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/dmabuf.rst')
-rw-r--r-- | Documentation/media/uapi/v4l/dmabuf.rst | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Documentation/media/uapi/v4l/dmabuf.rst b/Documentation/media/uapi/v4l/dmabuf.rst index 57917fb98c7a..675768f7c66a 100644 --- a/Documentation/media/uapi/v4l/dmabuf.rst +++ b/Documentation/media/uapi/v4l/dmabuf.rst @@ -143,13 +143,16 @@ functions are always available. To start and stop capturing or displaying applications call the :ref:`VIDIOC_STREAMON <VIDIOC_STREAMON>` and -:ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` ioctls. Note that -:ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` removes all buffers from -both queues and unlocks all buffers as a side effect. Since there is no -notion of doing anything "now" on a multitasking system, if an -application needs to synchronize with another event it should examine -the struct :ref:`v4l2_buffer <v4l2-buffer>` ``timestamp`` of captured or -outputted buffers. +:ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` ioctls. + +.. note:: + + :ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` removes all buffers from + both queues and unlocks all buffers as a side effect. Since there is no + notion of doing anything "now" on a multitasking system, if an + application needs to synchronize with another event it should examine + the struct :ref:`v4l2_buffer <v4l2-buffer>` ``timestamp`` of captured or + outputted buffers. Drivers implementing DMABUF importing I/O must support the :ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>`, :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`, |