Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] docs-rst: fix cross-references for videodev2.h

There are several broken references there, due to the conversion to
C domain. Fix them using this shell script and manually adjust what's
broken:

# funcs is a file with the broken functions/references
for i in $(cat funcs|sort|uniq|perl -ne 'print "$1\n" if (m/(\S+)$/)'); do
i=${i//-/_}
echo $i
j=${i//_/-}
for k in $(git grep -l "_$j:" Documentation/); do
sed s,\_$j\:,"c\:type\:\: $i", <$k >a && mv a $k
done
for k in $(git grep -l "$j" Documentation/media/*.exceptions); do
sed s,$j,":c\:type\:\`$i\`", <$k >a && mv a $k
done
for k in $(git grep -l "$j" Documentation/); do
sed "s,:ref:\`$i <$j>\`,:c:type:\`$i\`," <$k >a && mv a $k
sed "s,:ref:\`$j\`,:c:type:\`$i\`," <$k >a && mv a $k
sed -E "s,:ref:\`(.*)<$j>\`,:c:type:\`\1<$i>\`," <$k >a && mv a $k
done
for k in $(git grep -l "<$j>" include/media); do
sed -E "s,:ref:\`(.*)<$j>\`,enum \&$i," <$k >a && mv a $k
done
done

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

+201 -202
+7 -7
Documentation/media/uapi/v4l/buffer.rst
··· 74 74 - Type of the buffer, same as struct 75 75 :c:type:`v4l2_format` ``type`` or struct 76 76 :c:type:`v4l2_requestbuffers` ``type``, set 77 - by the application. See :ref:`v4l2-buf-type` 77 + by the application. See :c:type:`v4l2_buf_type` 78 78 79 79 - .. row 3 80 80 ··· 110 110 111 111 - 112 112 - Indicates the field order of the image in the buffer, see 113 - :ref:`v4l2-field`. This field is not used when the buffer 113 + :c:type:`v4l2_field`. This field is not used when the buffer 114 114 contains VBI data. Drivers must set it when ``type`` refers to a 115 115 capture stream, applications when it refers to an output stream. 116 116 ··· 142 142 - When ``type`` is ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` and the 143 143 ``V4L2_BUF_FLAG_TIMECODE`` flag is set in ``flags``, this 144 144 structure contains a frame timecode. In 145 - :ref:`V4L2_FIELD_ALTERNATE <v4l2-field>` mode the top and 145 + :c:type:`V4L2_FIELD_ALTERNATE <v4l2_field>` mode the top and 146 146 bottom field contain the same timecode. Timecodes are intended to 147 147 help video editing and are typically recorded on video tapes, but 148 148 also embedded in compressed formats like MPEG. This field is ··· 162 162 163 163 - :cspan:`3` 164 164 165 - In :ref:`V4L2_FIELD_ALTERNATE <v4l2-field>` mode the top and 165 + In :c:type:`V4L2_FIELD_ALTERNATE <v4l2_field>` mode the top and 166 166 bottom field have the same sequence number. The count starts at 167 167 zero and includes dropped or repeated frames. A dropped frame was 168 168 received by an input device but could not be stored due to lack of ··· 187 187 188 188 - 189 189 - This field must be set by applications and/or drivers in 190 - accordance with the selected I/O method. See :ref:`v4l2-memory` 190 + accordance with the selected I/O method. See :c:type:`v4l2_memory` 191 191 192 192 - .. row 11 193 193 ··· 402 402 403 403 404 404 405 - .. _v4l2-buf-type: 405 + .. c:type:: v4l2_buf_type 406 406 407 407 enum v4l2_buf_type 408 408 ================== ··· 773 773 774 774 775 775 776 - .. _v4l2-memory: 776 + .. c:type:: v4l2_memory 777 777 778 778 enum v4l2_memory 779 779 ================
+2 -2
Documentation/media/uapi/v4l/field-order.rst
··· 52 52 should have the value ``V4L2_FIELD_ANY`` (0). 53 53 54 54 55 - .. _v4l2-field: 56 - 57 55 enum v4l2_field 58 56 =============== 57 + 58 + .. c:type:: v4l2_field 59 59 60 60 .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| 61 61
+15 -15
Documentation/media/uapi/v4l/hist-v4l2.rst
··· 438 438 ``VIDIOC_S_FMT`` and ``VIDIOC_TRY_FMT``; ioctl. The ``VIDIOC_G_WIN`` 439 439 and ``VIDIOC_S_WIN`` ioctls to prepare for a video overlay were 440 440 removed. The ``type`` field changed to type enum 441 - :ref:`v4l2_buf_type <v4l2-buf-type>` and the buffer type names 441 + :c:type:`v4l2_buf_type` and the buffer type names 442 442 changed as follows. 443 443 444 444 ··· 452 452 453 453 - Old defines 454 454 455 - - enum :ref:`v4l2_buf_type <v4l2-buf-type>` 455 + - enum :c:type:`v4l2_buf_type` 456 456 457 457 - .. row 2 458 458 ··· 534 534 535 535 536 536 10. In struct :c:type:`v4l2_fmtdesc` a enum 537 - :ref:`v4l2_buf_type <v4l2-buf-type>` field named ``type`` was 537 + :c:type:`v4l2_buf_type` field named ``type`` was 538 538 added as in struct :c:type:`v4l2_format`. The 539 539 ``VIDIOC_ENUM_FBUFFMT`` ioctl is no longer needed and was removed. 540 540 These calls can be replaced by ··· 555 555 itself was removed. 556 556 557 557 The interlace flags were replaced by a enum 558 - :ref:`v4l2_field <v4l2-field>` value in a newly added ``field`` 558 + :c:type:`v4l2_field` value in a newly added ``field`` 559 559 field. 560 560 561 561 ··· 569 569 570 570 - Old flag 571 571 572 - - enum :ref:`v4l2_field <v4l2-field>` 572 + - enum :c:type:`v4l2_field` 573 573 574 574 - .. row 2 575 575 ··· 615 615 616 616 617 617 The color space flags were replaced by a enum 618 - :ref:`v4l2_colorspace <v4l2-colorspace>` value in a newly added 618 + :c:type:`v4l2_colorspace` value in a newly added 619 619 ``colorspace`` field, where one of ``V4L2_COLORSPACE_SMPTE170M``, 620 620 ``V4L2_COLORSPACE_BT878``, ``V4L2_COLORSPACE_470_SYSTEM_M`` or 621 621 ``V4L2_COLORSPACE_470_SYSTEM_BG`` replaces ``V4L2_FMT_CS_601YUV``. 622 622 623 623 12. In struct :c:type:`v4l2_requestbuffers` the 624 624 ``type`` field was properly defined as enum 625 - :ref:`v4l2_buf_type <v4l2-buf-type>`. Buffer types changed as 625 + :c:type:`v4l2_buf_type`. Buffer types changed as 626 626 mentioned above. A new ``memory`` field of type enum 627 - :ref:`v4l2_memory <v4l2-memory>` was added to distinguish between 627 + :c:type:`v4l2_memory` was added to distinguish between 628 628 I/O methods using buffers allocated by the driver or the 629 629 application. See :ref:`io` for details. 630 630 631 631 13. In struct :c:type:`v4l2_buffer` the ``type`` field was 632 - properly defined as enum :ref:`v4l2_buf_type <v4l2-buf-type>`. 632 + properly defined as enum :c:type:`v4l2_buf_type`. 633 633 Buffer types changed as mentioned above. A ``field`` field of type 634 - enum :ref:`v4l2_field <v4l2-field>` was added to indicate if a 634 + enum :c:type:`v4l2_field` was added to indicate if a 635 635 buffer contains a top or bottom field. The old field flags were 636 636 removed. Since no unadjusted system time clock was added to the 637 637 kernel as planned, the ``timestamp`` field changed back from type ··· 639 639 nanoseconds, to struct :c:type:`timeval`. With the addition 640 640 of a second memory mapping method the ``offset`` field moved into 641 641 union ``m``, and a new ``memory`` field of type enum 642 - :ref:`v4l2_memory <v4l2-memory>` was added to distinguish between 642 + :c:type:`v4l2_memory` was added to distinguish between 643 643 I/O methods. See :ref:`io` for details. 644 644 645 645 The ``V4L2_BUF_REQ_CONTIG`` flag was used by the V4L compatibility ··· 667 667 668 668 16. In struct :c:type:`v4l2_window` the ``x``, ``y``, 669 669 ``width`` and ``height`` field moved into a ``w`` substructure as 670 - above. A ``field`` field of type %v4l2-field; was added to 670 + above. A ``field`` field of type :c:type:`v4l2_field` was added to 671 671 distinguish between field and frame (interlaced) overlay. 672 672 673 673 17. The digital zoom interface, including struct ··· 1029 1029 ==================== 1030 1030 1031 1031 1. Two new field orders ``V4L2_FIELD_INTERLACED_TB`` and 1032 - ``V4L2_FIELD_INTERLACED_BT`` were added. See :ref:`v4l2-field` for 1032 + ``V4L2_FIELD_INTERLACED_BT`` were added. See :c:type:`v4l2_field` for 1033 1033 details. 1034 1034 1035 1035 2. Three new clipping/blending methods with a global or straight or ··· 1357 1357 ================== 1358 1358 1359 1359 1. Rewrote Colorspace chapter, added new enum 1360 - :ref:`v4l2_ycbcr_encoding <v4l2-ycbcr-encoding>` and enum 1361 - :ref:`v4l2_quantization <v4l2-quantization>` fields to struct 1360 + :c:type:`v4l2_ycbcr_encoding` and enum 1361 + :c:type:`v4l2_quantization` fields to struct 1362 1362 :c:type:`v4l2_pix_format`, struct 1363 1363 :c:type:`v4l2_pix_format_mplane` and 1364 1364 struct :c:type:`v4l2_mbus_framefmt`.
+5 -5
Documentation/media/uapi/v4l/pixfmt-002.rst
··· 61 61 62 62 - .. row 5 63 63 64 - - enum :ref:`v4l2_field <v4l2-field>` 64 + - enum :c:type::`v4l2_field` 65 65 66 66 - ``field`` 67 67 ··· 121 121 122 122 - .. row 9 123 123 124 - - enum :ref:`v4l2_colorspace <v4l2-colorspace>` 124 + - enum :c:type:`v4l2_colorspace` 125 125 126 126 - ``colorspace`` 127 127 ··· 170 170 171 171 - .. row 12 172 172 173 - - enum :ref:`v4l2_ycbcr_encoding <v4l2-ycbcr-encoding>` 173 + - enum :c:type:`v4l2_ycbcr_encoding` 174 174 175 175 - ``ycbcr_enc`` 176 176 ··· 180 180 181 181 - .. row 13 182 182 183 - - enum :ref:`v4l2_quantization <v4l2-quantization>` 183 + - enum :c:type:`v4l2_quantization` 184 184 185 185 - ``quantization`` 186 186 ··· 190 190 191 191 - .. row 14 192 192 193 - - enum :ref:`v4l2_xfer_func <v4l2-xfer-func>` 193 + - enum :c:type:`v4l2_xfer_func` 194 194 195 195 - ``xfer_func`` 196 196
+5 -5
Documentation/media/uapi/v4l/pixfmt-003.rst
··· 88 88 89 89 - .. row 4 90 90 91 - - enum :ref:`v4l2_field <v4l2-field>` 91 + - enum :c:type:`v4l2_field` 92 92 93 93 - ``field`` 94 94 ··· 96 96 97 97 - .. row 5 98 98 99 - - enum :ref:`v4l2_colorspace <v4l2-colorspace>` 99 + - enum :c:type:`v4l2_colorspace` 100 100 101 101 - ``colorspace`` 102 102 ··· 131 131 132 132 - .. row 9 133 133 134 - - enum :ref:`v4l2_ycbcr_encoding <v4l2-ycbcr-encoding>` 134 + - enum :c:type:`v4l2_ycbcr_encoding` 135 135 136 136 - ``ycbcr_enc`` 137 137 ··· 141 141 142 142 - .. row 10 143 143 144 - - enum :ref:`v4l2_quantization <v4l2-quantization>` 144 + - enum :c:type:`v4l2_quantization` 145 145 146 146 - ``quantization`` 147 147 ··· 151 151 152 152 - .. row 11 153 153 154 - - enum :ref:`v4l2_xfer_func <v4l2-xfer-func>` 154 + - enum :c:type:`v4l2_xfer_func` 155 155 156 156 - ``xfer_func`` 157 157
+8 -8
Documentation/media/uapi/v4l/pixfmt-006.rst
··· 5 5 **************************** 6 6 7 7 In V4L2 colorspaces are defined by four values. The first is the 8 - colorspace identifier (enum :ref:`v4l2_colorspace <v4l2-colorspace>`) 8 + colorspace identifier (enum :c:type:`v4l2_colorspace`) 9 9 which defines the chromaticities, the default transfer function, the 10 10 default Y'CbCr encoding and the default quantization method. The second 11 11 is the transfer function identifier (enum 12 - :ref:`v4l2_xfer_func <v4l2-xfer-func>`) to specify non-standard 12 + :c:type:`v4l2_xfer_func`) to specify non-standard 13 13 transfer functions. The third is the Y'CbCr encoding identifier (enum 14 - :ref:`v4l2_ycbcr_encoding <v4l2-ycbcr-encoding>`) to specify 14 + :c:type:`v4l2_ycbcr_encoding`) to specify 15 15 non-standard Y'CbCr encodings and the fourth is the quantization 16 - identifier (enum :ref:`v4l2_quantization <v4l2-quantization>`) to 16 + identifier (enum :c:type:`v4l2_quantization`) to 17 17 specify non-standard quantization methods. Most of the time only the 18 18 colorspace field of struct :c:type:`v4l2_pix_format` 19 19 or struct :c:type:`v4l2_pix_format_mplane` ··· 27 27 28 28 .. tabularcolumns:: |p{6.0cm}|p{11.5cm}| 29 29 30 - .. _v4l2-colorspace: 30 + .. c:type:: v4l2_colorspace 31 31 32 32 .. flat-table:: V4L2 Colorspaces 33 33 :header-rows: 1 ··· 119 119 120 120 121 121 122 - .. _v4l2-xfer-func: 122 + .. c:type:: v4l2_xfer_func 123 123 124 124 .. flat-table:: V4L2 Transfer Function 125 125 :header-rows: 1 ··· 182 182 183 183 184 184 185 - .. _v4l2-ycbcr-encoding: 185 + .. c:type:: v4l2_ycbcr_encoding 186 186 187 187 .. tabularcolumns:: |p{6.5cm}|p{11.0cm}| 188 188 ··· 247 247 248 248 249 249 250 - .. _v4l2-quantization: 250 + .. c:type:: v4l2_quantization 251 251 252 252 .. tabularcolumns:: |p{6.5cm}|p{11.0cm}| 253 253
+1 -1
Documentation/media/uapi/v4l/planar-apis.rst
··· 22 22 corresponding buffer type to its ioctl calls. Multi-planar versions of 23 23 buffer types are suffixed with an ``_MPLANE`` string. For a list of 24 24 available multi-planar buffer types see enum 25 - :ref:`v4l2_buf_type <v4l2-buf-type>`. 25 + :c:type:`v4l2_buf_type`. 26 26 27 27 28 28 Multi-planar formats
+5 -5
Documentation/media/uapi/v4l/subdev-formats.rst
··· 46 46 47 47 - ``field`` 48 48 49 - - Field order, from enum :ref:`v4l2_field <v4l2-field>`. See 49 + - Field order, from enum :c:type:`v4l2_field`. See 50 50 :ref:`field-order` for details. 51 51 52 52 - .. row 5 ··· 56 56 - ``colorspace`` 57 57 58 58 - Image colorspace, from enum 59 - :ref:`v4l2_colorspace <v4l2-colorspace>`. See 59 + :c:type:`v4l2_colorspace`. See 60 60 :ref:`colorspaces` for details. 61 61 62 62 - .. row 6 63 63 64 - - enum :ref:`v4l2_ycbcr_encoding <v4l2-ycbcr-encoding>` 64 + - enum :c:type:`v4l2_ycbcr_encoding` 65 65 66 66 - ``ycbcr_enc`` 67 67 ··· 71 71 72 72 - .. row 7 73 73 74 - - enum :ref:`v4l2_quantization <v4l2-quantization>` 74 + - enum :c:type:`v4l2_quantization` 75 75 76 76 - ``quantization`` 77 77 ··· 81 81 82 82 - .. row 8 83 83 84 - - enum :ref:`v4l2_xfer_func <v4l2-xfer-func>` 84 + - enum :c:type:`v4l2_xfer_func` 85 85 86 86 - ``xfer_func`` 87 87
+2 -2
Documentation/media/uapi/v4l/tuner.rst
··· 33 33 :ref:`VIDIOC_S_TUNER <VIDIOC_G_TUNER>` does not switch the 34 34 current tuner, when there is more than one at all. The tuner is solely 35 35 determined by the current video input. Drivers must support both ioctls 36 - and set the ``V4L2_CAP_TUNER`` flag in the struct :ref:`v4l2_capability 37 - <v4l2-capability>` returned by the :ref:`VIDIOC_QUERYCAP` ioctl when the 36 + and set the ``V4L2_CAP_TUNER`` flag in the struct :c:type:`v4l2_capability` 37 + returned by the :ref:`VIDIOC_QUERYCAP` ioctl when the 38 38 device has one or more tuners. 39 39 40 40
+2 -2
Documentation/media/uapi/v4l/v4l2.rst
··· 112 112 :revision: 3.19 / 2014-12-05 (*hv*) 113 113 114 114 Rewrote Colorspace chapter, added new enum 115 - :ref:`v4l2_ycbcr_encoding <v4l2-ycbcr-encoding>` and enum 116 - :ref:`v4l2_quantization <v4l2-quantization>` fields to struct 115 + :c:type:`v4l2_ycbcr_encoding` and enum 116 + :c:type:`v4l2_quantization` fields to struct 117 117 :c:type:`v4l2_pix_format`, struct 118 118 :c:type:`v4l2_pix_format_mplane` and struct 119 119 :c:type:`v4l2_mbus_framefmt`.
+1 -1
Documentation/media/uapi/v4l/vidioc-create-bufs.rst
··· 111 111 112 112 - Applications set this field to ``V4L2_MEMORY_MMAP``, 113 113 ``V4L2_MEMORY_DMABUF`` or ``V4L2_MEMORY_USERPTR``. See 114 - :ref:`v4l2-memory` 114 + :c:type:`v4l2_memory` 115 115 116 116 - .. row 4 117 117
+1 -1
Documentation/media/uapi/v4l/vidioc-cropcap.rst
··· 69 69 - Type of the data stream, set by the application. Only these types 70 70 are valid here: ``V4L2_BUF_TYPE_VIDEO_CAPTURE``, 71 71 ``V4L2_BUF_TYPE_VIDEO_OUTPUT`` and 72 - ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :ref:`v4l2-buf-type`. 72 + ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :c:type:`v4l2_buf_type`. 73 73 74 74 - .. row 2 75 75
+1 -1
Documentation/media/uapi/v4l/vidioc-dbg-g-register.rst
··· 144 144 145 145 - ``match`` 146 146 147 - - How to match the chip, see :ref:`v4l2-dbg-match`. 147 + - How to match the chip, see :c:type:`v4l2_dbg_match`. 148 148 149 149 - .. row 2 150 150
+1 -1
Documentation/media/uapi/v4l/vidioc-dqevent.rst
··· 324 324 325 325 - ``field`` 326 326 327 - - The upcoming field. See enum :ref:`v4l2_field <v4l2-field>`. 327 + - The upcoming field. See enum :c:type:`v4l2_field`. 328 328 329 329 330 330
+1 -1
Documentation/media/uapi/v4l/vidioc-enum-fmt.rst
··· 73 73 ``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE``, 74 74 ``V4L2_BUF_TYPE_VIDEO_OUTPUT``, 75 75 ``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE`` and 76 - ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :ref:`v4l2-buf-type`. 76 + ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :c:type:`v4l2_buf_type`. 77 77 78 78 - .. row 3 79 79
+1 -1
Documentation/media/uapi/v4l/vidioc-enum-frameintervals.rst
··· 231 231 ===== 232 232 233 233 234 - .. _v4l2-frmivaltypes: 234 + .. c:type:: v4l2_frmivaltypes 235 235 236 236 .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| 237 237
+1 -1
Documentation/media/uapi/v4l/vidioc-enum-framesizes.rst
··· 254 254 ===== 255 255 256 256 257 - .. _v4l2-frmsizetypes: 257 + .. c:type:: v4l2_frmsizetypes 258 258 259 259 .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| 260 260
+1 -1
Documentation/media/uapi/v4l/vidioc-enum-freq-bands.rst
··· 75 75 set to ``V4L2_TUNER_RADIO`` for ``/dev/radioX`` device nodes, and 76 76 to ``V4L2_TUNER_ANALOG_TV`` for all others. Set this field to 77 77 ``V4L2_TUNER_RADIO`` for modulators (currently only radio 78 - modulators are supported). See :ref:`v4l2-tuner-type` 78 + modulators are supported). See :c:type:`v4l2_tuner_type` 79 79 80 80 - .. row 3 81 81
+1 -1
Documentation/media/uapi/v4l/vidioc-expbuf.rst
··· 133 133 - Type of the buffer, same as struct 134 134 :c:type:`v4l2_format` ``type`` or struct 135 135 :c:type:`v4l2_requestbuffers` ``type``, set 136 - by the application. See :ref:`v4l2-buf-type` 136 + by the application. See :c:type:`v4l2_buf_type` 137 137 138 138 - .. row 2 139 139
+1 -1
Documentation/media/uapi/v4l/vidioc-g-crop.rst
··· 94 94 - Type of the data stream, set by the application. Only these types 95 95 are valid here: ``V4L2_BUF_TYPE_VIDEO_CAPTURE``, 96 96 ``V4L2_BUF_TYPE_VIDEO_OUTPUT`` and 97 - ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :ref:`v4l2-buf-type`. 97 + ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :c:type:`v4l2_buf_type`. 98 98 99 99 - .. row 2 100 100
+1 -1
Documentation/media/uapi/v4l/vidioc-g-edid.rst
··· 97 97 EDID is no longer available. 98 98 99 99 100 - .. _v4l2-edid: 100 + .. c:type:: v4l2_edid 101 101 102 102 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| 103 103
+2 -2
Documentation/media/uapi/v4l/vidioc-g-fbuf.rst
··· 200 200 - .. row 12 201 201 202 202 - 203 - - enum :ref:`v4l2_field <v4l2-field>` 203 + - enum :c:type:`v4l2_field` 204 204 205 205 - ``field`` 206 206 ··· 266 266 - .. row 16 267 267 268 268 - 269 - - enum :ref:`v4l2_colorspace <v4l2-colorspace>` 269 + - enum :c:type:`v4l2_colorspace` 270 270 271 271 - ``colorspace`` 272 272
+1 -1
Documentation/media/uapi/v4l/vidioc-g-fmt.rst
··· 101 101 - ``type`` 102 102 103 103 - 104 - - Type of the data stream, see :ref:`v4l2-buf-type`. 104 + - Type of the data stream, see :c:type:`v4l2_buf_type`. 105 105 106 106 - .. row 2 107 107
+1 -1
Documentation/media/uapi/v4l/vidioc-g-frequency.rst
··· 85 85 set to ``V4L2_TUNER_RADIO`` for ``/dev/radioX`` device nodes, and 86 86 to ``V4L2_TUNER_ANALOG_TV`` for all others. Set this field to 87 87 ``V4L2_TUNER_RADIO`` for modulators (currently only radio 88 - modulators are supported). See :ref:`v4l2-tuner-type` 88 + modulators are supported). See :c:type:`v4l2_tuner_type` 89 89 90 90 - .. row 3 91 91
+1 -1
Documentation/media/uapi/v4l/vidioc-g-modulator.rst
··· 147 147 148 148 - ``type`` 149 149 150 - - :cspan:`2` Type of the modulator, see :ref:`v4l2-tuner-type`. 150 + - :cspan:`2` Type of the modulator, see :c:type:`v4l2_tuner_type`. 151 151 152 152 - .. row 8 153 153
+1 -1
Documentation/media/uapi/v4l/vidioc-g-parm.rst
··· 70 70 - 71 71 - The buffer (stream) type, same as struct 72 72 :c:type:`v4l2_format` ``type``, set by the 73 - application. See :ref:`v4l2-buf-type` 73 + application. See :c:type:`v4l2_buf_type` 74 74 75 75 - .. row 2 76 76
+1 -1
Documentation/media/uapi/v4l/vidioc-g-selection.rst
··· 157 157 - ``type`` 158 158 159 159 - Type of the buffer (from enum 160 - :ref:`v4l2_buf_type <v4l2-buf-type>`). 160 + :c:type:`v4l2_buf_type`). 161 161 162 162 - .. row 2 163 163
+1 -1
Documentation/media/uapi/v4l/vidioc-g-sliced-vbi-cap.rst
··· 158 158 159 159 - ``type`` 160 160 161 - - Type of the data stream, see :ref:`v4l2-buf-type`. Should be 161 + - Type of the data stream, see :c:type:`v4l2_buf_type`. Should be 162 162 ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE`` or 163 163 ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``. 164 164
+2 -2
Documentation/media/uapi/v4l/vidioc-g-tuner.rst
··· 96 96 97 97 - ``type`` 98 98 99 - - :cspan:`1` Type of the tuner, see :ref:`v4l2-tuner-type`. 99 + - :cspan:`1` Type of the tuner, see :c:type:`v4l2_tuner_type`. 100 100 101 101 - .. row 4 102 102 ··· 263 263 264 264 .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}| 265 265 266 - .. _v4l2-tuner-type: 266 + .. c:type:: v4l2_tuner_type 267 267 268 268 .. flat-table:: enum v4l2_tuner_type 269 269 :header-rows: 0
+1 -1
Documentation/media/uapi/v4l/vidioc-querycap.rst
··· 436 436 437 437 .. [#f1] 438 438 The struct :c:type:`v4l2_framebuffer` lacks an 439 - enum :ref:`v4l2_buf_type <v4l2-buf-type>` field, therefore the 439 + enum :c:type:`v4l2_buf_type` field, therefore the 440 440 type of overlay is implied by the driver capabilities.
+2 -2
Documentation/media/uapi/v4l/vidioc-queryctrl.rst
··· 124 124 125 125 - ``type`` 126 126 127 - - Type of control, see :ref:`v4l2-ctrl-type`. 127 + - Type of control, see :c:type:`v4l2_ctrl_type`. 128 128 129 129 - .. row 3 130 130 ··· 251 251 252 252 - ``type`` 253 253 254 - - Type of control, see :ref:`v4l2-ctrl-type`. 254 + - Type of control, see :c:type:`v4l2_ctrl_type`. 255 255 256 256 - .. row 3 257 257
+2 -2
Documentation/media/uapi/v4l/vidioc-reqbufs.rst
··· 91 91 92 92 - Type of the stream or buffers, this is the same as the struct 93 93 :c:type:`v4l2_format` ``type`` field. See 94 - :ref:`v4l2-buf-type` for valid values. 94 + :c:type:`v4l2_buf_type` for valid values. 95 95 96 96 - .. row 3 97 97 ··· 101 101 102 102 - Applications set this field to ``V4L2_MEMORY_MMAP``, 103 103 ``V4L2_MEMORY_DMABUF`` or ``V4L2_MEMORY_USERPTR``. See 104 - :ref:`v4l2-memory`. 104 + :c:type:`v4l2_memory`. 105 105 106 106 - .. row 4 107 107
+1 -1
Documentation/media/uapi/v4l/vidioc-s-hw-freq-seek.rst
··· 87 87 88 88 - The tuner type. This is the same value as in the struct 89 89 :c:type:`v4l2_tuner` ``type`` field. See 90 - :ref:`v4l2-tuner-type` 90 + :c:type:`v4l2_tuner_type` 91 91 92 92 - .. row 3 93 93
+3 -4
Documentation/media/uapi/v4l/vidioc-subdev-enum-frame-interval.rst
··· 43 43 44 44 To enumerate frame intervals applications initialize the ``index``, 45 45 ``pad``, ``which``, ``code``, ``width`` and ``height`` fields of struct 46 - :ref:`v4l2_subdev_frame_interval_enum <v4l2-subdev-frame-interval-enum>` 46 + :c:type:`v4l2_subdev_frame_interval_enum` 47 47 and call the :ref:`VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL` ioctl with a pointer 48 48 to this structure. Drivers fill the rest of the structure or return an 49 49 EINVAL error code if one of the input fields is invalid. All frame ··· 59 59 implemented it on a single pad only. Its behaviour when supported on 60 60 multiple pads of the same sub-device is not defined. 61 61 62 - 63 - .. _v4l2-subdev-frame-interval-enum: 62 + .. c:type:: v4l2_subdev_frame_interval_enum 64 63 65 64 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| 66 65 ··· 146 147 147 148 EINVAL 148 149 The struct 149 - :ref:`v4l2_subdev_frame_interval_enum <v4l2-subdev-frame-interval-enum>` 150 + :c:type:`v4l2_subdev_frame_interval_enum` 150 151 ``pad`` references a non-existing pad, one of the ``code``, 151 152 ``width`` or ``height`` fields are invalid for the given pad or the 152 153 ``index`` field is out of bounds.
+3 -3
Documentation/media/uapi/v4l/vidioc-subdev-enum-frame-size.rst
··· 39 39 40 40 To enumerate frame sizes applications initialize the ``pad``, ``which`` 41 41 , ``code`` and ``index`` fields of the struct 42 - :ref:`v4l2_subdev_mbus_code_enum <v4l2-subdev-mbus-code-enum>` and 42 + :c:type:`v4l2_subdev_mbus_code_enum` and 43 43 call the :ref:`VIDIOC_SUBDEV_ENUM_FRAME_SIZE` ioctl with a pointer to the 44 44 structure. Drivers fill the minimum and maximum frame sizes or return an 45 45 EINVAL error code if one of the input parameters is invalid. ··· 62 62 information about try formats. 63 63 64 64 65 - .. _v4l2-subdev-frame-size-enum: 65 + .. c:type:: v4l2_subdev_frame_size_enum 66 66 67 67 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| 68 68 ··· 157 157 158 158 EINVAL 159 159 The struct 160 - :ref:`v4l2_subdev_frame_size_enum <v4l2-subdev-frame-size-enum>` 160 + :c:type:`v4l2_subdev_frame_size_enum` 161 161 ``pad`` references a non-existing pad, the ``code`` is invalid for 162 162 the given pad or the ``index`` field is out of bounds.
+3 -3
Documentation/media/uapi/v4l/vidioc-subdev-enum-mbus-code.rst
··· 34 34 To enumerate media bus formats available at a given sub-device pad 35 35 applications initialize the ``pad``, ``which`` and ``index`` fields of 36 36 struct 37 - :ref:`v4l2_subdev_mbus_code_enum <v4l2-subdev-mbus-code-enum>` and 37 + :c:type:`v4l2_subdev_mbus_code_enum` and 38 38 call the :ref:`VIDIOC_SUBDEV_ENUM_MBUS_CODE` ioctl with a pointer to this 39 39 structure. Drivers fill the rest of the structure or return an ``EINVAL`` 40 40 error code if either the ``pad`` or ``index`` are invalid. All media bus ··· 47 47 information about the try formats. 48 48 49 49 50 - .. _v4l2-subdev-mbus-code-enum: 50 + .. c:type:: v4l2_subdev_mbus_code_enum 51 51 52 52 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| 53 53 ··· 110 110 111 111 EINVAL 112 112 The struct 113 - :ref:`v4l2_subdev_mbus_code_enum <v4l2-subdev-mbus-code-enum>` 113 + :c:type:`v4l2_subdev_mbus_code_enum` 114 114 ``pad`` references a non-existing pad, or the ``index`` field is out 115 115 of bounds.
+4 -4
Documentation/media/uapi/v4l/vidioc-subdev-g-crop.rst
··· 41 41 :ref:`the selection API <VIDIOC_SUBDEV_G_SELECTION>`. 42 42 43 43 To retrieve the current crop rectangle applications set the ``pad`` 44 - field of a struct :ref:`v4l2_subdev_crop <v4l2-subdev-crop>` to the 44 + field of a struct :c:type:`v4l2_subdev_crop` to the 45 45 desired pad number as reported by the media API and the ``which`` field 46 46 to ``V4L2_SUBDEV_FORMAT_ACTIVE``. They then call the 47 47 ``VIDIOC_SUBDEV_G_CROP`` ioctl with a pointer to this structure. The ··· 54 54 call the ``VIDIOC_SUBDEV_S_CROP`` ioctl with a pointer to this 55 55 structure. The driver verifies the requested crop rectangle, adjusts it 56 56 based on the hardware capabilities and configures the device. Upon 57 - return the struct :ref:`v4l2_subdev_crop <v4l2-subdev-crop>` 57 + return the struct :c:type:`v4l2_subdev_crop` 58 58 contains the current format as would be returned by a 59 59 ``VIDIOC_SUBDEV_G_CROP`` call. 60 60 ··· 71 71 modified format should be as close as possible to the original request. 72 72 73 73 74 - .. _v4l2-subdev-crop: 74 + .. c:type:: v4l2_subdev_crop 75 75 76 76 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| 77 77 ··· 131 131 ``VIDIOC_SUBDEV_S_CROP`` 132 132 133 133 EINVAL 134 - The struct :ref:`v4l2_subdev_crop <v4l2-subdev-crop>` ``pad`` 134 + The struct :c:type:`v4l2_subdev_crop` ``pad`` 135 135 references a non-existing pad, the ``which`` field references a 136 136 non-existing format, or cropping is not supported on the given 137 137 subdev pad.
+1 -1
Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst
··· 109 109 110 110 - ``format`` 111 111 112 - - Definition of an image format, see :ref:`v4l2-mbus-framefmt` for 112 + - Definition of an image format, see :c:type:`v4l2_mbus_framefmt` for 113 113 details. 114 114 115 115 - .. row 4
+4 -4
Documentation/media/uapi/v4l/vidioc-subdev-g-frame-interval.rst
··· 42 42 43 43 To retrieve the current frame interval applications set the ``pad`` 44 44 field of a struct 45 - :ref:`v4l2_subdev_frame_interval <v4l2-subdev-frame-interval>` to 45 + :c:type:`v4l2_subdev_frame_interval` to 46 46 the desired pad number as reported by the media controller API. When 47 47 they call the ``VIDIOC_SUBDEV_G_FRAME_INTERVAL`` ioctl with a pointer to 48 48 this structure the driver fills the members of the ``interval`` field. ··· 53 53 structure the driver verifies the requested interval, adjusts it based 54 54 on the hardware capabilities and configures the device. Upon return the 55 55 struct 56 - :ref:`v4l2_subdev_frame_interval <v4l2-subdev-frame-interval>` 56 + :c:type:`v4l2_subdev_frame_interval` 57 57 contains the current frame interval as would be returned by a 58 58 ``VIDIOC_SUBDEV_G_FRAME_INTERVAL`` call. 59 59 ··· 67 67 the same sub-device is not defined. 68 68 69 69 70 - .. _v4l2-subdev-frame-interval: 70 + .. c:type:: v4l2_subdev_frame_interval 71 71 72 72 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| 73 73 ··· 119 119 120 120 EINVAL 121 121 The struct 122 - :ref:`v4l2_subdev_frame_interval <v4l2-subdev-frame-interval>` 122 + :c:type:`v4l2_subdev_frame_interval` 123 123 ``pad`` references a non-existing pad, or the pad doesn't support 124 124 frame intervals.
+2 -2
Documentation/media/uapi/v4l/vidioc-subdev-g-selection.rst
··· 65 65 :ref:`v4l2-selections-common`. 66 66 67 67 68 - .. _v4l2-subdev-selection: 68 + .. c:type:: v4l2_subdev_selection 69 69 70 70 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| 71 71 ··· 141 141 ``VIDIOC_SUBDEV_S_SELECTION`` 142 142 143 143 EINVAL 144 - The struct :ref:`v4l2_subdev_selection <v4l2-subdev-selection>` 144 + The struct :c:type:`v4l2_subdev_selection` 145 145 ``pad`` references a non-existing pad, the ``which`` field 146 146 references a non-existing format, or the selection target is not 147 147 supported on the given subdev pad.
+102 -102
Documentation/media/videodev2.h.rst.exceptions
··· 15 15 ignore symbol V4L2_COLORSPACE_BT878 16 16 17 17 # Documented enum v4l2_field 18 - replace symbol V4L2_FIELD_ALTERNATE v4l2-field 19 - replace symbol V4L2_FIELD_ANY v4l2-field 20 - replace symbol V4L2_FIELD_BOTTOM v4l2-field 21 - replace symbol V4L2_FIELD_INTERLACED v4l2-field 22 - replace symbol V4L2_FIELD_INTERLACED_BT v4l2-field 23 - replace symbol V4L2_FIELD_INTERLACED_TB v4l2-field 24 - replace symbol V4L2_FIELD_NONE v4l2-field 25 - replace symbol V4L2_FIELD_SEQ_BT v4l2-field 26 - replace symbol V4L2_FIELD_SEQ_TB v4l2-field 27 - replace symbol V4L2_FIELD_TOP v4l2-field 18 + replace symbol V4L2_FIELD_ALTERNATE :c:type:`v4l2_field` 19 + replace symbol V4L2_FIELD_ANY :c:type:`v4l2_field` 20 + replace symbol V4L2_FIELD_BOTTOM :c:type:`v4l2_field` 21 + replace symbol V4L2_FIELD_INTERLACED :c:type:`v4l2_field` 22 + replace symbol V4L2_FIELD_INTERLACED_BT :c:type:`v4l2_field` 23 + replace symbol V4L2_FIELD_INTERLACED_TB :c:type:`v4l2_field` 24 + replace symbol V4L2_FIELD_NONE :c:type:`v4l2_field` 25 + replace symbol V4L2_FIELD_SEQ_BT :c:type:`v4l2_field` 26 + replace symbol V4L2_FIELD_SEQ_TB :c:type:`v4l2_field` 27 + replace symbol V4L2_FIELD_TOP :c:type:`v4l2_field` 28 28 29 29 # Documented enum v4l2_buf_type 30 - replace symbol V4L2_BUF_TYPE_SDR_CAPTURE v4l2-buf-type 31 - replace symbol V4L2_BUF_TYPE_SDR_OUTPUT v4l2-buf-type 32 - replace symbol V4L2_BUF_TYPE_SLICED_VBI_CAPTURE v4l2-buf-type 33 - replace symbol V4L2_BUF_TYPE_SLICED_VBI_OUTPUT v4l2-buf-type 34 - replace symbol V4L2_BUF_TYPE_VBI_CAPTURE v4l2-buf-type 35 - replace symbol V4L2_BUF_TYPE_VBI_OUTPUT v4l2-buf-type 36 - replace symbol V4L2_BUF_TYPE_VIDEO_CAPTURE v4l2-buf-type 37 - replace symbol V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE v4l2-buf-type 38 - replace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT v4l2-buf-type 39 - replace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE v4l2-buf-type 40 - replace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY v4l2-buf-type 41 - replace symbol V4L2_BUF_TYPE_VIDEO_OVERLAY v4l2-buf-type 30 + replace symbol V4L2_BUF_TYPE_SDR_CAPTURE :c:type:`v4l2_buf_type` 31 + replace symbol V4L2_BUF_TYPE_SDR_OUTPUT :c:type:`v4l2_buf_type` 32 + replace symbol V4L2_BUF_TYPE_SLICED_VBI_CAPTURE :c:type:`v4l2_buf_type` 33 + replace symbol V4L2_BUF_TYPE_SLICED_VBI_OUTPUT :c:type:`v4l2_buf_type` 34 + replace symbol V4L2_BUF_TYPE_VBI_CAPTURE :c:type:`v4l2_buf_type` 35 + replace symbol V4L2_BUF_TYPE_VBI_OUTPUT :c:type:`v4l2_buf_type` 36 + replace symbol V4L2_BUF_TYPE_VIDEO_CAPTURE :c:type:`v4l2_buf_type` 37 + replace symbol V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE :c:type:`v4l2_buf_type` 38 + replace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT :c:type:`v4l2_buf_type` 39 + replace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE :c:type:`v4l2_buf_type` 40 + replace symbol V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY :c:type:`v4l2_buf_type` 41 + replace symbol V4L2_BUF_TYPE_VIDEO_OVERLAY :c:type:`v4l2_buf_type` 42 42 43 43 # Documented enum v4l2_tuner_type 44 - replace symbol V4L2_TUNER_ANALOG_TV v4l2-tuner-type 45 - replace symbol V4L2_TUNER_RADIO v4l2-tuner-type 46 - replace symbol V4L2_TUNER_RF v4l2-tuner-type 47 - replace symbol V4L2_TUNER_SDR v4l2-tuner-type 44 + replace symbol V4L2_TUNER_ANALOG_TV :c:type:`v4l2_tuner_type` 45 + replace symbol V4L2_TUNER_RADIO :c:type:`v4l2_tuner_type` 46 + replace symbol V4L2_TUNER_RF :c:type:`v4l2_tuner_type` 47 + replace symbol V4L2_TUNER_SDR :c:type:`v4l2_tuner_type` 48 48 49 49 # Documented enum v4l2_memory 50 - replace symbol V4L2_MEMORY_DMABUF v4l2-memory 51 - replace symbol V4L2_MEMORY_MMAP v4l2-memory 52 - replace symbol V4L2_MEMORY_OVERLAY v4l2-memory 53 - replace symbol V4L2_MEMORY_USERPTR v4l2-memory 50 + replace symbol V4L2_MEMORY_DMABUF :c:type:`v4l2_memory` 51 + replace symbol V4L2_MEMORY_MMAP :c:type:`v4l2_memory` 52 + replace symbol V4L2_MEMORY_OVERLAY :c:type:`v4l2_memory` 53 + replace symbol V4L2_MEMORY_USERPTR :c:type:`v4l2_memory` 54 54 55 55 # Documented enum v4l2_colorspace 56 - replace symbol V4L2_COLORSPACE_470_SYSTEM_BG v4l2-colorspace 57 - replace symbol V4L2_COLORSPACE_470_SYSTEM_M v4l2-colorspace 58 - replace symbol V4L2_COLORSPACE_ADOBERGB v4l2-colorspace 59 - replace symbol V4L2_COLORSPACE_BT2020 v4l2-colorspace 60 - replace symbol V4L2_COLORSPACE_DCI_P3 v4l2-colorspace 61 - replace symbol V4L2_COLORSPACE_DEFAULT v4l2-colorspace 62 - replace symbol V4L2_COLORSPACE_JPEG v4l2-colorspace 63 - replace symbol V4L2_COLORSPACE_RAW v4l2-colorspace 64 - replace symbol V4L2_COLORSPACE_REC709 v4l2-colorspace 65 - replace symbol V4L2_COLORSPACE_SMPTE170M v4l2-colorspace 66 - replace symbol V4L2_COLORSPACE_SMPTE240M v4l2-colorspace 67 - replace symbol V4L2_COLORSPACE_SRGB v4l2-colorspace 56 + replace symbol V4L2_COLORSPACE_470_SYSTEM_BG :c:type:`v4l2_colorspace` 57 + replace symbol V4L2_COLORSPACE_470_SYSTEM_M :c:type:`v4l2_colorspace` 58 + replace symbol V4L2_COLORSPACE_ADOBERGB :c:type:`v4l2_colorspace` 59 + replace symbol V4L2_COLORSPACE_BT2020 :c:type:`v4l2_colorspace` 60 + replace symbol V4L2_COLORSPACE_DCI_P3 :c:type:`v4l2_colorspace` 61 + replace symbol V4L2_COLORSPACE_DEFAULT :c:type:`v4l2_colorspace` 62 + replace symbol V4L2_COLORSPACE_JPEG :c:type:`v4l2_colorspace` 63 + replace symbol V4L2_COLORSPACE_RAW :c:type:`v4l2_colorspace` 64 + replace symbol V4L2_COLORSPACE_REC709 :c:type:`v4l2_colorspace` 65 + replace symbol V4L2_COLORSPACE_SMPTE170M :c:type:`v4l2_colorspace` 66 + replace symbol V4L2_COLORSPACE_SMPTE240M :c:type:`v4l2_colorspace` 67 + replace symbol V4L2_COLORSPACE_SRGB :c:type:`v4l2_colorspace` 68 68 69 69 # Documented enum v4l2_xfer_func 70 - replace symbol V4L2_XFER_FUNC_709 v4l2-xfer-func 71 - replace symbol V4L2_XFER_FUNC_ADOBERGB v4l2-xfer-func 72 - replace symbol V4L2_XFER_FUNC_DCI_P3 v4l2-xfer-func 73 - replace symbol V4L2_XFER_FUNC_DEFAULT v4l2-xfer-func 74 - replace symbol V4L2_XFER_FUNC_NONE v4l2-xfer-func 75 - replace symbol V4L2_XFER_FUNC_SMPTE2084 v4l2-xfer-func 76 - replace symbol V4L2_XFER_FUNC_SMPTE240M v4l2-xfer-func 77 - replace symbol V4L2_XFER_FUNC_SRGB v4l2-xfer-func 70 + replace symbol V4L2_XFER_FUNC_709 :c:type:`v4l2_xfer_func` 71 + replace symbol V4L2_XFER_FUNC_ADOBERGB :c:type:`v4l2_xfer_func` 72 + replace symbol V4L2_XFER_FUNC_DCI_P3 :c:type:`v4l2_xfer_func` 73 + replace symbol V4L2_XFER_FUNC_DEFAULT :c:type:`v4l2_xfer_func` 74 + replace symbol V4L2_XFER_FUNC_NONE :c:type:`v4l2_xfer_func` 75 + replace symbol V4L2_XFER_FUNC_SMPTE2084 :c:type:`v4l2_xfer_func` 76 + replace symbol V4L2_XFER_FUNC_SMPTE240M :c:type:`v4l2_xfer_func` 77 + replace symbol V4L2_XFER_FUNC_SRGB :c:type:`v4l2_xfer_func` 78 78 79 79 # Documented enum v4l2_ycbcr_encoding 80 - replace symbol V4L2_YCBCR_ENC_601 v4l2-ycbcr-encoding 81 - replace symbol V4L2_YCBCR_ENC_709 v4l2-ycbcr-encoding 82 - replace symbol V4L2_YCBCR_ENC_BT2020 v4l2-ycbcr-encoding 83 - replace symbol V4L2_YCBCR_ENC_BT2020_CONST_LUM v4l2-ycbcr-encoding 84 - replace symbol V4L2_YCBCR_ENC_DEFAULT v4l2-ycbcr-encoding 85 - replace symbol V4L2_YCBCR_ENC_SYCC v4l2-ycbcr-encoding 86 - replace symbol V4L2_YCBCR_ENC_XV601 v4l2-ycbcr-encoding 87 - replace symbol V4L2_YCBCR_ENC_XV709 v4l2-ycbcr-encoding 88 - replace symbol V4L2_YCBCR_ENC_SMPTE240M v4l2-ycbcr-encoding 80 + replace symbol V4L2_YCBCR_ENC_601 :c:type:`v4l2_ycbcr_encoding` 81 + replace symbol V4L2_YCBCR_ENC_709 :c:type:`v4l2_ycbcr_encoding` 82 + replace symbol V4L2_YCBCR_ENC_BT2020 :c:type:`v4l2_ycbcr_encoding` 83 + replace symbol V4L2_YCBCR_ENC_BT2020_CONST_LUM :c:type:`v4l2_ycbcr_encoding` 84 + replace symbol V4L2_YCBCR_ENC_DEFAULT :c:type:`v4l2_ycbcr_encoding` 85 + replace symbol V4L2_YCBCR_ENC_SYCC :c:type:`v4l2_ycbcr_encoding` 86 + replace symbol V4L2_YCBCR_ENC_XV601 :c:type:`v4l2_ycbcr_encoding` 87 + replace symbol V4L2_YCBCR_ENC_XV709 :c:type:`v4l2_ycbcr_encoding` 88 + replace symbol V4L2_YCBCR_ENC_SMPTE240M :c:type:`v4l2_ycbcr_encoding` 89 89 90 90 # Documented enum v4l2_quantization 91 - replace symbol V4L2_QUANTIZATION_DEFAULT v4l2-quantization 92 - replace symbol V4L2_QUANTIZATION_FULL_RANGE v4l2-quantization 93 - replace symbol V4L2_QUANTIZATION_LIM_RANGE v4l2-quantization 91 + replace symbol V4L2_QUANTIZATION_DEFAULT :c:type:`v4l2_quantization` 92 + replace symbol V4L2_QUANTIZATION_FULL_RANGE :c:type:`v4l2_quantization` 93 + replace symbol V4L2_QUANTIZATION_LIM_RANGE :c:type:`v4l2_quantization` 94 94 95 95 # Documented enum v4l2_priority 96 - replace symbol V4L2_PRIORITY_BACKGROUND v4l2-priority 97 - replace symbol V4L2_PRIORITY_DEFAULT v4l2-priority 98 - replace symbol V4L2_PRIORITY_INTERACTIVE v4l2-priority 99 - replace symbol V4L2_PRIORITY_RECORD v4l2-priority 100 - replace symbol V4L2_PRIORITY_UNSET v4l2-priority 96 + replace symbol V4L2_PRIORITY_BACKGROUND :c:type:`v4l2_priority` 97 + replace symbol V4L2_PRIORITY_DEFAULT :c:type:`v4l2_priority` 98 + replace symbol V4L2_PRIORITY_INTERACTIVE :c:type:`v4l2_priority` 99 + replace symbol V4L2_PRIORITY_RECORD :c:type:`v4l2_priority` 100 + replace symbol V4L2_PRIORITY_UNSET :c:type:`v4l2_priority` 101 101 102 102 # Documented enum v4l2_frmsizetypes 103 - replace symbol V4L2_FRMSIZE_TYPE_CONTINUOUS v4l2-frmsizetypes 104 - replace symbol V4L2_FRMSIZE_TYPE_DISCRETE v4l2-frmsizetypes 105 - replace symbol V4L2_FRMSIZE_TYPE_STEPWISE v4l2-frmsizetypes 103 + replace symbol V4L2_FRMSIZE_TYPE_CONTINUOUS :c:type:`v4l2_frmsizetypes` 104 + replace symbol V4L2_FRMSIZE_TYPE_DISCRETE :c:type:`v4l2_frmsizetypes` 105 + replace symbol V4L2_FRMSIZE_TYPE_STEPWISE :c:type:`v4l2_frmsizetypes` 106 106 107 107 # Documented enum frmivaltypes 108 - replace symbol V4L2_FRMIVAL_TYPE_CONTINUOUS v4l2-frmivaltypes 109 - replace symbol V4L2_FRMIVAL_TYPE_DISCRETE v4l2-frmivaltypes 110 - replace symbol V4L2_FRMIVAL_TYPE_STEPWISE v4l2-frmivaltypes 108 + replace symbol V4L2_FRMIVAL_TYPE_CONTINUOUS :c:type:`v4l2_frmivaltypes` 109 + replace symbol V4L2_FRMIVAL_TYPE_DISCRETE :c:type:`v4l2_frmivaltypes` 110 + replace symbol V4L2_FRMIVAL_TYPE_STEPWISE :c:type:`v4l2_frmivaltypes` 111 111 112 - # Documented enum v4l2-ctrl-type 112 + # Documented enum :c:type:`v4l2_ctrl_type` 113 113 replace symbol V4L2_CTRL_COMPOUND_TYPES vidioc_queryctrl 114 114 115 - replace symbol V4L2_CTRL_TYPE_BITMASK v4l2-ctrl-type 116 - replace symbol V4L2_CTRL_TYPE_BOOLEAN v4l2-ctrl-type 117 - replace symbol V4L2_CTRL_TYPE_BUTTON v4l2-ctrl-type 118 - replace symbol V4L2_CTRL_TYPE_CTRL_CLASS v4l2-ctrl-type 119 - replace symbol V4L2_CTRL_TYPE_INTEGER v4l2-ctrl-type 120 - replace symbol V4L2_CTRL_TYPE_INTEGER64 v4l2-ctrl-type 121 - replace symbol V4L2_CTRL_TYPE_INTEGER_MENU v4l2-ctrl-type 122 - replace symbol V4L2_CTRL_TYPE_MENU v4l2-ctrl-type 123 - replace symbol V4L2_CTRL_TYPE_STRING v4l2-ctrl-type 124 - replace symbol V4L2_CTRL_TYPE_U16 v4l2-ctrl-type 125 - replace symbol V4L2_CTRL_TYPE_U32 v4l2-ctrl-type 126 - replace symbol V4L2_CTRL_TYPE_U8 v4l2-ctrl-type 115 + replace symbol V4L2_CTRL_TYPE_BITMASK :c:type:`v4l2_ctrl_type` 116 + replace symbol V4L2_CTRL_TYPE_BOOLEAN :c:type:`v4l2_ctrl_type` 117 + replace symbol V4L2_CTRL_TYPE_BUTTON :c:type:`v4l2_ctrl_type` 118 + replace symbol V4L2_CTRL_TYPE_CTRL_CLASS :c:type:`v4l2_ctrl_type` 119 + replace symbol V4L2_CTRL_TYPE_INTEGER :c:type:`v4l2_ctrl_type` 120 + replace symbol V4L2_CTRL_TYPE_INTEGER64 :c:type:`v4l2_ctrl_type` 121 + replace symbol V4L2_CTRL_TYPE_INTEGER_MENU :c:type:`v4l2_ctrl_type` 122 + replace symbol V4L2_CTRL_TYPE_MENU :c:type:`v4l2_ctrl_type` 123 + replace symbol V4L2_CTRL_TYPE_STRING :c:type:`v4l2_ctrl_type` 124 + replace symbol V4L2_CTRL_TYPE_U16 :c:type:`v4l2_ctrl_type` 125 + replace symbol V4L2_CTRL_TYPE_U32 :c:type:`v4l2_ctrl_type` 126 + replace symbol V4L2_CTRL_TYPE_U8 :c:type:`v4l2_ctrl_type` 127 127 128 128 # V4L2 capability defines 129 129 replace define V4L2_CAP_VIDEO_CAPTURE device-capabilities ··· 155 155 replace define V4L2_CAP_TOUCH device-capabilities 156 156 157 157 # V4L2 pix flags 158 - replace define V4L2_PIX_FMT_PRIV_MAGIC v4l2-pix-format 158 + replace define V4L2_PIX_FMT_PRIV_MAGIC :c:type:`v4l2_pix_format` 159 159 replace define V4L2_PIX_FMT_FLAG_PREMUL_ALPHA reserved-formats 160 160 161 161 # V4L2 format flags ··· 205 205 # Used on VIDIOC_G_PARM 206 206 207 207 replace define V4L2_MODE_HIGHQUALITY parm-flags 208 - replace define V4L2_CAP_TIMEPERFRAME v4l2-captureparm 208 + replace define V4L2_CAP_TIMEPERFRAME :c:type:`v4l2_captureparm` 209 209 210 210 # The V4L2_STD_foo are all defined at v4l2_std_id table 211 211 ··· 258 258 259 259 # V4L2 DT BT timings definitions 260 260 261 - replace define V4L2_DV_PROGRESSIVE v4l2-bt-timings 262 - replace define V4L2_DV_INTERLACED v4l2-bt-timings 261 + replace define V4L2_DV_PROGRESSIVE :c:type:`v4l2_bt_timings` 262 + replace define V4L2_DV_INTERLACED :c:type:`v4l2_bt_timings` 263 263 264 - replace define V4L2_DV_VSYNC_POS_POL v4l2-bt-timings 265 - replace define V4L2_DV_HSYNC_POS_POL v4l2-bt-timings 264 + replace define V4L2_DV_VSYNC_POS_POL :c:type:`v4l2_bt_timings` 265 + replace define V4L2_DV_HSYNC_POS_POL :c:type:`v4l2_bt_timings` 266 266 267 267 replace define V4L2_DV_BT_STD_CEA861 dv-bt-standards 268 268 replace define V4L2_DV_BT_STD_DMT dv-bt-standards ··· 387 387 388 388 # MPEG 389 389 390 - replace define V4L2_ENC_IDX_FRAME_I v4l2-enc-idx 391 - replace define V4L2_ENC_IDX_FRAME_P v4l2-enc-idx 392 - replace define V4L2_ENC_IDX_FRAME_B v4l2-enc-idx 393 - replace define V4L2_ENC_IDX_FRAME_MASK v4l2-enc-idx 394 - replace define V4L2_ENC_IDX_ENTRIES v4l2-enc-idx 390 + replace define V4L2_ENC_IDX_FRAME_I :c:type:`v4l2_enc_idx` 391 + replace define V4L2_ENC_IDX_FRAME_P :c:type:`v4l2_enc_idx` 392 + replace define V4L2_ENC_IDX_FRAME_B :c:type:`v4l2_enc_idx` 393 + replace define V4L2_ENC_IDX_FRAME_MASK :c:type:`v4l2_enc_idx` 394 + replace define V4L2_ENC_IDX_ENTRIES :c:type:`v4l2_enc_idx` 395 395 396 396 replace define V4L2_ENC_CMD_START encoder-cmds 397 397 replace define V4L2_ENC_CMD_STOP encoder-cmds ··· 418 418 replace define V4L2_VBI_UNSYNC vbifmt-flags 419 419 replace define V4L2_VBI_INTERLACED vbifmt-flags 420 420 421 - replace define V4L2_VBI_ITU_525_F1_START v4l2-vbi-format 422 - replace define V4L2_VBI_ITU_525_F2_START v4l2-vbi-format 423 - replace define V4L2_VBI_ITU_625_F1_START v4l2-vbi-format 424 - replace define V4L2_VBI_ITU_625_F2_START v4l2-vbi-format 421 + replace define V4L2_VBI_ITU_525_F1_START :c:type:`v4l2_vbi_format` 422 + replace define V4L2_VBI_ITU_525_F2_START :c:type:`v4l2_vbi_format` 423 + replace define V4L2_VBI_ITU_625_F1_START :c:type:`v4l2_vbi_format` 424 + replace define V4L2_VBI_ITU_625_F2_START :c:type:`v4l2_vbi_format` 425 425 426 426 427 427 replace define V4L2_SLICED_TELETEXT_B vbi-services ··· 456 456 457 457 replace define V4L2_EVENT_SRC_CH_RESOLUTION src-changes-flags 458 458 459 - replace define V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ v4l2-event-motion-det 459 + replace define V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ :c:type:`v4l2_event_motion_det` 460 460 461 461 replace define V4L2_EVENT_SUB_FL_SEND_INITIAL event-flags 462 462 replace define V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK event-flags