doc-rst: dmabuf: re-add the missing captions
[deliverable/linux.git] / Documentation / linux_tv / media / v4l / dmabuf.rst
index 148e05e4c7310eac3f972b3dd678b63b3c954b05..86cdc255e447f6ec43dc2140d1a21f1f8d2ab7e8 100644 (file)
@@ -38,6 +38,7 @@ driver must be switched into DMABUF I/O mode by calling the
 
 
 .. code-block:: c
+    :caption: Example 3.4. Initiating streaming I/O with DMABUF file descriptors
 
     struct v4l2_requestbuffers reqbuf;
 
@@ -63,6 +64,7 @@ a different DMABUF descriptor at each ``VIDIOC_QBUF`` call.
 
 
 .. code-block:: c
+    :caption: Example 3.5. Queueing DMABUF using single plane API
 
     int buffer_queue(int v4lfd, int index, int dmafd)
     {
@@ -84,6 +86,7 @@ a different DMABUF descriptor at each ``VIDIOC_QBUF`` call.
 
 
 .. 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)
     {
This page took 0.024451 seconds and 5 git commands to generate.