···1111each. Radio devices have no audio inputs or outputs. They have exactly1212one tuner which in fact *is* an audio source, but this API associates1313tuners with video inputs or outputs only, and radio devices have none of1414-these. [1]_ A connector on a TV card to loop back the received audio1414+these. [#f1]_ A connector on a TV card to loop back the received audio1515signal to a sound card is not considered an audio output.16161717Audio and video inputs and outputs are associated. Selecting a video···8888 exit(EXIT_FAILURE);8989 }90909191-.. [1]9191+.. [#f1]9292 Actually struct :ref:`v4l2_audio <v4l2-audio>` ought to have a9393 ``tuner`` field like struct :ref:`v4l2_input <v4l2-input>`, not9494 only making the API more consistent but also permitting radio devices
+2-2
Documentation/media/uapi/v4l/control.rst
···17171818All controls are accessed using an ID value. V4L2 defines several IDs1919for specific purposes. Drivers can also implement their own custom2020-controls using ``V4L2_CID_PRIVATE_BASE`` [1]_ and higher values. The2020+controls using ``V4L2_CID_PRIVATE_BASE`` [#f1]_ and higher values. The2121pre-defined control IDs have the prefix ``V4L2_CID_``, and are listed in2222:ref:`control-id`. The ID is used when querying the attributes of a2323control, and when getting or setting the current value.···522522 /* Errors ignored */523523 ioctl(fd, VIDIOC_S_CTRL, &control);524524525525-.. [1]525525+.. [#f1]526526 The use of ``V4L2_CID_PRIVATE_BASE`` is problematic because different527527 drivers may use the same ``V4L2_CID_PRIVATE_BASE`` ID for different528528 controls. This makes it hard to programatically set such controls
+8-8
Documentation/media/uapi/v4l/dev-overlay.rst
···3333overlay. This must be supported by all drivers capable of simultaneous3434capturing and overlay. Optionally these drivers may also permit3535capturing and overlay with a single file descriptor for compatibility3636-with V4L and earlier versions of V4L2. [1]_3636+with V4L and earlier versions of V4L2. [#f1]_373738383939Querying Capabilities···216216217217 ((__u8 *) bitmap)[w.width * y + x / 8] & (1 << (x & 7))218218219219-where ``0`` ≤ x < ``w.width`` and ``0`` ≤ y <``w.height``. [2]_219219+where ``0`` ≤ x < ``w.width`` and ``0`` ≤ y <``w.height``. [#f2]_220220221221When a clipping bit mask is not supported the driver ignores this field,222222its contents after calling :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` are···227227both, or despite negotiating chroma-keying, the results are undefined.228228Regardless of the chosen method, the clipping abilities of the hardware229229may be limited in quantity or quality. The results when these limits are230230-exceeded are undefined. [3]_230230+exceeded are undefined. [#f3]_231231232232``__u8 global_alpha``233233 The global alpha value used to blend the framebuffer with video···244244245245.. _v4l2-clip:246246247247-struct v4l2_clip [4]_247247+struct v4l2_clip [#f4]_248248---------------------249249250250``struct v4l2_rect c``···284284To start or stop the frame buffer overlay applications call the285285:ref:`VIDIOC_OVERLAY` ioctl.286286287287-.. [1]287287+.. [#f1]288288 A common application of two file descriptors is the XFree86289289 :ref:`Xv/V4L <xvideo>` interface driver and a V4L2 application.290290 While the X server controls video overlay, the application can take···301301 Hence as a complexity trade-off drivers *must* support two file302302 descriptors and *may* support single fd operation.303303304304-.. [2]304304+.. [#f2]305305 Should we require ``w.width`` to be a multiple of eight?306306307307-.. [3]307307+.. [#f3]308308 When the image is written into frame buffer memory it will be309309 undesirable if the driver clips out less pixels than expected,310310 because the application and graphics system are not aware these311311 regions need to be refreshed. The driver should clip out more pixels312312 or not write the image at all.313313314314-.. [4]314314+.. [#f4]315315 The X Window system defines "regions" which are vectors of ``struct316316 BoxRec { short x1, y1, x2, y2; }`` with ``width = x2 - x1`` and317317 ``height = y2 - y1``, so one cannot pass X11 clip lists directly.
+9-9
Documentation/media/uapi/v4l/dev-raw-vbi.rst
···1111information is transmitted, allowing some time while the electron beam1212of a cathode ray tube TV returns to the top of the screen. Using an1313oscilloscope you will find here the vertical synchronization pulses and1414-short data packages ASK modulated [1]_ onto the video signal. These are1414+short data packages ASK modulated [#f1]_ onto the video signal. These are1515transmissions of services such as Teletext or Closed Caption.16161717Subject of this interface type is raw VBI data, as sampled off a video···143143 - ``sample_format``144144145145 - Defines the sample format as in :ref:`pixfmt`, a146146- four-character-code. [2]_ Usually this is ``V4L2_PIX_FMT_GREY``,146146+ four-character-code. [#f2]_ Usually this is ``V4L2_PIX_FMT_GREY``,147147 i. e. each sample consists of 8 bits with lower values oriented148148 towards the black level. Do not assume any other correlation of149149 values with the signal level. For example, the MSB does not···155155156156 - __u32157157158158- - ``start``\ [2]_158158+ - ``start``\ [#f2]_159159160160 - This is the scanning system line number associated with the first161161 line of the VBI image, of the first and the second field···173173174174 - __u32175175176176- - ``count``\ [2]_176176+ - ``count``\ [#f2]_177177178178 - The number of lines in the first and second field image,179179 respectively.···218218219219 - __u32220220221221- - ``reserved``\ [2]_221221+ - ``reserved``\ [#f2]_222222223223 - This array is reserved for future extensions. Drivers and224224 applications must set it to zero.···245245 or bottom field depending on the video standard. When this flag is246246 set the first or second field may be stored first, however the247247 fields are still in correct temporal order with the older field248248- first in memory. [3]_248248+ first in memory. [#f3]_249249250250 - .. row 2251251···336336are temporarily unavailable, for example the device is already in use by337337another process.338338339339-.. [1]339339+.. [#f1]340340 ASK: Amplitude-Shift Keying. A high signal level represents a '1'341341 bit, a low level a '0' bit.342342343343-.. [2]343343+.. [#f2]344344 A few devices may be unable to sample VBI data at all but can extend345345 the video capture window to the VBI region.346346347347-.. [3]347347+.. [#f3]348348 Most VBI services transmit on both fields, but some have different349349 semantics depending on the field number. These cannot be reliable350350 decoded or encoded when ``V4L2_VBI_UNSYNC`` is set.
+2-2
Documentation/media/uapi/v4l/dev-sliced-vbi.rst
···126126 specified in this field. For example, if ``service_set`` is127127 initialized with ``V4L2_SLICED_TELETEXT_B | V4L2_SLICED_WSS_625``,128128 a driver for the cx25840 video decoder sets lines 7-22 of both129129- fields [1]_ to ``V4L2_SLICED_TELETEXT_B`` and line 23 of the first129129+ fields [#f1]_ to ``V4L2_SLICED_TELETEXT_B`` and line 23 of the first130130 field to ``V4L2_SLICED_WSS_625``. If ``service_set`` is set to131131 zero, then the values of ``service_lines`` will be used instead.132132···817817818818819819820820-.. [1]820820+.. [#f1]821821 According to :ref:`ETS 300 706 <ets300706>` lines 6-22 of the first822822 field and lines 5-22 of the second field may carry Teletext data.
+18-18
Documentation/media/uapi/v4l/diff-v4l.rst
···52525353 - Video capture and overlay54545555- - ``/dev/video`` and ``/dev/bttv0``\ [1]_, ``/dev/video0`` to5555+ - ``/dev/video`` and ``/dev/bttv0``\ [#f1]_, ``/dev/video0`` to5656 ``/dev/video63``57575858 - 0-63···61616262 - Radio receiver63636464- - ``/dev/radio``\ [2]_, ``/dev/radio0`` to ``/dev/radio63``6464+ - ``/dev/radio``\ [#f2]_, ``/dev/radio0`` to ``/dev/radio63``65656666 - 64-1276767···457457458458 - ``VIDEO_PALETTE_HI240``459459460460- - :ref:`V4L2_PIX_FMT_HI240 <pixfmt-reserved>` [3]_460460+ - :ref:`V4L2_PIX_FMT_HI240 <pixfmt-reserved>` [#f3]_461461462462 - .. row 4463463···481481482482 - ``VIDEO_PALETTE_RGB32``483483484484- - :ref:`V4L2_PIX_FMT_BGR32 <pixfmt-rgb>` [4]_484484+ - :ref:`V4L2_PIX_FMT_BGR32 <pixfmt-rgb>` [#f4]_485485486486 - .. row 8487487···491491492492 - .. row 9493493494494- - ``VIDEO_PALETTE_YUYV``\ [5]_494494+ - ``VIDEO_PALETTE_YUYV``\ [#f5]_495495496496 - :ref:`V4L2_PIX_FMT_YUYV <V4L2-PIX-FMT-YUYV>`497497···511511512512 - ``VIDEO_PALETTE_YUV411``513513514514- - :ref:`V4L2_PIX_FMT_Y41P <V4L2-PIX-FMT-Y41P>` [6]_514514+ - :ref:`V4L2_PIX_FMT_Y41P <V4L2-PIX-FMT-Y41P>` [#f6]_515515516516 - .. row 13517517518518 - ``VIDEO_PALETTE_RAW``519519520520- - None [7]_520520+ - None [#f7]_521521522522 - .. row 14523523···529529530530 - ``VIDEO_PALETTE_YUV411P``531531532532- - :ref:`V4L2_PIX_FMT_YUV411P <V4L2-PIX-FMT-YUV411P>` [8]_532532+ - :ref:`V4L2_PIX_FMT_YUV411P <V4L2-PIX-FMT-YUV411P>` [#f8]_533533534534 - .. row 16535535···876876877877 - count[]878878879879- - 16, 16 [9]_879879+ - 16, 16 [#f9]_880880881881 - .. row 8882882···915915microcode programming. A new interface for MPEG compression and playback916916devices is documented in :ref:`extended-controls`.917917918918-.. [1]918918+.. [#f1]919919 According to Documentation/devices.txt these should be symbolic links920920 to ``/dev/video0``. Note the original bttv interface is not921921 compatible with V4L or V4L2.922922923923-.. [2]923923+.. [#f2]924924 According to ``Documentation/devices.txt`` a symbolic link to925925 ``/dev/radio0``.926926927927-.. [3]927927+.. [#f3]928928 This is a custom format used by the BTTV driver, not one of the V4L2929929 standard formats.930930931931-.. [4]931931+.. [#f4]932932 Presumably all V4L RGB formats are little-endian, although some933933 drivers might interpret them according to machine endianness. V4L2934934 defines little-endian, big-endian and red/blue swapped variants. For935935 details see :ref:`pixfmt-rgb`.936936937937-.. [5]937937+.. [#f5]938938 ``VIDEO_PALETTE_YUV422`` and ``VIDEO_PALETTE_YUYV`` are the same939939 formats. Some V4L drivers respond to one, some to the other.940940941941-.. [6]941941+.. [#f6]942942 Not to be confused with ``V4L2_PIX_FMT_YUV411P``, which is a planar943943 format.944944945945-.. [7]945945+.. [#f7]946946 V4L explains this as: "RAW capture (BT848)"947947948948-.. [8]948948+.. [#f8]949949 Not to be confused with ``V4L2_PIX_FMT_Y41P``, which is a packed950950 format.951951952952-.. [9]952952+.. [#f9]953953 Old driver versions used different values, eventually the custom954954 ``BTTV_VBISIZE`` ioctl was added to query the correct values.
···31833183 of the illumination varies significantly throughout the scene, i.e.31843184 there are simultaneously very dark and very bright areas. It is most31853185 commonly realized in cameras by combining two subsequent frames with31863186- different exposure times. [1]_31863186+ different exposure times. [#f1]_3187318731883188.. _v4l2-image-stabilization:31893189···45264526 Is synthesizer PLL locked? RF tuner is receiving given frequency45274527 when that control is set. This is a read-only control.4528452845294529-.. [1]45294529+.. [#f1]45304530 This control may be changed to a menu control in the future, if more45314531 options are required.
+2-2
Documentation/media/uapi/v4l/format.rst
···73737474Apart of the generic format negotiation functions a special ioctl to7575enumerate all image formats supported by video capture, overlay or7676-output devices is available. [1]_7676+output devices is available. [#f1]_77777878The :ref:`VIDIOC_ENUM_FMT` ioctl must be supported7979by all drivers exchanging image data with applications.···8585 If necessary driver writers should publish an example conversion8686 routine or library for integration into applications.87878888-.. [1]8888+.. [#f1]8989 Enumerating formats an application has no a-priori knowledge of9090 (otherwise it could explicitly ask for them and need not enumerate)9191 seems useless, but there are applications serving as proxy between
+2-2
Documentation/media/uapi/v4l/func-select.rst
···5050:ref:`VIDIOC_STREAMON` yet the :ref:`select() <func-select>`5151function succeeds, setting the bit of the file descriptor in ``readfds``5252or ``writefds``, but subsequent :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>`5353-calls will fail. [1]_5353+calls will fail. [#f1]_54545555When use of the :ref:`read() <func-read>` function has been negotiated and the5656driver does not capture yet, the :ref:`select() <func-select>` function starts···100100 The ``nfds`` argument is less than zero or greater than101101 ``FD_SETSIZE``.102102103103-.. [1]103103+.. [#f1]104104 The Linux kernel implements :ref:`select() <func-select>` like the105105 :ref:`poll() <func-poll>` function, but :ref:`select() <func-select>` cannot106106 return a ``POLLERR``.
+2-2
Documentation/media/uapi/v4l/hist-v4l2.rst
···13911391scope is similar to V4L2, an API to video capture and output devices for13921392X clients. Xv allows applications to display live video in a window,13931393send window contents to a TV output, and capture or output still images13941394-in XPixmaps [1]_. With their implementation XFree86 makes the extension13941394+in XPixmaps [#f1]_. With their implementation XFree86 makes the extension13951395available across many operating systems and architectures.1396139613971397Because the driver is embedded into the X server Xv has a number of···14761476 ``VIDIOC_SUBDEV_G_SELECTION`` and ``VIDIOC_SUBDEV_S_SELECTION``,14771477 :ref:`VIDIOC_SUBDEV_G_SELECTION`.1478147814791479-.. [1]14791479+.. [#f1]14801480 This is not implemented in XFree86.
+6-6
Documentation/media/uapi/v4l/mmap.rst
···2626A driver can support many sets of buffers. Each set is identified by a2727unique buffer type value. The sets are independent and each set can hold2828a different type of data. To access different sets at the same time2929-different file descriptors must be used. [1]_2929+different file descriptors must be used. [#f1]_30303131To allocate device buffers applications call the3232:ref:`VIDIOC_REQBUFS` ioctl with the desired number···217217to function, apart of this no limit exists on the number of buffers218218applications can enqueue in advance, or dequeue and process. They can219219also enqueue in a different order than buffers have been dequeued, and220220-the driver can *fill* enqueued *empty* buffers in any order. [2]_ The220220+the driver can *fill* enqueued *empty* buffers in any order. [#f2]_ The221221index number of a buffer (struct :ref:`v4l2_buffer <v4l2-buffer>`222222``index``) plays no role here, it only identifies the buffer.223223···260260<VIDIOC_QBUF>`, :ref:`VIDIOC_STREAMON <VIDIOC_STREAMON>`261261and :ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` ioctls, the :ref:`mmap()262262<func-mmap>`, :ref:`munmap() <func-munmap>`, :ref:`select()263263-<func-select>` and :ref:`poll() <func-poll>` function. [3]_263263+<func-select>` and :ref:`poll() <func-poll>` function. [#f3]_264264265265[capture example]266266267267-.. [1]267267+.. [#f1]268268 One could use one file descriptor and set the buffer type field269269 accordingly when calling :ref:`VIDIOC_QBUF` etc.,270270 but it makes the :ref:`select() <func-select>` function ambiguous. We also···272272 Video overlay for example is also a logical stream, although the CPU273273 is not needed for continuous operation.274274275275-.. [2]275275+.. [#f2]276276 Random enqueue order permits applications processing images out of277277 order (such as video codecs) to return buffers earlier, reducing the278278 probability of data loss. Random fill order allows drivers to reuse279279 buffers on a LIFO-basis, taking advantage of caches holding280280 scatter-gather lists and the like.281281282282-.. [3]282282+.. [#f3]283283 At the driver level :ref:`select() <func-select>` and :ref:`poll() <func-poll>` are284284 the same, and :ref:`select() <func-select>` is too important to be optional.285285 The rest should be evident.
+6-6
Documentation/media/uapi/v4l/open.rst
···9999Multiple Opens100100==============101101102102-V4L2 devices can be opened more than once. [1]_ When this is supported102102+V4L2 devices can be opened more than once. [#f1]_ When this is supported103103by the driver, users can for example start a "panel" application to104104change controls like brightness or audio volume, while another105105application captures video and audio. In other words, panel applications106106are comparable to an ALSA audio mixer application. Just opening a V4L2107107-device should not change the state of the device. [2]_107107+device should not change the state of the device. [#f2]_108108109109Once an application has allocated the memory buffers needed for110110streaming data (by calling the :ref:`VIDIOC_REQBUFS`···117117no longer allowed to allocate buffers or start or stop streaming. The118118EBUSY error code will be returned instead.119119120120-Merely opening a V4L2 device does not grant exclusive access. [3]_120120+Merely opening a V4L2 device does not grant exclusive access. [#f3]_121121Initiating data exchange however assigns the right to read or write the122122requested type of data, and to change related properties, to this file123123descriptor. Applications can request additional access privileges using···142142:ref:`ioctl() <func-ioctl>` function as explained in the following143143sections.144144145145-.. [1]145145+.. [#f1]146146 There are still some old and obscure drivers that have not been147147 updated to allow for multiple opens. This implies that for such148148 drivers :ref:`open() <func-open>` can return an ``EBUSY`` error code149149 when the device is already in use.150150151151-.. [2]151151+.. [#f2]152152 Unfortunately, opening a radio device often switches the state of the153153 device to radio mode in many drivers. This behavior should be fixed154154 eventually as it violates the V4L2 specification.155155156156-.. [3]156156+.. [#f3]157157 Drivers could recognize the ``O_EXCL`` open flag. Presently this is158158 not required, so applications cannot know if it really works.
+4-4
Documentation/media/uapi/v4l/rw.rst
···3131To read from the device applications use the :ref:`read() <func-read>`3232function, to write the :ref:`write() <func-write>` function. Drivers3333must implement one I/O method if they exchange data with applications,3434-but it need not be this. [1]_ When reading or writing is supported, the3434+but it need not be this. [#f1]_ When reading or writing is supported, the3535driver must also support the :ref:`select() <func-select>` and3636-:ref:`poll() <func-poll>` function. [2]_3636+:ref:`poll() <func-poll>` function. [#f2]_37373838-.. [1]3838+.. [#f1]3939 It would be desirable if applications could depend on drivers4040 supporting all I/O interfaces, but as much as the complex memory4141 mapping I/O can be inadequate for some devices we have no reason to4242 require this interface, which is most useful for simple applications4343 capturing still images.44444545-.. [2]4545+.. [#f2]4646 At the driver level :ref:`select() <func-select>` and :ref:`poll() <func-poll>` are4747 the same, and :ref:`select() <func-select>` is too important to be optional.
+2-2
Documentation/media/uapi/v4l/standard.rst
···3333automatically depending on the selected radio frequency in UHF or VHF3434band. Enumeration gives a "PAL-B/G" or "PAL-I" choice. Similar a3535Composite input may collapse standards, enumerating "PAL-B/G/H/I",3636-"NTSC-M" and "SECAM-D/K". [1]_3636+"NTSC-M" and "SECAM-D/K". [#f1]_37373838To query and select the standard used by the current video input or3939output applications call the :ref:`VIDIOC_G_STD <VIDIOC_G_STD>` and···177177 exit(EXIT_FAILURE);178178 }179179180180-.. [1]180180+.. [#f1]181181 Some users are already confused by technical terms PAL, NTSC and182182 SECAM. There is no point asking them to distinguish between B, G, D,183183 or K when the software or hardware can do that automatically.
+4-4
Documentation/media/uapi/v4l/userp.rst
···5454area of memory. This happens transparently to the application in the5555virtual memory subsystem of the kernel. When buffer pages have been5656swapped out to disk they are brought back and finally locked in physical5757-memory for DMA. [1]_5757+memory for DMA. [#f1]_58585959Filled or displayed buffers are dequeued with the6060:ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. The driver can unlock the···9999:ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>`, :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`,100100:ref:`VIDIOC_DQBUF <VIDIOC_QBUF>`, :ref:`VIDIOC_STREAMON <VIDIOC_STREAMON>`101101and :ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` ioctls, the102102-:ref:`select() <func-select>` and :ref:`poll() <func-poll>` function. [2]_102102+:ref:`select() <func-select>` and :ref:`poll() <func-poll>` function. [#f2]_103103104104-.. [1]104104+.. [#f1]105105 We expect that frequently used buffers are typically not swapped out.106106 Anyway, the process of swapping, locking or generating scatter-gather107107 lists may be time consuming. The delay can be masked by the depth of···113113 disk. Output buffers must be saved on the incoming and outgoing queue114114 because an application may share them with other processes.115115116116-.. [2]116116+.. [#f2]117117 At the driver level :ref:`select() <func-select>` and :ref:`poll() <func-poll>` are118118 the same, and :ref:`select() <func-select>` is too important to be optional.119119 The rest should be evident.
+13-13
Documentation/media/uapi/v4l/vidioc-enumstd.rst
···4141bounds. To enumerate all standards applications shall begin at index4242zero, incrementing by one until the driver returns ``EINVAL``. Drivers may4343enumerate a different set of standards after switching the video input4444-or output. [1]_4444+or output. [#f1]_454546464747.. _v4l2-standard:···278278279279 - Characteristics280280281281- - M/NTSC [2]_281281+ - M/NTSC [#f2]_282282283283 - M/PAL284284285285- - N/PAL [3]_285285+ - N/PAL [#f3]_286286287287 - B, B1, G/PAL288288···369369370370 - + 4.5371371372372- - + 5.5 ± 0.001 [4]_ [5]_ [6]_ [7]_372372+ - + 5.5 ± 0.001 [#f4]_ [#f5]_ [#f6]_ [#f7]_373373374374 - + 6.5 ± 0.001375375···383383384384 - + 6.5385385386386- - + 6.5 [8]_386386+ - + 6.5 [#f8]_387387388388389389Return Value···400400ENODATA401401 Standard video timings are not supported for this input or output.402402403403-.. [1]403403+.. [#f1]404404 The supported standards may overlap and we need an unambiguous set to405405 find the current standard returned by :ref:`VIDIOC_G_STD <VIDIOC_G_STD>`.406406407407-.. [2]407407+.. [#f2]408408 Japan uses a standard similar to M/NTSC (V4L2_STD_NTSC_M_JP).409409410410-.. [3]410410+.. [#f3]411411 The values in brackets apply to the combination N/PAL a.k.a.412412 N\ :sub:`C` used in Argentina (V4L2_STD_PAL_Nc).413413414414-.. [4]414414+.. [#f4]415415 In the Federal Republic of Germany, Austria, Italy, the Netherlands,416416 Slovakia and Switzerland a system of two sound carriers is used, the417417 frequency of the second carrier being 242.1875 kHz above the418418 frequency of the first sound carrier. For stereophonic sound419419 transmissions a similar system is used in Australia.420420421421-.. [5]421421+.. [#f5]422422 New Zealand uses a sound carrier displaced 5.4996 ± 0.0005 MHz from423423 the vision carrier.424424425425-.. [6]425425+.. [#f6]426426 In Denmark, Finland, New Zealand, Sweden and Spain a system of two427427 sound carriers is used. In Iceland, Norway and Poland the same system428428 is being introduced. The second carrier is 5.85 MHz above the vision429429 carrier and is DQPSK modulated with 728 kbit/s sound and data430430 multiplex. (NICAM system)431431432432-.. [7]432432+.. [#f7]433433 In the United Kingdom, a system of two sound carriers is used. The434434 second sound carrier is 6.552 MHz above the vision carrier and is435435 DQPSK modulated with a 728 kbit/s sound and data multiplex able to436436 carry two sound channels. (NICAM system)437437438438-.. [8]438438+.. [#f8]439439 In France, a digital carrier 5.85 MHz away from the vision carrier440440 may be used in addition to the main sound carrier. It is modulated in441441 differentially encoded QPSK with a 728 kbit/s sound and data
+2-2
Documentation/media/uapi/v4l/vidioc-g-fbuf.rst
···112112113113 -114114 - Physical base address of the framebuffer, that is the address of115115- the pixel in the top left corner of the framebuffer. [1]_115115+ the pixel in the top left corner of the framebuffer. [#f1]_116116117117 - .. row 4118118···492492EINVAL493493 The :ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>` parameters are unsuitable.494494495495-.. [1]495495+.. [#f1]496496 A physical base address may not suit all platforms. GK notes in497497 theory we should pass something like PCI device + memory region +498498 offset instead. If you encounter problems please discuss on the
+4-4
Documentation/media/uapi/v4l/vidioc-g-tuner.rst
···622622623623 - ``LANG2 = SAP``624624625625- - ``LANG1_LANG2``\ [1]_625625+ - ``LANG1_LANG2``\ [#f1]_626626627627 - .. row 3628628···686686687687 - Language 1688688689689- - Lang1/Lang2 (deprecated [2]_) or Lang1/Lang1689689+ - Lang1/Lang2 (deprecated [#f2]_) or Lang1/Lang1690690691691 - Language 1692692···706706 The struct :ref:`v4l2_tuner <v4l2-tuner>` ``index`` is out of707707 bounds.708708709709-.. [1]709709+.. [#f1]710710 This mode has been added in Linux 2.6.17 and may not be supported by711711 older drivers.712712713713-.. [2]713713+.. [#f2]714714 Playback of both languages in ``MODE_STEREO`` is deprecated. In the715715 future drivers should produce only the primary language in this mode.716716 Applications should request ``MODE_LANG1_LANG2`` to record both
+2-2
Documentation/media/uapi/v4l/vidioc-querycap.rst
···301301 secondary function of video output devices and overlays an image302302 onto an outgoing video signal. When the driver sets this flag, it303303 must clear the ``V4L2_CAP_VIDEO_OVERLAY`` flag and vice304304- versa. [1]_304304+ versa. [#f1]_305305306306 - .. row 14307307···428428appropriately. The generic error codes are described at the429429:ref:`Generic Error Codes <gen-errors>` chapter.430430431431-.. [1]431431+.. [#f1]432432 The struct :ref:`v4l2_framebuffer <v4l2-framebuffer>` lacks an433433 enum :ref:`v4l2_buf_type <v4l2-buf-type>` field, therefore the434434 type of overlay is implied by the driver capabilities.
+2-2
Documentation/media/uapi/v4l/vidioc-queryctrl.rst
···53535454In both cases, when the driver sets the ``V4L2_CTRL_FLAG_DISABLED`` flag5555in the ``flags`` field this control is permanently disabled and should5656-be ignored by the application. [1]_5656+be ignored by the application. [#f1]_57575858When the application ORs ``id`` with ``V4L2_CTRL_FLAG_NEXT_CTRL`` the5959driver returns the next supported non-compound control, or ``EINVAL`` if···776776EACCES777777 An attempt was made to read a write-only control.778778779779-.. [1]779779+.. [#f1]780780 ``V4L2_CTRL_FLAG_DISABLED`` was intended for two purposes: Drivers781781 can skip predefined controls not supported by the hardware (although782782 returning ``EINVAL`` would do as well), or disable predefined and private