Commit 8f764eb9 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

doc-rst: dmabuf: re-add the missing captions

The conversion from DocBook removed them. Re-add.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 0579e6e3
...@@ -38,6 +38,7 @@ driver must be switched into DMABUF I/O mode by calling the ...@@ -38,6 +38,7 @@ driver must be switched into DMABUF I/O mode by calling the
.. code-block:: c .. code-block:: c
:caption: Example 3.4. Initiating streaming I/O with DMABUF file descriptors
struct v4l2_requestbuffers reqbuf; struct v4l2_requestbuffers reqbuf;
...@@ -63,6 +64,7 @@ a different DMABUF descriptor at each ``VIDIOC_QBUF`` call. ...@@ -63,6 +64,7 @@ a different DMABUF descriptor at each ``VIDIOC_QBUF`` call.
.. code-block:: c .. code-block:: c
:caption: Example 3.5. Queueing DMABUF using single plane API
int buffer_queue(int v4lfd, int index, int dmafd) int buffer_queue(int v4lfd, int index, int dmafd)
{ {
...@@ -84,6 +86,7 @@ a different DMABUF descriptor at each ``VIDIOC_QBUF`` call. ...@@ -84,6 +86,7 @@ a different DMABUF descriptor at each ``VIDIOC_QBUF`` call.
.. code-block:: c .. code-block:: c
:caption: Example 3.6. Queueing DMABUF using multi plane API
int buffer_queue_mp(int v4lfd, int index, int dmafd[], int n_planes) int buffer_queue_mp(int v4lfd, int index, int dmafd[], int n_planes)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment