summaryrefslogtreecommitdiffstats
path: root/Documentation/linux_tv/media/v4l/vidioc-enum-fmt.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2016-07-04 21:25:48 +0200
committerMauro Carvalho Chehab2016-07-04 21:25:48 +0200
commit0579e6e3a326dcd836f1a45fef7f3487822e6373 (patch)
tree03bab6ea23e08a6cc80d4cef08165fb5914cdcdf /Documentation/linux_tv/media/v4l/vidioc-enum-fmt.rst
parentdoc-rst: userp: Add ioctl cross references (diff)
downloadkernel-qcow2-linux-0579e6e3a326dcd836f1a45fef7f3487822e6373.tar.gz
kernel-qcow2-linux-0579e6e3a326dcd836f1a45fef7f3487822e6373.tar.xz
kernel-qcow2-linux-0579e6e3a326dcd836f1a45fef7f3487822e6373.zip
doc-rst: linux_tv: remove whitespaces
Let's remove bad whitespaces on the entire book. That helps to avoid mixing whitespace removal with other patches. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/linux_tv/media/v4l/vidioc-enum-fmt.rst')
-rw-r--r--Documentation/linux_tv/media/v4l/vidioc-enum-fmt.rst34
1 files changed, 17 insertions, 17 deletions
diff --git a/Documentation/linux_tv/media/v4l/vidioc-enum-fmt.rst b/Documentation/linux_tv/media/v4l/vidioc-enum-fmt.rst
index 79162755ea75..5cc97ce281ef 100644
--- a/Documentation/linux_tv/media/v4l/vidioc-enum-fmt.rst
+++ b/Documentation/linux_tv/media/v4l/vidioc-enum-fmt.rst
@@ -57,7 +57,7 @@ formats may be different.
- ``index``
- Number of the format in the enumeration, set by the application.
- This is in no way related to the ``pixelformat`` field.
+ This is in no way related to the ``pixelformat`` field.
- .. row 2
@@ -66,11 +66,11 @@ formats may be different.
- ``type``
- Type of the data stream, set by the application. Only these types
- are valid here: ``V4L2_BUF_TYPE_VIDEO_CAPTURE``,
- ``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE``,
- ``V4L2_BUF_TYPE_VIDEO_OUTPUT``,
- ``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE`` and
- ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :ref:`v4l2-buf-type`.
+ are valid here: ``V4L2_BUF_TYPE_VIDEO_CAPTURE``,
+ ``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE``,
+ ``V4L2_BUF_TYPE_VIDEO_OUTPUT``,
+ ``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE`` and
+ ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :ref:`v4l2-buf-type`.
- .. row 3
@@ -87,7 +87,7 @@ formats may be different.
- ``description``\ [32]
- Description of the format, a NUL-terminated ASCII string. This
- information is intended for the user, for example: "YUV 4:2:2".
+ information is intended for the user, for example: "YUV 4:2:2".
- .. row 5
@@ -96,21 +96,21 @@ formats may be different.
- ``pixelformat``
- The image format identifier. This is a four character code as
- computed by the v4l2_fourcc() macro:
+ computed by the v4l2_fourcc() macro:
- .. row 6
- :cspan:`2`
- .. _v4l2-fourcc:
- .. code-block:: c
+ .. _v4l2-fourcc:
+ .. code-block:: c
- #define v4l2_fourcc(a,b,c,d) (((__u32)(a)<<0)|((__u32)(b)<<8)|((__u32)(c)<<16)|((__u32)(d)<<24))
+ #define v4l2_fourcc(a,b,c,d) (((__u32)(a)<<0)|((__u32)(b)<<8)|((__u32)(c)<<16)|((__u32)(d)<<24))
- Several image formats are already defined by this specification in
- :ref:`pixfmt`. Note these codes are not the same as those used
- in the Windows world.
+ Several image formats are already defined by this specification in
+ :ref:`pixfmt`. Note these codes are not the same as those used
+ in the Windows world.
- .. row 7
@@ -119,7 +119,7 @@ formats may be different.
- ``reserved``\ [4]
- Reserved for future extensions. Drivers must set the array to
- zero.
+ zero.
@@ -146,8 +146,8 @@ formats may be different.
- 0x0002
- This format is not native to the device but emulated through
- software (usually libv4l2), where possible try to use a native
- format instead for better performance.
+ software (usually libv4l2), where possible try to use a native
+ format instead for better performance.