diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-12 15:20:11 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-12 15:20:11 -0300 |
commit | ffbab694ede33c294e5864a5e0bf4d1474446a71 (patch) | |
tree | d1bf96518d2a909215aa7820d0ea9041923d3996 /Documentation/media/uapi/v4l/vidioc-queryctrl.rst | |
parent | 4855307b81f02af4853e02cba2ce16eb29376548 (diff) | |
download | op-kernel-dev-ffbab694ede33c294e5864a5e0bf4d1474446a71.zip op-kernel-dev-ffbab694ede33c294e5864a5e0bf4d1474446a71.tar.gz |
[media] docs-rst: escape [] characters
Those characters are used for citations. Better to escape, to
avoid them to be misinterpreted.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/vidioc-queryctrl.rst')
-rw-r--r-- | Documentation/media/uapi/v4l/vidioc-queryctrl.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/media/uapi/v4l/vidioc-queryctrl.rst b/Documentation/media/uapi/v4l/vidioc-queryctrl.rst index 8d6e61a..72bc7b1 100644 --- a/Documentation/media/uapi/v4l/vidioc-queryctrl.rst +++ b/Documentation/media/uapi/v4l/vidioc-queryctrl.rst @@ -124,7 +124,7 @@ See also the examples in :ref:`control`. - __u8 - - ``name``\ [32] + - ``name``\ \[32\] - Name of the control, a NUL-terminated ASCII string. This information is intended for the user. @@ -203,7 +203,7 @@ See also the examples in :ref:`control`. - __u32 - - ``reserved``\ [2] + - ``reserved``\ \[2\] - Reserved for future extensions. Drivers must set the array to zero. @@ -245,7 +245,7 @@ See also the examples in :ref:`control`. - char - - ``name``\ [32] + - ``name``\ \[32\] - Name of the control, a NUL-terminated ASCII string. This information is intended for the user. @@ -326,7 +326,7 @@ See also the examples in :ref:`control`. - The size in bytes of a single element of the array. Given a char pointer ``p`` to a 3-dimensional array you can find the position of cell ``(z, y, x)`` as follows: - ``p + ((z * dims[1] + y) * dims[0] + x) * elem_size``. + ``p + ((z * dims\[1\] + y) * dims\[0\] + x) * elem_size``. ``elem_size`` is always valid, also when the control isn't an array. For string controls ``elem_size`` is equal to ``maximum + 1``. @@ -363,7 +363,7 @@ See also the examples in :ref:`control`. - __u32 - - ``reserved``\ [32] + - ``reserved``\ \[32\] - Reserved for future extensions. Applications and drivers must set the array to zero. @@ -410,7 +410,7 @@ See also the examples in :ref:`control`. - - __u8 - - ``name``\ [32] + - ``name``\ \[32\] - Name of the menu item, a NUL-terminated ASCII string. This information is intended for the user. This field is valid for |