From: Mauro Carvalho Chehab Date: Sun, 3 Jul 2016 13:28:06 +0000 (-0300) Subject: doc-rst: planar-apis: fix some conversion troubles X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c32940a6824afc40ba065d3d5f9ccd2ef84a0f38;p=linux-beck.git doc-rst: planar-apis: fix some conversion troubles There is a missing escape caracter, causing troubles at the format of one of the paragraphs. Also, the ioctl description was producing some warnings about wrong identation. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/Documentation/linux_tv/media/v4l/planar-apis.rst b/Documentation/linux_tv/media/v4l/planar-apis.rst index cf078650a0a8..db1e63bd691e 100644 --- a/Documentation/linux_tv/media/v4l/planar-apis.rst +++ b/Documentation/linux_tv/media/v4l/planar-apis.rst @@ -20,7 +20,7 @@ Some of the V4L2 API calls and structures are interpreted differently, depending on whether single- or multi-planar API is being used. An application can choose whether to use one or the other by passing a corresponding buffer type to its ioctl calls. Multi-planar versions of -buffer types are suffixed with an `_MPLANE' string. For a list of +buffer types are suffixed with an ``_MPLANE`` string. For a list of available multi-planar buffer types see enum :ref:`v4l2_buf_type `. @@ -39,29 +39,25 @@ handle multi-planar formats. Calls that distinguish between single and multi-planar APIs =========================================================== -:ref:`VIDIOC_QUERYCAP` +:ref:`VIDIOC_QUERYCAP ` Two additional multi-planar capabilities are added. They can be set together with non-multi-planar ones for devices that handle both single- and multi-planar formats. -:ref:`VIDIOC_G_FMT `, -:ref:`VIDIOC_S_FMT `, -:ref:`VIDIOC_TRY_FMT ` +:ref:`VIDIOC_G_FMT `, :ref:`VIDIOC_S_FMT `, :ref:`VIDIOC_TRY_FMT ` New structures for describing multi-planar formats are added: struct :ref:`v4l2_pix_format_mplane ` and struct :ref:`v4l2_plane_pix_format `. Drivers may define new multi-planar formats, which have distinct FourCC codes from the existing single-planar ones. -:ref:`VIDIOC_QBUF`, -:ref:`VIDIOC_DQBUF `, -:ref:`VIDIOC_QUERYBUF` +:ref:`VIDIOC_QBUF `, :ref:`VIDIOC_DQBUF `, :ref:`VIDIOC_QUERYBUF ` A new struct :ref:`v4l2_plane ` structure for describing planes is added. Arrays of this structure are passed in the new ``m.planes`` field of struct :ref:`v4l2_buffer `. -:ref:`VIDIOC_REQBUFS` +:ref:`VIDIOC_REQBUFS ` Will allocate multi-planar buffers as requested.