doc-rst: mmap: re-add the missing captions
The conversion from DocBook removed them. Re-add. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
afb392b1a4
commit
5c591aa13d
|
@ -54,6 +54,7 @@ possible with the :ref:`munmap() <func-munmap>` function.
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
:caption: Example 3.1. Mapping buffers in the single-planar API
|
||||||
|
|
||||||
struct v4l2_requestbuffers reqbuf;
|
struct v4l2_requestbuffers reqbuf;
|
||||||
struct {
|
struct {
|
||||||
|
@ -122,6 +123,7 @@ possible with the :ref:`munmap() <func-munmap>` function.
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
:caption: Example 3.2. Mapping buffers in the multi-planar API
|
||||||
|
|
||||||
struct v4l2_requestbuffers reqbuf;
|
struct v4l2_requestbuffers reqbuf;
|
||||||
/* Our current format uses 3 planes per buffer */
|
/* Our current format uses 3 planes per buffer */
|
||||||
|
|
Loading…
Reference in New Issue