mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
[media] v4l: doc: Remove row numbers from tables
Shorten the tables by removing row numbers in comments, allowing for later insertion of rows with minimal diffs. All changes have been generated by the following script. import io import re import sys def process_table(fname, data): if fname.endswith('hist-v4l2.rst'): data = re.sub(u'\n{1,2}\t( ?) -( ?) ?', u'\n\t\\1 -\\2', data, flags = re.MULTILINE) data = re.sub(u'\n(\t| )- \.\. row [0-9]+\n\t ?-( ?) ?', u'\\1* -\\2', data, flags = re.MULTILINE) else: data = re.sub(u'\n{1,2} -( ?) ?', u'\n -\\1', data, flags = re.MULTILINE) data = re.sub(u'(\n?)(\n\n - \.\. row 1\n)', u'\n\\2', data, flags = re.MULTILINE) data = re.sub(u'\n - \.\. row [0-9]+\n -( ?) ?', u' * -\\1', data, flags = re.MULTILINE) data = re.sub(u'\n - \.\. row [0-9]+\n \.\. (_[A-Z0-9_`-]*:)', u'\n - .. \\1', data, flags = re.MULTILINE) data = re.sub(u'\n - \.\. (_[A-Z0-9_`-]*:)\n -', u' * .. \\1\n\n -', data, flags = re.MULTILINE) data = re.sub(u'^ - ', u' -', data, flags = re.MULTILINE) data = re.sub(u'^(\t{1,2}) ', u'\\1', data, flags = re.MULTILINE) return data def process_file(fname, data): buf = io.StringIO(data) output = '' in_table = False table_separator = 0 for line in buf.readlines(): if line.find('.. flat-table::') != -1: in_table = True table = '' elif in_table and not re.match('^[\t\n]|( )', line): in_table = False output += process_table(fname, table) if in_table: table += line else: output += line if in_table: in_table = False output += process_table(fname, table) return output fname = sys.argv[1] data = file(fname, 'rb').read().decode('utf-8') data = process_file(fname, data) file(fname, 'wb').write(data.encode('utf-8')) Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
c19584882a
commit
c2b66cafdf
@ -48,13 +48,8 @@ struct v4l2_buffer
|
||||
:stub-columns: 0
|
||||
:widths: 1 2 1 10
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
-
|
||||
- Number of the buffer, set by the application except when calling
|
||||
:ref:`VIDIOC_DQBUF <VIDIOC_QBUF>`, then it is set by the
|
||||
@ -63,25 +58,15 @@ struct v4l2_buffer
|
||||
(struct :c:type:`v4l2_requestbuffers`
|
||||
``count``), plus any buffers allocated with
|
||||
:ref:`VIDIOC_CREATE_BUFS` minus one.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
-
|
||||
- Type of the buffer, same as struct
|
||||
:c:type:`v4l2_format` ``type`` or struct
|
||||
:c:type:`v4l2_requestbuffers` ``type``, set
|
||||
by the application. See :c:type:`v4l2_buf_type`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``bytesused``
|
||||
|
||||
-
|
||||
- The number of bytes occupied by the data in the buffer. It depends
|
||||
on the negotiated data format and may change with each buffer for
|
||||
@ -92,34 +77,19 @@ struct v4l2_buffer
|
||||
size of the buffer (see the ``length`` field of this struct) by
|
||||
the driver. For multiplanar formats this field is ignored and the
|
||||
``planes`` pointer is used instead.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
-
|
||||
- Flags set by the application or driver, see :ref:`buffer-flags`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``field``
|
||||
|
||||
-
|
||||
- Indicates the field order of the image in the buffer, see
|
||||
:c:type:`v4l2_field`. This field is not used when the buffer
|
||||
contains VBI data. Drivers must set it when ``type`` refers to a
|
||||
capture stream, applications when it refers to an output stream.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- struct timeval
|
||||
|
||||
* - struct timeval
|
||||
- ``timestamp``
|
||||
|
||||
-
|
||||
- For capture streams this is time when the first data byte was
|
||||
captured, as returned by the :c:func:`clock_gettime()` function
|
||||
@ -131,13 +101,8 @@ struct v4l2_buffer
|
||||
use ``V4L2_BUF_FLAG_TIMESTAMP_COPY`` the application has to fill
|
||||
in the timestamp which will be copied by the driver to the capture
|
||||
stream.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- struct :c:type:`v4l2_timecode`
|
||||
|
||||
* - struct :c:type:`v4l2_timecode`
|
||||
- ``timecode``
|
||||
|
||||
-
|
||||
- When ``type`` is ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` and the
|
||||
``V4L2_BUF_FLAG_TIMECODE`` flag is set in ``flags``, this
|
||||
@ -147,20 +112,12 @@ struct v4l2_buffer
|
||||
help video editing and are typically recorded on video tapes, but
|
||||
also embedded in compressed formats like MPEG. This field is
|
||||
independent of the ``timestamp`` and ``sequence`` fields.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``sequence``
|
||||
|
||||
-
|
||||
- Set by the driver, counting the frames (not fields!) in sequence.
|
||||
This field is set for both input and output devices.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- :cspan:`3`
|
||||
* - :cspan:`3`
|
||||
|
||||
In :c:type:`V4L2_FIELD_ALTERNATE <v4l2_field>` mode the top and
|
||||
bottom field have the same sequence number. The count starts at
|
||||
@ -178,78 +135,44 @@ struct v4l2_buffer
|
||||
identify by not enumerating any video standards, see
|
||||
:ref:`standard`.
|
||||
|
||||
|
||||
- .. row 10
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``memory``
|
||||
|
||||
-
|
||||
- This field must be set by applications and/or drivers in
|
||||
accordance with the selected I/O method. See :c:type:`v4l2_memory`
|
||||
|
||||
- .. row 11
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
- ``m``
|
||||
|
||||
- .. row 12
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``offset``
|
||||
|
||||
- For the single-planar API and when ``memory`` is
|
||||
``V4L2_MEMORY_MMAP`` this is the offset of the buffer from the
|
||||
start of the device memory. The value is returned by the driver
|
||||
and apart of serving as parameter to the
|
||||
:ref:`mmap() <func-mmap>` function not useful for applications.
|
||||
See :ref:`mmap` for details
|
||||
|
||||
- .. row 13
|
||||
|
||||
-
|
||||
* -
|
||||
- unsigned long
|
||||
|
||||
- ``userptr``
|
||||
|
||||
- For the single-planar API and when ``memory`` is
|
||||
``V4L2_MEMORY_USERPTR`` this is a pointer to the buffer (casted to
|
||||
unsigned long type) in virtual memory, set by the application. See
|
||||
:ref:`userp` for details.
|
||||
|
||||
- .. row 14
|
||||
|
||||
-
|
||||
* -
|
||||
- struct v4l2_plane
|
||||
|
||||
- ``*planes``
|
||||
|
||||
- When using the multi-planar API, contains a userspace pointer to
|
||||
an array of struct :c:type:`v4l2_plane`. The size of
|
||||
the array should be put in the ``length`` field of this
|
||||
struct :c:type:`v4l2_buffer` structure.
|
||||
|
||||
- .. row 15
|
||||
|
||||
-
|
||||
* -
|
||||
- int
|
||||
|
||||
- ``fd``
|
||||
|
||||
- For the single-plane API and when ``memory`` is
|
||||
``V4L2_MEMORY_DMABUF`` this is the file descriptor associated with
|
||||
a DMABUF buffer.
|
||||
|
||||
- .. row 16
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``length``
|
||||
|
||||
-
|
||||
- Size of the buffer (not the payload) in bytes for the
|
||||
single-planar API. This is set by the driver based on the calls to
|
||||
@ -258,23 +181,13 @@ struct v4l2_buffer
|
||||
multi-planar API the application sets this to the number of
|
||||
elements in the ``planes`` array. The driver will fill in the
|
||||
actual number of valid elements in that array.
|
||||
|
||||
- .. row 17
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved2``
|
||||
|
||||
-
|
||||
- A place holder for future extensions. Drivers and applications
|
||||
must set this to 0.
|
||||
|
||||
- .. row 18
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``
|
||||
|
||||
-
|
||||
- A place holder for future extensions. Drivers and applications
|
||||
must set this to 0.
|
||||
@ -295,13 +208,8 @@ struct v4l2_plane
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``bytesused``
|
||||
|
||||
-
|
||||
- The number of bytes occupied by data in the plane (its payload).
|
||||
Drivers must set this field when ``type`` refers to a capture
|
||||
@ -314,71 +222,41 @@ struct v4l2_plane
|
||||
|
||||
Note that the actual image data starts at ``data_offset``
|
||||
which may not be 0.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``length``
|
||||
|
||||
-
|
||||
- Size in bytes of the plane (not its payload). This is set by the
|
||||
driver based on the calls to
|
||||
:ref:`VIDIOC_REQBUFS` and/or
|
||||
:ref:`VIDIOC_CREATE_BUFS`.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
- ``m``
|
||||
|
||||
-
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``mem_offset``
|
||||
|
||||
- When the memory type in the containing struct
|
||||
:c:type:`v4l2_buffer` is ``V4L2_MEMORY_MMAP``, this
|
||||
is the value that should be passed to :ref:`mmap() <func-mmap>`,
|
||||
similar to the ``offset`` field in struct
|
||||
:c:type:`v4l2_buffer`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
* -
|
||||
- unsigned long
|
||||
|
||||
- ``userptr``
|
||||
|
||||
- When the memory type in the containing struct
|
||||
:c:type:`v4l2_buffer` is ``V4L2_MEMORY_USERPTR``,
|
||||
this is a userspace pointer to the memory allocated for this plane
|
||||
by an application.
|
||||
|
||||
- .. row 6
|
||||
|
||||
-
|
||||
* -
|
||||
- int
|
||||
|
||||
- ``fd``
|
||||
|
||||
- When the memory type in the containing struct
|
||||
:c:type:`v4l2_buffer` is ``V4L2_MEMORY_DMABUF``,
|
||||
this is a file descriptor associated with a DMABUF buffer, similar
|
||||
to the ``fd`` field in struct :c:type:`v4l2_buffer`.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``data_offset``
|
||||
|
||||
-
|
||||
- Offset in bytes to video data in the plane. Drivers must set this
|
||||
field when ``type`` refers to a capture stream, applications when
|
||||
@ -389,13 +267,8 @@ struct v4l2_plane
|
||||
That data_offset is included in ``bytesused``. So the
|
||||
size of the image in the plane is ``bytesused``-``data_offset``
|
||||
at offset ``data_offset`` from the start of the plane.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved[11]``
|
||||
|
||||
-
|
||||
- Reserved for future use. Should be zeroed by drivers and
|
||||
applications.
|
||||
@ -416,105 +289,45 @@ enum v4l2_buf_type
|
||||
:stub-columns: 0
|
||||
:widths: 4 1 9
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_BUF_TYPE_VIDEO_CAPTURE``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_VIDEO_CAPTURE``
|
||||
- 1
|
||||
|
||||
- Buffer of a single-planar video capture stream, see
|
||||
:ref:`capture`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE``
|
||||
- 9
|
||||
|
||||
- Buffer of a multi-planar video capture stream, see
|
||||
:ref:`capture`.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_BUF_TYPE_VIDEO_OUTPUT``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_VIDEO_OUTPUT``
|
||||
- 2
|
||||
|
||||
- Buffer of a single-planar video output stream, see
|
||||
:ref:`output`.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE``
|
||||
- 10
|
||||
|
||||
- Buffer of a multi-planar video output stream, see :ref:`output`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_BUF_TYPE_VIDEO_OVERLAY``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_VIDEO_OVERLAY``
|
||||
- 3
|
||||
|
||||
- Buffer for video overlay, see :ref:`overlay`.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_BUF_TYPE_VBI_CAPTURE``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_VBI_CAPTURE``
|
||||
- 4
|
||||
|
||||
- Buffer of a raw VBI capture stream, see :ref:`raw-vbi`.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_BUF_TYPE_VBI_OUTPUT``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_VBI_OUTPUT``
|
||||
- 5
|
||||
|
||||
- Buffer of a raw VBI output stream, see :ref:`raw-vbi`.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE``
|
||||
- 6
|
||||
|
||||
- Buffer of a sliced VBI capture stream, see :ref:`sliced`.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``
|
||||
- 7
|
||||
|
||||
- Buffer of a sliced VBI output stream, see :ref:`sliced`.
|
||||
|
||||
- .. row 10
|
||||
|
||||
- ``V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY``
|
||||
- 8
|
||||
|
||||
- Buffer for video output overlay (OSD), see :ref:`osd`.
|
||||
|
||||
- .. row 11
|
||||
|
||||
- ``V4L2_BUF_TYPE_SDR_CAPTURE``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_SDR_CAPTURE``
|
||||
- 11
|
||||
|
||||
- Buffer for Software Defined Radio (SDR) capture stream, see
|
||||
:ref:`sdr`.
|
||||
|
||||
- .. row 12
|
||||
|
||||
- ``V4L2_BUF_TYPE_SDR_OUTPUT``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_SDR_OUTPUT``
|
||||
- 12
|
||||
|
||||
- Buffer for Software Defined Radio (SDR) output stream, see
|
||||
:ref:`sdr`.
|
||||
|
||||
@ -534,13 +347,10 @@ Buffer Flags
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-MAPPED`:
|
||||
* .. _`V4L2-BUF-FLAG-MAPPED`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_MAPPED``
|
||||
|
||||
- 0x00000001
|
||||
|
||||
- The buffer resides in device memory and has been mapped into the
|
||||
application's address space, see :ref:`mmap` for details.
|
||||
Drivers set or clear this flag when the
|
||||
@ -548,13 +358,10 @@ Buffer Flags
|
||||
:ref:`VIDIOC_QBUF` or
|
||||
:ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl is called. Set by the
|
||||
driver.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-QUEUED`:
|
||||
* .. _`V4L2-BUF-FLAG-QUEUED`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_QUEUED``
|
||||
|
||||
- 0x00000002
|
||||
|
||||
- Internally drivers maintain two buffer queues, an incoming and
|
||||
outgoing queue. When this flag is set, the buffer is currently on
|
||||
the incoming queue. It automatically moves to the outgoing queue
|
||||
@ -563,13 +370,10 @@ Buffer Flags
|
||||
``VIDIOC_QUERYBUF`` ioctl is called. After (successful) calling
|
||||
the ``VIDIOC_QBUF``\ ioctl it is always set and after
|
||||
``VIDIOC_DQBUF`` always cleared.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-DONE`:
|
||||
* .. _`V4L2-BUF-FLAG-DONE`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_DONE``
|
||||
|
||||
- 0x00000004
|
||||
|
||||
- When this flag is set, the buffer is currently on the outgoing
|
||||
queue, ready to be dequeued from the driver. Drivers set or clear
|
||||
this flag when the ``VIDIOC_QUERYBUF`` ioctl is called. After
|
||||
@ -579,108 +383,81 @@ Buffer Flags
|
||||
are mutually exclusive. They can be both cleared however, then the
|
||||
buffer is in "dequeued" state, in the application domain so to
|
||||
say.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-ERROR`:
|
||||
* .. _`V4L2-BUF-FLAG-ERROR`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_ERROR``
|
||||
|
||||
- 0x00000040
|
||||
|
||||
- When this flag is set, the buffer has been dequeued successfully,
|
||||
although the data might have been corrupted. This is recoverable,
|
||||
streaming may continue as normal and the buffer may be reused
|
||||
normally. Drivers set this flag when the ``VIDIOC_DQBUF`` ioctl is
|
||||
called.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-KEYFRAME`:
|
||||
* .. _`V4L2-BUF-FLAG-KEYFRAME`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_KEYFRAME``
|
||||
|
||||
- 0x00000008
|
||||
|
||||
- Drivers set or clear this flag when calling the ``VIDIOC_DQBUF``
|
||||
ioctl. It may be set by video capture devices when the buffer
|
||||
contains a compressed image which is a key frame (or field), i. e.
|
||||
can be decompressed on its own. Also known as an I-frame.
|
||||
Applications can set this bit when ``type`` refers to an output
|
||||
stream.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-PFRAME`:
|
||||
* .. _`V4L2-BUF-FLAG-PFRAME`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_PFRAME``
|
||||
|
||||
- 0x00000010
|
||||
|
||||
- Similar to ``V4L2_BUF_FLAG_KEYFRAME`` this flags predicted frames
|
||||
or fields which contain only differences to a previous key frame.
|
||||
Applications can set this bit when ``type`` refers to an output
|
||||
stream.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-BFRAME`:
|
||||
* .. _`V4L2-BUF-FLAG-BFRAME`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_BFRAME``
|
||||
|
||||
- 0x00000020
|
||||
|
||||
- Similar to ``V4L2_BUF_FLAG_KEYFRAME`` this flags a bi-directional
|
||||
predicted frame or field which contains only the differences
|
||||
between the current frame and both the preceding and following key
|
||||
frames to specify its content. Applications can set this bit when
|
||||
``type`` refers to an output stream.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-TIMECODE`:
|
||||
* .. _`V4L2-BUF-FLAG-TIMECODE`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_TIMECODE``
|
||||
|
||||
- 0x00000100
|
||||
|
||||
- The ``timecode`` field is valid. Drivers set or clear this flag
|
||||
when the ``VIDIOC_DQBUF`` ioctl is called. Applications can set
|
||||
this bit and the corresponding ``timecode`` structure when
|
||||
``type`` refers to an output stream.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-PREPARED`:
|
||||
* .. _`V4L2-BUF-FLAG-PREPARED`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_PREPARED``
|
||||
|
||||
- 0x00000400
|
||||
|
||||
- The buffer has been prepared for I/O and can be queued by the
|
||||
application. Drivers set or clear this flag when the
|
||||
:ref:`VIDIOC_QUERYBUF`,
|
||||
:ref:`VIDIOC_PREPARE_BUF <VIDIOC_QBUF>`,
|
||||
:ref:`VIDIOC_QBUF` or
|
||||
:ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl is called.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-NO-CACHE-INVALIDATE`:
|
||||
* .. _`V4L2-BUF-FLAG-NO-CACHE-INVALIDATE`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_NO_CACHE_INVALIDATE``
|
||||
|
||||
- 0x00000800
|
||||
|
||||
- Caches do not have to be invalidated for this buffer. Typically
|
||||
applications shall use this flag if the data captured in the
|
||||
buffer is not going to be touched by the CPU, instead the buffer
|
||||
will, probably, be passed on to a DMA-capable hardware unit for
|
||||
further processing or output.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-NO-CACHE-CLEAN`:
|
||||
* .. _`V4L2-BUF-FLAG-NO-CACHE-CLEAN`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_NO_CACHE_CLEAN``
|
||||
|
||||
- 0x00001000
|
||||
|
||||
- Caches do not have to be cleaned for this buffer. Typically
|
||||
applications shall use this flag for output buffers if the data in
|
||||
this buffer has not been created by the CPU but by some
|
||||
DMA-capable unit, in which case caches have not been used.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-LAST`:
|
||||
* .. _`V4L2-BUF-FLAG-LAST`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_LAST``
|
||||
|
||||
- 0x00100000
|
||||
|
||||
- Last buffer produced by the hardware. mem2mem codec drivers set
|
||||
this flag on the capture queue for the last buffer when the
|
||||
:ref:`VIDIOC_QUERYBUF` or
|
||||
@ -690,23 +467,17 @@ Buffer Flags
|
||||
the format. Any Any subsequent call to the
|
||||
:ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will not block anymore,
|
||||
but return an ``EPIPE`` error code.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-TIMESTAMP-MASK`:
|
||||
* .. _`V4L2-BUF-FLAG-TIMESTAMP-MASK`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_TIMESTAMP_MASK``
|
||||
|
||||
- 0x0000e000
|
||||
|
||||
- Mask for timestamp types below. To test the timestamp type, mask
|
||||
out bits not belonging to timestamp type by performing a logical
|
||||
and operation with buffer flags and timestamp mask.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-TIMESTAMP-UNKNOWN`:
|
||||
* .. _`V4L2-BUF-FLAG-TIMESTAMP-UNKNOWN`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_TIMESTAMP_UNKNOWN``
|
||||
|
||||
- 0x00000000
|
||||
|
||||
- Unknown timestamp type. This type is used by drivers before Linux
|
||||
3.9 and may be either monotonic (see below) or realtime (wall
|
||||
clock). Monotonic clock has been favoured in embedded systems
|
||||
@ -714,32 +485,23 @@ Buffer Flags
|
||||
of timestamps are available in user space via
|
||||
:c:func:`clock_gettime` using clock IDs ``CLOCK_MONOTONIC``
|
||||
and ``CLOCK_REALTIME``, respectively.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-TIMESTAMP-MONOTONIC`:
|
||||
* .. _`V4L2-BUF-FLAG-TIMESTAMP-MONOTONIC`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC``
|
||||
|
||||
- 0x00002000
|
||||
|
||||
- The buffer timestamp has been taken from the ``CLOCK_MONOTONIC``
|
||||
clock. To access the same clock outside V4L2, use
|
||||
:c:func:`clock_gettime`.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-TIMESTAMP-COPY`:
|
||||
* .. _`V4L2-BUF-FLAG-TIMESTAMP-COPY`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_TIMESTAMP_COPY``
|
||||
|
||||
- 0x00004000
|
||||
|
||||
- The CAPTURE buffer timestamp has been taken from the corresponding
|
||||
OUTPUT buffer. This flag applies only to mem2mem devices.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-TSTAMP-SRC-MASK`:
|
||||
* .. _`V4L2-BUF-FLAG-TSTAMP-SRC-MASK`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_TSTAMP_SRC_MASK``
|
||||
|
||||
- 0x00070000
|
||||
|
||||
- Mask for timestamp sources below. The timestamp source defines the
|
||||
point of time the timestamp is taken in relation to the frame.
|
||||
Logical 'and' operation between the ``flags`` field and
|
||||
@ -747,26 +509,20 @@ Buffer Flags
|
||||
timestamp source. Applications must set the timestamp source when
|
||||
``type`` refers to an output stream and
|
||||
``V4L2_BUF_FLAG_TIMESTAMP_COPY`` is set.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-TSTAMP-SRC-EOF`:
|
||||
* .. _`V4L2-BUF-FLAG-TSTAMP-SRC-EOF`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_TSTAMP_SRC_EOF``
|
||||
|
||||
- 0x00000000
|
||||
|
||||
- End Of Frame. The buffer timestamp has been taken when the last
|
||||
pixel of the frame has been received or the last pixel of the
|
||||
frame has been transmitted. In practice, software generated
|
||||
timestamps will typically be read from the clock a small amount of
|
||||
time after the last pixel has been received or transmitten,
|
||||
depending on the system and other activity in it.
|
||||
|
||||
- .. _`V4L2-BUF-FLAG-TSTAMP-SRC-SOE`:
|
||||
* .. _`V4L2-BUF-FLAG-TSTAMP-SRC-SOE`:
|
||||
|
||||
- ``V4L2_BUF_FLAG_TSTAMP_SRC_SOE``
|
||||
|
||||
- 0x00010000
|
||||
|
||||
- Start Of Exposure. The buffer timestamp has been taken when the
|
||||
exposure of the frame has begun. This is only valid for the
|
||||
``V4L2_BUF_TYPE_VIDEO_CAPTURE`` buffer type.
|
||||
@ -785,37 +541,17 @@ enum v4l2_memory
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_MEMORY_MMAP``
|
||||
|
||||
* - ``V4L2_MEMORY_MMAP``
|
||||
- 1
|
||||
|
||||
- The buffer is used for :ref:`memory mapping <mmap>` I/O.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_MEMORY_USERPTR``
|
||||
|
||||
* - ``V4L2_MEMORY_USERPTR``
|
||||
- 2
|
||||
|
||||
- The buffer is used for :ref:`user pointer <userp>` I/O.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_MEMORY_OVERLAY``
|
||||
|
||||
* - ``V4L2_MEMORY_OVERLAY``
|
||||
- 3
|
||||
|
||||
- [to do]
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_MEMORY_DMABUF``
|
||||
|
||||
* - ``V4L2_MEMORY_DMABUF``
|
||||
- 4
|
||||
|
||||
- The buffer is used for :ref:`DMA shared buffer <dmabuf>` I/O.
|
||||
|
||||
|
||||
@ -841,62 +577,27 @@ struct v4l2_timecode
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
- Frame rate the timecodes are based on, see :ref:`timecode-type`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
- Timecode flags, see :ref:`timecode-flags`.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``frames``
|
||||
|
||||
- Frame count, 0 ... 23/24/29/49/59, depending on the type of
|
||||
timecode.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``seconds``
|
||||
|
||||
- Seconds count, 0 ... 59. This is a binary, not BCD number.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``minutes``
|
||||
|
||||
- Minutes count, 0 ... 59. This is a binary, not BCD number.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``hours``
|
||||
|
||||
- Hours count, 0 ... 29. This is a binary, not BCD number.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``userbits``\ [4]
|
||||
|
||||
- The "user group" bits from the timecode.
|
||||
|
||||
|
||||
@ -913,45 +614,20 @@ Timecode Types
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_TC_TYPE_24FPS``
|
||||
|
||||
* - ``V4L2_TC_TYPE_24FPS``
|
||||
- 1
|
||||
|
||||
- 24 frames per second, i. e. film.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_TC_TYPE_25FPS``
|
||||
|
||||
* - ``V4L2_TC_TYPE_25FPS``
|
||||
- 2
|
||||
|
||||
- 25 frames per second, i. e. PAL or SECAM video.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_TC_TYPE_30FPS``
|
||||
|
||||
* - ``V4L2_TC_TYPE_30FPS``
|
||||
- 3
|
||||
|
||||
- 30 frames per second, i. e. NTSC video.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_TC_TYPE_50FPS``
|
||||
|
||||
* - ``V4L2_TC_TYPE_50FPS``
|
||||
- 4
|
||||
|
||||
-
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_TC_TYPE_60FPS``
|
||||
|
||||
* - ``V4L2_TC_TYPE_60FPS``
|
||||
- 5
|
||||
|
||||
-
|
||||
|
||||
|
||||
@ -968,46 +644,21 @@ Timecode Flags
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_TC_FLAG_DROPFRAME``
|
||||
|
||||
* - ``V4L2_TC_FLAG_DROPFRAME``
|
||||
- 0x0001
|
||||
|
||||
- Indicates "drop frame" semantics for counting frames in 29.97 fps
|
||||
material. When set, frame numbers 0 and 1 at the start of each
|
||||
minute, except minutes 0, 10, 20, 30, 40, 50 are omitted from the
|
||||
count.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_TC_FLAG_COLORFRAME``
|
||||
|
||||
* - ``V4L2_TC_FLAG_COLORFRAME``
|
||||
- 0x0002
|
||||
|
||||
- The "color frame" flag.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_TC_USERBITS_field``
|
||||
|
||||
* - ``V4L2_TC_USERBITS_field``
|
||||
- 0x000C
|
||||
|
||||
- Field mask for the "binary group flags".
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_TC_USERBITS_USERDEFINED``
|
||||
|
||||
* - ``V4L2_TC_USERBITS_USERDEFINED``
|
||||
- 0x0000
|
||||
|
||||
- Unspecified format.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_TC_USERBITS_8BITCHARS``
|
||||
|
||||
* - ``V4L2_TC_USERBITS_8BITCHARS``
|
||||
- 0x0008
|
||||
|
||||
- 8-bit ISO characters.
|
||||
|
@ -198,102 +198,39 @@ Control IDs
|
||||
:stub-columns: 0
|
||||
:widths: 11 24
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_COLORFX_NONE``
|
||||
|
||||
* - ``V4L2_COLORFX_NONE``
|
||||
- Color effect is disabled.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_COLORFX_ANTIQUE``
|
||||
|
||||
* - ``V4L2_COLORFX_ANTIQUE``
|
||||
- An aging (old photo) effect.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_COLORFX_ART_FREEZE``
|
||||
|
||||
* - ``V4L2_COLORFX_ART_FREEZE``
|
||||
- Frost color effect.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_COLORFX_AQUA``
|
||||
|
||||
* - ``V4L2_COLORFX_AQUA``
|
||||
- Water color, cool tone.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_COLORFX_BW``
|
||||
|
||||
* - ``V4L2_COLORFX_BW``
|
||||
- Black and white.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_COLORFX_EMBOSS``
|
||||
|
||||
* - ``V4L2_COLORFX_EMBOSS``
|
||||
- Emboss, the highlights and shadows replace light/dark boundaries
|
||||
and low contrast areas are set to a gray background.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_COLORFX_GRASS_GREEN``
|
||||
|
||||
* - ``V4L2_COLORFX_GRASS_GREEN``
|
||||
- Grass green.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_COLORFX_NEGATIVE``
|
||||
|
||||
* - ``V4L2_COLORFX_NEGATIVE``
|
||||
- Negative.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- ``V4L2_COLORFX_SEPIA``
|
||||
|
||||
* - ``V4L2_COLORFX_SEPIA``
|
||||
- Sepia tone.
|
||||
|
||||
- .. row 10
|
||||
|
||||
- ``V4L2_COLORFX_SKETCH``
|
||||
|
||||
* - ``V4L2_COLORFX_SKETCH``
|
||||
- Sketch.
|
||||
|
||||
- .. row 11
|
||||
|
||||
- ``V4L2_COLORFX_SKIN_WHITEN``
|
||||
|
||||
* - ``V4L2_COLORFX_SKIN_WHITEN``
|
||||
- Skin whiten.
|
||||
|
||||
- .. row 12
|
||||
|
||||
- ``V4L2_COLORFX_SKY_BLUE``
|
||||
|
||||
* - ``V4L2_COLORFX_SKY_BLUE``
|
||||
- Sky blue.
|
||||
|
||||
- .. row 13
|
||||
|
||||
- ``V4L2_COLORFX_SOLARIZATION``
|
||||
|
||||
* - ``V4L2_COLORFX_SOLARIZATION``
|
||||
- Solarization, the image is partially reversed in tone, only color
|
||||
values above or below a certain threshold are inverted.
|
||||
|
||||
- .. row 14
|
||||
|
||||
- ``V4L2_COLORFX_SILHOUETTE``
|
||||
|
||||
* - ``V4L2_COLORFX_SILHOUETTE``
|
||||
- Silhouette (outline).
|
||||
|
||||
- .. row 15
|
||||
|
||||
- ``V4L2_COLORFX_VIVID``
|
||||
|
||||
* - ``V4L2_COLORFX_VIVID``
|
||||
- Vivid colors.
|
||||
|
||||
- .. row 16
|
||||
|
||||
- ``V4L2_COLORFX_SET_CBCR``
|
||||
|
||||
* - ``V4L2_COLORFX_SET_CBCR``
|
||||
- The Cb and Cr chroma components are replaced by fixed coefficients
|
||||
determined by ``V4L2_CID_COLORFX_CBCR`` control.
|
||||
|
||||
|
@ -110,41 +110,21 @@ and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``sampling_rate``
|
||||
|
||||
- Samples per second, i. e. unit 1 Hz.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``offset``
|
||||
|
||||
- Horizontal offset of the VBI image, relative to the leading edge
|
||||
of the line synchronization pulse and counted in samples: The
|
||||
first sample in the VBI image will be located ``offset`` /
|
||||
``sampling_rate`` seconds following the leading edge. See also
|
||||
:ref:`vbi-hsync`.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``samples_per_line``
|
||||
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``sample_format``
|
||||
|
||||
- Defines the sample format as in :ref:`pixfmt`, a
|
||||
four-character-code. [#f2]_ Usually this is ``V4L2_PIX_FMT_GREY``,
|
||||
i. e. each sample consists of 8 bits with lower values oriented
|
||||
@ -153,13 +133,8 @@ and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does
|
||||
necessarily indicate if the signal is 'high' or 'low' because 128
|
||||
may not be the mean value of the signal. Drivers shall not convert
|
||||
the sample format by software.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``start``\ [#f2]_
|
||||
|
||||
- This is the scanning system line number associated with the first
|
||||
line of the VBI image, of the first and the second field
|
||||
respectively. See :ref:`vbi-525` and :ref:`vbi-625` for valid
|
||||
@ -171,19 +146,11 @@ and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does
|
||||
drivers can return start values 0 if the hardware cannot reliable
|
||||
identify scanning lines, VBI acquisition may not require this
|
||||
information.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``count``\ [#f2]_
|
||||
|
||||
- The number of lines in the first and second field image,
|
||||
respectively.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- :cspan:`2`
|
||||
* - :cspan:`2`
|
||||
|
||||
Drivers should be as flexibility as possible. For example, it may
|
||||
be possible to extend or move the VBI capture window down to the
|
||||
@ -206,22 +173,12 @@ and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does
|
||||
:ref:`v4l2_std_id <v4l2-std-id>` or the ``framelines`` field
|
||||
of struct :c:type:`v4l2_standard` can be evaluated
|
||||
for this purpose.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
- See :ref:`vbifmt-flags` below. Currently only drivers set flags,
|
||||
applications must set this field to zero.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [#f2]_
|
||||
|
||||
- This array is reserved for future extensions. Drivers and
|
||||
applications must set it to zero.
|
||||
|
||||
@ -235,13 +192,8 @@ and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_VBI_UNSYNC``
|
||||
|
||||
* - ``V4L2_VBI_UNSYNC``
|
||||
- 0x0001
|
||||
|
||||
- This flag indicates hardware which does not properly distinguish
|
||||
between fields. Normally the VBI image stores the first field
|
||||
(lower scanning line numbers) first in memory. This may be a top
|
||||
@ -249,13 +201,8 @@ and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does
|
||||
set the first or second field may be stored first, however the
|
||||
fields are still in correct temporal order with the older field
|
||||
first in memory. [#f3]_
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_VBI_INTERLACED``
|
||||
|
||||
* - ``V4L2_VBI_INTERLACED``
|
||||
- 0x0002
|
||||
|
||||
- By default the two field images will be passed sequentially; all
|
||||
lines of the first field followed by all lines of the second field
|
||||
(compare :ref:`field-order` ``V4L2_FIELD_SEQ_TB`` and
|
||||
|
@ -102,29 +102,14 @@ RDS datastructures
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 5
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``lsb``
|
||||
|
||||
- Least Significant Byte of RDS Block
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``msb``
|
||||
|
||||
- Most Significant Byte of RDS Block
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``block``
|
||||
|
||||
- Block description
|
||||
|
||||
|
||||
@ -138,31 +123,15 @@ RDS datastructures
|
||||
:stub-columns: 0
|
||||
:widths: 1 5
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Bits 0-2
|
||||
|
||||
* - Bits 0-2
|
||||
- Block (aka offset) of the received data.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Bits 3-5
|
||||
|
||||
* - Bits 3-5
|
||||
- Deprecated. Currently identical to bits 0-2. Do not use these
|
||||
bits.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Bit 6
|
||||
|
||||
* - Bit 6
|
||||
- Corrected bit. Indicates that an error was corrected for this data
|
||||
block.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Bit 7
|
||||
|
||||
* - Bit 7
|
||||
- Error bit. Indicates that an uncorrectable error occurred during
|
||||
reception of this block.
|
||||
|
||||
@ -177,87 +146,39 @@ RDS datastructures
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 1 5
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- V4L2_RDS_BLOCK_MSK
|
||||
|
||||
* - V4L2_RDS_BLOCK_MSK
|
||||
-
|
||||
- 7
|
||||
|
||||
- Mask for bits 0-2 to get the block ID.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- V4L2_RDS_BLOCK_A
|
||||
|
||||
* - V4L2_RDS_BLOCK_A
|
||||
-
|
||||
- 0
|
||||
|
||||
- Block A.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- V4L2_RDS_BLOCK_B
|
||||
|
||||
* - V4L2_RDS_BLOCK_B
|
||||
-
|
||||
- 1
|
||||
|
||||
- Block B.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- V4L2_RDS_BLOCK_C
|
||||
|
||||
* - V4L2_RDS_BLOCK_C
|
||||
-
|
||||
- 2
|
||||
|
||||
- Block C.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- V4L2_RDS_BLOCK_D
|
||||
|
||||
* - V4L2_RDS_BLOCK_D
|
||||
-
|
||||
- 3
|
||||
|
||||
- Block D.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- V4L2_RDS_BLOCK_C_ALT
|
||||
|
||||
* - V4L2_RDS_BLOCK_C_ALT
|
||||
-
|
||||
- 4
|
||||
|
||||
- Block C'.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- V4L2_RDS_BLOCK_INVALID
|
||||
|
||||
* - V4L2_RDS_BLOCK_INVALID
|
||||
- read-only
|
||||
|
||||
- 7
|
||||
|
||||
- An invalid block.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- V4L2_RDS_BLOCK_CORRECTED
|
||||
|
||||
* - V4L2_RDS_BLOCK_CORRECTED
|
||||
- read-only
|
||||
|
||||
- 0x40
|
||||
|
||||
- A bit error was detected but corrected.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- V4L2_RDS_BLOCK_ERROR
|
||||
|
||||
* - V4L2_RDS_BLOCK_ERROR
|
||||
- read-only
|
||||
|
||||
- 0x80
|
||||
|
||||
- An uncorrectable error occurred.
|
||||
|
@ -87,33 +87,18 @@ data transfer, set by the driver in order to inform application.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``pixelformat``
|
||||
|
||||
- The data format or type of compression, set by the application.
|
||||
This is a little endian
|
||||
:ref:`four character code <v4l2-fourcc>`. V4L2 defines SDR
|
||||
formats in :ref:`sdr-formats`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``buffersize``
|
||||
|
||||
- Maximum size in bytes required for data. Value is set by the
|
||||
driver.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``reserved[24]``
|
||||
|
||||
- This array is reserved for future extensions. Drivers and
|
||||
applications must set it to zero.
|
||||
|
||||
|
@ -114,13 +114,8 @@ struct v4l2_sliced_vbi_format
|
||||
:stub-columns: 0
|
||||
:widths: 3 3 2 2 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``service_set``
|
||||
|
||||
- :cspan:`2`
|
||||
|
||||
If ``service_set`` is non-zero when passed with
|
||||
@ -139,13 +134,8 @@ struct v4l2_sliced_vbi_format
|
||||
services than requested, perhaps just one, if the hardware cannot
|
||||
handle more services simultaneously. It may be empty (zero) if
|
||||
none of the requested services are supported by the hardware.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u16
|
||||
|
||||
* - __u16
|
||||
- ``service_lines``\ [2][24]
|
||||
|
||||
- :cspan:`2`
|
||||
|
||||
Applications initialize this array with sets of data services the
|
||||
@ -158,60 +148,32 @@ struct v4l2_sliced_vbi_format
|
||||
|
||||
Data services are defined in :ref:`vbi-services2`. Array indices
|
||||
map to ITU-R line numbers\ [#f2]_ as follows:
|
||||
|
||||
- .. row 3
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- Element
|
||||
|
||||
- 525 line systems
|
||||
|
||||
- 625 line systems
|
||||
|
||||
- .. row 4
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- ``service_lines``\ [0][1]
|
||||
|
||||
- 1
|
||||
|
||||
- 1
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- ``service_lines``\ [0][23]
|
||||
|
||||
- 23
|
||||
|
||||
- 23
|
||||
|
||||
- .. row 6
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- ``service_lines``\ [1][1]
|
||||
|
||||
- 264
|
||||
|
||||
- 314
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- ``service_lines``\ [1][23]
|
||||
|
||||
- 286
|
||||
|
||||
- 336
|
||||
|
||||
- .. row 8
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- :cspan:`2` Drivers must set ``service_lines`` [0][0] and
|
||||
``service_lines``\ [1][0] to zero. The
|
||||
@ -220,13 +182,8 @@ struct v4l2_sliced_vbi_format
|
||||
defines give the start line numbers for each field for each 525 or
|
||||
625 line format as a convenience. Don't forget that ITU line
|
||||
numbering starts at 1, not 0.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``io_size``
|
||||
|
||||
- :cspan:`2` Maximum number of bytes passed by one
|
||||
:ref:`read() <func-read>` or :ref:`write() <func-write>` call,
|
||||
and the buffer size in bytes for the
|
||||
@ -236,13 +193,8 @@ struct v4l2_sliced_vbi_format
|
||||
:c:type:`v4l2_sliced_vbi_data` times the
|
||||
number of non-zero elements in the returned ``service_lines``
|
||||
array (that is the number of lines potentially carrying data).
|
||||
|
||||
- .. row 10
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [2]
|
||||
|
||||
- :cspan:`2` This array is reserved for future extensions.
|
||||
|
||||
Applications and drivers must set it to zero.
|
||||
@ -264,72 +216,37 @@ Sliced VBI services
|
||||
:stub-columns: 0
|
||||
:widths: 2 1 1 2 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Symbol
|
||||
|
||||
* - Symbol
|
||||
- Value
|
||||
|
||||
- Reference
|
||||
|
||||
- Lines, usually
|
||||
|
||||
- Payload
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_SLICED_TELETEXT_B`` (Teletext System B)
|
||||
|
||||
* - ``V4L2_SLICED_TELETEXT_B`` (Teletext System B)
|
||||
- 0x0001
|
||||
|
||||
- :ref:`ets300706`,
|
||||
|
||||
:ref:`itu653`
|
||||
|
||||
- PAL/SECAM line 7-22, 320-335 (second field 7-22)
|
||||
|
||||
- Last 42 of the 45 byte Teletext packet, that is without clock
|
||||
run-in and framing code, lsb first transmitted.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_SLICED_VPS``
|
||||
|
||||
* - ``V4L2_SLICED_VPS``
|
||||
- 0x0400
|
||||
|
||||
- :ref:`ets300231`
|
||||
|
||||
- PAL line 16
|
||||
|
||||
- Byte number 3 to 15 according to Figure 9 of ETS 300 231, lsb
|
||||
first transmitted.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_SLICED_CAPTION_525``
|
||||
|
||||
* - ``V4L2_SLICED_CAPTION_525``
|
||||
- 0x1000
|
||||
|
||||
- :ref:`cea608`
|
||||
|
||||
- NTSC line 21, 284 (second field 21)
|
||||
|
||||
- Two bytes in transmission order, including parity bit, lsb first
|
||||
transmitted.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_SLICED_WSS_625``
|
||||
|
||||
* - ``V4L2_SLICED_WSS_625``
|
||||
- 0x4000
|
||||
|
||||
- :ref:`itu1119`,
|
||||
|
||||
:ref:`en300294`
|
||||
|
||||
- PAL/SECAM line 23
|
||||
|
||||
-
|
||||
|
||||
::
|
||||
@ -337,21 +254,11 @@ Sliced VBI services
|
||||
Byte 0 1
|
||||
msb lsb msb lsb
|
||||
Bit 7 6 5 4 3 2 1 0 x x 13 12 11 10 9
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_SLICED_VBI_525``
|
||||
|
||||
* - ``V4L2_SLICED_VBI_525``
|
||||
- 0x1000
|
||||
|
||||
- :cspan:`2` Set of services applicable to 525 line systems.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_SLICED_VBI_625``
|
||||
|
||||
* - ``V4L2_SLICED_VBI_625``
|
||||
- 0x4401
|
||||
|
||||
- :cspan:`2` Set of services applicable to 625 line systems.
|
||||
|
||||
.. raw:: latex
|
||||
@ -395,13 +302,8 @@ struct v4l2_sliced_vbi_data
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``id``
|
||||
|
||||
- A flag from :ref:`vbi-services` identifying the type of data in
|
||||
this packet. Only a single bit must be set. When the ``id`` of a
|
||||
captured packet is zero, the packet is empty and the contents of
|
||||
@ -409,45 +311,25 @@ struct v4l2_sliced_vbi_data
|
||||
packets. When the ``id`` of a packet for output is zero the
|
||||
contents of the ``data`` field are undefined and the driver must
|
||||
no longer insert data on the requested ``field`` and ``line``.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``field``
|
||||
|
||||
- The video field number this data has been captured from, or shall
|
||||
be inserted at. ``0`` for the first field, ``1`` for the second
|
||||
field.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``line``
|
||||
|
||||
- The field (as opposed to frame) line number this data has been
|
||||
captured from, or shall be inserted at. See :ref:`vbi-525` and
|
||||
:ref:`vbi-625` for valid values. Sliced VBI capture devices can
|
||||
set the line number of all packets to ``0`` if the hardware cannot
|
||||
reliably identify scan lines. The field number must always be
|
||||
valid.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``
|
||||
|
||||
- This field is reserved for future extensions. Applications and
|
||||
drivers must set it to zero.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``data``\ [48]
|
||||
|
||||
- The packet payload. See :ref:`vbi-services` for the contents and
|
||||
number of bytes passed for each data type. The contents of padding
|
||||
bytes at the end of this array are undefined, drivers and
|
||||
@ -582,44 +464,25 @@ struct v4l2_mpeg_vbi_fmt_ivtv
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``magic``\ [4]
|
||||
|
||||
-
|
||||
- A "magic" constant from :ref:`v4l2-mpeg-vbi-fmt-ivtv-magic` that
|
||||
indicates this is a valid sliced VBI data payload and also
|
||||
indicates which member of the anonymous union, ``itv0`` or
|
||||
``ITV0``, to use for the payload data.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
- (anonymous)
|
||||
|
||||
- .. row 3
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_mpeg_vbi_itv0`
|
||||
|
||||
- ``itv0``
|
||||
|
||||
- The primary form of the sliced VBI data payload that contains
|
||||
anywhere from 1 to 35 lines of sliced VBI data. Line masks are
|
||||
provided in this form of the payload indicating which VBI lines
|
||||
are provided.
|
||||
|
||||
- .. row 4
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :ref:`v4l2_mpeg_vbi_ITV0 <v4l2-mpeg-vbi-itv0-1>`
|
||||
|
||||
- ``ITV0``
|
||||
|
||||
- An alternate form of the sliced VBI data payload used when 36
|
||||
lines of sliced VBI data are present. No line masks are provided
|
||||
in this form of the payload; all valid line mask bits are
|
||||
@ -639,31 +502,16 @@ Magic Constants for struct v4l2_mpeg_vbi_fmt_ivtv magic field
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Defined Symbol
|
||||
|
||||
* - Defined Symbol
|
||||
- Value
|
||||
|
||||
- Description
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_MPEG_VBI_IVTV_MAGIC0``
|
||||
|
||||
* - ``V4L2_MPEG_VBI_IVTV_MAGIC0``
|
||||
- "itv0"
|
||||
|
||||
- Indicates the ``itv0`` member of the union in struct
|
||||
:c:type:`v4l2_mpeg_vbi_fmt_ivtv` is
|
||||
valid.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_MPEG_VBI_IVTV_MAGIC1``
|
||||
|
||||
* - ``V4L2_MPEG_VBI_IVTV_MAGIC1``
|
||||
- "ITV0"
|
||||
|
||||
- Indicates the ``ITV0`` member of the union in struct
|
||||
:c:type:`v4l2_mpeg_vbi_fmt_ivtv` is
|
||||
valid and that 36 lines of sliced VBI data are present.
|
||||
@ -684,13 +532,8 @@ structs v4l2_mpeg_vbi_itv0 and v4l2_mpeg_vbi_ITV0
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __le32
|
||||
|
||||
* - __le32
|
||||
- ``linemask``\ [2]
|
||||
|
||||
- Bitmasks indicating the VBI service lines present. These
|
||||
``linemask`` values are stored in little endian byte order in the
|
||||
MPEG stream. Some reference ``linemask`` bit positions with their
|
||||
@ -709,14 +552,9 @@ structs v4l2_mpeg_vbi_itv0 and v4l2_mpeg_vbi_ITV0
|
||||
linemask[1] b0: line 20 second field
|
||||
linemask[1] b3: line 23 second field
|
||||
linemask[1] b4-b31: unused and set to 0
|
||||
|
||||
- .. row 2
|
||||
|
||||
- struct
|
||||
* - struct
|
||||
:c:type:`v4l2_mpeg_vbi_itv0_line`
|
||||
|
||||
- ``line``\ [35]
|
||||
|
||||
- This is a variable length array that holds from 1 to 35 lines of
|
||||
sliced VBI data. The sliced VBI data lines present correspond to
|
||||
the bits set in the ``linemask`` array, starting from b\ :sub:`0`
|
||||
@ -743,14 +581,9 @@ struct v4l2_mpeg_vbi_ITV0
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- struct
|
||||
* - struct
|
||||
:c:type:`v4l2_mpeg_vbi_itv0_line`
|
||||
|
||||
- ``line``\ [36]
|
||||
|
||||
- A fixed length array of 36 lines of sliced VBI data. ``line``\ [0]
|
||||
through ``line``\ [17] correspond to lines 6 through 23 of the
|
||||
first field. ``line``\ [18] through ``line``\ [35] corresponds to
|
||||
@ -770,23 +603,13 @@ struct v4l2_mpeg_vbi_itv0_line
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``id``
|
||||
|
||||
- A line identifier value from
|
||||
:ref:`ITV0-Line-Identifier-Constants` that indicates the type of
|
||||
sliced VBI data stored on this line.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``data``\ [42]
|
||||
|
||||
- The sliced VBI data for the line.
|
||||
|
||||
|
||||
@ -803,48 +626,23 @@ Line Identifiers for struct v4l2_mpeg_vbi_itv0_line id field
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Defined Symbol
|
||||
|
||||
* - Defined Symbol
|
||||
- Value
|
||||
|
||||
- Description
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_MPEG_VBI_IVTV_TELETEXT_B``
|
||||
|
||||
* - ``V4L2_MPEG_VBI_IVTV_TELETEXT_B``
|
||||
- 1
|
||||
|
||||
- Refer to :ref:`Sliced VBI services <vbi-services2>` for a
|
||||
description of the line payload.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_MPEG_VBI_IVTV_CAPTION_525``
|
||||
|
||||
* - ``V4L2_MPEG_VBI_IVTV_CAPTION_525``
|
||||
- 4
|
||||
|
||||
- Refer to :ref:`Sliced VBI services <vbi-services2>` for a
|
||||
description of the line payload.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_MPEG_VBI_IVTV_WSS_625``
|
||||
|
||||
* - ``V4L2_MPEG_VBI_IVTV_WSS_625``
|
||||
- 5
|
||||
|
||||
- Refer to :ref:`Sliced VBI services <vbi-services2>` for a
|
||||
description of the line payload.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_MPEG_VBI_IVTV_VPS``
|
||||
|
||||
* - ``V4L2_MPEG_VBI_IVTV_VPS``
|
||||
- 7
|
||||
|
||||
- Refer to :ref:`Sliced VBI services <vbi-services2>` for a
|
||||
description of the line payload.
|
||||
|
||||
|
@ -215,84 +215,40 @@ list entity names and pad numbers).
|
||||
:stub-columns: 0
|
||||
:widths: 5 5 5 5 5 5 5
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- Sensor/0 format
|
||||
|
||||
- Frontend/0 format
|
||||
|
||||
- Frontend/1 format
|
||||
|
||||
- Scaler/0 format
|
||||
|
||||
- Scaler/0 compose selection rectangle
|
||||
|
||||
- Scaler/1 format
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Initial state
|
||||
|
||||
* - Initial state
|
||||
- 2048x1536/SGRBG8_1X8
|
||||
|
||||
- (default)
|
||||
|
||||
- (default)
|
||||
|
||||
- (default)
|
||||
|
||||
- (default)
|
||||
|
||||
- (default)
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Configure frontend sink format
|
||||
|
||||
* - Configure frontend sink format
|
||||
- 2048x1536/SGRBG8_1X8
|
||||
|
||||
- *2048x1536/SGRBG8_1X8*
|
||||
|
||||
- *2046x1534/SGRBG8_1X8*
|
||||
|
||||
- (default)
|
||||
|
||||
- (default)
|
||||
|
||||
- (default)
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Configure scaler sink format
|
||||
|
||||
* - Configure scaler sink format
|
||||
- 2048x1536/SGRBG8_1X8
|
||||
|
||||
- 2048x1536/SGRBG8_1X8
|
||||
|
||||
- 2046x1534/SGRBG8_1X8
|
||||
|
||||
- *2046x1534/SGRBG8_1X8*
|
||||
|
||||
- *0,0/2046x1534*
|
||||
|
||||
- *2046x1534/SGRBG8_1X8*
|
||||
|
||||
- .. row 5
|
||||
|
||||
- Configure scaler sink compose selection
|
||||
|
||||
* - Configure scaler sink compose selection
|
||||
- 2048x1536/SGRBG8_1X8
|
||||
|
||||
- 2048x1536/SGRBG8_1X8
|
||||
|
||||
- 2046x1534/SGRBG8_1X8
|
||||
|
||||
- 2046x1534/SGRBG8_1X8
|
||||
|
||||
- *0,0/1280x960*
|
||||
|
||||
- *1280x960/SGRBG8_1X8*
|
||||
|
||||
.. raw:: latex
|
||||
|
@ -39,38 +39,18 @@ using driver module options. The major device number remains 81.
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Device Type
|
||||
|
||||
* - Device Type
|
||||
- File Name
|
||||
|
||||
- Minor Numbers
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Video capture and overlay
|
||||
|
||||
* - Video capture and overlay
|
||||
- ``/dev/video`` and ``/dev/bttv0``\ [#f1]_, ``/dev/video0`` to
|
||||
``/dev/video63``
|
||||
|
||||
- 0-63
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Radio receiver
|
||||
|
||||
* - Radio receiver
|
||||
- ``/dev/radio``\ [#f2]_, ``/dev/radio0`` to ``/dev/radio63``
|
||||
|
||||
- 64-127
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Raw VBI capture
|
||||
|
||||
* - Raw VBI capture
|
||||
- ``/dev/vbi``, ``/dev/vbi0`` to ``/dev/vbi31``
|
||||
|
||||
- 224-255
|
||||
|
||||
|
||||
@ -103,147 +83,72 @@ introduction.
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``struct video_capability`` ``type``
|
||||
|
||||
* - ``struct video_capability`` ``type``
|
||||
- struct :c:type:`v4l2_capability`
|
||||
``capabilities`` flags
|
||||
|
||||
- Purpose
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``VID_TYPE_CAPTURE``
|
||||
|
||||
* - ``VID_TYPE_CAPTURE``
|
||||
- ``V4L2_CAP_VIDEO_CAPTURE``
|
||||
|
||||
- The :ref:`video capture <capture>` interface is supported.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``VID_TYPE_TUNER``
|
||||
|
||||
* - ``VID_TYPE_TUNER``
|
||||
- ``V4L2_CAP_TUNER``
|
||||
|
||||
- The device has a :ref:`tuner or modulator <tuner>`.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``VID_TYPE_TELETEXT``
|
||||
|
||||
* - ``VID_TYPE_TELETEXT``
|
||||
- ``V4L2_CAP_VBI_CAPTURE``
|
||||
|
||||
- The :ref:`raw VBI capture <raw-vbi>` interface is supported.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``VID_TYPE_OVERLAY``
|
||||
|
||||
* - ``VID_TYPE_OVERLAY``
|
||||
- ``V4L2_CAP_VIDEO_OVERLAY``
|
||||
|
||||
- The :ref:`video overlay <overlay>` interface is supported.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``VID_TYPE_CHROMAKEY``
|
||||
|
||||
* - ``VID_TYPE_CHROMAKEY``
|
||||
- ``V4L2_FBUF_CAP_CHROMAKEY`` in field ``capability`` of struct
|
||||
:c:type:`v4l2_framebuffer`
|
||||
|
||||
- Whether chromakey overlay is supported. For more information on
|
||||
overlay see :ref:`overlay`.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``VID_TYPE_CLIPPING``
|
||||
|
||||
* - ``VID_TYPE_CLIPPING``
|
||||
- ``V4L2_FBUF_CAP_LIST_CLIPPING`` and
|
||||
``V4L2_FBUF_CAP_BITMAP_CLIPPING`` in field ``capability`` of
|
||||
struct :c:type:`v4l2_framebuffer`
|
||||
|
||||
- Whether clipping the overlaid image is supported, see
|
||||
:ref:`overlay`.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``VID_TYPE_FRAMERAM``
|
||||
|
||||
* - ``VID_TYPE_FRAMERAM``
|
||||
- ``V4L2_FBUF_CAP_EXTERNOVERLAY`` *not set* in field ``capability``
|
||||
of struct :c:type:`v4l2_framebuffer`
|
||||
|
||||
- Whether overlay overwrites frame buffer memory, see
|
||||
:ref:`overlay`.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- ``VID_TYPE_SCALES``
|
||||
|
||||
* - ``VID_TYPE_SCALES``
|
||||
- ``-``
|
||||
|
||||
- This flag indicates if the hardware can scale images. The V4L2 API
|
||||
implies the scale factor by setting the cropping dimensions and
|
||||
image size with the :ref:`VIDIOC_S_CROP <VIDIOC_G_CROP>` and
|
||||
:ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, respectively. The
|
||||
driver returns the closest sizes possible. For more information on
|
||||
cropping and scaling see :ref:`crop`.
|
||||
|
||||
- .. row 10
|
||||
|
||||
- ``VID_TYPE_MONOCHROME``
|
||||
|
||||
* - ``VID_TYPE_MONOCHROME``
|
||||
- ``-``
|
||||
|
||||
- Applications can enumerate the supported image formats with the
|
||||
:ref:`VIDIOC_ENUM_FMT` ioctl to determine if
|
||||
the device supports grey scale capturing only. For more
|
||||
information on image formats see :ref:`pixfmt`.
|
||||
|
||||
- .. row 11
|
||||
|
||||
- ``VID_TYPE_SUBCAPTURE``
|
||||
|
||||
* - ``VID_TYPE_SUBCAPTURE``
|
||||
- ``-``
|
||||
|
||||
- Applications can call the :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>`
|
||||
ioctl to determine if the device supports capturing a subsection
|
||||
of the full picture ("cropping" in V4L2). If not, the ioctl
|
||||
returns the ``EINVAL`` error code. For more information on cropping
|
||||
and scaling see :ref:`crop`.
|
||||
|
||||
- .. row 12
|
||||
|
||||
- ``VID_TYPE_MPEG_DECODER``
|
||||
|
||||
* - ``VID_TYPE_MPEG_DECODER``
|
||||
- ``-``
|
||||
|
||||
- Applications can enumerate the supported image formats with the
|
||||
:ref:`VIDIOC_ENUM_FMT` ioctl to determine if
|
||||
the device supports MPEG streams.
|
||||
|
||||
- .. row 13
|
||||
|
||||
- ``VID_TYPE_MPEG_ENCODER``
|
||||
|
||||
* - ``VID_TYPE_MPEG_ENCODER``
|
||||
- ``-``
|
||||
|
||||
- See above.
|
||||
|
||||
- .. row 14
|
||||
|
||||
- ``VID_TYPE_MJPEG_DECODER``
|
||||
|
||||
* - ``VID_TYPE_MJPEG_DECODER``
|
||||
- ``-``
|
||||
|
||||
- See above.
|
||||
|
||||
- .. row 15
|
||||
|
||||
- ``VID_TYPE_MJPEG_ENCODER``
|
||||
|
||||
* - ``VID_TYPE_MJPEG_ENCODER``
|
||||
- ``-``
|
||||
|
||||
- See above.
|
||||
|
||||
|
||||
@ -280,23 +185,11 @@ video input types were renamed as follows:
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- struct ``video_channel`` ``type``
|
||||
|
||||
* - struct ``video_channel`` ``type``
|
||||
- struct :c:type:`v4l2_input` ``type``
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``VIDEO_TYPE_TV``
|
||||
|
||||
* - ``VIDEO_TYPE_TV``
|
||||
- ``V4L2_INPUT_TYPE_TUNER``
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``VIDEO_TYPE_CAMERA``
|
||||
|
||||
* - ``VIDEO_TYPE_CAMERA``
|
||||
- ``V4L2_INPUT_TYPE_CAMERA``
|
||||
|
||||
|
||||
@ -386,41 +279,17 @@ replaced by V4L2 controls accessible with the
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- struct ``video_picture``
|
||||
|
||||
* - struct ``video_picture``
|
||||
- V4L2 Control ID
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``brightness``
|
||||
|
||||
* - ``brightness``
|
||||
- ``V4L2_CID_BRIGHTNESS``
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``hue``
|
||||
|
||||
* - ``hue``
|
||||
- ``V4L2_CID_HUE``
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``colour``
|
||||
|
||||
* - ``colour``
|
||||
- ``V4L2_CID_SATURATION``
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``contrast``
|
||||
|
||||
* - ``contrast``
|
||||
- ``V4L2_CID_CONTRAST``
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``whiteness``
|
||||
|
||||
* - ``whiteness``
|
||||
- ``V4L2_CID_WHITENESS``
|
||||
|
||||
|
||||
@ -442,107 +311,39 @@ into the struct :c:type:`v4l2_pix_format`:
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- struct ``video_picture`` ``palette``
|
||||
|
||||
* - struct ``video_picture`` ``palette``
|
||||
- struct :c:type:`v4l2_pix_format` ``pixfmt``
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``VIDEO_PALETTE_GREY``
|
||||
|
||||
* - ``VIDEO_PALETTE_GREY``
|
||||
- :ref:`V4L2_PIX_FMT_GREY <V4L2-PIX-FMT-GREY>`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``VIDEO_PALETTE_HI240``
|
||||
|
||||
* - ``VIDEO_PALETTE_HI240``
|
||||
- :ref:`V4L2_PIX_FMT_HI240 <pixfmt-reserved>` [#f3]_
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``VIDEO_PALETTE_RGB565``
|
||||
|
||||
* - ``VIDEO_PALETTE_RGB565``
|
||||
- :ref:`V4L2_PIX_FMT_RGB565 <pixfmt-rgb>`
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``VIDEO_PALETTE_RGB555``
|
||||
|
||||
* - ``VIDEO_PALETTE_RGB555``
|
||||
- :ref:`V4L2_PIX_FMT_RGB555 <pixfmt-rgb>`
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``VIDEO_PALETTE_RGB24``
|
||||
|
||||
* - ``VIDEO_PALETTE_RGB24``
|
||||
- :ref:`V4L2_PIX_FMT_BGR24 <pixfmt-rgb>`
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``VIDEO_PALETTE_RGB32``
|
||||
|
||||
* - ``VIDEO_PALETTE_RGB32``
|
||||
- :ref:`V4L2_PIX_FMT_BGR32 <pixfmt-rgb>` [#f4]_
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``VIDEO_PALETTE_YUV422``
|
||||
|
||||
* - ``VIDEO_PALETTE_YUV422``
|
||||
- :ref:`V4L2_PIX_FMT_YUYV <V4L2-PIX-FMT-YUYV>`
|
||||
|
||||
- .. row 9
|
||||
|
||||
- ``VIDEO_PALETTE_YUYV``\ [#f5]_
|
||||
|
||||
* - ``VIDEO_PALETTE_YUYV``\ [#f5]_
|
||||
- :ref:`V4L2_PIX_FMT_YUYV <V4L2-PIX-FMT-YUYV>`
|
||||
|
||||
- .. row 10
|
||||
|
||||
- ``VIDEO_PALETTE_UYVY``
|
||||
|
||||
* - ``VIDEO_PALETTE_UYVY``
|
||||
- :ref:`V4L2_PIX_FMT_UYVY <V4L2-PIX-FMT-UYVY>`
|
||||
|
||||
- .. row 11
|
||||
|
||||
- ``VIDEO_PALETTE_YUV420``
|
||||
|
||||
* - ``VIDEO_PALETTE_YUV420``
|
||||
- None
|
||||
|
||||
- .. row 12
|
||||
|
||||
- ``VIDEO_PALETTE_YUV411``
|
||||
|
||||
* - ``VIDEO_PALETTE_YUV411``
|
||||
- :ref:`V4L2_PIX_FMT_Y41P <V4L2-PIX-FMT-Y41P>` [#f6]_
|
||||
|
||||
- .. row 13
|
||||
|
||||
- ``VIDEO_PALETTE_RAW``
|
||||
|
||||
* - ``VIDEO_PALETTE_RAW``
|
||||
- None [#f7]_
|
||||
|
||||
- .. row 14
|
||||
|
||||
- ``VIDEO_PALETTE_YUV422P``
|
||||
|
||||
* - ``VIDEO_PALETTE_YUV422P``
|
||||
- :ref:`V4L2_PIX_FMT_YUV422P <V4L2-PIX-FMT-YUV422P>`
|
||||
|
||||
- .. row 15
|
||||
|
||||
- ``VIDEO_PALETTE_YUV411P``
|
||||
|
||||
* - ``VIDEO_PALETTE_YUV411P``
|
||||
- :ref:`V4L2_PIX_FMT_YUV411P <V4L2-PIX-FMT-YUV411P>` [#f8]_
|
||||
|
||||
- .. row 16
|
||||
|
||||
- ``VIDEO_PALETTE_YUV420P``
|
||||
|
||||
* - ``VIDEO_PALETTE_YUV420P``
|
||||
- :ref:`V4L2_PIX_FMT_YVU420 <V4L2-PIX-FMT-YVU420>`
|
||||
|
||||
- .. row 17
|
||||
|
||||
- ``VIDEO_PALETTE_YUV410P``
|
||||
|
||||
* - ``VIDEO_PALETTE_YUV410P``
|
||||
- :ref:`V4L2_PIX_FMT_YVU410 <V4L2-PIX-FMT-YVU410>`
|
||||
|
||||
|
||||
@ -588,35 +389,15 @@ The following fields where replaced by V4L2 controls accessible with the
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- struct ``video_audio``
|
||||
|
||||
* - struct ``video_audio``
|
||||
- V4L2 Control ID
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``volume``
|
||||
|
||||
* - ``volume``
|
||||
- ``V4L2_CID_AUDIO_VOLUME``
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``bass``
|
||||
|
||||
* - ``bass``
|
||||
- ``V4L2_CID_AUDIO_BASS``
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``treble``
|
||||
|
||||
* - ``treble``
|
||||
- ``V4L2_CID_AUDIO_TREBLE``
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``balance``
|
||||
|
||||
* - ``balance``
|
||||
- ``V4L2_CID_AUDIO_BALANCE``
|
||||
|
||||
|
||||
@ -752,46 +533,28 @@ differences.
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- V4L
|
||||
|
||||
* - V4L
|
||||
- V4L2
|
||||
|
||||
- .. row 2
|
||||
|
||||
-
|
||||
* -
|
||||
- The image format must be selected before buffers are allocated,
|
||||
with the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl. When no
|
||||
format is selected the driver may use the last, possibly by
|
||||
another application requested format.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Applications cannot change the number of buffers. The it is built
|
||||
* - Applications cannot change the number of buffers. The it is built
|
||||
into the driver, unless it has a module option to change the
|
||||
number when the driver module is loaded.
|
||||
|
||||
- The :ref:`VIDIOC_REQBUFS` ioctl allocates the
|
||||
desired number of buffers, this is a required step in the
|
||||
initialization sequence.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Drivers map all buffers as one contiguous range of memory. The
|
||||
* - Drivers map all buffers as one contiguous range of memory. The
|
||||
``VIDIOCGMBUF`` ioctl is available to query the number of buffers,
|
||||
the offset of each buffer from the start of the virtual file, and
|
||||
the overall amount of memory used, which can be used as arguments
|
||||
for the :ref:`mmap() <func-mmap>` function.
|
||||
|
||||
- Buffers are individually mapped. The offset and size of each
|
||||
buffer can be determined with the
|
||||
:ref:`VIDIOC_QUERYBUF` ioctl.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- The ``VIDIOCMCAPTURE`` ioctl prepares a buffer for capturing. It
|
||||
* - The ``VIDIOCMCAPTURE`` ioctl prepares a buffer for capturing. It
|
||||
also determines the image format for this buffer. The ioctl
|
||||
returns immediately, eventually with an ``EAGAIN`` error code if no
|
||||
video signal had been detected. When the driver supports more than
|
||||
@ -800,7 +563,6 @@ differences.
|
||||
|
||||
The ``VIDIOCSYNC`` ioctl suspends execution until a particular
|
||||
buffer has been filled.
|
||||
|
||||
- Drivers maintain an incoming and outgoing queue.
|
||||
:ref:`VIDIOC_QBUF` enqueues any empty buffer into
|
||||
the incoming queue. Filled buffers are dequeued from the outgoing
|
||||
@ -835,55 +597,23 @@ with the following parameters:
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- struct :c:type:`v4l2_vbi_format`
|
||||
|
||||
* - struct :c:type:`v4l2_vbi_format`
|
||||
- V4L, BTTV driver
|
||||
|
||||
- .. row 2
|
||||
|
||||
- sampling_rate
|
||||
|
||||
* - sampling_rate
|
||||
- 28636363 Hz NTSC (or any other 525-line standard); 35468950 Hz PAL
|
||||
and SECAM (625-line standards)
|
||||
|
||||
- .. row 3
|
||||
|
||||
- offset
|
||||
|
||||
* - offset
|
||||
- ?
|
||||
|
||||
- .. row 4
|
||||
|
||||
- samples_per_line
|
||||
|
||||
* - samples_per_line
|
||||
- 2048
|
||||
|
||||
- .. row 5
|
||||
|
||||
- sample_format
|
||||
|
||||
* - sample_format
|
||||
- V4L2_PIX_FMT_GREY. The last four bytes (a machine endianness
|
||||
integer) contain a frame counter.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start[]
|
||||
|
||||
* - start[]
|
||||
- 10, 273 NTSC; 22, 335 PAL and SECAM
|
||||
|
||||
- .. row 7
|
||||
|
||||
- count[]
|
||||
|
||||
* - count[]
|
||||
- 16, 16 [#f9]_
|
||||
|
||||
- .. row 8
|
||||
|
||||
- flags
|
||||
|
||||
* - flags
|
||||
- 0
|
||||
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -64,13 +64,8 @@ enum v4l2_field
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_FIELD_ANY``
|
||||
|
||||
* - ``V4L2_FIELD_ANY``
|
||||
- 0
|
||||
|
||||
- Applications request this field order when any one of the
|
||||
``V4L2_FIELD_NONE``, ``V4L2_FIELD_TOP``, ``V4L2_FIELD_BOTTOM``, or
|
||||
``V4L2_FIELD_INTERLACED`` formats is acceptable. Drivers choose
|
||||
@ -82,76 +77,41 @@ enum v4l2_field
|
||||
:ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>`. struct
|
||||
:c:type:`v4l2_buffer` ``field`` can never be
|
||||
``V4L2_FIELD_ANY``.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_FIELD_NONE``
|
||||
|
||||
* - ``V4L2_FIELD_NONE``
|
||||
- 1
|
||||
|
||||
- Images are in progressive format, not interlaced. The driver may
|
||||
also indicate this order when it cannot distinguish between
|
||||
``V4L2_FIELD_TOP`` and ``V4L2_FIELD_BOTTOM``.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_FIELD_TOP``
|
||||
|
||||
* - ``V4L2_FIELD_TOP``
|
||||
- 2
|
||||
|
||||
- Images consist of the top (aka odd) field only.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_FIELD_BOTTOM``
|
||||
|
||||
* - ``V4L2_FIELD_BOTTOM``
|
||||
- 3
|
||||
|
||||
- Images consist of the bottom (aka even) field only. Applications
|
||||
may wish to prevent a device from capturing interlaced images
|
||||
because they will have "comb" or "feathering" artefacts around
|
||||
moving objects.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_FIELD_INTERLACED``
|
||||
|
||||
* - ``V4L2_FIELD_INTERLACED``
|
||||
- 4
|
||||
|
||||
- Images contain both fields, interleaved line by line. The temporal
|
||||
order of the fields (whether the top or bottom field is first
|
||||
transmitted) depends on the current video standard. M/NTSC
|
||||
transmits the bottom field first, all other standards the top
|
||||
field first.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_FIELD_SEQ_TB``
|
||||
|
||||
* - ``V4L2_FIELD_SEQ_TB``
|
||||
- 5
|
||||
|
||||
- Images contain both fields, the top field lines are stored first
|
||||
in memory, immediately followed by the bottom field lines. Fields
|
||||
are always stored in temporal order, the older one first in
|
||||
memory. Image sizes refer to the frame, not fields.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_FIELD_SEQ_BT``
|
||||
|
||||
* - ``V4L2_FIELD_SEQ_BT``
|
||||
- 6
|
||||
|
||||
- Images contain both fields, the bottom field lines are stored
|
||||
first in memory, immediately followed by the top field lines.
|
||||
Fields are always stored in temporal order, the older one first in
|
||||
memory. Image sizes refer to the frame, not fields.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_FIELD_ALTERNATE``
|
||||
|
||||
* - ``V4L2_FIELD_ALTERNATE``
|
||||
- 7
|
||||
|
||||
- The two fields of a frame are passed in separate buffers, in
|
||||
temporal order, i. e. the older one first. To indicate the field
|
||||
parity (whether the current field is a top or bottom field) the
|
||||
@ -165,22 +125,12 @@ enum v4l2_field
|
||||
format cannot be selected when using the read/write I/O method
|
||||
since there is no way to communicate if a field was a top or
|
||||
bottom field.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- ``V4L2_FIELD_INTERLACED_TB``
|
||||
|
||||
* - ``V4L2_FIELD_INTERLACED_TB``
|
||||
- 8
|
||||
|
||||
- Images contain both fields, interleaved line by line, top field
|
||||
first. The top field is transmitted first.
|
||||
|
||||
- .. row 10
|
||||
|
||||
- ``V4L2_FIELD_INTERLACED_BT``
|
||||
|
||||
* - ``V4L2_FIELD_INTERLACED_BT``
|
||||
- 9
|
||||
|
||||
- Images contain both fields, interleaved line by line, top field
|
||||
first. The bottom field is transmitted first.
|
||||
|
||||
|
@ -447,89 +447,33 @@ This unnamed version was finally merged into Linux 2.5.46.
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Old defines
|
||||
|
||||
* - Old defines
|
||||
- enum :c:type:`v4l2_buf_type`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_BUF_TYPE_CAPTURE``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_CAPTURE``
|
||||
- ``V4L2_BUF_TYPE_VIDEO_CAPTURE``
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_BUF_TYPE_CODECIN``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_CODECIN``
|
||||
- Omitted for now
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_BUF_TYPE_CODECOUT``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_CODECOUT``
|
||||
- Omitted for now
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_BUF_TYPE_EFFECTSIN``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_EFFECTSIN``
|
||||
- Omitted for now
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_BUF_TYPE_EFFECTSIN2``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_EFFECTSIN2``
|
||||
- Omitted for now
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_BUF_TYPE_EFFECTSOUT``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_EFFECTSOUT``
|
||||
- Omitted for now
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_BUF_TYPE_VIDEOOUT``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_VIDEOOUT``
|
||||
- ``V4L2_BUF_TYPE_VIDEO_OUTPUT``
|
||||
|
||||
- .. row 9
|
||||
|
||||
- ``-``
|
||||
|
||||
* - ``-``
|
||||
- ``V4L2_BUF_TYPE_VIDEO_OVERLAY``
|
||||
|
||||
- .. row 10
|
||||
|
||||
- ``-``
|
||||
|
||||
* - ``-``
|
||||
- ``V4L2_BUF_TYPE_VBI_CAPTURE``
|
||||
|
||||
- .. row 11
|
||||
|
||||
- ``-``
|
||||
|
||||
* - ``-``
|
||||
- ``V4L2_BUF_TYPE_VBI_OUTPUT``
|
||||
|
||||
- .. row 12
|
||||
|
||||
- ``-``
|
||||
|
||||
* - ``-``
|
||||
- ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE``
|
||||
|
||||
- .. row 13
|
||||
|
||||
- ``-``
|
||||
|
||||
* - ``-``
|
||||
- ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``
|
||||
|
||||
- .. row 14
|
||||
|
||||
- ``V4L2_BUF_TYPE_PRIVATE_BASE``
|
||||
|
||||
* - ``V4L2_BUF_TYPE_PRIVATE_BASE``
|
||||
- ``V4L2_BUF_TYPE_PRIVATE`` (but this is deprecated)
|
||||
|
||||
|
||||
@ -564,53 +508,21 @@ This unnamed version was finally merged into Linux 2.5.46.
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Old flag
|
||||
|
||||
* - Old flag
|
||||
- enum :c:type:`v4l2_field`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_FMT_FLAG_NOT_INTERLACED``
|
||||
|
||||
* - ``V4L2_FMT_FLAG_NOT_INTERLACED``
|
||||
- ?
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_FMT_FLAG_INTERLACED`` = ``V4L2_FMT_FLAG_COMBINED``
|
||||
|
||||
* - ``V4L2_FMT_FLAG_INTERLACED`` = ``V4L2_FMT_FLAG_COMBINED``
|
||||
- ``V4L2_FIELD_INTERLACED``
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_FMT_FLAG_TOPFIELD`` = ``V4L2_FMT_FLAG_ODDFIELD``
|
||||
|
||||
* - ``V4L2_FMT_FLAG_TOPFIELD`` = ``V4L2_FMT_FLAG_ODDFIELD``
|
||||
- ``V4L2_FIELD_TOP``
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_FMT_FLAG_BOTFIELD`` = ``V4L2_FMT_FLAG_EVENFIELD``
|
||||
|
||||
* - ``V4L2_FMT_FLAG_BOTFIELD`` = ``V4L2_FMT_FLAG_EVENFIELD``
|
||||
- ``V4L2_FIELD_BOTTOM``
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``-``
|
||||
|
||||
* - ``-``
|
||||
- ``V4L2_FIELD_SEQ_TB``
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``-``
|
||||
|
||||
* - ``-``
|
||||
- ``V4L2_FIELD_SEQ_BT``
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``-``
|
||||
|
||||
* - ``-``
|
||||
- ``V4L2_FIELD_ALTERNATE``
|
||||
|
||||
|
||||
@ -768,45 +680,20 @@ V4L2 2003-11-05
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Symbol
|
||||
|
||||
* - Symbol
|
||||
- In this document prior to revision 0.5
|
||||
|
||||
- Corrected
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_PIX_FMT_RGB24``
|
||||
|
||||
* - ``V4L2_PIX_FMT_RGB24``
|
||||
- B, G, R
|
||||
|
||||
- R, G, B
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_PIX_FMT_BGR24``
|
||||
|
||||
* - ``V4L2_PIX_FMT_BGR24``
|
||||
- R, G, B
|
||||
|
||||
- B, G, R
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_PIX_FMT_RGB32``
|
||||
|
||||
* - ``V4L2_PIX_FMT_RGB32``
|
||||
- B, G, R, X
|
||||
|
||||
- R, G, B, X
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_PIX_FMT_BGR32``
|
||||
|
||||
* - ``V4L2_PIX_FMT_BGR32``
|
||||
- R, G, B, X
|
||||
|
||||
- B, G, R, X
|
||||
|
||||
|
||||
|
@ -15,74 +15,43 @@ Single-planar format structure
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``width``
|
||||
|
||||
- Image width in pixels.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``height``
|
||||
|
||||
- Image height in pixels. If ``field`` is one of ``V4L2_FIELD_TOP``,
|
||||
``V4L2_FIELD_BOTTOM`` or ``V4L2_FIELD_ALTERNATE`` then height
|
||||
refers to the number of lines in the field, otherwise it refers to
|
||||
the number of lines in the frame (which is twice the field height
|
||||
for interlaced formats).
|
||||
|
||||
- .. row 3
|
||||
|
||||
- :cspan:`2` Applications set these fields to request an image
|
||||
* - :cspan:`2` Applications set these fields to request an image
|
||||
size, drivers return the closest possible values. In case of
|
||||
planar formats the ``width`` and ``height`` applies to the largest
|
||||
plane. To avoid ambiguities drivers must return values rounded up
|
||||
to a multiple of the scale factor of any smaller planes. For
|
||||
example when the image format is YUV 4:2:0, ``width`` and
|
||||
``height`` must be multiples of two.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``pixelformat``
|
||||
|
||||
- The pixel format or type of compression, set by the application.
|
||||
This is a little endian
|
||||
:ref:`four character code <v4l2-fourcc>`. V4L2 defines standard
|
||||
RGB formats in :ref:`rgb-formats`, YUV formats in
|
||||
:ref:`yuv-formats`, and reserved codes in
|
||||
:ref:`reserved-formats`
|
||||
|
||||
- .. row 5
|
||||
|
||||
- enum :c:type::`v4l2_field`
|
||||
|
||||
* - enum :c:type::`v4l2_field`
|
||||
- ``field``
|
||||
|
||||
- Video images are typically interlaced. Applications can request to
|
||||
capture or output only the top or bottom field, or both fields
|
||||
interlaced or sequentially stored in one buffer or alternating in
|
||||
separate buffers. Drivers return the actual field order selected.
|
||||
For more details on fields see :ref:`field-order`.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``bytesperline``
|
||||
|
||||
- Distance in bytes between the leftmost pixels in two adjacent
|
||||
lines.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- :cspan:`2`
|
||||
* - :cspan:`2`
|
||||
|
||||
Both applications and drivers can set this field to request
|
||||
padding bytes at the end of each line. Drivers however may ignore
|
||||
@ -107,34 +76,19 @@ Single-planar format structure
|
||||
|
||||
For compressed formats the ``bytesperline`` value makes no sense.
|
||||
Applications and drivers must set this to 0 in that case.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``sizeimage``
|
||||
|
||||
- Size in bytes of the buffer to hold a complete image, set by the
|
||||
driver. Usually this is ``bytesperline`` times ``height``. When
|
||||
the image consists of variable length compressed data this is the
|
||||
maximum number of bytes required to hold an image.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- enum :c:type:`v4l2_colorspace`
|
||||
|
||||
* - enum :c:type:`v4l2_colorspace`
|
||||
- ``colorspace``
|
||||
|
||||
- This information supplements the ``pixelformat`` and must be set
|
||||
by the driver for capture streams and by the application for
|
||||
output streams, see :ref:`colorspaces`.
|
||||
|
||||
- .. row 10
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``priv``
|
||||
|
||||
- This field indicates whether the remaining fields of the
|
||||
struct :c:type:`v4l2_pix_format`, also called the
|
||||
extended fields, are valid. When set to
|
||||
@ -159,41 +113,21 @@ Single-planar format structure
|
||||
On return drivers must set the ``priv`` field to
|
||||
``V4L2_PIX_FMT_PRIV_MAGIC`` and all the extended fields to
|
||||
applicable values.
|
||||
|
||||
- .. row 11
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
- Flags set by the application or driver, see :ref:`format-flags`.
|
||||
|
||||
- .. row 12
|
||||
|
||||
- enum :c:type:`v4l2_ycbcr_encoding`
|
||||
|
||||
* - enum :c:type:`v4l2_ycbcr_encoding`
|
||||
- ``ycbcr_enc``
|
||||
|
||||
- This information supplements the ``colorspace`` and must be set by
|
||||
the driver for capture streams and by the application for output
|
||||
streams, see :ref:`colorspaces`.
|
||||
|
||||
- .. row 13
|
||||
|
||||
- enum :c:type:`v4l2_quantization`
|
||||
|
||||
* - enum :c:type:`v4l2_quantization`
|
||||
- ``quantization``
|
||||
|
||||
- This information supplements the ``colorspace`` and must be set by
|
||||
the driver for capture streams and by the application for output
|
||||
streams, see :ref:`colorspaces`.
|
||||
|
||||
- .. row 14
|
||||
|
||||
- enum :c:type:`v4l2_xfer_func`
|
||||
|
||||
* - enum :c:type:`v4l2_xfer_func`
|
||||
- ``xfer_func``
|
||||
|
||||
- This information supplements the ``colorspace`` and must be set by
|
||||
the driver for capture streams and by the application for output
|
||||
streams, see :ref:`colorspaces`.
|
||||
|
@ -21,30 +21,15 @@ describing all planes of that format.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``sizeimage``
|
||||
|
||||
- Maximum size in bytes required for image data in this plane.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``bytesperline``
|
||||
|
||||
- Distance in bytes between the leftmost pixels in two adjacent
|
||||
lines. See struct :c:type:`v4l2_pix_format`.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u16
|
||||
|
||||
* - __u16
|
||||
- ``reserved[6]``
|
||||
|
||||
- Reserved for future extensions. Should be zeroed by drivers and
|
||||
applications.
|
||||
|
||||
@ -58,112 +43,52 @@ describing all planes of that format.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``width``
|
||||
|
||||
- Image width in pixels. See struct
|
||||
:c:type:`v4l2_pix_format`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``height``
|
||||
|
||||
- Image height in pixels. See struct
|
||||
:c:type:`v4l2_pix_format`.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``pixelformat``
|
||||
|
||||
- The pixel format. Both single- and multi-planar four character
|
||||
codes can be used.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- enum :c:type:`v4l2_field`
|
||||
|
||||
* - enum :c:type:`v4l2_field`
|
||||
- ``field``
|
||||
|
||||
- See struct :c:type:`v4l2_pix_format`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- enum :c:type:`v4l2_colorspace`
|
||||
|
||||
* - enum :c:type:`v4l2_colorspace`
|
||||
- ``colorspace``
|
||||
|
||||
- See struct :c:type:`v4l2_pix_format`.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- struct :c:type:`v4l2_plane_pix_format`
|
||||
|
||||
* - struct :c:type:`v4l2_plane_pix_format`
|
||||
- ``plane_fmt[VIDEO_MAX_PLANES]``
|
||||
|
||||
- An array of structures describing format of each plane this pixel
|
||||
format consists of. The number of valid entries in this array has
|
||||
to be put in the ``num_planes`` field.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``num_planes``
|
||||
|
||||
- Number of planes (i.e. separate memory buffers) for this format
|
||||
and the number of valid entries in the ``plane_fmt`` array.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``flags``
|
||||
|
||||
- Flags set by the application or driver, see :ref:`format-flags`.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- enum :c:type:`v4l2_ycbcr_encoding`
|
||||
|
||||
* - enum :c:type:`v4l2_ycbcr_encoding`
|
||||
- ``ycbcr_enc``
|
||||
|
||||
- This information supplements the ``colorspace`` and must be set by
|
||||
the driver for capture streams and by the application for output
|
||||
streams, see :ref:`colorspaces`.
|
||||
|
||||
- .. row 10
|
||||
|
||||
- enum :c:type:`v4l2_quantization`
|
||||
|
||||
* - enum :c:type:`v4l2_quantization`
|
||||
- ``quantization``
|
||||
|
||||
- This information supplements the ``colorspace`` and must be set by
|
||||
the driver for capture streams and by the application for output
|
||||
streams, see :ref:`colorspaces`.
|
||||
|
||||
- .. row 11
|
||||
|
||||
- enum :c:type:`v4l2_xfer_func`
|
||||
|
||||
* - enum :c:type:`v4l2_xfer_func`
|
||||
- ``xfer_func``
|
||||
|
||||
- This information supplements the ``colorspace`` and must be set by
|
||||
the driver for capture streams and by the application for output
|
||||
streams, see :ref:`colorspaces`.
|
||||
|
||||
- .. row 12
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``reserved[7]``
|
||||
|
||||
- Reserved for future extensions. Should be zeroed by drivers and
|
||||
applications.
|
||||
|
@ -33,84 +33,32 @@ needs to be filled in.
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Identifier
|
||||
|
||||
* - Identifier
|
||||
- Details
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_COLORSPACE_DEFAULT``
|
||||
|
||||
* - ``V4L2_COLORSPACE_DEFAULT``
|
||||
- The default colorspace. This can be used by applications to let
|
||||
the driver fill in the colorspace.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_COLORSPACE_SMPTE170M``
|
||||
|
||||
* - ``V4L2_COLORSPACE_SMPTE170M``
|
||||
- See :ref:`col-smpte-170m`.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_COLORSPACE_REC709``
|
||||
|
||||
* - ``V4L2_COLORSPACE_REC709``
|
||||
- See :ref:`col-rec709`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_COLORSPACE_SRGB``
|
||||
|
||||
* - ``V4L2_COLORSPACE_SRGB``
|
||||
- See :ref:`col-srgb`.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_COLORSPACE_ADOBERGB``
|
||||
|
||||
* - ``V4L2_COLORSPACE_ADOBERGB``
|
||||
- See :ref:`col-adobergb`.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_COLORSPACE_BT2020``
|
||||
|
||||
* - ``V4L2_COLORSPACE_BT2020``
|
||||
- See :ref:`col-bt2020`.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_COLORSPACE_DCI_P3``
|
||||
|
||||
* - ``V4L2_COLORSPACE_DCI_P3``
|
||||
- See :ref:`col-dcip3`.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- ``V4L2_COLORSPACE_SMPTE240M``
|
||||
|
||||
* - ``V4L2_COLORSPACE_SMPTE240M``
|
||||
- See :ref:`col-smpte-240m`.
|
||||
|
||||
- .. row 10
|
||||
|
||||
- ``V4L2_COLORSPACE_470_SYSTEM_M``
|
||||
|
||||
* - ``V4L2_COLORSPACE_470_SYSTEM_M``
|
||||
- See :ref:`col-sysm`.
|
||||
|
||||
- .. row 11
|
||||
|
||||
- ``V4L2_COLORSPACE_470_SYSTEM_BG``
|
||||
|
||||
* - ``V4L2_COLORSPACE_470_SYSTEM_BG``
|
||||
- See :ref:`col-sysbg`.
|
||||
|
||||
- .. row 12
|
||||
|
||||
- ``V4L2_COLORSPACE_JPEG``
|
||||
|
||||
* - ``V4L2_COLORSPACE_JPEG``
|
||||
- See :ref:`col-jpeg`.
|
||||
|
||||
- .. row 13
|
||||
|
||||
- ``V4L2_COLORSPACE_RAW``
|
||||
|
||||
* - ``V4L2_COLORSPACE_RAW``
|
||||
- The raw colorspace. This is used for raw image capture where the
|
||||
image is minimally processed and is using the internal colorspace
|
||||
of the device. The software that processes an image using this
|
||||
@ -125,59 +73,23 @@ needs to be filled in.
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Identifier
|
||||
|
||||
* - Identifier
|
||||
- Details
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_XFER_FUNC_DEFAULT``
|
||||
|
||||
* - ``V4L2_XFER_FUNC_DEFAULT``
|
||||
- Use the default transfer function as defined by the colorspace.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_XFER_FUNC_709``
|
||||
|
||||
* - ``V4L2_XFER_FUNC_709``
|
||||
- Use the Rec. 709 transfer function.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_XFER_FUNC_SRGB``
|
||||
|
||||
* - ``V4L2_XFER_FUNC_SRGB``
|
||||
- Use the sRGB transfer function.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_XFER_FUNC_ADOBERGB``
|
||||
|
||||
* - ``V4L2_XFER_FUNC_ADOBERGB``
|
||||
- Use the AdobeRGB transfer function.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_XFER_FUNC_SMPTE240M``
|
||||
|
||||
* - ``V4L2_XFER_FUNC_SMPTE240M``
|
||||
- Use the SMPTE 240M transfer function.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_XFER_FUNC_NONE``
|
||||
|
||||
* - ``V4L2_XFER_FUNC_NONE``
|
||||
- Do not use a transfer function (i.e. use linear RGB values).
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_XFER_FUNC_DCI_P3``
|
||||
|
||||
* - ``V4L2_XFER_FUNC_DCI_P3``
|
||||
- Use the DCI-P3 transfer function.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- ``V4L2_XFER_FUNC_SMPTE2084``
|
||||
|
||||
* - ``V4L2_XFER_FUNC_SMPTE2084``
|
||||
- Use the SMPTE 2084 transfer function.
|
||||
|
||||
|
||||
@ -190,59 +102,23 @@ needs to be filled in.
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Identifier
|
||||
|
||||
* - Identifier
|
||||
- Details
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_YCBCR_ENC_DEFAULT``
|
||||
|
||||
* - ``V4L2_YCBCR_ENC_DEFAULT``
|
||||
- Use the default Y'CbCr encoding as defined by the colorspace.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_YCBCR_ENC_601``
|
||||
|
||||
* - ``V4L2_YCBCR_ENC_601``
|
||||
- Use the BT.601 Y'CbCr encoding.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_YCBCR_ENC_709``
|
||||
|
||||
* - ``V4L2_YCBCR_ENC_709``
|
||||
- Use the Rec. 709 Y'CbCr encoding.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_YCBCR_ENC_XV601``
|
||||
|
||||
* - ``V4L2_YCBCR_ENC_XV601``
|
||||
- Use the extended gamut xvYCC BT.601 encoding.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_YCBCR_ENC_XV709``
|
||||
|
||||
* - ``V4L2_YCBCR_ENC_XV709``
|
||||
- Use the extended gamut xvYCC Rec. 709 encoding.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_YCBCR_ENC_BT2020``
|
||||
|
||||
* - ``V4L2_YCBCR_ENC_BT2020``
|
||||
- Use the default non-constant luminance BT.2020 Y'CbCr encoding.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_YCBCR_ENC_BT2020_CONST_LUM``
|
||||
|
||||
* - ``V4L2_YCBCR_ENC_BT2020_CONST_LUM``
|
||||
- Use the constant luminance BT.2020 Yc'CbcCrc encoding.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- ``V4L2_YCBCR_ENC_SMPTE_240M``
|
||||
|
||||
* - ``V4L2_YCBCR_ENC_SMPTE_240M``
|
||||
- Use the SMPTE 240M Y'CbCr encoding.
|
||||
|
||||
|
||||
@ -255,35 +131,19 @@ needs to be filled in.
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Identifier
|
||||
|
||||
* - Identifier
|
||||
- Details
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_QUANTIZATION_DEFAULT``
|
||||
|
||||
* - ``V4L2_QUANTIZATION_DEFAULT``
|
||||
- Use the default quantization encoding as defined by the
|
||||
colorspace. This is always full range for R'G'B' (except for the
|
||||
BT.2020 colorspace) and usually limited range for Y'CbCr.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_QUANTIZATION_FULL_RANGE``
|
||||
|
||||
* - ``V4L2_QUANTIZATION_FULL_RANGE``
|
||||
- Use the full range quantization encoding. I.e. the range [0…1] is
|
||||
mapped to [0…255] (with possible clipping to [1…254] to avoid the
|
||||
0x00 and 0xff values). Cb and Cr are mapped from [-0.5…0.5] to
|
||||
[0…255] (with possible clipping to [1…254] to avoid the 0x00 and
|
||||
0xff values).
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_QUANTIZATION_LIM_RANGE``
|
||||
|
||||
* - ``V4L2_QUANTIZATION_LIM_RANGE``
|
||||
- Use the limited range quantization encoding. I.e. the range [0…1]
|
||||
is mapped to [16…235]. Cb and Cr are mapped from [-0.5…0.5] to
|
||||
[16…240].
|
||||
|
@ -26,45 +26,20 @@ are:
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Color
|
||||
|
||||
* - Color
|
||||
- x
|
||||
|
||||
- y
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Red
|
||||
|
||||
* - Red
|
||||
- 0.630
|
||||
|
||||
- 0.340
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Green
|
||||
|
||||
* - Green
|
||||
- 0.310
|
||||
|
||||
- 0.595
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Blue
|
||||
|
||||
* - Blue
|
||||
- 0.155
|
||||
|
||||
- 0.070
|
||||
|
||||
- .. row 5
|
||||
|
||||
- White Reference (D65)
|
||||
|
||||
* - White Reference (D65)
|
||||
- 0.3127
|
||||
|
||||
- 0.3290
|
||||
|
||||
|
||||
@ -132,45 +107,20 @@ and the white reference are:
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Color
|
||||
|
||||
* - Color
|
||||
- x
|
||||
|
||||
- y
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Red
|
||||
|
||||
* - Red
|
||||
- 0.640
|
||||
|
||||
- 0.330
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Green
|
||||
|
||||
* - Green
|
||||
- 0.300
|
||||
|
||||
- 0.600
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Blue
|
||||
|
||||
* - Blue
|
||||
- 0.150
|
||||
|
||||
- 0.060
|
||||
|
||||
- .. row 5
|
||||
|
||||
- White Reference (D65)
|
||||
|
||||
* - White Reference (D65)
|
||||
- 0.3127
|
||||
|
||||
- 0.3290
|
||||
|
||||
|
||||
@ -273,45 +223,20 @@ The chromaticities of the primary colors and the white reference are:
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Color
|
||||
|
||||
* - Color
|
||||
- x
|
||||
|
||||
- y
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Red
|
||||
|
||||
* - Red
|
||||
- 0.640
|
||||
|
||||
- 0.330
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Green
|
||||
|
||||
* - Green
|
||||
- 0.300
|
||||
|
||||
- 0.600
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Blue
|
||||
|
||||
* - Blue
|
||||
- 0.150
|
||||
|
||||
- 0.060
|
||||
|
||||
- .. row 5
|
||||
|
||||
- White Reference (D65)
|
||||
|
||||
* - White Reference (D65)
|
||||
- 0.3127
|
||||
|
||||
- 0.3290
|
||||
|
||||
|
||||
@ -376,45 +301,20 @@ are:
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Color
|
||||
|
||||
* - Color
|
||||
- x
|
||||
|
||||
- y
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Red
|
||||
|
||||
* - Red
|
||||
- 0.6400
|
||||
|
||||
- 0.3300
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Green
|
||||
|
||||
* - Green
|
||||
- 0.2100
|
||||
|
||||
- 0.7100
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Blue
|
||||
|
||||
* - Blue
|
||||
- 0.1500
|
||||
|
||||
- 0.0600
|
||||
|
||||
- .. row 5
|
||||
|
||||
- White Reference (D65)
|
||||
|
||||
* - White Reference (D65)
|
||||
- 0.3127
|
||||
|
||||
- 0.3290
|
||||
|
||||
|
||||
@ -468,45 +368,20 @@ of the primary colors and the white reference are:
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Color
|
||||
|
||||
* - Color
|
||||
- x
|
||||
|
||||
- y
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Red
|
||||
|
||||
* - Red
|
||||
- 0.708
|
||||
|
||||
- 0.292
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Green
|
||||
|
||||
* - Green
|
||||
- 0.170
|
||||
|
||||
- 0.797
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Blue
|
||||
|
||||
* - Blue
|
||||
- 0.131
|
||||
|
||||
- 0.046
|
||||
|
||||
- .. row 5
|
||||
|
||||
- White Reference (D65)
|
||||
|
||||
* - White Reference (D65)
|
||||
- 0.3127
|
||||
|
||||
- 0.3290
|
||||
|
||||
|
||||
@ -592,45 +467,20 @@ The chromaticities of the primary colors and the white reference are:
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Color
|
||||
|
||||
* - Color
|
||||
- x
|
||||
|
||||
- y
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Red
|
||||
|
||||
* - Red
|
||||
- 0.6800
|
||||
|
||||
- 0.3200
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Green
|
||||
|
||||
* - Green
|
||||
- 0.2650
|
||||
|
||||
- 0.6900
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Blue
|
||||
|
||||
* - Blue
|
||||
- 0.1500
|
||||
|
||||
- 0.0600
|
||||
|
||||
- .. row 5
|
||||
|
||||
- White Reference
|
||||
|
||||
* - White Reference
|
||||
- 0.3140
|
||||
|
||||
- 0.3510
|
||||
|
||||
|
||||
@ -671,45 +521,20 @@ and the white reference are:
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Color
|
||||
|
||||
* - Color
|
||||
- x
|
||||
|
||||
- y
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Red
|
||||
|
||||
* - Red
|
||||
- 0.630
|
||||
|
||||
- 0.340
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Green
|
||||
|
||||
* - Green
|
||||
- 0.310
|
||||
|
||||
- 0.595
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Blue
|
||||
|
||||
* - Blue
|
||||
- 0.155
|
||||
|
||||
- 0.070
|
||||
|
||||
- .. row 5
|
||||
|
||||
- White Reference (D65)
|
||||
|
||||
* - White Reference (D65)
|
||||
- 0.3127
|
||||
|
||||
- 0.3290
|
||||
|
||||
|
||||
@ -767,45 +592,20 @@ reference are:
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Color
|
||||
|
||||
* - Color
|
||||
- x
|
||||
|
||||
- y
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Red
|
||||
|
||||
* - Red
|
||||
- 0.67
|
||||
|
||||
- 0.33
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Green
|
||||
|
||||
* - Green
|
||||
- 0.21
|
||||
|
||||
- 0.71
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Blue
|
||||
|
||||
* - Blue
|
||||
- 0.14
|
||||
|
||||
- 0.08
|
||||
|
||||
- .. row 5
|
||||
|
||||
- White Reference (C)
|
||||
|
||||
* - White Reference (C)
|
||||
- 0.310
|
||||
|
||||
- 0.316
|
||||
|
||||
|
||||
@ -871,45 +671,20 @@ are:
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Color
|
||||
|
||||
* - Color
|
||||
- x
|
||||
|
||||
- y
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Red
|
||||
|
||||
* - Red
|
||||
- 0.64
|
||||
|
||||
- 0.33
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Green
|
||||
|
||||
* - Green
|
||||
- 0.29
|
||||
|
||||
- 0.60
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Blue
|
||||
|
||||
* - Blue
|
||||
- 0.15
|
||||
|
||||
- 0.06
|
||||
|
||||
- .. row 5
|
||||
|
||||
- White Reference (D65)
|
||||
|
||||
* - White Reference (D65)
|
||||
- 0.3127
|
||||
|
||||
- 0.3290
|
||||
|
||||
|
||||
|
@ -14,118 +14,74 @@ Compressed Formats
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Identifier
|
||||
|
||||
* - Identifier
|
||||
- Code
|
||||
|
||||
- Details
|
||||
|
||||
- .. _V4L2-PIX-FMT-JPEG:
|
||||
* .. _V4L2-PIX-FMT-JPEG:
|
||||
|
||||
- ``V4L2_PIX_FMT_JPEG``
|
||||
|
||||
- 'JPEG'
|
||||
|
||||
- TBD. See also :ref:`VIDIOC_G_JPEGCOMP <VIDIOC_G_JPEGCOMP>`,
|
||||
:ref:`VIDIOC_S_JPEGCOMP <VIDIOC_G_JPEGCOMP>`.
|
||||
|
||||
- .. _V4L2-PIX-FMT-MPEG:
|
||||
* .. _V4L2-PIX-FMT-MPEG:
|
||||
|
||||
- ``V4L2_PIX_FMT_MPEG``
|
||||
|
||||
- 'MPEG'
|
||||
|
||||
- MPEG multiplexed stream. The actual format is determined by
|
||||
extended control ``V4L2_CID_MPEG_STREAM_TYPE``, see
|
||||
:ref:`mpeg-control-id`.
|
||||
|
||||
- .. _V4L2-PIX-FMT-H264:
|
||||
* .. _V4L2-PIX-FMT-H264:
|
||||
|
||||
- ``V4L2_PIX_FMT_H264``
|
||||
|
||||
- 'H264'
|
||||
|
||||
- H264 video elementary stream with start codes.
|
||||
|
||||
- .. _V4L2-PIX-FMT-H264-NO-SC:
|
||||
* .. _V4L2-PIX-FMT-H264-NO-SC:
|
||||
|
||||
- ``V4L2_PIX_FMT_H264_NO_SC``
|
||||
|
||||
- 'AVC1'
|
||||
|
||||
- H264 video elementary stream without start codes.
|
||||
|
||||
- .. _V4L2-PIX-FMT-H264-MVC:
|
||||
* .. _V4L2-PIX-FMT-H264-MVC:
|
||||
|
||||
- ``V4L2_PIX_FMT_H264_MVC``
|
||||
|
||||
- 'M264'
|
||||
|
||||
- H264 MVC video elementary stream.
|
||||
|
||||
- .. _V4L2-PIX-FMT-H263:
|
||||
* .. _V4L2-PIX-FMT-H263:
|
||||
|
||||
- ``V4L2_PIX_FMT_H263``
|
||||
|
||||
- 'H263'
|
||||
|
||||
- H263 video elementary stream.
|
||||
|
||||
- .. _V4L2-PIX-FMT-MPEG1:
|
||||
* .. _V4L2-PIX-FMT-MPEG1:
|
||||
|
||||
- ``V4L2_PIX_FMT_MPEG1``
|
||||
|
||||
- 'MPG1'
|
||||
|
||||
- MPEG1 video elementary stream.
|
||||
|
||||
- .. _V4L2-PIX-FMT-MPEG2:
|
||||
* .. _V4L2-PIX-FMT-MPEG2:
|
||||
|
||||
- ``V4L2_PIX_FMT_MPEG2``
|
||||
|
||||
- 'MPG2'
|
||||
|
||||
- MPEG2 video elementary stream.
|
||||
|
||||
- .. _V4L2-PIX-FMT-MPEG4:
|
||||
* .. _V4L2-PIX-FMT-MPEG4:
|
||||
|
||||
- ``V4L2_PIX_FMT_MPEG4``
|
||||
|
||||
- 'MPG4'
|
||||
|
||||
- MPEG4 video elementary stream.
|
||||
|
||||
- .. _V4L2-PIX-FMT-XVID:
|
||||
* .. _V4L2-PIX-FMT-XVID:
|
||||
|
||||
- ``V4L2_PIX_FMT_XVID``
|
||||
|
||||
- 'XVID'
|
||||
|
||||
- Xvid video elementary stream.
|
||||
|
||||
- .. _V4L2-PIX-FMT-VC1-ANNEX-G:
|
||||
* .. _V4L2-PIX-FMT-VC1-ANNEX-G:
|
||||
|
||||
- ``V4L2_PIX_FMT_VC1_ANNEX_G``
|
||||
|
||||
- 'VC1G'
|
||||
|
||||
- VC1, SMPTE 421M Annex G compliant stream.
|
||||
|
||||
- .. _V4L2-PIX-FMT-VC1-ANNEX-L:
|
||||
* .. _V4L2-PIX-FMT-VC1-ANNEX-L:
|
||||
|
||||
- ``V4L2_PIX_FMT_VC1_ANNEX_L``
|
||||
|
||||
- 'VC1L'
|
||||
|
||||
- VC1, SMPTE 421M Annex L compliant stream.
|
||||
|
||||
- .. _V4L2-PIX-FMT-VP8:
|
||||
* .. _V4L2-PIX-FMT-VP8:
|
||||
|
||||
- ``V4L2_PIX_FMT_VP8``
|
||||
|
||||
- 'VP80'
|
||||
|
||||
- VP8 video elementary stream.
|
||||
|
@ -22,51 +22,23 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 4:
|
||||
|
||||
* - start + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 12:
|
||||
|
||||
* - start + 12:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
@ -17,57 +17,31 @@ the palette, this must be done with ioctls of the Linux framebuffer API.
|
||||
:header-rows: 2
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Identifier
|
||||
|
||||
* - Identifier
|
||||
- Code
|
||||
|
||||
-
|
||||
- :cspan:`7` Byte 0
|
||||
|
||||
- .. row 2
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- Bit
|
||||
|
||||
- 7
|
||||
|
||||
- 6
|
||||
|
||||
- 5
|
||||
|
||||
- 4
|
||||
|
||||
- 3
|
||||
|
||||
- 2
|
||||
|
||||
- 1
|
||||
|
||||
- 0
|
||||
|
||||
- .. _V4L2-PIX-FMT-PAL8:
|
||||
* .. _V4L2-PIX-FMT-PAL8:
|
||||
|
||||
- ``V4L2_PIX_FMT_PAL8``
|
||||
|
||||
- 'PAL8'
|
||||
|
||||
-
|
||||
- i\ :sub:`7`
|
||||
|
||||
- i\ :sub:`6`
|
||||
|
||||
- i\ :sub:`5`
|
||||
|
||||
- i\ :sub:`4`
|
||||
|
||||
- i\ :sub:`3`
|
||||
|
||||
- i\ :sub:`2`
|
||||
|
||||
- i\ :sub:`1`
|
||||
|
||||
- i\ :sub:`0`
|
||||
|
@ -34,77 +34,35 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 4:
|
||||
|
||||
* - start + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 5
|
||||
|
||||
- start + 20:
|
||||
|
||||
* - start + 20:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
|
||||
@ -116,100 +74,53 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
- 2
|
||||
|
||||
-
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
* -
|
||||
-
|
||||
- C
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
* - 1
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
* -
|
||||
* - 2
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
* -
|
||||
-
|
||||
- C
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 1
|
||||
|
||||
* - 3
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
- 2
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 8
|
||||
|
||||
- 3
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
@ -39,76 +39,35 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 4:
|
||||
|
||||
* - start + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 12:
|
||||
|
||||
* - start + 12:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- .. row 5
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start + 20:
|
||||
|
||||
* - start + 20:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
|
||||
@ -118,100 +77,53 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
- 2
|
||||
|
||||
-
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
* -
|
||||
-
|
||||
- C
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
* - 1
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
* -
|
||||
* - 2
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
* -
|
||||
-
|
||||
- C
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 1
|
||||
|
||||
* - 3
|
||||
- Y
|
||||
-
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
- 2
|
||||
|
||||
- Y
|
||||
-
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 8
|
||||
|
||||
- 3
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
@ -50,80 +50,36 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start0 + 0:
|
||||
|
||||
* - start0 + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start0 + 4:
|
||||
|
||||
* - start0 + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start0 + 8:
|
||||
|
||||
* - start0 + 8:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start0 + 12:
|
||||
|
||||
* - start0 + 12:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start1 + 0:
|
||||
|
||||
* -
|
||||
* - start1 + 0:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- .. row 7
|
||||
|
||||
- start1 + 4:
|
||||
|
||||
* - start1 + 4:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
|
||||
@ -135,101 +91,54 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
- 2
|
||||
|
||||
-
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
* -
|
||||
-
|
||||
- C
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
* - 1
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
* -
|
||||
* - 2
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
* -
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 1
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
- 2
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 8
|
||||
|
||||
- 3
|
||||
|
||||
* - 3
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
@ -37,100 +37,45 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 4:
|
||||
|
||||
* - start + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 12:
|
||||
|
||||
* - start + 12:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- .. row 5
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start + 20:
|
||||
|
||||
* - start + 20:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
- .. row 7
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- Cr\ :sub:`20`
|
||||
|
||||
- Cb\ :sub:`21`
|
||||
|
||||
- Cr\ :sub:`21`
|
||||
|
||||
- .. row 8
|
||||
|
||||
- start + 28:
|
||||
|
||||
* - start + 28:
|
||||
- Cb\ :sub:`30`
|
||||
|
||||
- Cr\ :sub:`30`
|
||||
|
||||
- Cb\ :sub:`31`
|
||||
|
||||
- Cr\ :sub:`31`
|
||||
|
||||
|
||||
@ -142,124 +87,67 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
- 2
|
||||
|
||||
-
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
* -
|
||||
-
|
||||
- C
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
* - 1
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
* -
|
||||
-
|
||||
- C
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 1
|
||||
|
||||
* -
|
||||
* - 2
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
* -
|
||||
-
|
||||
- C
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
* - 3
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
* -
|
||||
-
|
||||
- C
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
-
|
||||
|
||||
- .. row 7
|
||||
|
||||
- 2
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 8
|
||||
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 9
|
||||
|
||||
- 3
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 10
|
||||
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
@ -40,104 +40,46 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start0 + 0:
|
||||
|
||||
* - start0 + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start0 + 4:
|
||||
|
||||
* - start0 + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start0 + 8:
|
||||
|
||||
* - start0 + 8:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start0 + 12:
|
||||
|
||||
* - start0 + 12:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start1 + 0:
|
||||
|
||||
* -
|
||||
* - start1 + 0:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`02`
|
||||
|
||||
- Cr\ :sub:`02`
|
||||
|
||||
- .. row 7
|
||||
|
||||
- start1 + 4:
|
||||
|
||||
* - start1 + 4:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`12`
|
||||
|
||||
- Cr\ :sub:`12`
|
||||
|
||||
- .. row 8
|
||||
|
||||
- start1 + 8:
|
||||
|
||||
* - start1 + 8:
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- Cr\ :sub:`20`
|
||||
|
||||
- Cb\ :sub:`22`
|
||||
|
||||
- Cr\ :sub:`22`
|
||||
|
||||
- .. row 9
|
||||
|
||||
- start1 + 12:
|
||||
|
||||
* - start1 + 12:
|
||||
- Cb\ :sub:`30`
|
||||
|
||||
- Cr\ :sub:`30`
|
||||
|
||||
- Cb\ :sub:`32`
|
||||
|
||||
- Cr\ :sub:`32`
|
||||
|
||||
|
||||
@ -149,124 +91,67 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
- 2
|
||||
|
||||
-
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
* -
|
||||
-
|
||||
- C
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
* - 1
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
* -
|
||||
-
|
||||
- C
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 1
|
||||
|
||||
* -
|
||||
* - 2
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
* -
|
||||
-
|
||||
- C
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
* - 3
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
- Y
|
||||
-
|
||||
- Y
|
||||
* -
|
||||
-
|
||||
- C
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
-
|
||||
|
||||
- .. row 7
|
||||
|
||||
- 2
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 8
|
||||
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 9
|
||||
|
||||
- 3
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 10
|
||||
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
@ -37,130 +37,59 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 4:
|
||||
|
||||
* - start + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 12:
|
||||
|
||||
* - start + 12:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- .. row 5
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- Cb\ :sub:`02`
|
||||
|
||||
- Cr\ :sub:`02`
|
||||
|
||||
- Cb\ :sub:`03`
|
||||
|
||||
- Cr\ :sub:`03`
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
- Cb\ :sub:`12`
|
||||
|
||||
- Cr\ :sub:`12`
|
||||
|
||||
- Cb\ :sub:`13`
|
||||
|
||||
- Cr\ :sub:`13`
|
||||
|
||||
- .. row 7
|
||||
|
||||
- start + 32:
|
||||
|
||||
* - start + 32:
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- Cr\ :sub:`20`
|
||||
|
||||
- Cb\ :sub:`21`
|
||||
|
||||
- Cr\ :sub:`21`
|
||||
|
||||
- Cb\ :sub:`22`
|
||||
|
||||
- Cr\ :sub:`22`
|
||||
|
||||
- Cb\ :sub:`23`
|
||||
|
||||
- Cr\ :sub:`23`
|
||||
|
||||
- .. row 8
|
||||
|
||||
- start + 40:
|
||||
|
||||
* - start + 40:
|
||||
- Cb\ :sub:`30`
|
||||
|
||||
- Cr\ :sub:`30`
|
||||
|
||||
- Cb\ :sub:`31`
|
||||
|
||||
- Cr\ :sub:`31`
|
||||
|
||||
- Cb\ :sub:`32`
|
||||
|
||||
- Cr\ :sub:`32`
|
||||
|
||||
- Cb\ :sub:`33`
|
||||
|
||||
- Cr\ :sub:`33`
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -24,290 +24,159 @@ component of each pixel in one 16 or 32 bit word.
|
||||
:header-rows: 2
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Identifier
|
||||
|
||||
* - Identifier
|
||||
- Code
|
||||
|
||||
-
|
||||
- :cspan:`7` Byte 0 in memory
|
||||
|
||||
-
|
||||
- :cspan:`7` Byte 1
|
||||
|
||||
-
|
||||
- :cspan:`7` Byte 2
|
||||
|
||||
-
|
||||
- :cspan:`7` Byte 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- Bit
|
||||
|
||||
- 7
|
||||
|
||||
- 6
|
||||
|
||||
- 5
|
||||
|
||||
- 4
|
||||
|
||||
- 3
|
||||
|
||||
- 2
|
||||
|
||||
- 1
|
||||
|
||||
- 0
|
||||
|
||||
-
|
||||
- 7
|
||||
|
||||
- 6
|
||||
|
||||
- 5
|
||||
|
||||
- 4
|
||||
|
||||
- 3
|
||||
|
||||
- 2
|
||||
|
||||
- 1
|
||||
|
||||
- 0
|
||||
|
||||
-
|
||||
- 7
|
||||
|
||||
- 6
|
||||
|
||||
- 5
|
||||
|
||||
- 4
|
||||
|
||||
- 3
|
||||
|
||||
- 2
|
||||
|
||||
- 1
|
||||
|
||||
- 0
|
||||
|
||||
-
|
||||
- 7
|
||||
|
||||
- 6
|
||||
|
||||
- 5
|
||||
|
||||
- 4
|
||||
|
||||
- 3
|
||||
|
||||
- 2
|
||||
|
||||
- 1
|
||||
|
||||
- 0
|
||||
|
||||
- .. _V4L2-PIX-FMT-YUV444:
|
||||
* .. _V4L2-PIX-FMT-YUV444:
|
||||
|
||||
- ``V4L2_PIX_FMT_YUV444``
|
||||
|
||||
- 'Y444'
|
||||
|
||||
-
|
||||
- Cb\ :sub:`3`
|
||||
|
||||
- Cb\ :sub:`2`
|
||||
|
||||
- Cb\ :sub:`1`
|
||||
|
||||
- Cb\ :sub:`0`
|
||||
|
||||
- Cr\ :sub:`3`
|
||||
|
||||
- Cr\ :sub:`2`
|
||||
|
||||
- Cr\ :sub:`1`
|
||||
|
||||
- Cr\ :sub:`0`
|
||||
|
||||
-
|
||||
- a\ :sub:`3`
|
||||
|
||||
- a\ :sub:`2`
|
||||
|
||||
- a\ :sub:`1`
|
||||
|
||||
- a\ :sub:`0`
|
||||
|
||||
- Y'\ :sub:`3`
|
||||
|
||||
- Y'\ :sub:`2`
|
||||
|
||||
- Y'\ :sub:`1`
|
||||
|
||||
- Y'\ :sub:`0`
|
||||
|
||||
- .. _V4L2-PIX-FMT-YUV555:
|
||||
* .. _V4L2-PIX-FMT-YUV555:
|
||||
|
||||
- ``V4L2_PIX_FMT_YUV555``
|
||||
|
||||
- 'YUVO'
|
||||
|
||||
-
|
||||
- Cb\ :sub:`2`
|
||||
|
||||
- Cb\ :sub:`1`
|
||||
|
||||
- Cb\ :sub:`0`
|
||||
|
||||
- Cr\ :sub:`4`
|
||||
|
||||
- Cr\ :sub:`3`
|
||||
|
||||
- Cr\ :sub:`2`
|
||||
|
||||
- Cr\ :sub:`1`
|
||||
|
||||
- Cr\ :sub:`0`
|
||||
|
||||
-
|
||||
- a
|
||||
|
||||
- Y'\ :sub:`4`
|
||||
|
||||
- Y'\ :sub:`3`
|
||||
|
||||
- Y'\ :sub:`2`
|
||||
|
||||
- Y'\ :sub:`1`
|
||||
|
||||
- Y'\ :sub:`0`
|
||||
|
||||
- Cb\ :sub:`4`
|
||||
|
||||
- Cb\ :sub:`3`
|
||||
|
||||
- .. _V4L2-PIX-FMT-YUV565:
|
||||
* .. _V4L2-PIX-FMT-YUV565:
|
||||
|
||||
- ``V4L2_PIX_FMT_YUV565``
|
||||
|
||||
- 'YUVP'
|
||||
|
||||
-
|
||||
- Cb\ :sub:`2`
|
||||
|
||||
- Cb\ :sub:`1`
|
||||
|
||||
- Cb\ :sub:`0`
|
||||
|
||||
- Cr\ :sub:`4`
|
||||
|
||||
- Cr\ :sub:`3`
|
||||
|
||||
- Cr\ :sub:`2`
|
||||
|
||||
- Cr\ :sub:`1`
|
||||
|
||||
- Cr\ :sub:`0`
|
||||
|
||||
-
|
||||
- Y'\ :sub:`4`
|
||||
|
||||
- Y'\ :sub:`3`
|
||||
|
||||
- Y'\ :sub:`2`
|
||||
|
||||
- Y'\ :sub:`1`
|
||||
|
||||
- Y'\ :sub:`0`
|
||||
|
||||
- Cb\ :sub:`5`
|
||||
|
||||
- Cb\ :sub:`4`
|
||||
|
||||
- Cb\ :sub:`3`
|
||||
|
||||
- .. _V4L2-PIX-FMT-YUV32:
|
||||
* .. _V4L2-PIX-FMT-YUV32:
|
||||
|
||||
- ``V4L2_PIX_FMT_YUV32``
|
||||
|
||||
- 'YUV4'
|
||||
|
||||
-
|
||||
- a\ :sub:`7`
|
||||
|
||||
- a\ :sub:`6`
|
||||
|
||||
- a\ :sub:`5`
|
||||
|
||||
- a\ :sub:`4`
|
||||
|
||||
- a\ :sub:`3`
|
||||
|
||||
- a\ :sub:`2`
|
||||
|
||||
- a\ :sub:`1`
|
||||
|
||||
- a\ :sub:`0`
|
||||
|
||||
-
|
||||
- Y'\ :sub:`7`
|
||||
|
||||
- Y'\ :sub:`6`
|
||||
|
||||
- Y'\ :sub:`5`
|
||||
|
||||
- Y'\ :sub:`4`
|
||||
|
||||
- Y'\ :sub:`3`
|
||||
|
||||
- Y'\ :sub:`2`
|
||||
|
||||
- Y'\ :sub:`1`
|
||||
|
||||
- Y'\ :sub:`0`
|
||||
|
||||
-
|
||||
- Cb\ :sub:`7`
|
||||
|
||||
- Cb\ :sub:`6`
|
||||
|
||||
- Cb\ :sub:`5`
|
||||
|
||||
- Cb\ :sub:`4`
|
||||
|
||||
- Cb\ :sub:`3`
|
||||
|
||||
- Cb\ :sub:`2`
|
||||
|
||||
- Cb\ :sub:`1`
|
||||
|
||||
- Cb\ :sub:`0`
|
||||
|
||||
-
|
||||
- Cr\ :sub:`7`
|
||||
|
||||
- Cr\ :sub:`6`
|
||||
|
||||
- Cr\ :sub:`5`
|
||||
|
||||
- Cr\ :sub:`4`
|
||||
|
||||
- Cr\ :sub:`3`
|
||||
|
||||
- Cr\ :sub:`2`
|
||||
|
||||
- Cr\ :sub:`1`
|
||||
|
||||
- Cr\ :sub:`0`
|
||||
|
||||
.. raw:: latex
|
||||
|
@ -26,289 +26,185 @@ please make a proposal on the linux-media mailing list.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Identifier
|
||||
|
||||
* - Identifier
|
||||
- Code
|
||||
|
||||
- Details
|
||||
|
||||
- .. _V4L2-PIX-FMT-DV:
|
||||
* .. _V4L2-PIX-FMT-DV:
|
||||
|
||||
- ``V4L2_PIX_FMT_DV``
|
||||
|
||||
- 'dvsd'
|
||||
|
||||
- unknown
|
||||
|
||||
- .. _V4L2-PIX-FMT-ET61X251:
|
||||
* .. _V4L2-PIX-FMT-ET61X251:
|
||||
|
||||
- ``V4L2_PIX_FMT_ET61X251``
|
||||
|
||||
- 'E625'
|
||||
|
||||
- Compressed format of the ET61X251 driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-HI240:
|
||||
* .. _V4L2-PIX-FMT-HI240:
|
||||
|
||||
- ``V4L2_PIX_FMT_HI240``
|
||||
|
||||
- 'HI24'
|
||||
|
||||
- 8 bit RGB format used by the BTTV driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-HM12:
|
||||
* .. _V4L2-PIX-FMT-HM12:
|
||||
|
||||
- ``V4L2_PIX_FMT_HM12``
|
||||
|
||||
- 'HM12'
|
||||
|
||||
- YUV 4:2:0 format used by the IVTV driver,
|
||||
`http://www.ivtvdriver.org/ <http://www.ivtvdriver.org/>`__
|
||||
|
||||
The format is documented in the kernel sources in the file
|
||||
``Documentation/video4linux/cx2341x/README.hm12``
|
||||
|
||||
- .. _V4L2-PIX-FMT-CPIA1:
|
||||
* .. _V4L2-PIX-FMT-CPIA1:
|
||||
|
||||
- ``V4L2_PIX_FMT_CPIA1``
|
||||
|
||||
- 'CPIA'
|
||||
|
||||
- YUV format used by the gspca cpia1 driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-JPGL:
|
||||
* .. _V4L2-PIX-FMT-JPGL:
|
||||
|
||||
- ``V4L2_PIX_FMT_JPGL``
|
||||
|
||||
- 'JPGL'
|
||||
|
||||
- JPEG-Light format (Pegasus Lossless JPEG) used in Divio webcams NW
|
||||
80x.
|
||||
|
||||
- .. _V4L2-PIX-FMT-SPCA501:
|
||||
* .. _V4L2-PIX-FMT-SPCA501:
|
||||
|
||||
- ``V4L2_PIX_FMT_SPCA501``
|
||||
|
||||
- 'S501'
|
||||
|
||||
- YUYV per line used by the gspca driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-SPCA505:
|
||||
* .. _V4L2-PIX-FMT-SPCA505:
|
||||
|
||||
- ``V4L2_PIX_FMT_SPCA505``
|
||||
|
||||
- 'S505'
|
||||
|
||||
- YYUV per line used by the gspca driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-SPCA508:
|
||||
* .. _V4L2-PIX-FMT-SPCA508:
|
||||
|
||||
- ``V4L2_PIX_FMT_SPCA508``
|
||||
|
||||
- 'S508'
|
||||
|
||||
- YUVY per line used by the gspca driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-SPCA561:
|
||||
* .. _V4L2-PIX-FMT-SPCA561:
|
||||
|
||||
- ``V4L2_PIX_FMT_SPCA561``
|
||||
|
||||
- 'S561'
|
||||
|
||||
- Compressed GBRG Bayer format used by the gspca driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-PAC207:
|
||||
* .. _V4L2-PIX-FMT-PAC207:
|
||||
|
||||
- ``V4L2_PIX_FMT_PAC207``
|
||||
|
||||
- 'P207'
|
||||
|
||||
- Compressed BGGR Bayer format used by the gspca driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-MR97310A:
|
||||
* .. _V4L2-PIX-FMT-MR97310A:
|
||||
|
||||
- ``V4L2_PIX_FMT_MR97310A``
|
||||
|
||||
- 'M310'
|
||||
|
||||
- Compressed BGGR Bayer format used by the gspca driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-JL2005BCD:
|
||||
* .. _V4L2-PIX-FMT-JL2005BCD:
|
||||
|
||||
- ``V4L2_PIX_FMT_JL2005BCD``
|
||||
|
||||
- 'JL20'
|
||||
|
||||
- JPEG compressed RGGB Bayer format used by the gspca driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-OV511:
|
||||
* .. _V4L2-PIX-FMT-OV511:
|
||||
|
||||
- ``V4L2_PIX_FMT_OV511``
|
||||
|
||||
- 'O511'
|
||||
|
||||
- OV511 JPEG format used by the gspca driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-OV518:
|
||||
* .. _V4L2-PIX-FMT-OV518:
|
||||
|
||||
- ``V4L2_PIX_FMT_OV518``
|
||||
|
||||
- 'O518'
|
||||
|
||||
- OV518 JPEG format used by the gspca driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-PJPG:
|
||||
* .. _V4L2-PIX-FMT-PJPG:
|
||||
|
||||
- ``V4L2_PIX_FMT_PJPG``
|
||||
|
||||
- 'PJPG'
|
||||
|
||||
- Pixart 73xx JPEG format used by the gspca driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-SE401:
|
||||
* .. _V4L2-PIX-FMT-SE401:
|
||||
|
||||
- ``V4L2_PIX_FMT_SE401``
|
||||
|
||||
- 'S401'
|
||||
|
||||
- Compressed RGB format used by the gspca se401 driver
|
||||
|
||||
- .. _V4L2-PIX-FMT-SQ905C:
|
||||
* .. _V4L2-PIX-FMT-SQ905C:
|
||||
|
||||
- ``V4L2_PIX_FMT_SQ905C``
|
||||
|
||||
- '905C'
|
||||
|
||||
- Compressed RGGB bayer format used by the gspca driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-MJPEG:
|
||||
* .. _V4L2-PIX-FMT-MJPEG:
|
||||
|
||||
- ``V4L2_PIX_FMT_MJPEG``
|
||||
|
||||
- 'MJPG'
|
||||
|
||||
- Compressed format used by the Zoran driver
|
||||
|
||||
- .. _V4L2-PIX-FMT-PWC1:
|
||||
* .. _V4L2-PIX-FMT-PWC1:
|
||||
|
||||
- ``V4L2_PIX_FMT_PWC1``
|
||||
|
||||
- 'PWC1'
|
||||
|
||||
- Compressed format of the PWC driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-PWC2:
|
||||
* .. _V4L2-PIX-FMT-PWC2:
|
||||
|
||||
- ``V4L2_PIX_FMT_PWC2``
|
||||
|
||||
- 'PWC2'
|
||||
|
||||
- Compressed format of the PWC driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-SN9C10X:
|
||||
* .. _V4L2-PIX-FMT-SN9C10X:
|
||||
|
||||
- ``V4L2_PIX_FMT_SN9C10X``
|
||||
|
||||
- 'S910'
|
||||
|
||||
- Compressed format of the SN9C102 driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-SN9C20X-I420:
|
||||
* .. _V4L2-PIX-FMT-SN9C20X-I420:
|
||||
|
||||
- ``V4L2_PIX_FMT_SN9C20X_I420``
|
||||
|
||||
- 'S920'
|
||||
|
||||
- YUV 4:2:0 format of the gspca sn9c20x driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-SN9C2028:
|
||||
* .. _V4L2-PIX-FMT-SN9C2028:
|
||||
|
||||
- ``V4L2_PIX_FMT_SN9C2028``
|
||||
|
||||
- 'SONX'
|
||||
|
||||
- Compressed GBRG bayer format of the gspca sn9c2028 driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-STV0680:
|
||||
* .. _V4L2-PIX-FMT-STV0680:
|
||||
|
||||
- ``V4L2_PIX_FMT_STV0680``
|
||||
|
||||
- 'S680'
|
||||
|
||||
- Bayer format of the gspca stv0680 driver.
|
||||
|
||||
- .. _V4L2-PIX-FMT-WNVA:
|
||||
* .. _V4L2-PIX-FMT-WNVA:
|
||||
|
||||
- ``V4L2_PIX_FMT_WNVA``
|
||||
|
||||
- 'WNVA'
|
||||
|
||||
- Used by the Winnov Videum driver,
|
||||
`http://www.thedirks.org/winnov/ <http://www.thedirks.org/winnov/>`__
|
||||
|
||||
- .. _V4L2-PIX-FMT-TM6000:
|
||||
* .. _V4L2-PIX-FMT-TM6000:
|
||||
|
||||
- ``V4L2_PIX_FMT_TM6000``
|
||||
|
||||
- 'TM60'
|
||||
|
||||
- Used by Trident tm6000
|
||||
|
||||
- .. _V4L2-PIX-FMT-CIT-YYVYUY:
|
||||
* .. _V4L2-PIX-FMT-CIT-YYVYUY:
|
||||
|
||||
- ``V4L2_PIX_FMT_CIT_YYVYUY``
|
||||
|
||||
- 'CITV'
|
||||
|
||||
- Used by xirlink CIT, found at IBM webcams.
|
||||
|
||||
Uses one line of Y then 1 line of VYUY
|
||||
|
||||
- .. _V4L2-PIX-FMT-KONICA420:
|
||||
* .. _V4L2-PIX-FMT-KONICA420:
|
||||
|
||||
- ``V4L2_PIX_FMT_KONICA420``
|
||||
|
||||
- 'KONI'
|
||||
|
||||
- Used by Konica webcams.
|
||||
|
||||
YUV420 planar in blocks of 256 pixels.
|
||||
|
||||
- .. _V4L2-PIX-FMT-YYUV:
|
||||
* .. _V4L2-PIX-FMT-YYUV:
|
||||
|
||||
- ``V4L2_PIX_FMT_YYUV``
|
||||
|
||||
- 'YYUV'
|
||||
|
||||
- unknown
|
||||
|
||||
- .. _V4L2-PIX-FMT-Y4:
|
||||
* .. _V4L2-PIX-FMT-Y4:
|
||||
|
||||
- ``V4L2_PIX_FMT_Y4``
|
||||
|
||||
- 'Y04 '
|
||||
|
||||
- Old 4-bit greyscale format. Only the most significant 4 bits of
|
||||
each byte are used, the other bits are set to 0.
|
||||
|
||||
- .. _V4L2-PIX-FMT-Y6:
|
||||
* .. _V4L2-PIX-FMT-Y6:
|
||||
|
||||
- ``V4L2_PIX_FMT_Y6``
|
||||
|
||||
- 'Y06 '
|
||||
|
||||
- Old 6-bit greyscale format. Only the most significant 6 bits of
|
||||
each byte are used, the other bits are set to 0.
|
||||
|
||||
- .. _V4L2-PIX-FMT-S5C-UYVY-JPG:
|
||||
* .. _V4L2-PIX-FMT-S5C-UYVY-JPG:
|
||||
|
||||
- ``V4L2_PIX_FMT_S5C_UYVY_JPG``
|
||||
|
||||
- 'S5CI'
|
||||
|
||||
- Two-planar format used by Samsung S5C73MX cameras. The first plane
|
||||
contains interleaved JPEG and UYVY image data, followed by meta
|
||||
data in form of an array of offsets to the UYVY data blocks. The
|
||||
@ -350,13 +246,8 @@ please make a proposal on the linux-media mailing list.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_PIX_FMT_FLAG_PREMUL_ALPHA``
|
||||
|
||||
* - ``V4L2_PIX_FMT_FLAG_PREMUL_ALPHA``
|
||||
- 0x00000001
|
||||
|
||||
- The color values are premultiplied by the alpha channel value. For
|
||||
example, if a light blue pixel with 50% transparency was described
|
||||
by RGBA values (128, 192, 255, 128), the same pixel described with
|
||||
|
@ -24,82 +24,39 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- B\ :sub:`00low`
|
||||
|
||||
- B\ :sub:`00high`
|
||||
|
||||
- G\ :sub:`01low`
|
||||
|
||||
- G\ :sub:`01high`
|
||||
|
||||
- B\ :sub:`02low`
|
||||
|
||||
- B\ :sub:`02high`
|
||||
|
||||
- G\ :sub:`03low`
|
||||
|
||||
- G\ :sub:`03high`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- G\ :sub:`10low`
|
||||
|
||||
- G\ :sub:`10high`
|
||||
|
||||
- R\ :sub:`11low`
|
||||
|
||||
- R\ :sub:`11high`
|
||||
|
||||
- G\ :sub:`12low`
|
||||
|
||||
- G\ :sub:`12high`
|
||||
|
||||
- R\ :sub:`13low`
|
||||
|
||||
- R\ :sub:`13high`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- B\ :sub:`20low`
|
||||
|
||||
- B\ :sub:`20high`
|
||||
|
||||
- G\ :sub:`21low`
|
||||
|
||||
- G\ :sub:`21high`
|
||||
|
||||
- B\ :sub:`22low`
|
||||
|
||||
- B\ :sub:`22high`
|
||||
|
||||
- G\ :sub:`23low`
|
||||
|
||||
- G\ :sub:`23high`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- G\ :sub:`30low`
|
||||
|
||||
- G\ :sub:`30high`
|
||||
|
||||
- R\ :sub:`31low`
|
||||
|
||||
- R\ :sub:`31high`
|
||||
|
||||
- G\ :sub:`32low`
|
||||
|
||||
- G\ :sub:`32high`
|
||||
|
||||
- R\ :sub:`33low`
|
||||
|
||||
- R\ :sub:`33high`
|
||||
|
@ -24,15 +24,7 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- I'\ :sub:`0`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 1:
|
||||
|
||||
* - start + 1:
|
||||
- Q'\ :sub:`0`
|
||||
|
@ -26,18 +26,9 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- I'\ :sub:`0[7:0]`
|
||||
|
||||
- I'\ :sub:`0[13:8]`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 2:
|
||||
|
||||
* - start + 2:
|
||||
- Q'\ :sub:`0[7:0]`
|
||||
|
||||
- Q'\ :sub:`0[13:8]`
|
||||
|
@ -24,14 +24,7 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- I'\ :sub:`0`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 1:
|
||||
|
||||
* - start + 1:
|
||||
- Q'\ :sub:`0`
|
||||
|
@ -26,18 +26,9 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- I'\ :sub:`0[7:0]`
|
||||
|
||||
- I'\ :sub:`0[15:8]`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 2:
|
||||
|
||||
* - start + 2:
|
||||
- Q'\ :sub:`0[7:0]`
|
||||
|
||||
- Q'\ :sub:`0[15:8]`
|
||||
|
@ -27,11 +27,6 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- I'\ :sub:`0[7:0]`
|
||||
|
||||
- I'\ :sub:`0[11:8]`
|
||||
|
@ -38,83 +38,39 @@ are 0.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- B\ :sub:`00low`
|
||||
|
||||
- B\ :sub:`00high`
|
||||
|
||||
- G\ :sub:`01low`
|
||||
|
||||
- G\ :sub:`01high`
|
||||
|
||||
- B\ :sub:`02low`
|
||||
|
||||
- B\ :sub:`02high`
|
||||
|
||||
- G\ :sub:`03low`
|
||||
|
||||
- G\ :sub:`03high`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- G\ :sub:`10low`
|
||||
|
||||
- G\ :sub:`10high`
|
||||
|
||||
- R\ :sub:`11low`
|
||||
|
||||
- R\ :sub:`11high`
|
||||
|
||||
- G\ :sub:`12low`
|
||||
|
||||
- G\ :sub:`12high`
|
||||
|
||||
- R\ :sub:`13low`
|
||||
|
||||
- R\ :sub:`13high`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- B\ :sub:`20low`
|
||||
|
||||
- B\ :sub:`20high`
|
||||
|
||||
- G\ :sub:`21low`
|
||||
|
||||
- G\ :sub:`21high`
|
||||
|
||||
- B\ :sub:`22low`
|
||||
|
||||
- B\ :sub:`22high`
|
||||
|
||||
- G\ :sub:`23low`
|
||||
|
||||
- G\ :sub:`23high`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- G\ :sub:`30low`
|
||||
|
||||
- G\ :sub:`30high`
|
||||
|
||||
- R\ :sub:`31low`
|
||||
|
||||
- R\ :sub:`31high`
|
||||
|
||||
- G\ :sub:`32low`
|
||||
|
||||
- G\ :sub:`32high`
|
||||
|
||||
- R\ :sub:`33low`
|
||||
|
||||
- R\ :sub:`33high`
|
||||
|
@ -44,63 +44,32 @@ Each cell is one byte.
|
||||
:stub-columns: 0
|
||||
:widths: 12 8 8 8 8 68
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- B\ :sub:`00high`
|
||||
|
||||
- G\ :sub:`01high`
|
||||
|
||||
- B\ :sub:`02high`
|
||||
|
||||
- G\ :sub:`03high`
|
||||
|
||||
- G\ :sub:`03low`\ (bits 7--6) B\ :sub:`02low`\ (bits 5--4)
|
||||
G\ :sub:`01low`\ (bits 3--2) B\ :sub:`00low`\ (bits 1--0)
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 5:
|
||||
|
||||
* - start + 5:
|
||||
- G\ :sub:`10high`
|
||||
|
||||
- R\ :sub:`11high`
|
||||
|
||||
- G\ :sub:`12high`
|
||||
|
||||
- R\ :sub:`13high`
|
||||
|
||||
- R\ :sub:`13low`\ (bits 7--6) G\ :sub:`12low`\ (bits 5--4)
|
||||
R\ :sub:`11low`\ (bits 3--2) G\ :sub:`10low`\ (bits 1--0)
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 10:
|
||||
|
||||
* - start + 10:
|
||||
- B\ :sub:`20high`
|
||||
|
||||
- G\ :sub:`21high`
|
||||
|
||||
- B\ :sub:`22high`
|
||||
|
||||
- G\ :sub:`23high`
|
||||
|
||||
- G\ :sub:`23low`\ (bits 7--6) B\ :sub:`22low`\ (bits 5--4)
|
||||
G\ :sub:`21low`\ (bits 3--2) B\ :sub:`20low`\ (bits 1--0)
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 15:
|
||||
|
||||
* - start + 15:
|
||||
- G\ :sub:`30high`
|
||||
|
||||
- R\ :sub:`31high`
|
||||
|
||||
- G\ :sub:`32high`
|
||||
|
||||
- R\ :sub:`33high`
|
||||
|
||||
- R\ :sub:`33low`\ (bits 7--6) G\ :sub:`32low`\ (bits 5--4)
|
||||
R\ :sub:`31low`\ (bits 3--2) G\ :sub:`30low`\ (bits 1--0)
|
||||
|
||||
|
@ -39,83 +39,39 @@ Each cell is one byte, the 4 most significant bits in the high bytes are
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- B\ :sub:`00low`
|
||||
|
||||
- B\ :sub:`00high`
|
||||
|
||||
- G\ :sub:`01low`
|
||||
|
||||
- G\ :sub:`01high`
|
||||
|
||||
- B\ :sub:`02low`
|
||||
|
||||
- B\ :sub:`02high`
|
||||
|
||||
- G\ :sub:`03low`
|
||||
|
||||
- G\ :sub:`03high`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- G\ :sub:`10low`
|
||||
|
||||
- G\ :sub:`10high`
|
||||
|
||||
- R\ :sub:`11low`
|
||||
|
||||
- R\ :sub:`11high`
|
||||
|
||||
- G\ :sub:`12low`
|
||||
|
||||
- G\ :sub:`12high`
|
||||
|
||||
- R\ :sub:`13low`
|
||||
|
||||
- R\ :sub:`13high`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- B\ :sub:`20low`
|
||||
|
||||
- B\ :sub:`20high`
|
||||
|
||||
- G\ :sub:`21low`
|
||||
|
||||
- G\ :sub:`21high`
|
||||
|
||||
- B\ :sub:`22low`
|
||||
|
||||
- B\ :sub:`22high`
|
||||
|
||||
- G\ :sub:`23low`
|
||||
|
||||
- G\ :sub:`23high`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- G\ :sub:`30low`
|
||||
|
||||
- G\ :sub:`30high`
|
||||
|
||||
- R\ :sub:`31low`
|
||||
|
||||
- R\ :sub:`31high`
|
||||
|
||||
- G\ :sub:`32low`
|
||||
|
||||
- G\ :sub:`32high`
|
||||
|
||||
- R\ :sub:`33low`
|
||||
|
||||
- R\ :sub:`33high`
|
||||
|
@ -32,51 +32,23 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- B\ :sub:`00`
|
||||
|
||||
- G\ :sub:`01`
|
||||
|
||||
- B\ :sub:`02`
|
||||
|
||||
- G\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 4:
|
||||
|
||||
* - start + 4:
|
||||
- G\ :sub:`10`
|
||||
|
||||
- R\ :sub:`11`
|
||||
|
||||
- G\ :sub:`12`
|
||||
|
||||
- R\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- B\ :sub:`20`
|
||||
|
||||
- G\ :sub:`21`
|
||||
|
||||
- B\ :sub:`22`
|
||||
|
||||
- G\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 12:
|
||||
|
||||
* - start + 12:
|
||||
- G\ :sub:`30`
|
||||
|
||||
- R\ :sub:`31`
|
||||
|
||||
- G\ :sub:`32`
|
||||
|
||||
- R\ :sub:`33`
|
||||
|
@ -30,51 +30,23 @@ Each cell is one byte.
|
||||
:stub-columns: 0
|
||||
:widths: 2 1 1 1 1
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- D'\ :sub:`00`
|
||||
|
||||
- D'\ :sub:`01`
|
||||
|
||||
- D'\ :sub:`02`
|
||||
|
||||
- D'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 4:
|
||||
|
||||
* - start + 4:
|
||||
- D'\ :sub:`10`
|
||||
|
||||
- D'\ :sub:`11`
|
||||
|
||||
- D'\ :sub:`12`
|
||||
|
||||
- D'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- D'\ :sub:`20`
|
||||
|
||||
- D'\ :sub:`21`
|
||||
|
||||
- D'\ :sub:`22`
|
||||
|
||||
- D'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 12:
|
||||
|
||||
* - start + 12:
|
||||
- D'\ :sub:`30`
|
||||
|
||||
- D'\ :sub:`31`
|
||||
|
||||
- D'\ :sub:`32`
|
||||
|
||||
- D'\ :sub:`33`
|
||||
|
@ -29,83 +29,39 @@ Each cell is one byte.
|
||||
:stub-columns: 0
|
||||
:widths: 2 1 1 1 1 1 1 1 1
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- D'\ :sub:`00high`
|
||||
|
||||
- D'\ :sub:`00low`
|
||||
|
||||
- D'\ :sub:`01high`
|
||||
|
||||
- D'\ :sub:`01low`
|
||||
|
||||
- D'\ :sub:`02high`
|
||||
|
||||
- D'\ :sub:`02low`
|
||||
|
||||
- D'\ :sub:`03high`
|
||||
|
||||
- D'\ :sub:`03low`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- D'\ :sub:`10high`
|
||||
|
||||
- D'\ :sub:`10low`
|
||||
|
||||
- D'\ :sub:`11high`
|
||||
|
||||
- D'\ :sub:`11low`
|
||||
|
||||
- D'\ :sub:`12high`
|
||||
|
||||
- D'\ :sub:`12low`
|
||||
|
||||
- D'\ :sub:`13high`
|
||||
|
||||
- D'\ :sub:`13low`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- D'\ :sub:`20high`
|
||||
|
||||
- D'\ :sub:`20low`
|
||||
|
||||
- D'\ :sub:`21high`
|
||||
|
||||
- D'\ :sub:`21low`
|
||||
|
||||
- D'\ :sub:`22high`
|
||||
|
||||
- D'\ :sub:`22low`
|
||||
|
||||
- D'\ :sub:`23high`
|
||||
|
||||
- D'\ :sub:`23low`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- D'\ :sub:`30high`
|
||||
|
||||
- D'\ :sub:`30low`
|
||||
|
||||
- D'\ :sub:`31high`
|
||||
|
||||
- D'\ :sub:`31low`
|
||||
|
||||
- D'\ :sub:`32high`
|
||||
|
||||
- D'\ :sub:`32low`
|
||||
|
||||
- D'\ :sub:`33high`
|
||||
|
||||
- D'\ :sub:`33low`
|
||||
|
@ -28,51 +28,23 @@ Each cell is one byte.
|
||||
:stub-columns: 0
|
||||
:widths: 2 1 1 1 1
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- R'\ :sub:`00`
|
||||
|
||||
- R'\ :sub:`01`
|
||||
|
||||
- R'\ :sub:`02`
|
||||
|
||||
- R'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 4:
|
||||
|
||||
* - start + 4:
|
||||
- R'\ :sub:`10`
|
||||
|
||||
- R'\ :sub:`11`
|
||||
|
||||
- R'\ :sub:`12`
|
||||
|
||||
- R'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- R'\ :sub:`20`
|
||||
|
||||
- R'\ :sub:`21`
|
||||
|
||||
- R'\ :sub:`22`
|
||||
|
||||
- R'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 12:
|
||||
|
||||
* - start + 12:
|
||||
- R'\ :sub:`30`
|
||||
|
||||
- R'\ :sub:`31`
|
||||
|
||||
- R'\ :sub:`32`
|
||||
|
||||
- R'\ :sub:`33`
|
||||
|
@ -28,83 +28,39 @@ Each cell is one byte.
|
||||
:stub-columns: 0
|
||||
:widths: 2 1 1 1 1 1 1 1 1
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- R'\ :sub:`00high`
|
||||
|
||||
- R'\ :sub:`00low`
|
||||
|
||||
- R'\ :sub:`01high`
|
||||
|
||||
- R'\ :sub:`01low`
|
||||
|
||||
- R'\ :sub:`02high`
|
||||
|
||||
- R'\ :sub:`02low`
|
||||
|
||||
- R'\ :sub:`03high`
|
||||
|
||||
- R'\ :sub:`03low`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- R'\ :sub:`10high`
|
||||
|
||||
- R'\ :sub:`10low`
|
||||
|
||||
- R'\ :sub:`11high`
|
||||
|
||||
- R'\ :sub:`11low`
|
||||
|
||||
- R'\ :sub:`12high`
|
||||
|
||||
- R'\ :sub:`12low`
|
||||
|
||||
- R'\ :sub:`13high`
|
||||
|
||||
- R'\ :sub:`13low`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- R'\ :sub:`20high`
|
||||
|
||||
- R'\ :sub:`20low`
|
||||
|
||||
- R'\ :sub:`21high`
|
||||
|
||||
- R'\ :sub:`21low`
|
||||
|
||||
- R'\ :sub:`22high`
|
||||
|
||||
- R'\ :sub:`22low`
|
||||
|
||||
- R'\ :sub:`23high`
|
||||
|
||||
- R'\ :sub:`23low`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- R'\ :sub:`30high`
|
||||
|
||||
- R'\ :sub:`30low`
|
||||
|
||||
- R'\ :sub:`31high`
|
||||
|
||||
- R'\ :sub:`31low`
|
||||
|
||||
- R'\ :sub:`32high`
|
||||
|
||||
- R'\ :sub:`32low`
|
||||
|
||||
- R'\ :sub:`33high`
|
||||
|
||||
- R'\ :sub:`33low`
|
||||
|
@ -25,51 +25,23 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 4:
|
||||
|
||||
* - start + 4:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- Cr\ :sub:`20`
|
||||
|
||||
- Cb\ :sub:`21`
|
||||
|
||||
- Cr\ :sub:`21`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 12:
|
||||
|
||||
* - start + 12:
|
||||
- Cb\ :sub:`30`
|
||||
|
||||
- Cr\ :sub:`30`
|
||||
|
||||
- Cb\ :sub:`31`
|
||||
|
||||
- Cr\ :sub:`31`
|
||||
|
@ -27,85 +27,41 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Cr\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Cb\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Cr\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Cb\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Cr\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Cb\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Cr\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
|
||||
@ -117,80 +73,38 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
- 2
|
||||
|
||||
-
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
- 1
|
||||
|
||||
* - 1
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 2
|
||||
|
||||
* - 2
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
- 3
|
||||
|
||||
* - 3
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
@ -27,85 +27,41 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Cr\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Cr\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Cb\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Cr\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Cb\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Cr\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Cb\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
|
||||
@ -115,80 +71,38 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
-
|
||||
- 2
|
||||
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
- 1
|
||||
|
||||
* - 1
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 2
|
||||
|
||||
* - 2
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
- 3
|
||||
|
||||
* - 3
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
@ -27,83 +27,39 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00low`
|
||||
|
||||
- Y'\ :sub:`00high`
|
||||
|
||||
- Y'\ :sub:`01low`
|
||||
|
||||
- Y'\ :sub:`01high`
|
||||
|
||||
- Y'\ :sub:`02low`
|
||||
|
||||
- Y'\ :sub:`02high`
|
||||
|
||||
- Y'\ :sub:`03low`
|
||||
|
||||
- Y'\ :sub:`03high`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`10low`
|
||||
|
||||
- Y'\ :sub:`10high`
|
||||
|
||||
- Y'\ :sub:`11low`
|
||||
|
||||
- Y'\ :sub:`11high`
|
||||
|
||||
- Y'\ :sub:`12low`
|
||||
|
||||
- Y'\ :sub:`12high`
|
||||
|
||||
- Y'\ :sub:`13low`
|
||||
|
||||
- Y'\ :sub:`13high`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Y'\ :sub:`20low`
|
||||
|
||||
- Y'\ :sub:`20high`
|
||||
|
||||
- Y'\ :sub:`21low`
|
||||
|
||||
- Y'\ :sub:`21high`
|
||||
|
||||
- Y'\ :sub:`22low`
|
||||
|
||||
- Y'\ :sub:`22high`
|
||||
|
||||
- Y'\ :sub:`23low`
|
||||
|
||||
- Y'\ :sub:`23high`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Y'\ :sub:`30low`
|
||||
|
||||
- Y'\ :sub:`30high`
|
||||
|
||||
- Y'\ :sub:`31low`
|
||||
|
||||
- Y'\ :sub:`31high`
|
||||
|
||||
- Y'\ :sub:`32low`
|
||||
|
||||
- Y'\ :sub:`32high`
|
||||
|
||||
- Y'\ :sub:`33low`
|
||||
|
||||
- Y'\ :sub:`33high`
|
||||
|
@ -26,14 +26,8 @@ pixels.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Y'\ :sub:`00[9:2]`
|
||||
|
||||
* - Y'\ :sub:`00[9:2]`
|
||||
- Y'\ :sub:`00[1:0]`\ Y'\ :sub:`01[9:4]`
|
||||
|
||||
- Y'\ :sub:`01[3:0]`\ Y'\ :sub:`02[9:6]`
|
||||
|
||||
- Y'\ :sub:`02[5:0]`\ Y'\ :sub:`03[9:8]`
|
||||
|
||||
- Y'\ :sub:`03[7:0]`
|
||||
|
@ -27,83 +27,39 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00low`
|
||||
|
||||
- Y'\ :sub:`00high`
|
||||
|
||||
- Y'\ :sub:`01low`
|
||||
|
||||
- Y'\ :sub:`01high`
|
||||
|
||||
- Y'\ :sub:`02low`
|
||||
|
||||
- Y'\ :sub:`02high`
|
||||
|
||||
- Y'\ :sub:`03low`
|
||||
|
||||
- Y'\ :sub:`03high`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`10low`
|
||||
|
||||
- Y'\ :sub:`10high`
|
||||
|
||||
- Y'\ :sub:`11low`
|
||||
|
||||
- Y'\ :sub:`11high`
|
||||
|
||||
- Y'\ :sub:`12low`
|
||||
|
||||
- Y'\ :sub:`12high`
|
||||
|
||||
- Y'\ :sub:`13low`
|
||||
|
||||
- Y'\ :sub:`13high`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Y'\ :sub:`20low`
|
||||
|
||||
- Y'\ :sub:`20high`
|
||||
|
||||
- Y'\ :sub:`21low`
|
||||
|
||||
- Y'\ :sub:`21high`
|
||||
|
||||
- Y'\ :sub:`22low`
|
||||
|
||||
- Y'\ :sub:`22high`
|
||||
|
||||
- Y'\ :sub:`23low`
|
||||
|
||||
- Y'\ :sub:`23high`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Y'\ :sub:`30low`
|
||||
|
||||
- Y'\ :sub:`30high`
|
||||
|
||||
- Y'\ :sub:`31low`
|
||||
|
||||
- Y'\ :sub:`31high`
|
||||
|
||||
- Y'\ :sub:`32low`
|
||||
|
||||
- Y'\ :sub:`32high`
|
||||
|
||||
- Y'\ :sub:`33low`
|
||||
|
||||
- Y'\ :sub:`33high`
|
||||
|
@ -31,11 +31,6 @@ interleaved pixel.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Y'\ :sub:`0left[7:0]`
|
||||
|
||||
* - Y'\ :sub:`0left[7:0]`
|
||||
- Y'\ :sub:`0right[3:0]`\ Y'\ :sub:`0left[11:8]`
|
||||
|
||||
- Y'\ :sub:`0right[11:4]`
|
||||
|
@ -31,83 +31,39 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00high`
|
||||
|
||||
- Y'\ :sub:`00low`
|
||||
|
||||
- Y'\ :sub:`01high`
|
||||
|
||||
- Y'\ :sub:`01low`
|
||||
|
||||
- Y'\ :sub:`02high`
|
||||
|
||||
- Y'\ :sub:`02low`
|
||||
|
||||
- Y'\ :sub:`03high`
|
||||
|
||||
- Y'\ :sub:`03low`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`10high`
|
||||
|
||||
- Y'\ :sub:`10low`
|
||||
|
||||
- Y'\ :sub:`11high`
|
||||
|
||||
- Y'\ :sub:`11low`
|
||||
|
||||
- Y'\ :sub:`12high`
|
||||
|
||||
- Y'\ :sub:`12low`
|
||||
|
||||
- Y'\ :sub:`13high`
|
||||
|
||||
- Y'\ :sub:`13low`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Y'\ :sub:`20high`
|
||||
|
||||
- Y'\ :sub:`20low`
|
||||
|
||||
- Y'\ :sub:`21high`
|
||||
|
||||
- Y'\ :sub:`21low`
|
||||
|
||||
- Y'\ :sub:`22high`
|
||||
|
||||
- Y'\ :sub:`22low`
|
||||
|
||||
- Y'\ :sub:`23high`
|
||||
|
||||
- Y'\ :sub:`23low`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Y'\ :sub:`30high`
|
||||
|
||||
- Y'\ :sub:`30low`
|
||||
|
||||
- Y'\ :sub:`31high`
|
||||
|
||||
- Y'\ :sub:`31low`
|
||||
|
||||
- Y'\ :sub:`32high`
|
||||
|
||||
- Y'\ :sub:`32low`
|
||||
|
||||
- Y'\ :sub:`33high`
|
||||
|
||||
- Y'\ :sub:`33low`
|
||||
|
@ -31,83 +31,39 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00low`
|
||||
|
||||
- Y'\ :sub:`00high`
|
||||
|
||||
- Y'\ :sub:`01low`
|
||||
|
||||
- Y'\ :sub:`01high`
|
||||
|
||||
- Y'\ :sub:`02low`
|
||||
|
||||
- Y'\ :sub:`02high`
|
||||
|
||||
- Y'\ :sub:`03low`
|
||||
|
||||
- Y'\ :sub:`03high`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`10low`
|
||||
|
||||
- Y'\ :sub:`10high`
|
||||
|
||||
- Y'\ :sub:`11low`
|
||||
|
||||
- Y'\ :sub:`11high`
|
||||
|
||||
- Y'\ :sub:`12low`
|
||||
|
||||
- Y'\ :sub:`12high`
|
||||
|
||||
- Y'\ :sub:`13low`
|
||||
|
||||
- Y'\ :sub:`13high`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Y'\ :sub:`20low`
|
||||
|
||||
- Y'\ :sub:`20high`
|
||||
|
||||
- Y'\ :sub:`21low`
|
||||
|
||||
- Y'\ :sub:`21high`
|
||||
|
||||
- Y'\ :sub:`22low`
|
||||
|
||||
- Y'\ :sub:`22high`
|
||||
|
||||
- Y'\ :sub:`23low`
|
||||
|
||||
- Y'\ :sub:`23high`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Y'\ :sub:`30low`
|
||||
|
||||
- Y'\ :sub:`30high`
|
||||
|
||||
- Y'\ :sub:`31low`
|
||||
|
||||
- Y'\ :sub:`31high`
|
||||
|
||||
- Y'\ :sub:`32low`
|
||||
|
||||
- Y'\ :sub:`32high`
|
||||
|
||||
- Y'\ :sub:`33low`
|
||||
|
||||
- Y'\ :sub:`33high`
|
||||
|
@ -34,117 +34,57 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- Y'\ :sub:`04`
|
||||
|
||||
- Y'\ :sub:`05`
|
||||
|
||||
- Y'\ :sub:`06`
|
||||
|
||||
- Y'\ :sub:`07`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 12:
|
||||
|
||||
* - start + 12:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- Y'\ :sub:`14`
|
||||
|
||||
- Y'\ :sub:`15`
|
||||
|
||||
- Y'\ :sub:`16`
|
||||
|
||||
- Y'\ :sub:`17`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Cr\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Cb\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Cr\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- Y'\ :sub:`24`
|
||||
|
||||
- Y'\ :sub:`25`
|
||||
|
||||
- Y'\ :sub:`26`
|
||||
|
||||
- Y'\ :sub:`27`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 36:
|
||||
|
||||
* - start + 36:
|
||||
- Cb\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Cr\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Cb\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Cr\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- Y'\ :sub:`34`
|
||||
|
||||
- Y'\ :sub:`35`
|
||||
|
||||
- Y'\ :sub:`36`
|
||||
|
||||
- Y'\ :sub:`37`
|
||||
|
||||
|
||||
@ -154,120 +94,58 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
- 1
|
||||
|
||||
-
|
||||
- 2
|
||||
|
||||
- 3
|
||||
|
||||
- 4
|
||||
|
||||
- 5
|
||||
|
||||
-
|
||||
- 6
|
||||
|
||||
- 7
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
- 1
|
||||
|
||||
* - 1
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 2
|
||||
|
||||
* - 2
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
- 3
|
||||
|
||||
* - 3
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
@ -28,83 +28,39 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00left`
|
||||
|
||||
- Y'\ :sub:`00right`
|
||||
|
||||
- Y'\ :sub:`01left`
|
||||
|
||||
- Y'\ :sub:`01right`
|
||||
|
||||
- Y'\ :sub:`02left`
|
||||
|
||||
- Y'\ :sub:`02right`
|
||||
|
||||
- Y'\ :sub:`03left`
|
||||
|
||||
- Y'\ :sub:`03right`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`10left`
|
||||
|
||||
- Y'\ :sub:`10right`
|
||||
|
||||
- Y'\ :sub:`11left`
|
||||
|
||||
- Y'\ :sub:`11right`
|
||||
|
||||
- Y'\ :sub:`12left`
|
||||
|
||||
- Y'\ :sub:`12right`
|
||||
|
||||
- Y'\ :sub:`13left`
|
||||
|
||||
- Y'\ :sub:`13right`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Y'\ :sub:`20left`
|
||||
|
||||
- Y'\ :sub:`20right`
|
||||
|
||||
- Y'\ :sub:`21left`
|
||||
|
||||
- Y'\ :sub:`21right`
|
||||
|
||||
- Y'\ :sub:`22left`
|
||||
|
||||
- Y'\ :sub:`22right`
|
||||
|
||||
- Y'\ :sub:`23left`
|
||||
|
||||
- Y'\ :sub:`23right`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Y'\ :sub:`30left`
|
||||
|
||||
- Y'\ :sub:`30right`
|
||||
|
||||
- Y'\ :sub:`31left`
|
||||
|
||||
- Y'\ :sub:`31right`
|
||||
|
||||
- Y'\ :sub:`32left`
|
||||
|
||||
- Y'\ :sub:`32right`
|
||||
|
||||
- Y'\ :sub:`33left`
|
||||
|
||||
- Y'\ :sub:`33right`
|
||||
|
@ -41,65 +41,29 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 4:
|
||||
|
||||
* - start + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 12:
|
||||
|
||||
* - start + 12:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- .. row 5
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start + 17:
|
||||
|
||||
* - start + 17:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
|
||||
@ -111,97 +75,53 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
-
|
||||
- 2
|
||||
|
||||
-
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 1
|
||||
|
||||
* -
|
||||
* - 1
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
-
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
- 2
|
||||
|
||||
* - 2
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
|
||||
- .. row 8
|
||||
|
||||
- 3
|
||||
|
||||
* -
|
||||
* - 3
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
@ -37,101 +37,41 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 4:
|
||||
|
||||
* - start + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 12:
|
||||
|
||||
* - start + 12:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- .. row 5
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start + 17:
|
||||
|
||||
* - start + 17:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- .. row 7
|
||||
|
||||
- start + 18:
|
||||
|
||||
* - start + 18:
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- .. row 8
|
||||
|
||||
- start + 19:
|
||||
|
||||
* - start + 19:
|
||||
- Cb\ :sub:`30`
|
||||
|
||||
- .. row 9
|
||||
|
||||
- start + 20:
|
||||
|
||||
* - start + 20:
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- .. row 10
|
||||
|
||||
- start + 21:
|
||||
|
||||
* - start + 21:
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- .. row 11
|
||||
|
||||
- start + 22:
|
||||
|
||||
* - start + 22:
|
||||
- Cr\ :sub:`20`
|
||||
|
||||
- .. row 12
|
||||
|
||||
- start + 23:
|
||||
|
||||
* - start + 23:
|
||||
- Cr\ :sub:`30`
|
||||
|
||||
|
||||
@ -143,71 +83,33 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
- 1
|
||||
|
||||
-
|
||||
- 2
|
||||
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
- 1
|
||||
|
||||
* - 1
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 2
|
||||
|
||||
* - 2
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
- 3
|
||||
|
||||
* - 3
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
@ -42,85 +42,37 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 4:
|
||||
|
||||
* - start + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 12:
|
||||
|
||||
* - start + 12:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- .. row 5
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start + 18:
|
||||
|
||||
* - start + 18:
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
- .. row 7
|
||||
|
||||
- start + 20:
|
||||
|
||||
* - start + 20:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- .. row 8
|
||||
|
||||
- start + 22:
|
||||
|
||||
* - start + 22:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
|
||||
@ -132,107 +84,60 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
-
|
||||
- 2
|
||||
|
||||
-
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 1
|
||||
|
||||
* - 1
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
- 2
|
||||
|
||||
* -
|
||||
* - 2
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 8
|
||||
|
||||
- 3
|
||||
|
||||
* - 3
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
@ -49,93 +49,39 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start0 + 0:
|
||||
|
||||
* - start0 + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start0 + 4:
|
||||
|
||||
* - start0 + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start0 + 8:
|
||||
|
||||
* - start0 + 8:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start0 + 12:
|
||||
|
||||
* - start0 + 12:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start1 + 0:
|
||||
|
||||
* -
|
||||
* - start1 + 0:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- .. row 7
|
||||
|
||||
- start1 + 2:
|
||||
|
||||
* - start1 + 2:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- .. row 8
|
||||
|
||||
-
|
||||
|
||||
- .. row 9
|
||||
|
||||
- start2 + 0:
|
||||
|
||||
* -
|
||||
* - start2 + 0:
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- .. row 10
|
||||
|
||||
- start2 + 2:
|
||||
|
||||
* - start2 + 2:
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
|
||||
@ -147,107 +93,60 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
-
|
||||
- 2
|
||||
|
||||
-
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 1
|
||||
|
||||
* - 1
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
- 2
|
||||
|
||||
* -
|
||||
* - 2
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
-
|
||||
-
|
||||
- C
|
||||
|
||||
-
|
||||
|
||||
- .. row 8
|
||||
|
||||
- 3
|
||||
|
||||
* - 3
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
@ -48,125 +48,51 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start0 + 0:
|
||||
|
||||
* - start0 + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start0 + 4:
|
||||
|
||||
* - start0 + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start0 + 8:
|
||||
|
||||
* - start0 + 8:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start0 + 12:
|
||||
|
||||
* - start0 + 12:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start1 + 0:
|
||||
|
||||
* -
|
||||
* - start1 + 0:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- .. row 7
|
||||
|
||||
- start1 + 2:
|
||||
|
||||
* - start1 + 2:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- .. row 8
|
||||
|
||||
- start1 + 4:
|
||||
|
||||
* - start1 + 4:
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- Cb\ :sub:`21`
|
||||
|
||||
- .. row 9
|
||||
|
||||
- start1 + 6:
|
||||
|
||||
* - start1 + 6:
|
||||
- Cb\ :sub:`30`
|
||||
|
||||
- Cb\ :sub:`31`
|
||||
|
||||
- .. row 10
|
||||
|
||||
-
|
||||
|
||||
- .. row 11
|
||||
|
||||
- start2 + 0:
|
||||
|
||||
* -
|
||||
* - start2 + 0:
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- .. row 12
|
||||
|
||||
- start2 + 2:
|
||||
|
||||
* - start2 + 2:
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
- .. row 13
|
||||
|
||||
- start2 + 4:
|
||||
|
||||
* - start2 + 4:
|
||||
- Cr\ :sub:`20`
|
||||
|
||||
- Cr\ :sub:`21`
|
||||
|
||||
- .. row 14
|
||||
|
||||
- start2 + 6:
|
||||
|
||||
* - start2 + 6:
|
||||
- Cr\ :sub:`30`
|
||||
|
||||
- Cr\ :sub:`31`
|
||||
|
||||
|
||||
@ -178,80 +104,38 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
- 2
|
||||
|
||||
-
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
- 1
|
||||
|
||||
* - 1
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 2
|
||||
|
||||
* - 2
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
- 3
|
||||
|
||||
* - 3
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
@ -38,117 +38,49 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 4:
|
||||
|
||||
* - start + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 12:
|
||||
|
||||
* - start + 12:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- .. row 5
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start + 18:
|
||||
|
||||
* - start + 18:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- .. row 7
|
||||
|
||||
- start + 20:
|
||||
|
||||
* - start + 20:
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- Cb\ :sub:`21`
|
||||
|
||||
- .. row 8
|
||||
|
||||
- start + 22:
|
||||
|
||||
* - start + 22:
|
||||
- Cb\ :sub:`30`
|
||||
|
||||
- Cb\ :sub:`31`
|
||||
|
||||
- .. row 9
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- .. row 10
|
||||
|
||||
- start + 26:
|
||||
|
||||
* - start + 26:
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
- .. row 11
|
||||
|
||||
- start + 28:
|
||||
|
||||
* - start + 28:
|
||||
- Cr\ :sub:`20`
|
||||
|
||||
- Cr\ :sub:`21`
|
||||
|
||||
- .. row 12
|
||||
|
||||
- start + 30:
|
||||
|
||||
* - start + 30:
|
||||
- Cr\ :sub:`30`
|
||||
|
||||
- Cr\ :sub:`31`
|
||||
|
||||
|
||||
@ -160,80 +92,38 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
- 2
|
||||
|
||||
-
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
- 1
|
||||
|
||||
* - 1
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 2
|
||||
|
||||
* - 2
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
- 3
|
||||
|
||||
* - 3
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
@ -42,157 +42,67 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start0 + 0:
|
||||
|
||||
* - start0 + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start0 + 4:
|
||||
|
||||
* - start0 + 4:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start0 + 8:
|
||||
|
||||
* - start0 + 8:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start0 + 12:
|
||||
|
||||
* - start0 + 12:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
- start1 + 0:
|
||||
|
||||
* -
|
||||
* - start1 + 0:
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- Cb\ :sub:`02`
|
||||
|
||||
- Cb\ :sub:`03`
|
||||
|
||||
- .. row 7
|
||||
|
||||
- start1 + 4:
|
||||
|
||||
* - start1 + 4:
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- Cb\ :sub:`12`
|
||||
|
||||
- Cb\ :sub:`13`
|
||||
|
||||
- .. row 8
|
||||
|
||||
- start1 + 8:
|
||||
|
||||
* - start1 + 8:
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- Cb\ :sub:`21`
|
||||
|
||||
- Cb\ :sub:`22`
|
||||
|
||||
- Cb\ :sub:`23`
|
||||
|
||||
- .. row 9
|
||||
|
||||
- start1 + 12:
|
||||
|
||||
* - start1 + 12:
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- Cb\ :sub:`21`
|
||||
|
||||
- Cb\ :sub:`32`
|
||||
|
||||
- Cb\ :sub:`33`
|
||||
|
||||
- .. row 10
|
||||
|
||||
-
|
||||
|
||||
- .. row 11
|
||||
|
||||
- start2 + 0:
|
||||
|
||||
* -
|
||||
* - start2 + 0:
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- Cr\ :sub:`02`
|
||||
|
||||
- Cr\ :sub:`03`
|
||||
|
||||
- .. row 12
|
||||
|
||||
- start2 + 4:
|
||||
|
||||
* - start2 + 4:
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
- Cr\ :sub:`12`
|
||||
|
||||
- Cr\ :sub:`13`
|
||||
|
||||
- .. row 13
|
||||
|
||||
- start2 + 8:
|
||||
|
||||
* - start2 + 8:
|
||||
- Cr\ :sub:`20`
|
||||
|
||||
- Cr\ :sub:`21`
|
||||
|
||||
- Cr\ :sub:`22`
|
||||
|
||||
- Cr\ :sub:`23`
|
||||
|
||||
- .. row 14
|
||||
|
||||
- start2 + 12:
|
||||
|
||||
* - start2 + 12:
|
||||
- Cr\ :sub:`30`
|
||||
|
||||
- Cr\ :sub:`31`
|
||||
|
||||
- Cr\ :sub:`32`
|
||||
|
||||
- Cr\ :sub:`33`
|
||||
|
||||
|
||||
@ -204,62 +114,28 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
- 1
|
||||
|
||||
- 2
|
||||
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- YC
|
||||
|
||||
- YC
|
||||
|
||||
- YC
|
||||
|
||||
- YC
|
||||
|
||||
- .. row 3
|
||||
|
||||
- 1
|
||||
|
||||
* - 1
|
||||
- YC
|
||||
|
||||
- YC
|
||||
|
||||
- YC
|
||||
|
||||
- YC
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 2
|
||||
|
||||
* - 2
|
||||
- YC
|
||||
|
||||
- YC
|
||||
|
||||
- YC
|
||||
|
||||
- YC
|
||||
|
||||
- .. row 5
|
||||
|
||||
- 3
|
||||
|
||||
* - 3
|
||||
- YC
|
||||
|
||||
- YC
|
||||
|
||||
- YC
|
||||
|
||||
- YC
|
||||
|
@ -30,85 +30,41 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Cr\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Cb\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- Cr\ :sub:`21`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Cb\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Cr\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Cb\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- Cr\ :sub:`31`
|
||||
|
||||
|
||||
@ -120,85 +76,43 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
-
|
||||
- 2
|
||||
|
||||
-
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
- 1
|
||||
|
||||
* - 1
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 2
|
||||
|
||||
* - 2
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
- 3
|
||||
|
||||
* - 3
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
-
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
@ -27,85 +27,41 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Y'\ :sub:`00`
|
||||
|
||||
- Cr\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`01`
|
||||
|
||||
- Cb\ :sub:`00`
|
||||
|
||||
- Y'\ :sub:`02`
|
||||
|
||||
- Cr\ :sub:`01`
|
||||
|
||||
- Y'\ :sub:`03`
|
||||
|
||||
- Cb\ :sub:`01`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Y'\ :sub:`10`
|
||||
|
||||
- Cr\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`11`
|
||||
|
||||
- Cb\ :sub:`10`
|
||||
|
||||
- Y'\ :sub:`12`
|
||||
|
||||
- Cr\ :sub:`11`
|
||||
|
||||
- Y'\ :sub:`13`
|
||||
|
||||
- Cb\ :sub:`11`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Y'\ :sub:`20`
|
||||
|
||||
- Cr\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`21`
|
||||
|
||||
- Cb\ :sub:`20`
|
||||
|
||||
- Y'\ :sub:`22`
|
||||
|
||||
- Cr\ :sub:`21`
|
||||
|
||||
- Y'\ :sub:`23`
|
||||
|
||||
- Cb\ :sub:`21`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Y'\ :sub:`30`
|
||||
|
||||
- Cr\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`31`
|
||||
|
||||
- Cb\ :sub:`30`
|
||||
|
||||
- Y'\ :sub:`32`
|
||||
|
||||
- Cr\ :sub:`31`
|
||||
|
||||
- Y'\ :sub:`33`
|
||||
|
||||
- Cb\ :sub:`31`
|
||||
|
||||
|
||||
@ -115,80 +71,38 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- 0
|
||||
|
||||
-
|
||||
- 1
|
||||
|
||||
- 2
|
||||
|
||||
-
|
||||
- 3
|
||||
|
||||
- .. row 2
|
||||
|
||||
- 0
|
||||
|
||||
* - 0
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 3
|
||||
|
||||
- 1
|
||||
|
||||
* - 1
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 4
|
||||
|
||||
- 2
|
||||
|
||||
* - 2
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- .. row 5
|
||||
|
||||
- 3
|
||||
|
||||
* - 3
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
||||
- Y
|
||||
|
||||
- C
|
||||
|
||||
- Y
|
||||
|
@ -28,83 +28,39 @@ Each cell is one byte.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- start + 0:
|
||||
|
||||
* - start + 0:
|
||||
- Z\ :sub:`00low`
|
||||
|
||||
- Z\ :sub:`00high`
|
||||
|
||||
- Z\ :sub:`01low`
|
||||
|
||||
- Z\ :sub:`01high`
|
||||
|
||||
- Z\ :sub:`02low`
|
||||
|
||||
- Z\ :sub:`02high`
|
||||
|
||||
- Z\ :sub:`03low`
|
||||
|
||||
- Z\ :sub:`03high`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- start + 8:
|
||||
|
||||
* - start + 8:
|
||||
- Z\ :sub:`10low`
|
||||
|
||||
- Z\ :sub:`10high`
|
||||
|
||||
- Z\ :sub:`11low`
|
||||
|
||||
- Z\ :sub:`11high`
|
||||
|
||||
- Z\ :sub:`12low`
|
||||
|
||||
- Z\ :sub:`12high`
|
||||
|
||||
- Z\ :sub:`13low`
|
||||
|
||||
- Z\ :sub:`13high`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- start + 16:
|
||||
|
||||
* - start + 16:
|
||||
- Z\ :sub:`20low`
|
||||
|
||||
- Z\ :sub:`20high`
|
||||
|
||||
- Z\ :sub:`21low`
|
||||
|
||||
- Z\ :sub:`21high`
|
||||
|
||||
- Z\ :sub:`22low`
|
||||
|
||||
- Z\ :sub:`22high`
|
||||
|
||||
- Z\ :sub:`23low`
|
||||
|
||||
- Z\ :sub:`23high`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- start + 24:
|
||||
|
||||
* - start + 24:
|
||||
- Z\ :sub:`30low`
|
||||
|
||||
- Z\ :sub:`30high`
|
||||
|
||||
- Z\ :sub:`31low`
|
||||
|
||||
- Z\ :sub:`31high`
|
||||
|
||||
- Z\ :sub:`32low`
|
||||
|
||||
- Z\ :sub:`32high`
|
||||
|
||||
- Z\ :sub:`33low`
|
||||
|
||||
- Z\ :sub:`33high`
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -14,59 +14,31 @@ Selection flags
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Flag name
|
||||
|
||||
* - Flag name
|
||||
- id
|
||||
|
||||
- Definition
|
||||
|
||||
- Valid for V4L2
|
||||
|
||||
- Valid for V4L2 subdev
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_SEL_FLAG_GE``
|
||||
|
||||
* - ``V4L2_SEL_FLAG_GE``
|
||||
- (1 << 0)
|
||||
|
||||
- Suggest the driver it should choose greater or equal rectangle (in
|
||||
size) than was requested. Albeit the driver may choose a lesser
|
||||
size, it will only do so due to hardware limitations. Without this
|
||||
flag (and ``V4L2_SEL_FLAG_LE``) the behaviour is to choose the
|
||||
closest possible rectangle.
|
||||
|
||||
- Yes
|
||||
|
||||
- Yes
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_SEL_FLAG_LE``
|
||||
|
||||
* - ``V4L2_SEL_FLAG_LE``
|
||||
- (1 << 1)
|
||||
|
||||
- Suggest the driver it should choose lesser or equal rectangle (in
|
||||
size) than was requested. Albeit the driver may choose a greater
|
||||
size, it will only do so due to hardware limitations.
|
||||
|
||||
- Yes
|
||||
|
||||
- Yes
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_SEL_FLAG_KEEP_CONFIG``
|
||||
|
||||
* - ``V4L2_SEL_FLAG_KEEP_CONFIG``
|
||||
- (1 << 2)
|
||||
|
||||
- The configuration must not be propagated to any further processing
|
||||
steps. If this flag is not given, the configuration is propagated
|
||||
inside the subdevice to all further processing steps.
|
||||
|
||||
- No
|
||||
|
||||
- Yes
|
||||
|
@ -18,62 +18,29 @@ of the two interfaces they are used.
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Target name
|
||||
|
||||
* - Target name
|
||||
- id
|
||||
|
||||
- Definition
|
||||
|
||||
- Valid for V4L2
|
||||
|
||||
- Valid for V4L2 subdev
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_SEL_TGT_CROP``
|
||||
|
||||
* - ``V4L2_SEL_TGT_CROP``
|
||||
- 0x0000
|
||||
|
||||
- Crop rectangle. Defines the cropped area.
|
||||
|
||||
- Yes
|
||||
|
||||
- Yes
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_SEL_TGT_CROP_DEFAULT``
|
||||
|
||||
* - ``V4L2_SEL_TGT_CROP_DEFAULT``
|
||||
- 0x0001
|
||||
|
||||
- Suggested cropping rectangle that covers the "whole picture".
|
||||
|
||||
- Yes
|
||||
|
||||
- No
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_SEL_TGT_CROP_BOUNDS``
|
||||
|
||||
* - ``V4L2_SEL_TGT_CROP_BOUNDS``
|
||||
- 0x0002
|
||||
|
||||
- Bounds of the crop rectangle. All valid crop rectangles fit inside
|
||||
the crop bounds rectangle.
|
||||
|
||||
- Yes
|
||||
|
||||
- Yes
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_SEL_TGT_NATIVE_SIZE``
|
||||
|
||||
* - ``V4L2_SEL_TGT_NATIVE_SIZE``
|
||||
- 0x0003
|
||||
|
||||
- The native size of the device, e.g. a sensor's pixel array.
|
||||
``left`` and ``top`` fields are zero for this target. Setting the
|
||||
native size will generally only make sense for memory to memory
|
||||
@ -81,57 +48,27 @@ of the two interfaces they are used.
|
||||
which for example a video frame can be composed. In that case
|
||||
V4L2_SEL_TGT_NATIVE_SIZE can be used to configure the size of
|
||||
that canvas.
|
||||
|
||||
- Yes
|
||||
|
||||
- Yes
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_SEL_TGT_COMPOSE``
|
||||
|
||||
* - ``V4L2_SEL_TGT_COMPOSE``
|
||||
- 0x0100
|
||||
|
||||
- Compose rectangle. Used to configure scaling and composition.
|
||||
|
||||
- Yes
|
||||
|
||||
- Yes
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_SEL_TGT_COMPOSE_DEFAULT``
|
||||
|
||||
* - ``V4L2_SEL_TGT_COMPOSE_DEFAULT``
|
||||
- 0x0101
|
||||
|
||||
- Suggested composition rectangle that covers the "whole picture".
|
||||
|
||||
- Yes
|
||||
|
||||
- No
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_SEL_TGT_COMPOSE_BOUNDS``
|
||||
|
||||
* - ``V4L2_SEL_TGT_COMPOSE_BOUNDS``
|
||||
- 0x0102
|
||||
|
||||
- Bounds of the compose rectangle. All valid compose rectangles fit
|
||||
inside the compose bounds rectangle.
|
||||
|
||||
- Yes
|
||||
|
||||
- Yes
|
||||
|
||||
- .. row 9
|
||||
|
||||
- ``V4L2_SEL_TGT_COMPOSE_PADDED``
|
||||
|
||||
* - ``V4L2_SEL_TGT_COMPOSE_PADDED``
|
||||
- 0x0103
|
||||
|
||||
- The active area and all padding pixels that are inserted or
|
||||
modified by hardware.
|
||||
|
||||
- Yes
|
||||
|
||||
- No
|
||||
|
@ -80,21 +80,11 @@ than the number requested.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
- The starting buffer index, returned by the driver.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``count``
|
||||
|
||||
- The number of buffers requested or granted. If count == 0, then
|
||||
:ref:`VIDIOC_CREATE_BUFS` will set ``index`` to the current number of
|
||||
created buffers, and it will check the validity of ``memory`` and
|
||||
@ -102,31 +92,16 @@ than the number requested.
|
||||
set to ``EINVAL`` error code, otherwise :ref:`VIDIOC_CREATE_BUFS` returns
|
||||
0. It will never set errno to ``EBUSY`` error code in this particular
|
||||
case.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``memory``
|
||||
|
||||
- Applications set this field to ``V4L2_MEMORY_MMAP``,
|
||||
``V4L2_MEMORY_DMABUF`` or ``V4L2_MEMORY_USERPTR``. See
|
||||
:c:type:`v4l2_memory`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- struct :c:type:`v4l2_format`
|
||||
|
||||
* - struct :c:type:`v4l2_format`
|
||||
- ``format``
|
||||
|
||||
- Filled in by the application, preserved by the driver.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [8]
|
||||
|
||||
- A place holder for future extensions. Drivers and applications
|
||||
must set the array to zero.
|
||||
|
||||
|
@ -59,49 +59,29 @@ overlay devices.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``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_OUTPUT`` and
|
||||
``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :c:type:`v4l2_buf_type`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- struct :ref:`v4l2_rect <v4l2-rect-crop>`
|
||||
|
||||
* - struct :ref:`v4l2_rect <v4l2-rect-crop>`
|
||||
- ``bounds``
|
||||
|
||||
- Defines the window within capturing or output is possible, this
|
||||
may exclude for example the horizontal and vertical blanking
|
||||
areas. The cropping rectangle cannot exceed these limits. Width
|
||||
and height are defined in pixels, the driver writer is free to
|
||||
choose origin and units of the coordinate system in the analog
|
||||
domain.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- struct :ref:`v4l2_rect <v4l2-rect-crop>`
|
||||
|
||||
* - struct :ref:`v4l2_rect <v4l2-rect-crop>`
|
||||
- ``defrect``
|
||||
|
||||
- Default cropping rectangle, it shall cover the "whole picture".
|
||||
Assuming pixel aspect 1/1 this could be for example a 640 × 480
|
||||
rectangle for NTSC, a 768 × 576 rectangle for PAL and SECAM
|
||||
centered over the active picture area. The same co-ordinate system
|
||||
as for ``bounds`` is used.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- struct :c:type:`v4l2_fract`
|
||||
|
||||
* - struct :c:type:`v4l2_fract`
|
||||
- ``pixelaspect``
|
||||
|
||||
- This is the pixel aspect (y / x) when no scaling is applied, the
|
||||
ratio of the actual sampling frequency and the frequency required
|
||||
to get square pixels.
|
||||
@ -121,39 +101,19 @@ overlay devices.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __s32
|
||||
|
||||
* - __s32
|
||||
- ``left``
|
||||
|
||||
- Horizontal offset of the top, left corner of the rectangle, in
|
||||
pixels.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __s32
|
||||
|
||||
* - __s32
|
||||
- ``top``
|
||||
|
||||
- Vertical offset of the top, left corner of the rectangle, in
|
||||
pixels.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``width``
|
||||
|
||||
- Width of the rectangle, in pixels.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``height``
|
||||
|
||||
- Height of the rectangle, in pixels.
|
||||
|
||||
|
||||
|
@ -85,38 +85,19 @@ instructions.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
- See :ref:`name-chip-match-types` for a list of possible types.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
- (anonymous)
|
||||
|
||||
- .. row 3
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``addr``
|
||||
|
||||
- Match a chip by this number, interpreted according to the ``type``
|
||||
field.
|
||||
|
||||
- .. row 4
|
||||
|
||||
-
|
||||
* -
|
||||
- char
|
||||
|
||||
- ``name[32]``
|
||||
|
||||
- Match a chip by this name, interpreted according to the ``type``
|
||||
field. Currently unused.
|
||||
|
||||
@ -131,40 +112,20 @@ instructions.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- struct v4l2_dbg_match
|
||||
|
||||
* - struct v4l2_dbg_match
|
||||
- ``match``
|
||||
|
||||
- How to match the chip, see :ref:`name-v4l2-dbg-match`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- char
|
||||
|
||||
* - char
|
||||
- ``name[32]``
|
||||
|
||||
- The name of the chip.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
- Set by the driver. If ``V4L2_CHIP_FL_READABLE`` is set, then the
|
||||
driver supports reading registers from the device. If
|
||||
``V4L2_CHIP_FL_WRITABLE`` is set, then it supports writing
|
||||
registers.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved[8]``
|
||||
|
||||
- Reserved fields, both application and driver must set these to 0.
|
||||
|
||||
|
||||
@ -178,22 +139,12 @@ instructions.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_CHIP_MATCH_BRIDGE``
|
||||
|
||||
* - ``V4L2_CHIP_MATCH_BRIDGE``
|
||||
- 0
|
||||
|
||||
- Match the nth chip on the card, zero for the bridge chip. Does not
|
||||
match sub-devices.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_CHIP_MATCH_SUBDEV``
|
||||
|
||||
* - ``V4L2_CHIP_MATCH_SUBDEV``
|
||||
- 4
|
||||
|
||||
- Match the nth sub-device.
|
||||
|
||||
|
||||
|
@ -94,38 +94,19 @@ instructions.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
- See :ref:`chip-match-types` for a list of possible types.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
- (anonymous)
|
||||
|
||||
- .. row 3
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``addr``
|
||||
|
||||
- Match a chip by this number, interpreted according to the ``type``
|
||||
field.
|
||||
|
||||
- .. row 4
|
||||
|
||||
-
|
||||
* -
|
||||
- char
|
||||
|
||||
- ``name[32]``
|
||||
|
||||
- Match a chip by this name, interpreted according to the ``type``
|
||||
field. Currently unused.
|
||||
|
||||
@ -137,37 +118,17 @@ instructions.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- struct v4l2_dbg_match
|
||||
|
||||
* - struct v4l2_dbg_match
|
||||
- ``match``
|
||||
|
||||
- How to match the chip, see :c:type:`v4l2_dbg_match`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``size``
|
||||
|
||||
- The register size in bytes.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u64
|
||||
|
||||
* - __u64
|
||||
- ``reg``
|
||||
|
||||
- A register number.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u64
|
||||
|
||||
* - __u64
|
||||
- ``val``
|
||||
|
||||
- The value read from, or to be written into the register.
|
||||
|
||||
|
||||
@ -181,22 +142,12 @@ instructions.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_CHIP_MATCH_BRIDGE``
|
||||
|
||||
* - ``V4L2_CHIP_MATCH_BRIDGE``
|
||||
- 0
|
||||
|
||||
- Match the nth chip on the card, zero for the bridge chip. Does not
|
||||
match sub-devices.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_CHIP_MATCH_SUBDEV``
|
||||
|
||||
* - ``V4L2_CHIP_MATCH_SUBDEV``
|
||||
- 4
|
||||
|
||||
- Match the nth sub-device.
|
||||
|
||||
|
||||
|
@ -70,57 +70,32 @@ introduced in Linux 3.3.
|
||||
:stub-columns: 0
|
||||
:widths: 11 24 12 16 106
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``cmd``
|
||||
|
||||
-
|
||||
-
|
||||
- The decoder command, see :ref:`decoder-cmds`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
-
|
||||
-
|
||||
- Flags to go with the command. If no flags are defined for this
|
||||
command, drivers and applications must set this field to zero.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
- (anonymous)
|
||||
|
||||
-
|
||||
-
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
-
|
||||
* -
|
||||
- struct
|
||||
|
||||
- ``start``
|
||||
|
||||
-
|
||||
- Structure containing additional data for the
|
||||
``V4L2_DEC_CMD_START`` command.
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- __s32
|
||||
|
||||
- ``speed``
|
||||
|
||||
- Playback speed and direction. The playback speed is defined as
|
||||
``speed``/1000 of the normal speed. So 1000 is normal playback.
|
||||
Negative numbers denote reverse playback, so -1000 does reverse
|
||||
@ -128,15 +103,10 @@ introduced in Linux 3.3.
|
||||
meanings: speed 0 is shorthand for 1000 (normal playback). A speed
|
||||
of 1 steps just one frame forward, a speed of -1 steps just one
|
||||
frame back.
|
||||
|
||||
- .. row 6
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- __u32
|
||||
|
||||
- ``format``
|
||||
|
||||
- Format restrictions. This field is set by the driver, not the
|
||||
application. Possible values are ``V4L2_DEC_START_FMT_NONE`` if
|
||||
there are no format restrictions or ``V4L2_DEC_START_FMT_GOP`` if
|
||||
@ -145,48 +115,28 @@ introduced in Linux 3.3.
|
||||
GOPs, which it can then play in reverse order. So to implement
|
||||
reverse playback the application must feed the decoder the last
|
||||
GOP in the video file, then the GOP before that, etc. etc.
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
* -
|
||||
- struct
|
||||
|
||||
- ``stop``
|
||||
|
||||
-
|
||||
- Structure containing additional data for the ``V4L2_DEC_CMD_STOP``
|
||||
command.
|
||||
|
||||
- .. row 8
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- __u64
|
||||
|
||||
- ``pts``
|
||||
|
||||
- Stop playback at this ``pts`` or immediately if the playback is
|
||||
already past that timestamp. Leave to 0 if you want to stop after
|
||||
the last frame was decoded.
|
||||
|
||||
- .. row 9
|
||||
|
||||
-
|
||||
* -
|
||||
- struct
|
||||
|
||||
- ``raw``
|
||||
|
||||
-
|
||||
-
|
||||
|
||||
- .. row 10
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- __u32
|
||||
|
||||
- ``data``\ [16]
|
||||
|
||||
- Reserved for future extensions. Drivers and applications must set
|
||||
the array to zero.
|
||||
|
||||
@ -201,13 +151,8 @@ introduced in Linux 3.3.
|
||||
:stub-columns: 0
|
||||
:widths: 56 6 113
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_DEC_CMD_START``
|
||||
|
||||
* - ``V4L2_DEC_CMD_START``
|
||||
- 0
|
||||
|
||||
- Start the decoder. When the decoder is already running or paused,
|
||||
this command will just change the playback speed. That means that
|
||||
calling ``V4L2_DEC_CMD_START`` when the decoder was paused will
|
||||
@ -215,13 +160,8 @@ introduced in Linux 3.3.
|
||||
``V4L2_DEC_CMD_RESUME`` for that. This command has one flag:
|
||||
``V4L2_DEC_CMD_START_MUTE_AUDIO``. If set, then audio will be
|
||||
muted when playing back at a non-standard speed.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_DEC_CMD_STOP``
|
||||
|
||||
* - ``V4L2_DEC_CMD_STOP``
|
||||
- 1
|
||||
|
||||
- Stop the decoder. When the decoder is already stopped, this
|
||||
command does nothing. This command has two flags: if
|
||||
``V4L2_DEC_CMD_STOP_TO_BLACK`` is set, then the decoder will set
|
||||
@ -240,25 +180,15 @@ introduced in Linux 3.3.
|
||||
immediately (ignoring the ``pts`` value), otherwise it will keep
|
||||
decoding until timestamp >= pts or until the last of the pending
|
||||
data from its internal buffers was decoded.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_DEC_CMD_PAUSE``
|
||||
|
||||
* - ``V4L2_DEC_CMD_PAUSE``
|
||||
- 2
|
||||
|
||||
- Pause the decoder. When the decoder has not been started yet, the
|
||||
driver will return an ``EPERM`` error code. When the decoder is
|
||||
already paused, this command does nothing. This command has one
|
||||
flag: if ``V4L2_DEC_CMD_PAUSE_TO_BLACK`` is set, then set the
|
||||
decoder output to black when paused.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_DEC_CMD_RESUME``
|
||||
|
||||
* - ``V4L2_DEC_CMD_RESUME``
|
||||
- 3
|
||||
|
||||
- Resume decoding after a PAUSE command. When the decoder has not
|
||||
been started yet, the driver will return an ``EPERM`` error code. When
|
||||
the decoder is already running, this command does nothing. No
|
||||
|
@ -49,128 +49,63 @@ call.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2 1
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
-
|
||||
- Type of the event, see :ref:`event-type`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
- ``u``
|
||||
|
||||
-
|
||||
-
|
||||
|
||||
- .. row 3
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_event_vsync`
|
||||
|
||||
- ``vsync``
|
||||
|
||||
- Event data for event ``V4L2_EVENT_VSYNC``.
|
||||
|
||||
- .. row 4
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_event_ctrl`
|
||||
|
||||
- ``ctrl``
|
||||
|
||||
- Event data for event ``V4L2_EVENT_CTRL``.
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_event_frame_sync`
|
||||
|
||||
- ``frame_sync``
|
||||
|
||||
- Event data for event ``V4L2_EVENT_FRAME_SYNC``.
|
||||
|
||||
- .. row 6
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_event_motion_det`
|
||||
|
||||
- ``motion_det``
|
||||
|
||||
- Event data for event V4L2_EVENT_MOTION_DET.
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_event_src_change`
|
||||
|
||||
- ``src_change``
|
||||
|
||||
- Event data for event V4L2_EVENT_SOURCE_CHANGE.
|
||||
|
||||
- .. row 8
|
||||
|
||||
-
|
||||
* -
|
||||
- __u8
|
||||
|
||||
- ``data``\ [64]
|
||||
|
||||
- Event data. Defined by the event type. The union should be used to
|
||||
define easily accessible type for events.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``pending``
|
||||
|
||||
-
|
||||
- Number of pending events excluding this one.
|
||||
|
||||
- .. row 10
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``sequence``
|
||||
|
||||
-
|
||||
- Event sequence number. The sequence number is incremented for
|
||||
every subscribed event that takes place. If sequence numbers are
|
||||
not contiguous it means that events have been lost.
|
||||
|
||||
- .. row 11
|
||||
|
||||
- struct timespec
|
||||
|
||||
* - struct timespec
|
||||
- ``timestamp``
|
||||
|
||||
-
|
||||
- Event timestamp. The timestamp has been taken from the
|
||||
``CLOCK_MONOTONIC`` clock. To access the same clock outside V4L2,
|
||||
use :c:func:`clock_gettime`.
|
||||
|
||||
- .. row 12
|
||||
|
||||
- u32
|
||||
|
||||
* - u32
|
||||
- ``id``
|
||||
|
||||
-
|
||||
- The ID associated with the event source. If the event does not
|
||||
have an associated ID (this depends on the event type), then this
|
||||
is 0.
|
||||
|
||||
- .. row 13
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [8]
|
||||
|
||||
-
|
||||
- Reserved for future extensions. Drivers must set the array to
|
||||
zero.
|
||||
@ -188,42 +123,22 @@ call.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_EVENT_ALL``
|
||||
|
||||
* - ``V4L2_EVENT_ALL``
|
||||
- 0
|
||||
|
||||
- All events. V4L2_EVENT_ALL is valid only for
|
||||
VIDIOC_UNSUBSCRIBE_EVENT for unsubscribing all events at once.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_EVENT_VSYNC``
|
||||
|
||||
* - ``V4L2_EVENT_VSYNC``
|
||||
- 1
|
||||
|
||||
- This event is triggered on the vertical sync. This event has a
|
||||
struct :c:type:`v4l2_event_vsync` associated
|
||||
with it.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_EVENT_EOS``
|
||||
|
||||
* - ``V4L2_EVENT_EOS``
|
||||
- 2
|
||||
|
||||
- This event is triggered when the end of a stream is reached. This
|
||||
is typically used with MPEG decoders to report to the application
|
||||
when the last of the MPEG stream has been decoded.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_EVENT_CTRL``
|
||||
|
||||
* - ``V4L2_EVENT_CTRL``
|
||||
- 3
|
||||
|
||||
- This event requires that the ``id`` matches the control ID from
|
||||
which you want to receive events. This event is triggered if the
|
||||
control's value changes, if a button control is pressed or if the
|
||||
@ -247,13 +162,8 @@ call.
|
||||
second-oldest event is kept, but the ``changes`` field of the
|
||||
second-oldest event is ORed with the ``changes`` field of the
|
||||
oldest event.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_EVENT_FRAME_SYNC``
|
||||
|
||||
* - ``V4L2_EVENT_FRAME_SYNC``
|
||||
- 4
|
||||
|
||||
- Triggered immediately when the reception of a frame has begun.
|
||||
This event has a struct
|
||||
:c:type:`v4l2_event_frame_sync`
|
||||
@ -265,13 +175,8 @@ call.
|
||||
:c:type:`v4l2_event_frame_sync` will not
|
||||
be incremented. This causes two consecutive frame sequence numbers
|
||||
to have n times frame interval in between them.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_EVENT_SOURCE_CHANGE``
|
||||
|
||||
* - ``V4L2_EVENT_SOURCE_CHANGE``
|
||||
- 5
|
||||
|
||||
- This event is triggered when a source parameter change is detected
|
||||
during runtime by the video device. It can be a runtime resolution
|
||||
change triggered by a video decoder or the format change happening
|
||||
@ -286,24 +191,14 @@ call.
|
||||
changed for the subscribed pad. If multiple events occurred before
|
||||
application could dequeue them, then the changes will have the
|
||||
ORed value of all the events generated.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_EVENT_MOTION_DET``
|
||||
|
||||
* - ``V4L2_EVENT_MOTION_DET``
|
||||
- 6
|
||||
|
||||
- Triggered whenever the motion detection state for one or more of
|
||||
the regions changes. This event has a struct
|
||||
:c:type:`v4l2_event_motion_det`
|
||||
associated with it.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_EVENT_PRIVATE_START``
|
||||
|
||||
* - ``V4L2_EVENT_PRIVATE_START``
|
||||
- 0x08000000
|
||||
|
||||
- Base event number for driver-private events.
|
||||
|
||||
|
||||
@ -317,13 +212,8 @@ call.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``field``
|
||||
|
||||
- The upcoming field. See enum :c:type:`v4l2_field`.
|
||||
|
||||
|
||||
@ -337,100 +227,51 @@ call.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2 1
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``changes``
|
||||
|
||||
-
|
||||
- A bitmask that tells what has changed. See
|
||||
:ref:`ctrl-changes-flags`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
-
|
||||
- The type of the control. See enum
|
||||
:c:type:`v4l2_ctrl_type`.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- union (anonymous)
|
||||
|
||||
* - union (anonymous)
|
||||
-
|
||||
-
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
-
|
||||
* -
|
||||
- __s32
|
||||
|
||||
- ``value``
|
||||
|
||||
- The 32-bit value of the control for 32-bit control types. This is
|
||||
0 for string controls since the value of a string cannot be passed
|
||||
using :ref:`VIDIOC_DQEVENT`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
* -
|
||||
- __s64
|
||||
|
||||
- ``value64``
|
||||
|
||||
- The 64-bit value of the control for 64-bit control types.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
-
|
||||
- The control flags. See :ref:`control-flags`.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __s32
|
||||
|
||||
* - __s32
|
||||
- ``minimum``
|
||||
|
||||
-
|
||||
- The minimum value of the control. See struct
|
||||
:ref:`v4l2_queryctrl <v4l2-queryctrl>`.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- __s32
|
||||
|
||||
* - __s32
|
||||
- ``maximum``
|
||||
|
||||
-
|
||||
- The maximum value of the control. See struct
|
||||
:ref:`v4l2_queryctrl <v4l2-queryctrl>`.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- __s32
|
||||
|
||||
* - __s32
|
||||
- ``step``
|
||||
|
||||
-
|
||||
- The step value of the control. See struct
|
||||
:ref:`v4l2_queryctrl <v4l2-queryctrl>`.
|
||||
|
||||
- .. row 10
|
||||
|
||||
- __s32
|
||||
|
||||
* - __s32
|
||||
- ``default_value``
|
||||
|
||||
-
|
||||
- The default value value of the control. See struct
|
||||
:ref:`v4l2_queryctrl <v4l2-queryctrl>`.
|
||||
@ -446,13 +287,8 @@ call.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``frame_sequence``
|
||||
|
||||
- The sequence number of the frame being received.
|
||||
|
||||
|
||||
@ -466,13 +302,8 @@ call.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``changes``
|
||||
|
||||
- A bitmask that tells what has changed. See
|
||||
:ref:`src-changes-flags`.
|
||||
|
||||
@ -487,33 +318,18 @@ call.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
- Currently only one flag is available: if
|
||||
``V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ`` is set, then the
|
||||
``frame_sequence`` field is valid, otherwise that field should be
|
||||
ignored.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``frame_sequence``
|
||||
|
||||
- The sequence number of the frame being received. Only valid if the
|
||||
``V4L2_EVENT_MD_FL_HAVE_FRAME_SEQ`` flag was set.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``region_mask``
|
||||
|
||||
- The bitmask of the regions that reported motion. There is at least
|
||||
one region. If this field is 0, then no motion was detected at
|
||||
all. If there is no ``V4L2_CID_DETECT_MD_REGION_GRID`` control
|
||||
@ -532,33 +348,18 @@ call.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_EVENT_CTRL_CH_VALUE``
|
||||
|
||||
* - ``V4L2_EVENT_CTRL_CH_VALUE``
|
||||
- 0x0001
|
||||
|
||||
- This control event was triggered because the value of the control
|
||||
changed. Special cases: Volatile controls do no generate this
|
||||
event; If a control has the ``V4L2_CTRL_FLAG_EXECUTE_ON_WRITE``
|
||||
flag set, then this event is sent as well, regardless its value.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_EVENT_CTRL_CH_FLAGS``
|
||||
|
||||
* - ``V4L2_EVENT_CTRL_CH_FLAGS``
|
||||
- 0x0002
|
||||
|
||||
- This control event was triggered because the control flags
|
||||
changed.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_EVENT_CTRL_CH_RANGE``
|
||||
|
||||
* - ``V4L2_EVENT_CTRL_CH_RANGE``
|
||||
- 0x0004
|
||||
|
||||
- This control event was triggered because the minimum, maximum,
|
||||
step or the default value of the control changed.
|
||||
|
||||
@ -573,13 +374,8 @@ call.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_EVENT_SRC_CH_RESOLUTION``
|
||||
|
||||
* - ``V4L2_EVENT_SRC_CH_RESOLUTION``
|
||||
- 0x0001
|
||||
|
||||
- This event gets triggered when a resolution change is detected at
|
||||
an input. This can come from an input connector or from a video
|
||||
decoder.
|
||||
|
@ -64,79 +64,34 @@ that doesn't support them will return an ``EINVAL`` error code.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``min_width``
|
||||
|
||||
- Minimum width of the active video in pixels.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``max_width``
|
||||
|
||||
- Maximum width of the active video in pixels.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``min_height``
|
||||
|
||||
- Minimum height of the active video in lines.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``max_height``
|
||||
|
||||
- Maximum height of the active video in lines.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u64
|
||||
|
||||
* - __u64
|
||||
- ``min_pixelclock``
|
||||
|
||||
- Minimum pixelclock frequency in Hz.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u64
|
||||
|
||||
* - __u64
|
||||
- ``max_pixelclock``
|
||||
|
||||
- Maximum pixelclock frequency in Hz.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``standards``
|
||||
|
||||
- The video standard(s) supported by the hardware. See
|
||||
:ref:`dv-bt-standards` for a list of standards.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``capabilities``
|
||||
|
||||
- Several flags giving more information about the capabilities. See
|
||||
:ref:`dv-bt-cap-capabilities` for a description of the flags.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [16]
|
||||
|
||||
- Reserved for future extensions.
|
||||
Drivers must set the array to zero.
|
||||
|
||||
@ -151,58 +106,29 @@ that doesn't support them will return an ``EINVAL`` error code.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2 1
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
- Type of DV timings as listed in :ref:`dv-timing-types`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``pad``
|
||||
|
||||
- Pad number as reported by the media controller API. This field is
|
||||
only used when operating on a subdevice node. When operating on a
|
||||
video node applications must set this field to zero.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [2]
|
||||
|
||||
- Reserved for future extensions.
|
||||
|
||||
Drivers and applications must set the array to zero.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
-
|
||||
-
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_bt_timings_cap`
|
||||
|
||||
- ``bt``
|
||||
|
||||
- BT.656/1120 timings capabilities of the hardware.
|
||||
|
||||
- .. row 6
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``raw_data``\ [32]
|
||||
|
||||
-
|
||||
|
||||
.. tabularcolumns:: |p{7.0cm}|p{10.5cm}|
|
||||
@ -213,41 +139,18 @@ that doesn't support them will return an ``EINVAL`` error code.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Flag
|
||||
|
||||
* - Flag
|
||||
- Description
|
||||
|
||||
- .. row 2
|
||||
|
||||
* -
|
||||
-
|
||||
-
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_DV_BT_CAP_INTERLACED``
|
||||
|
||||
* - ``V4L2_DV_BT_CAP_INTERLACED``
|
||||
- Interlaced formats are supported.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_DV_BT_CAP_PROGRESSIVE``
|
||||
|
||||
* - ``V4L2_DV_BT_CAP_PROGRESSIVE``
|
||||
- Progressive formats are supported.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_DV_BT_CAP_REDUCED_BLANKING``
|
||||
|
||||
* - ``V4L2_DV_BT_CAP_REDUCED_BLANKING``
|
||||
- CVT/GTF specific: the timings can make use of reduced blanking
|
||||
(CVT) or the 'Secondary GTF' curve (GTF).
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_DV_BT_CAP_CUSTOM``
|
||||
|
||||
* - ``V4L2_DV_BT_CAP_CUSTOM``
|
||||
- Can support non-standard timings, i.e. timings not belonging to
|
||||
the standards set in the ``standards`` field.
|
||||
|
||||
|
@ -74,31 +74,16 @@ introduced in Linux 2.6.21.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``cmd``
|
||||
|
||||
- The encoder command, see :ref:`encoder-cmds`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
- Flags to go with the command, see :ref:`encoder-flags`. If no
|
||||
flags are defined for this command, drivers and applications must
|
||||
set this field to zero.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``data``\ [8]
|
||||
|
||||
- Reserved for future extensions. Drivers and applications must set
|
||||
the array to zero.
|
||||
|
||||
@ -113,22 +98,12 @@ introduced in Linux 2.6.21.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_ENC_CMD_START``
|
||||
|
||||
* - ``V4L2_ENC_CMD_START``
|
||||
- 0
|
||||
|
||||
- Start the encoder. When the encoder is already running or paused,
|
||||
this command does nothing. No flags are defined for this command.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_ENC_CMD_STOP``
|
||||
|
||||
* - ``V4L2_ENC_CMD_STOP``
|
||||
- 1
|
||||
|
||||
- Stop the encoder. When the ``V4L2_ENC_CMD_STOP_AT_GOP_END`` flag
|
||||
is set, encoding will continue until the end of the current *Group
|
||||
Of Pictures*, otherwise encoding will stop immediately. When the
|
||||
@ -142,24 +117,14 @@ introduced in Linux 2.6.21.
|
||||
``V4L2_BUF_FLAG_LAST`` flag was set, the
|
||||
:ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will not block anymore,
|
||||
but return an ``EPIPE`` error code.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_ENC_CMD_PAUSE``
|
||||
|
||||
* - ``V4L2_ENC_CMD_PAUSE``
|
||||
- 2
|
||||
|
||||
- Pause the encoder. When the encoder has not been started yet, the
|
||||
driver will return an ``EPERM`` error code. When the encoder is
|
||||
already paused, this command does nothing. No flags are defined
|
||||
for this command.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_ENC_CMD_RESUME``
|
||||
|
||||
* - ``V4L2_ENC_CMD_RESUME``
|
||||
- 3
|
||||
|
||||
- Resume encoding after a PAUSE command. When the encoder has not
|
||||
been started yet, the driver will return an ``EPERM`` error code. When
|
||||
the encoder is already running, this command does nothing. No
|
||||
@ -175,13 +140,8 @@ introduced in Linux 2.6.21.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_ENC_CMD_STOP_AT_GOP_END``
|
||||
|
||||
* - ``V4L2_ENC_CMD_STOP_AT_GOP_END``
|
||||
- 0x0001
|
||||
|
||||
- Stop encoding at the end of the current *Group Of Pictures*,
|
||||
rather than immediately.
|
||||
|
||||
|
@ -74,40 +74,20 @@ return an ``EINVAL`` error code.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
- Number of the DV timings, set by the application.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``pad``
|
||||
|
||||
- Pad number as reported by the media controller API. This field is
|
||||
only used when operating on a subdevice node. When operating on a
|
||||
video node applications must set this field to zero.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [2]
|
||||
|
||||
- Reserved for future extensions. Drivers and applications must set
|
||||
the array to zero.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- struct :c:type:`v4l2_dv_timings`
|
||||
|
||||
* - struct :c:type:`v4l2_dv_timings`
|
||||
- ``timings``
|
||||
|
||||
- The timings.
|
||||
|
||||
|
||||
|
@ -53,57 +53,30 @@ one until ``EINVAL`` is returned.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
- Number of the format in the enumeration, set by the application.
|
||||
This is in no way related to the ``pixelformat`` field.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``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 :c:type:`v4l2_buf_type`.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
- See :ref:`fmtdesc-flags`
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``description``\ [32]
|
||||
|
||||
- Description of the format, a NUL-terminated ASCII string. This
|
||||
information is intended for the user, for example: "YUV 4:2:2".
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``pixelformat``
|
||||
|
||||
- The image format identifier. This is a four character code as
|
||||
computed by the v4l2_fourcc() macro:
|
||||
|
||||
- .. row 6
|
||||
|
||||
- :cspan:`2`
|
||||
* - :cspan:`2`
|
||||
|
||||
.. _v4l2-fourcc:
|
||||
|
||||
@ -118,13 +91,8 @@ one until ``EINVAL`` is returned.
|
||||
|
||||
These codes are not the same as those used
|
||||
in the Windows world.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [4]
|
||||
|
||||
- Reserved for future extensions. Drivers must set the array to
|
||||
zero.
|
||||
|
||||
@ -139,21 +107,11 @@ one until ``EINVAL`` is returned.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_FMT_FLAG_COMPRESSED``
|
||||
|
||||
* - ``V4L2_FMT_FLAG_COMPRESSED``
|
||||
- 0x0001
|
||||
|
||||
- This is a compressed format.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_FMT_FLAG_EMULATED``
|
||||
|
||||
* - ``V4L2_FMT_FLAG_EMULATED``
|
||||
- 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.
|
||||
|
@ -110,29 +110,14 @@ application should zero out all members except for the *IN* fields.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- struct :c:type:`v4l2_fract`
|
||||
|
||||
* - struct :c:type:`v4l2_fract`
|
||||
- ``min``
|
||||
|
||||
- Minimum frame interval [s].
|
||||
|
||||
- .. row 2
|
||||
|
||||
- struct :c:type:`v4l2_fract`
|
||||
|
||||
* - struct :c:type:`v4l2_fract`
|
||||
- ``max``
|
||||
|
||||
- Maximum frame interval [s].
|
||||
|
||||
- .. row 3
|
||||
|
||||
- struct :c:type:`v4l2_fract`
|
||||
|
||||
* - struct :c:type:`v4l2_fract`
|
||||
- ``step``
|
||||
|
||||
- Frame interval step size [s].
|
||||
|
||||
|
||||
@ -143,84 +128,40 @@ application should zero out all members except for the *IN* fields.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
-
|
||||
- IN: Index of the given frame interval in the enumeration.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``pixel_format``
|
||||
|
||||
-
|
||||
- IN: Pixel format for which the frame intervals are enumerated.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``width``
|
||||
|
||||
-
|
||||
- IN: Frame width for which the frame intervals are enumerated.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``height``
|
||||
|
||||
-
|
||||
- IN: Frame height for which the frame intervals are enumerated.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
-
|
||||
- OUT: Frame interval type the device supports.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
-
|
||||
-
|
||||
- OUT: Frame interval with the given index.
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_fract`
|
||||
|
||||
- ``discrete``
|
||||
|
||||
- Frame interval [s].
|
||||
|
||||
- .. row 8
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_frmival_stepwise`
|
||||
|
||||
- ``stepwise``
|
||||
|
||||
-
|
||||
|
||||
- .. row 9
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved[2]``
|
||||
|
||||
-
|
||||
- Reserved space for future use. Must be zeroed by drivers and
|
||||
applications.
|
||||
@ -240,29 +181,14 @@ Enums
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_FRMIVAL_TYPE_DISCRETE``
|
||||
|
||||
* - ``V4L2_FRMIVAL_TYPE_DISCRETE``
|
||||
- 1
|
||||
|
||||
- Discrete frame interval.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_FRMIVAL_TYPE_CONTINUOUS``
|
||||
|
||||
* - ``V4L2_FRMIVAL_TYPE_CONTINUOUS``
|
||||
- 2
|
||||
|
||||
- Continuous frame interval.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_FRMIVAL_TYPE_STEPWISE``
|
||||
|
||||
* - ``V4L2_FRMIVAL_TYPE_STEPWISE``
|
||||
- 3
|
||||
|
||||
- Step-wise defined frame interval.
|
||||
|
||||
|
||||
|
@ -99,21 +99,11 @@ application should zero out all members except for the *IN* fields.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``width``
|
||||
|
||||
- Width of the frame [pixel].
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``height``
|
||||
|
||||
- Height of the frame [pixel].
|
||||
|
||||
|
||||
@ -127,53 +117,23 @@ application should zero out all members except for the *IN* fields.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``min_width``
|
||||
|
||||
- Minimum frame width [pixel].
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``max_width``
|
||||
|
||||
- Maximum frame width [pixel].
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``step_width``
|
||||
|
||||
- Frame width step size [pixel].
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``min_height``
|
||||
|
||||
- Minimum frame height [pixel].
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``max_height``
|
||||
|
||||
- Maximum frame height [pixel].
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``step_height``
|
||||
|
||||
- Frame height step size [pixel].
|
||||
|
||||
|
||||
@ -184,66 +144,32 @@ application should zero out all members except for the *IN* fields.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
-
|
||||
- IN: Index of the given frame size in the enumeration.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``pixel_format``
|
||||
|
||||
-
|
||||
- IN: Pixel format for which the frame sizes are enumerated.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
-
|
||||
- OUT: Frame size type the device supports.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
-
|
||||
-
|
||||
- OUT: Frame size with the given index.
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_frmsize_discrete`
|
||||
|
||||
- ``discrete``
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_frmsize_stepwise`
|
||||
|
||||
- ``stepwise``
|
||||
|
||||
-
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved[2]``
|
||||
|
||||
-
|
||||
- Reserved space for future use. Must be zeroed by drivers and
|
||||
applications.
|
||||
@ -263,29 +189,14 @@ Enums
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_FRMSIZE_TYPE_DISCRETE``
|
||||
|
||||
* - ``V4L2_FRMSIZE_TYPE_DISCRETE``
|
||||
- 1
|
||||
|
||||
- Discrete frame size.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_FRMSIZE_TYPE_CONTINUOUS``
|
||||
|
||||
* - ``V4L2_FRMSIZE_TYPE_CONTINUOUS``
|
||||
- 2
|
||||
|
||||
- Continuous frame size.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_FRMSIZE_TYPE_STEPWISE``
|
||||
|
||||
* - ``V4L2_FRMSIZE_TYPE_STEPWISE``
|
||||
- 3
|
||||
|
||||
- Step-wise defined frame size.
|
||||
|
||||
|
||||
|
@ -50,82 +50,47 @@ of the corresponding tuner/modulator is set.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2 1 1
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``tuner``
|
||||
|
||||
- The tuner or modulator index number. This is the same value as in
|
||||
the struct :c:type:`v4l2_input` ``tuner`` field and
|
||||
the struct :c:type:`v4l2_tuner` ``index`` field, or
|
||||
the struct :c:type:`v4l2_output` ``modulator`` field
|
||||
and the struct :c:type:`v4l2_modulator` ``index``
|
||||
field.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
- The tuner type. This is the same value as in the struct
|
||||
:c:type:`v4l2_tuner` ``type`` field. The type must be
|
||||
set to ``V4L2_TUNER_RADIO`` for ``/dev/radioX`` device nodes, and
|
||||
to ``V4L2_TUNER_ANALOG_TV`` for all others. Set this field to
|
||||
``V4L2_TUNER_RADIO`` for modulators (currently only radio
|
||||
modulators are supported). See :c:type:`v4l2_tuner_type`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
- Identifies the frequency band, set by the application.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``capability``
|
||||
|
||||
- :cspan:`2` The tuner/modulator capability flags for this
|
||||
frequency band, see :ref:`tuner-capability`. The
|
||||
``V4L2_TUNER_CAP_LOW`` or ``V4L2_TUNER_CAP_1HZ`` capability must
|
||||
be the same for all frequency bands of the selected
|
||||
tuner/modulator. So either all bands have that capability set, or
|
||||
none of them have that capability.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``rangelow``
|
||||
|
||||
- :cspan:`2` The lowest tunable frequency in units of 62.5 kHz, or
|
||||
if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units
|
||||
of 62.5 Hz, for this frequency band. A 1 Hz unit is used when the
|
||||
``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``rangehigh``
|
||||
|
||||
- :cspan:`2` The highest tunable frequency in units of 62.5 kHz,
|
||||
or if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in
|
||||
units of 62.5 Hz, for this frequency band. A 1 Hz unit is used
|
||||
when the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``modulation``
|
||||
|
||||
- :cspan:`2` The supported modulation systems of this frequency
|
||||
band. See :ref:`band-modulation`.
|
||||
|
||||
@ -137,13 +102,8 @@ of the corresponding tuner/modulator is set.
|
||||
mailing list
|
||||
(`https://linuxtv.org/lists.php <https://linuxtv.org/lists.php>`__)
|
||||
if you need such functionality.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [9]
|
||||
|
||||
- Reserved for future extensions.
|
||||
|
||||
Applications and drivers must set the array to zero.
|
||||
@ -159,29 +119,14 @@ of the corresponding tuner/modulator is set.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_BAND_MODULATION_VSB``
|
||||
|
||||
* - ``V4L2_BAND_MODULATION_VSB``
|
||||
- 0x02
|
||||
|
||||
- Vestigial Sideband modulation, used for analog TV.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_BAND_MODULATION_FM``
|
||||
|
||||
* - ``V4L2_BAND_MODULATION_FM``
|
||||
- 0x04
|
||||
|
||||
- Frequency Modulation, commonly used for analog radio.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_BAND_MODULATION_AM``
|
||||
|
||||
* - ``V4L2_BAND_MODULATION_AM``
|
||||
- 0x08
|
||||
|
||||
- Amplitude Modulation, commonly used for analog radio.
|
||||
|
||||
|
||||
|
@ -48,39 +48,19 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
- Identifies the input, set by the application.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``name``\ [32]
|
||||
|
||||
- Name of the video input, a NUL-terminated ASCII string, for
|
||||
example: "Vin (Composite 2)". This information is intended for the
|
||||
user, preferably the connector label on the device itself.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
- Type of the input, see :ref:`input-type`.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``audioset``
|
||||
|
||||
- Drivers can enumerate up to 32 video and audio inputs. This field
|
||||
shows which audio inputs were selectable as audio source if this
|
||||
was the currently selected video input. It is a bit mask. The LSB
|
||||
@ -94,55 +74,30 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
|
||||
|
||||
For details on audio inputs and how to select the current input
|
||||
see :ref:`audio`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``tuner``
|
||||
|
||||
- Capture devices can have zero or more tuners (RF demodulators).
|
||||
When the ``type`` is set to ``V4L2_INPUT_TYPE_TUNER`` this is an
|
||||
RF connector and this field identifies the tuner. It corresponds
|
||||
to struct :c:type:`v4l2_tuner` field ``index``. For
|
||||
details on tuners see :ref:`tuner`.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- :ref:`v4l2_std_id <v4l2-std-id>`
|
||||
|
||||
* - :ref:`v4l2_std_id <v4l2-std-id>`
|
||||
- ``std``
|
||||
|
||||
- Every video input supports one or more different video standards.
|
||||
This field is a set of all supported standards. For details on
|
||||
video standards and how to switch see :ref:`standard`.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``status``
|
||||
|
||||
- This field provides status information about the input. See
|
||||
:ref:`input-status` for flags. With the exception of the sensor
|
||||
orientation bits ``status`` is only valid when this is the current
|
||||
input.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``capabilities``
|
||||
|
||||
- This field provides capabilities for the input. See
|
||||
:ref:`input-capabilities` for flags.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [3]
|
||||
|
||||
- Reserved for future extensions. Drivers must set the array to
|
||||
zero.
|
||||
|
||||
@ -157,30 +112,15 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_INPUT_TYPE_TUNER``
|
||||
|
||||
* - ``V4L2_INPUT_TYPE_TUNER``
|
||||
- 1
|
||||
|
||||
- This input uses a tuner (RF demodulator).
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_INPUT_TYPE_CAMERA``
|
||||
|
||||
* - ``V4L2_INPUT_TYPE_CAMERA``
|
||||
- 2
|
||||
|
||||
- Analog baseband input, for example CVBS / Composite Video,
|
||||
S-Video, RGB.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_INPUT_TYPE_TOUCH``
|
||||
|
||||
* - ``V4L2_INPUT_TYPE_TOUCH``
|
||||
- 3
|
||||
|
||||
- This input is a touch device for capturing raw touch data.
|
||||
|
||||
|
||||
@ -193,156 +133,66 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- :cspan:`2` General
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_IN_ST_NO_POWER``
|
||||
|
||||
* - :cspan:`2` General
|
||||
* - ``V4L2_IN_ST_NO_POWER``
|
||||
- 0x00000001
|
||||
|
||||
- Attached device is off.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_IN_ST_NO_SIGNAL``
|
||||
|
||||
* - ``V4L2_IN_ST_NO_SIGNAL``
|
||||
- 0x00000002
|
||||
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_IN_ST_NO_COLOR``
|
||||
|
||||
* - ``V4L2_IN_ST_NO_COLOR``
|
||||
- 0x00000004
|
||||
|
||||
- The hardware supports color decoding, but does not detect color
|
||||
modulation in the signal.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- :cspan:`2` Sensor Orientation
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_IN_ST_HFLIP``
|
||||
|
||||
* - :cspan:`2` Sensor Orientation
|
||||
* - ``V4L2_IN_ST_HFLIP``
|
||||
- 0x00000010
|
||||
|
||||
- The input is connected to a device that produces a signal that is
|
||||
flipped horizontally and does not correct this before passing the
|
||||
signal to userspace.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_IN_ST_VFLIP``
|
||||
|
||||
* - ``V4L2_IN_ST_VFLIP``
|
||||
- 0x00000020
|
||||
|
||||
- The input is connected to a device that produces a signal that is
|
||||
flipped vertically and does not correct this before passing the
|
||||
signal to userspace.
|
||||
.. note:: A 180 degree rotation is the same as HFLIP | VFLIP
|
||||
|
||||
- .. row 8
|
||||
|
||||
- :cspan:`2` Analog Video
|
||||
|
||||
- .. row 9
|
||||
|
||||
- ``V4L2_IN_ST_NO_H_LOCK``
|
||||
|
||||
* - :cspan:`2` Analog Video
|
||||
* - ``V4L2_IN_ST_NO_H_LOCK``
|
||||
- 0x00000100
|
||||
|
||||
- No horizontal sync lock.
|
||||
|
||||
- .. row 10
|
||||
|
||||
- ``V4L2_IN_ST_COLOR_KILL``
|
||||
|
||||
* - ``V4L2_IN_ST_COLOR_KILL``
|
||||
- 0x00000200
|
||||
|
||||
- A color killer circuit automatically disables color decoding when
|
||||
it detects no color modulation. When this flag is set the color
|
||||
killer is enabled *and* has shut off color decoding.
|
||||
|
||||
- .. row 11
|
||||
|
||||
- ``V4L2_IN_ST_NO_V_LOCK``
|
||||
|
||||
* - ``V4L2_IN_ST_NO_V_LOCK``
|
||||
- 0x00000400
|
||||
|
||||
- No vertical sync lock.
|
||||
|
||||
- .. row 12
|
||||
|
||||
- ``V4L2_IN_ST_NO_STD_LOCK``
|
||||
|
||||
* - ``V4L2_IN_ST_NO_STD_LOCK``
|
||||
- 0x00000800
|
||||
|
||||
- No standard format lock in case of auto-detection format
|
||||
by the component.
|
||||
|
||||
- .. row 13
|
||||
|
||||
- :cspan:`2` Digital Video
|
||||
|
||||
- .. row 14
|
||||
|
||||
- ``V4L2_IN_ST_NO_SYNC``
|
||||
|
||||
* - :cspan:`2` Digital Video
|
||||
* - ``V4L2_IN_ST_NO_SYNC``
|
||||
- 0x00010000
|
||||
|
||||
- No synchronization lock.
|
||||
|
||||
- .. row 15
|
||||
|
||||
- ``V4L2_IN_ST_NO_EQU``
|
||||
|
||||
* - ``V4L2_IN_ST_NO_EQU``
|
||||
- 0x00020000
|
||||
|
||||
- No equalizer lock.
|
||||
|
||||
- .. row 16
|
||||
|
||||
- ``V4L2_IN_ST_NO_CARRIER``
|
||||
|
||||
* - ``V4L2_IN_ST_NO_CARRIER``
|
||||
- 0x00040000
|
||||
|
||||
- Carrier recovery failed.
|
||||
|
||||
- .. row 17
|
||||
|
||||
- :cspan:`2` VCR and Set-Top Box
|
||||
|
||||
- .. row 18
|
||||
|
||||
- ``V4L2_IN_ST_MACROVISION``
|
||||
|
||||
* - :cspan:`2` VCR and Set-Top Box
|
||||
* - ``V4L2_IN_ST_MACROVISION``
|
||||
- 0x01000000
|
||||
|
||||
- Macrovision is an analog copy prevention system mangling the video
|
||||
signal to confuse video recorders. When this flag is set
|
||||
Macrovision has been detected.
|
||||
|
||||
- .. row 19
|
||||
|
||||
- ``V4L2_IN_ST_NO_ACCESS``
|
||||
|
||||
* - ``V4L2_IN_ST_NO_ACCESS``
|
||||
- 0x02000000
|
||||
|
||||
- Conditional access denied.
|
||||
|
||||
- .. row 20
|
||||
|
||||
- ``V4L2_IN_ST_VTR``
|
||||
|
||||
* - ``V4L2_IN_ST_VTR``
|
||||
- 0x04000000
|
||||
|
||||
- VTR time constant. [?]
|
||||
|
||||
|
||||
@ -356,31 +206,16 @@ at index zero, incrementing by one until the driver returns ``EINVAL``.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_IN_CAP_DV_TIMINGS``
|
||||
|
||||
* - ``V4L2_IN_CAP_DV_TIMINGS``
|
||||
- 0x00000002
|
||||
|
||||
- This input supports setting video timings by using
|
||||
VIDIOC_S_DV_TIMINGS.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_IN_CAP_STD``
|
||||
|
||||
* - ``V4L2_IN_CAP_STD``
|
||||
- 0x00000004
|
||||
|
||||
- This input supports setting the TV standard by using
|
||||
VIDIOC_S_STD.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_IN_CAP_NATIVE_SIZE``
|
||||
|
||||
* - ``V4L2_IN_CAP_NATIVE_SIZE``
|
||||
- 0x00000008
|
||||
|
||||
- This input supports setting the native size using the
|
||||
``V4L2_SEL_TGT_NATIVE_SIZE`` selection target, see
|
||||
:ref:`v4l2-selections-common`.
|
||||
|
@ -49,39 +49,19 @@ EINVAL.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
- Identifies the output, set by the application.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``name``\ [32]
|
||||
|
||||
- Name of the video output, a NUL-terminated ASCII string, for
|
||||
example: "Vout". This information is intended for the user,
|
||||
preferably the connector label on the device itself.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
- Type of the output, see :ref:`output-type`.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``audioset``
|
||||
|
||||
- Drivers can enumerate up to 32 video and audio outputs. This field
|
||||
shows which audio outputs were selectable as the current output if
|
||||
this was the currently selected video output. It is a bit mask.
|
||||
@ -95,44 +75,24 @@ EINVAL.
|
||||
|
||||
For details on audio outputs and how to select the current output
|
||||
see :ref:`audio`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``modulator``
|
||||
|
||||
- Output devices can have zero or more RF modulators. When the
|
||||
``type`` is ``V4L2_OUTPUT_TYPE_MODULATOR`` this is an RF connector
|
||||
and this field identifies the modulator. It corresponds to struct
|
||||
:c:type:`v4l2_modulator` field ``index``. For
|
||||
details on modulators see :ref:`tuner`.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- :ref:`v4l2_std_id <v4l2-std-id>`
|
||||
|
||||
* - :ref:`v4l2_std_id <v4l2-std-id>`
|
||||
- ``std``
|
||||
|
||||
- Every video output supports one or more different video standards.
|
||||
This field is a set of all supported standards. For details on
|
||||
video standards and how to switch see :ref:`standard`.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``capabilities``
|
||||
|
||||
- This field provides capabilities for the output. See
|
||||
:ref:`output-capabilities` for flags.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [3]
|
||||
|
||||
- Reserved for future extensions. Drivers must set the array to
|
||||
zero.
|
||||
|
||||
@ -147,30 +107,15 @@ EINVAL.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_OUTPUT_TYPE_MODULATOR``
|
||||
|
||||
* - ``V4L2_OUTPUT_TYPE_MODULATOR``
|
||||
- 1
|
||||
|
||||
- This output is an analog TV modulator.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_OUTPUT_TYPE_ANALOG``
|
||||
|
||||
* - ``V4L2_OUTPUT_TYPE_ANALOG``
|
||||
- 2
|
||||
|
||||
- Analog baseband output, for example Composite / CVBS, S-Video,
|
||||
RGB.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_OUTPUT_TYPE_ANALOGVGAOVERLAY``
|
||||
|
||||
* - ``V4L2_OUTPUT_TYPE_ANALOGVGAOVERLAY``
|
||||
- 3
|
||||
|
||||
- [?]
|
||||
|
||||
|
||||
@ -184,31 +129,16 @@ EINVAL.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_OUT_CAP_DV_TIMINGS``
|
||||
|
||||
* - ``V4L2_OUT_CAP_DV_TIMINGS``
|
||||
- 0x00000002
|
||||
|
||||
- This output supports setting video timings by using
|
||||
VIDIOC_S_DV_TIMINGS.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_OUT_CAP_STD``
|
||||
|
||||
* - ``V4L2_OUT_CAP_STD``
|
||||
- 0x00000004
|
||||
|
||||
- This output supports setting the TV standard by using
|
||||
VIDIOC_S_STD.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_OUT_CAP_NATIVE_SIZE``
|
||||
|
||||
* - ``V4L2_OUT_CAP_NATIVE_SIZE``
|
||||
- 0x00000008
|
||||
|
||||
- This output supports setting the native size using the
|
||||
``V4L2_SEL_TGT_NATIVE_SIZE`` selection target, see
|
||||
:ref:`v4l2-selections-common`.
|
||||
|
@ -51,21 +51,11 @@ or output. [#f1]_
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
- Number of the video standard, set by the application.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- :ref:`v4l2_std_id <v4l2-std-id>`
|
||||
|
||||
* - :ref:`v4l2_std_id <v4l2-std-id>`
|
||||
- ``id``
|
||||
|
||||
- The bits in this field identify the standard as one of the common
|
||||
standards listed in :ref:`v4l2-std-id`, or if bits 32 to 63 are
|
||||
set as custom standards. Multiple bits can be set if the hardware
|
||||
@ -73,40 +63,20 @@ or output. [#f1]_
|
||||
indices do not indicate the opposite. The ``id`` must be unique.
|
||||
No other enumerated struct :c:type:`v4l2_standard` structure,
|
||||
for this input or output anyway, can contain the same set of bits.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``name``\ [24]
|
||||
|
||||
- Name of the standard, a NUL-terminated ASCII string, for example:
|
||||
"PAL-B/G", "NTSC Japan". This information is intended for the
|
||||
user.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- struct :c:type:`v4l2_fract`
|
||||
|
||||
* - struct :c:type:`v4l2_fract`
|
||||
- ``frameperiod``
|
||||
|
||||
- The frame period (not field period) is numerator / denominator.
|
||||
For example M/NTSC has a frame period of 1001 / 30000 seconds.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``framelines``
|
||||
|
||||
- Total lines per frame including blanking, e. g. 625 for B/PAL.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [4]
|
||||
|
||||
- Reserved for future extensions. Drivers must set the array to
|
||||
zero.
|
||||
|
||||
@ -121,21 +91,11 @@ or output. [#f1]_
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``numerator``
|
||||
|
||||
-
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``denominator``
|
||||
|
||||
-
|
||||
|
||||
|
||||
@ -148,13 +108,8 @@ or output. [#f1]_
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u64
|
||||
|
||||
* - __u64
|
||||
- ``v4l2_std_id``
|
||||
|
||||
- This type is a set, each bit representing another video standard
|
||||
as listed below and in :ref:`video-standards`. The 32 most
|
||||
significant bits are reserved for custom (driver defined) video
|
||||
@ -282,119 +237,58 @@ support digital TV. See also the Linux DVB API at
|
||||
:header-rows: 1
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Characteristics
|
||||
|
||||
* - Characteristics
|
||||
- M/NTSC [#f2]_
|
||||
|
||||
- M/PAL
|
||||
|
||||
- N/PAL [#f3]_
|
||||
|
||||
- B, B1, G/PAL
|
||||
|
||||
- D, D1, K/PAL
|
||||
|
||||
- H/PAL
|
||||
|
||||
- I/PAL
|
||||
|
||||
- B, G/SECAM
|
||||
|
||||
- D, K/SECAM
|
||||
|
||||
- K1/SECAM
|
||||
|
||||
- L/SECAM
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Frame lines
|
||||
|
||||
* - Frame lines
|
||||
- :cspan:`1` 525
|
||||
|
||||
- :cspan:`8` 625
|
||||
|
||||
- .. row 3
|
||||
|
||||
- Frame period (s)
|
||||
|
||||
* - Frame period (s)
|
||||
- :cspan:`1` 1001/30000
|
||||
|
||||
- :cspan:`8` 1/25
|
||||
|
||||
- .. row 4
|
||||
|
||||
- Chrominance sub-carrier frequency (Hz)
|
||||
|
||||
* - Chrominance sub-carrier frequency (Hz)
|
||||
- 3579545 ± 10
|
||||
|
||||
- 3579611.49 ± 10
|
||||
|
||||
- 4433618.75 ± 5
|
||||
|
||||
(3582056.25 ± 5)
|
||||
|
||||
- :cspan:`3` 4433618.75 ± 5
|
||||
|
||||
- 4433618.75 ± 1
|
||||
|
||||
- :cspan:`2` f\ :sub:`OR` = 4406250 ± 2000,
|
||||
|
||||
f\ :sub:`OB` = 4250000 ± 2000
|
||||
|
||||
- .. row 5
|
||||
|
||||
- Nominal radio-frequency channel bandwidth (MHz)
|
||||
|
||||
* - Nominal radio-frequency channel bandwidth (MHz)
|
||||
- 6
|
||||
|
||||
- 6
|
||||
|
||||
- 6
|
||||
|
||||
- B: 7; B1, G: 8
|
||||
|
||||
- 8
|
||||
|
||||
- 8
|
||||
|
||||
- 8
|
||||
|
||||
- 8
|
||||
|
||||
- 8
|
||||
|
||||
- 8
|
||||
|
||||
- 8
|
||||
|
||||
- .. row 6
|
||||
|
||||
- Sound carrier relative to vision carrier (MHz)
|
||||
|
||||
* - Sound carrier relative to vision carrier (MHz)
|
||||
- 4.5
|
||||
|
||||
- 4.5
|
||||
|
||||
- 4.5
|
||||
|
||||
- 5.5 ± 0.001 [#f4]_ [#f5]_ [#f6]_ [#f7]_
|
||||
|
||||
- 6.5 ± 0.001
|
||||
|
||||
- 5.5
|
||||
|
||||
- 5.9996 ± 0.0005
|
||||
|
||||
- 5.5 ± 0.001
|
||||
|
||||
- 6.5 ± 0.001
|
||||
|
||||
- 6.5
|
||||
|
||||
- 6.5 [#f8]_
|
||||
|
||||
.. raw:: latex
|
||||
|
@ -123,64 +123,34 @@ Examples
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
- Type of the buffer, same as struct
|
||||
:c:type:`v4l2_format` ``type`` or struct
|
||||
:c:type:`v4l2_requestbuffers` ``type``, set
|
||||
by the application. See :c:type:`v4l2_buf_type`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
- Number of the buffer, set by the application. This field is only
|
||||
used for :ref:`memory mapping <mmap>` I/O and can range from
|
||||
zero to the number of buffers allocated with the
|
||||
:ref:`VIDIOC_REQBUFS` and/or
|
||||
:ref:`VIDIOC_CREATE_BUFS` ioctls.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``plane``
|
||||
|
||||
- Index of the plane to be exported when using the multi-planar API.
|
||||
Otherwise this value must be set to zero.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
- Flags for the newly created file, currently only ``O_CLOEXEC``,
|
||||
``O_RDONLY``, ``O_WRONLY``, and ``O_RDWR`` are supported, refer to
|
||||
the manual of open() for more details.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __s32
|
||||
|
||||
* - __s32
|
||||
- ``fd``
|
||||
|
||||
- The DMABUF file descriptor associated with a buffer. Set by the
|
||||
driver.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved[11]``
|
||||
|
||||
- Reserved field for future use. Drivers and applications must set
|
||||
the array to zero.
|
||||
|
||||
|
@ -58,48 +58,23 @@ return the actual new audio mode.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
- Identifies the audio input, set by the driver or application.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``name``\ [32]
|
||||
|
||||
- Name of the audio input, a NUL-terminated ASCII string, for
|
||||
example: "Line In". This information is intended for the user,
|
||||
preferably the connector label on the device itself.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``capability``
|
||||
|
||||
- Audio capability flags, see :ref:`audio-capability`.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``mode``
|
||||
|
||||
- Audio mode flags set by drivers and applications (on
|
||||
:ref:`VIDIOC_S_AUDIO <VIDIOC_G_AUDIO>` ioctl), see :ref:`audio-mode`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [2]
|
||||
|
||||
- Reserved for future extensions. Drivers and applications must set
|
||||
the array to zero.
|
||||
|
||||
@ -114,24 +89,14 @@ return the actual new audio mode.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_AUDCAP_STEREO``
|
||||
|
||||
* - ``V4L2_AUDCAP_STEREO``
|
||||
- 0x00001
|
||||
|
||||
- This is a stereo input. The flag is intended to automatically
|
||||
disable stereo recording etc. when the signal is always monaural.
|
||||
The API provides no means to detect if stereo is *received*,
|
||||
unless the audio input belongs to a tuner.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_AUDCAP_AVL``
|
||||
|
||||
* - ``V4L2_AUDCAP_AVL``
|
||||
- 0x00002
|
||||
|
||||
- Automatic Volume Level mode is supported.
|
||||
|
||||
|
||||
@ -145,13 +110,8 @@ return the actual new audio mode.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_AUDMODE_AVL``
|
||||
|
||||
* - ``V4L2_AUDMODE_AVL``
|
||||
- 0x00001
|
||||
|
||||
- AVL mode is on.
|
||||
|
||||
|
||||
|
@ -65,49 +65,24 @@ as ``VIDIOC_G_AUDOUT`` does.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
- Identifies the audio output, set by the driver or application.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``name``\ [32]
|
||||
|
||||
- Name of the audio output, a NUL-terminated ASCII string, for
|
||||
example: "Line Out". This information is intended for the user,
|
||||
preferably the connector label on the device itself.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``capability``
|
||||
|
||||
- Audio capability flags, none defined yet. Drivers must set this
|
||||
field to zero.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``mode``
|
||||
|
||||
- Audio mode, none defined yet. Drivers and applications (on
|
||||
``VIDIOC_S_AUDOUT``) must set this field to zero.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [2]
|
||||
|
||||
- Reserved for future extensions. Drivers and applications must set
|
||||
the array to zero.
|
||||
|
||||
|
@ -84,24 +84,14 @@ When cropping is not supported then no parameters are changed and
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``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_OUTPUT`` and
|
||||
``V4L2_BUF_TYPE_VIDEO_OVERLAY``. See :c:type:`v4l2_buf_type`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- struct :c:type:`v4l2_rect`
|
||||
|
||||
* - struct :c:type:`v4l2_rect`
|
||||
- ``c``
|
||||
|
||||
- Cropping rectangle. The same co-ordinate system as for struct
|
||||
:c:type:`v4l2_cropcap` ``bounds`` is used.
|
||||
|
||||
|
@ -64,21 +64,11 @@ These ioctls work only with user controls. For other control classes the
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``id``
|
||||
|
||||
- Identifies the control, set by the application.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __s32
|
||||
|
||||
* - __s32
|
||||
- ``value``
|
||||
|
||||
- New value or current value.
|
||||
|
||||
|
||||
|
@ -83,156 +83,71 @@ EBUSY
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``width``
|
||||
|
||||
- Width of the active video in pixels.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``height``
|
||||
|
||||
- Height of the active video frame in lines. So for interlaced
|
||||
formats the height of the active video in each field is
|
||||
``height``/2.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``interlaced``
|
||||
|
||||
- Progressive (``V4L2_DV_PROGRESSIVE``) or interlaced (``V4L2_DV_INTERLACED``).
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``polarities``
|
||||
|
||||
- This is a bit mask that defines polarities of sync signals. bit 0
|
||||
(``V4L2_DV_VSYNC_POS_POL``) is for vertical sync polarity and bit
|
||||
1 (``V4L2_DV_HSYNC_POS_POL``) is for horizontal sync polarity. If
|
||||
the bit is set (1) it is positive polarity and if is cleared (0),
|
||||
it is negative polarity.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u64
|
||||
|
||||
* - __u64
|
||||
- ``pixelclock``
|
||||
|
||||
- Pixel clock in Hz. Ex. 74.25MHz->74250000
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``hfrontporch``
|
||||
|
||||
- Horizontal front porch in pixels
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``hsync``
|
||||
|
||||
- Horizontal sync length in pixels
|
||||
|
||||
- .. row 8
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``hbackporch``
|
||||
|
||||
- Horizontal back porch in pixels
|
||||
|
||||
- .. row 9
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``vfrontporch``
|
||||
|
||||
- Vertical front porch in lines. For interlaced formats this refers
|
||||
to the odd field (aka field 1).
|
||||
|
||||
- .. row 10
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``vsync``
|
||||
|
||||
- Vertical sync length in lines. For interlaced formats this refers
|
||||
to the odd field (aka field 1).
|
||||
|
||||
- .. row 11
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``vbackporch``
|
||||
|
||||
- Vertical back porch in lines. For interlaced formats this refers
|
||||
to the odd field (aka field 1).
|
||||
|
||||
- .. row 12
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``il_vfrontporch``
|
||||
|
||||
- Vertical front porch in lines for the even field (aka field 2) of
|
||||
interlaced field formats. Must be 0 for progressive formats.
|
||||
|
||||
- .. row 13
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``il_vsync``
|
||||
|
||||
- Vertical sync length in lines for the even field (aka field 2) of
|
||||
interlaced field formats. Must be 0 for progressive formats.
|
||||
|
||||
- .. row 14
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``il_vbackporch``
|
||||
|
||||
- Vertical back porch in lines for the even field (aka field 2) of
|
||||
interlaced field formats. Must be 0 for progressive formats.
|
||||
|
||||
- .. row 15
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``standards``
|
||||
|
||||
- The video standard(s) this format belongs to. This will be filled
|
||||
in by the driver. Applications must set this to 0. See
|
||||
:ref:`dv-bt-standards` for a list of standards.
|
||||
|
||||
- .. row 16
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
- Several flags giving more information about the format. See
|
||||
:ref:`dv-bt-flags` for a description of the flags.
|
||||
|
||||
- .. row 17
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved[14]``
|
||||
|
||||
- Reserved for future extensions. Drivers and applications must set
|
||||
the array to zero.
|
||||
|
||||
@ -246,39 +161,20 @@ EBUSY
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2 1
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
-
|
||||
- Type of DV timings as listed in :ref:`dv-timing-types`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
-
|
||||
-
|
||||
|
||||
- .. row 3
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_bt_timings`
|
||||
|
||||
- ``bt``
|
||||
|
||||
- Timings defined by BT.656/1120 specifications
|
||||
|
||||
- .. row 4
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``reserved``\ [32]
|
||||
|
||||
-
|
||||
|
||||
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
|
||||
@ -290,27 +186,14 @@ EBUSY
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Timing type
|
||||
|
||||
* - Timing type
|
||||
- value
|
||||
|
||||
- Description
|
||||
|
||||
- .. row 2
|
||||
|
||||
* -
|
||||
-
|
||||
-
|
||||
-
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_DV_BT_656_1120``
|
||||
|
||||
* - ``V4L2_DV_BT_656_1120``
|
||||
- 0
|
||||
|
||||
- BT.656/1120 timings
|
||||
|
||||
|
||||
@ -321,41 +204,17 @@ EBUSY
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Timing standard
|
||||
|
||||
* - Timing standard
|
||||
- Description
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_DV_BT_STD_CEA861``
|
||||
|
||||
* - ``V4L2_DV_BT_STD_CEA861``
|
||||
- The timings follow the CEA-861 Digital TV Profile standard
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_DV_BT_STD_DMT``
|
||||
|
||||
* - ``V4L2_DV_BT_STD_DMT``
|
||||
- The timings follow the VESA Discrete Monitor Timings standard
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_DV_BT_STD_CVT``
|
||||
|
||||
* - ``V4L2_DV_BT_STD_CVT``
|
||||
- The timings follow the VESA Coordinated Video Timings standard
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_DV_BT_STD_GTF``
|
||||
|
||||
* - ``V4L2_DV_BT_STD_GTF``
|
||||
- The timings follow the VESA Generalized Timings Formula standard
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_DV_BT_STD_SDI``
|
||||
|
||||
* - ``V4L2_DV_BT_STD_SDI``
|
||||
- The timings follow the SDI Timings standard.
|
||||
There are no horizontal syncs/porches at all in this format.
|
||||
Total blanking timings must be set in hsync or vsync fields only.
|
||||
@ -368,27 +227,15 @@ EBUSY
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Flag
|
||||
|
||||
* - Flag
|
||||
- Description
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_DV_FL_REDUCED_BLANKING``
|
||||
|
||||
* - ``V4L2_DV_FL_REDUCED_BLANKING``
|
||||
- CVT/GTF specific: the timings use reduced blanking (CVT) or the
|
||||
'Secondary GTF' curve (GTF). In both cases the horizontal and/or
|
||||
vertical blanking intervals are reduced, allowing a higher
|
||||
resolution over the same bandwidth. This is a read-only flag,
|
||||
applications must not set this.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_DV_FL_CAN_REDUCE_FPS``
|
||||
|
||||
* - ``V4L2_DV_FL_CAN_REDUCE_FPS``
|
||||
- CEA-861 specific: set for CEA-861 formats with a framerate that is
|
||||
a multiple of six. These formats can be optionally played at 1 /
|
||||
1.001 speed to be compatible with 60 Hz based standards such as
|
||||
@ -396,11 +243,7 @@ EBUSY
|
||||
the transmitter can't generate such frequencies, then the flag
|
||||
will also be cleared. This is a read-only flag, applications must
|
||||
not set this.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_DV_FL_REDUCED_FPS``
|
||||
|
||||
* - ``V4L2_DV_FL_REDUCED_FPS``
|
||||
- CEA-861 specific: only valid for video transmitters, the flag is
|
||||
cleared by receivers. It is also only valid for formats with the
|
||||
``V4L2_DV_FL_CAN_REDUCE_FPS`` flag set, for other formats the
|
||||
@ -409,33 +252,21 @@ EBUSY
|
||||
divided by 1.001 to make it compatible with NTSC framerates. If
|
||||
the transmitter can't generate such frequencies, then the flag
|
||||
will also be cleared.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_DV_FL_HALF_LINE``
|
||||
|
||||
* - ``V4L2_DV_FL_HALF_LINE``
|
||||
- Specific to interlaced formats: if set, then the vertical
|
||||
frontporch of field 1 (aka the odd field) is really one half-line
|
||||
longer and the vertical backporch of field 2 (aka the even field)
|
||||
is really one half-line shorter, so each field has exactly the
|
||||
same number of half-lines. Whether half-lines can be detected or
|
||||
used depends on the hardware.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_DV_FL_IS_CE_VIDEO``
|
||||
|
||||
* - ``V4L2_DV_FL_IS_CE_VIDEO``
|
||||
- If set, then this is a Consumer Electronics (CE) video format.
|
||||
Such formats differ from other formats (commonly called IT
|
||||
formats) in that if R'G'B' encoding is used then by default the
|
||||
R'G'B' values use limited range (i.e. 16-235) as opposed to full
|
||||
range (i.e. 0-255). All formats defined in CEA-861 except for the
|
||||
640x480p59.94 format are CE formats.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_DV_FL_FIRST_FIELD_EXTRA_LINE``
|
||||
|
||||
* - ``V4L2_DV_FL_FIRST_FIELD_EXTRA_LINE``
|
||||
- Some formats like SMPTE-125M have an interlaced signal with a odd
|
||||
total height. For these formats, if this flag is set, the first
|
||||
field has the extra line. Else, it is the second field.
|
||||
|
@ -106,53 +106,28 @@ EDID is no longer available.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``pad``
|
||||
|
||||
- Pad for which to get/set the EDID blocks. When used with a video
|
||||
device node the pad represents the input or output index as
|
||||
returned by :ref:`VIDIOC_ENUMINPUT` and
|
||||
:ref:`VIDIOC_ENUMOUTPUT` respectively.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``start_block``
|
||||
|
||||
- Read the EDID from starting with this block. Must be 0 when
|
||||
setting the EDID.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``blocks``
|
||||
|
||||
- The number of blocks to get or set. Must be less or equal to 256
|
||||
(the maximum number of blocks as defined by the standard). When
|
||||
you set the EDID and ``blocks`` is 0, then the EDID is disabled or
|
||||
erased.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [5]
|
||||
|
||||
- Reserved for future extensions. Applications and drivers must set
|
||||
the array to zero.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u8 *
|
||||
|
||||
* - __u8 *
|
||||
- ``edid``
|
||||
|
||||
- Pointer to memory that contains the EDID. The minimum size is
|
||||
``blocks`` * 128.
|
||||
|
||||
|
@ -64,39 +64,19 @@ video elementary streams.
|
||||
:stub-columns: 0
|
||||
:widths: 1 3 8
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``entries``
|
||||
|
||||
- The number of entries the driver stored in the ``entry`` array.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``entries_cap``
|
||||
|
||||
- The number of entries the driver can buffer. Must be greater than
|
||||
zero.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [4]
|
||||
|
||||
- Reserved for future extensions. Drivers must set the
|
||||
array to zero.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- struct :c:type:`v4l2_enc_idx_entry`
|
||||
|
||||
* - struct :c:type:`v4l2_enc_idx_entry`
|
||||
- ``entry``\ [``V4L2_ENC_IDX_ENTRIES``]
|
||||
|
||||
- Meta data about a compressed video stream. Each element of the
|
||||
array corresponds to one picture, sorted in ascending order by
|
||||
their ``offset``.
|
||||
@ -112,51 +92,26 @@ video elementary streams.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u64
|
||||
|
||||
* - __u64
|
||||
- ``offset``
|
||||
|
||||
- The offset in bytes from the beginning of the compressed video
|
||||
stream to the beginning of this picture, that is a *PES packet
|
||||
header* as defined in :ref:`mpeg2part1` or a *picture header* as
|
||||
defined in :ref:`mpeg2part2`. When the encoder is stopped, the
|
||||
driver resets the offset to zero.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u64
|
||||
|
||||
* - __u64
|
||||
- ``pts``
|
||||
|
||||
- The 33 bit *Presentation Time Stamp* of this picture as defined in
|
||||
:ref:`mpeg2part1`.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``length``
|
||||
|
||||
- The length of this picture in bytes.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
- Flags containing the coding type of this picture, see
|
||||
:ref:`enc-idx-flags`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [2]
|
||||
|
||||
- Reserved for future extensions. Drivers must set the array to
|
||||
zero.
|
||||
|
||||
@ -170,37 +125,17 @@ video elementary streams.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_ENC_IDX_FRAME_I``
|
||||
|
||||
* - ``V4L2_ENC_IDX_FRAME_I``
|
||||
- 0x00
|
||||
|
||||
- This is an Intra-coded picture.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_ENC_IDX_FRAME_P``
|
||||
|
||||
* - ``V4L2_ENC_IDX_FRAME_P``
|
||||
- 0x01
|
||||
|
||||
- This is a Predictive-coded picture.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_ENC_IDX_FRAME_B``
|
||||
|
||||
* - ``V4L2_ENC_IDX_FRAME_B``
|
||||
- 0x02
|
||||
|
||||
- This is a Bidirectionally predictive-coded picture.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_ENC_IDX_FRAME_MASK``
|
||||
|
||||
* - ``V4L2_ENC_IDX_FRAME_MASK``
|
||||
- 0x0F
|
||||
|
||||
- *AND* the flags field with this mask to obtain the picture coding
|
||||
type.
|
||||
|
||||
|
@ -111,22 +111,12 @@ still cause this situation.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``id``
|
||||
|
||||
-
|
||||
- Identifies the control, set by the application.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``size``
|
||||
|
||||
-
|
||||
- The total size in bytes of the payload of this control. This is
|
||||
normally 0, but for pointer controls this should be set to the
|
||||
@ -142,92 +132,48 @@ still cause this situation.
|
||||
not be confused with the length of the string. This field refers
|
||||
to the size of the memory that contains the string. The actual
|
||||
*length* of the string may well be much smaller.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved2``\ [1]
|
||||
|
||||
-
|
||||
- Reserved for future extensions. Drivers and applications must set
|
||||
the array to zero.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
- (anonymous)
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
* -
|
||||
- __s32
|
||||
|
||||
- ``value``
|
||||
|
||||
- New value or current value. Valid if this control is not of type
|
||||
``V4L2_CTRL_TYPE_INTEGER64`` and ``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is
|
||||
not set.
|
||||
|
||||
- .. row 6
|
||||
|
||||
-
|
||||
* -
|
||||
- __s64
|
||||
|
||||
- ``value64``
|
||||
|
||||
- New value or current value. Valid if this control is of type
|
||||
``V4L2_CTRL_TYPE_INTEGER64`` and ``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is
|
||||
not set.
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
* -
|
||||
- char *
|
||||
|
||||
- ``string``
|
||||
|
||||
- A pointer to a string. Valid if this control is of type
|
||||
``V4L2_CTRL_TYPE_STRING``.
|
||||
|
||||
- .. row 8
|
||||
|
||||
-
|
||||
* -
|
||||
- __u8 *
|
||||
|
||||
- ``p_u8``
|
||||
|
||||
- A pointer to a matrix control of unsigned 8-bit values. Valid if
|
||||
this control is of type ``V4L2_CTRL_TYPE_U8``.
|
||||
|
||||
- .. row 9
|
||||
|
||||
-
|
||||
* -
|
||||
- __u16 *
|
||||
|
||||
- ``p_u16``
|
||||
|
||||
- A pointer to a matrix control of unsigned 16-bit values. Valid if
|
||||
this control is of type ``V4L2_CTRL_TYPE_U16``.
|
||||
|
||||
- .. row 10
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32 *
|
||||
|
||||
- ``p_u32``
|
||||
|
||||
- A pointer to a matrix control of unsigned 32-bit values. Valid if
|
||||
this control is of type ``V4L2_CTRL_TYPE_U32``.
|
||||
|
||||
- .. row 11
|
||||
|
||||
-
|
||||
* -
|
||||
- void *
|
||||
|
||||
- ``ptr``
|
||||
|
||||
- A pointer to a compound type which can be an N-dimensional array
|
||||
and/or a compound type (the control's type is >=
|
||||
``V4L2_CTRL_COMPOUND_TYPES``). Valid if
|
||||
@ -245,20 +191,11 @@ still cause this situation.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2 1
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
- (anonymous)
|
||||
|
||||
- .. row 2
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``ctrl_class``
|
||||
|
||||
- The control class to which all controls belong, see
|
||||
:ref:`ctrl-class`. Drivers that use a kernel framework for
|
||||
handling controls will also accept a value of 0 here, meaning that
|
||||
@ -266,14 +203,9 @@ still cause this situation.
|
||||
support this can be tested by setting ``ctrl_class`` to 0 and
|
||||
calling :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` with a ``count`` of 0. If that
|
||||
succeeds, then the driver supports this feature.
|
||||
|
||||
- .. row 3
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``which``
|
||||
|
||||
- Which value of the control to get/set/try.
|
||||
``V4L2_CTRL_WHICH_CUR_VAL`` will return the current value of the
|
||||
control and ``V4L2_CTRL_WHICH_DEF_VAL`` will return the default
|
||||
@ -293,21 +225,11 @@ still cause this situation.
|
||||
by setting ctrl_class to ``V4L2_CTRL_WHICH_CUR_VAL`` and calling
|
||||
VIDIOC_TRY_EXT_CTRLS with a count of 0. If that fails, then the
|
||||
driver does not support ``V4L2_CTRL_WHICH_CUR_VAL``.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``count``
|
||||
|
||||
- The number of controls in the controls array. May also be zero.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``error_idx``
|
||||
|
||||
- Set by the driver in case of an error. If the error is associated
|
||||
with a particular control, then ``error_idx`` is set to the index
|
||||
of that control. If the error is not related to a specific
|
||||
@ -349,23 +271,13 @@ still cause this situation.
|
||||
then you can call :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` to try to discover the
|
||||
actual control that failed the validation step. Unfortunately,
|
||||
there is no ``TRY`` equivalent for :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>`.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [2]
|
||||
|
||||
- Reserved for future extensions.
|
||||
|
||||
Drivers and applications must set the array to zero.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- struct :c:type:`v4l2_ext_control` *
|
||||
|
||||
* - struct :c:type:`v4l2_ext_control` *
|
||||
- ``controls``
|
||||
|
||||
- Pointer to an array of ``count`` v4l2_ext_control structures.
|
||||
|
||||
Ignored if ``count`` equals zero.
|
||||
@ -380,97 +292,47 @@ still cause this situation.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_CTRL_CLASS_USER``
|
||||
|
||||
* - ``V4L2_CTRL_CLASS_USER``
|
||||
- 0x980000
|
||||
|
||||
- The class containing user controls. These controls are described
|
||||
in :ref:`control`. All controls that can be set using the
|
||||
:ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` and
|
||||
:ref:`VIDIOC_G_CTRL <VIDIOC_G_CTRL>` ioctl belong to this
|
||||
class.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_CTRL_CLASS_MPEG``
|
||||
|
||||
* - ``V4L2_CTRL_CLASS_MPEG``
|
||||
- 0x990000
|
||||
|
||||
- The class containing MPEG compression controls. These controls are
|
||||
described in :ref:`mpeg-controls`.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_CTRL_CLASS_CAMERA``
|
||||
|
||||
* - ``V4L2_CTRL_CLASS_CAMERA``
|
||||
- 0x9a0000
|
||||
|
||||
- The class containing camera controls. These controls are described
|
||||
in :ref:`camera-controls`.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_CTRL_CLASS_FM_TX``
|
||||
|
||||
* - ``V4L2_CTRL_CLASS_FM_TX``
|
||||
- 0x9b0000
|
||||
|
||||
- The class containing FM Transmitter (FM TX) controls. These
|
||||
controls are described in :ref:`fm-tx-controls`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_CTRL_CLASS_FLASH``
|
||||
|
||||
* - ``V4L2_CTRL_CLASS_FLASH``
|
||||
- 0x9c0000
|
||||
|
||||
- The class containing flash device controls. These controls are
|
||||
described in :ref:`flash-controls`.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_CTRL_CLASS_JPEG``
|
||||
|
||||
* - ``V4L2_CTRL_CLASS_JPEG``
|
||||
- 0x9d0000
|
||||
|
||||
- The class containing JPEG compression controls. These controls are
|
||||
described in :ref:`jpeg-controls`.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_CTRL_CLASS_IMAGE_SOURCE``
|
||||
|
||||
* - ``V4L2_CTRL_CLASS_IMAGE_SOURCE``
|
||||
- 0x9e0000
|
||||
|
||||
- The class containing image source controls. These controls are
|
||||
described in :ref:`image-source-controls`.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_CTRL_CLASS_IMAGE_PROC``
|
||||
|
||||
* - ``V4L2_CTRL_CLASS_IMAGE_PROC``
|
||||
- 0x9f0000
|
||||
|
||||
- The class containing image processing controls. These controls are
|
||||
described in :ref:`image-process-controls`.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- ``V4L2_CTRL_CLASS_FM_RX``
|
||||
|
||||
* - ``V4L2_CTRL_CLASS_FM_RX``
|
||||
- 0xa10000
|
||||
|
||||
- The class containing FM Receiver (FM RX) controls. These controls
|
||||
are described in :ref:`fm-rx-controls`.
|
||||
|
||||
- .. row 10
|
||||
|
||||
- ``V4L2_CTRL_CLASS_RF_TUNER``
|
||||
|
||||
* - ``V4L2_CTRL_CLASS_RF_TUNER``
|
||||
- 0xa20000
|
||||
|
||||
- The class containing RF tuner controls. These controls are
|
||||
described in :ref:`rf-tuner-controls`.
|
||||
|
||||
|
@ -86,40 +86,22 @@ destructive video overlay.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``capability``
|
||||
|
||||
-
|
||||
- Overlay capability flags set by the driver, see
|
||||
:ref:`framebuffer-cap`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
-
|
||||
- Overlay control flags set by application and driver, see
|
||||
:ref:`framebuffer-flags`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- void *
|
||||
|
||||
* - void *
|
||||
- ``base``
|
||||
|
||||
-
|
||||
- Physical base address of the framebuffer, that is the address of
|
||||
the pixel in the top left corner of the framebuffer. [#f1]_
|
||||
|
||||
- .. row 4
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
-
|
||||
- This field is irrelevant to *non-destructive Video Overlays*. For
|
||||
@ -129,64 +111,35 @@ destructive video overlay.
|
||||
the driver must return a valid base address, so applications can
|
||||
find the corresponding Linux framebuffer device (see
|
||||
:ref:`osd`).
|
||||
|
||||
- .. row 5
|
||||
|
||||
- struct
|
||||
|
||||
* - struct
|
||||
- ``fmt``
|
||||
|
||||
-
|
||||
- Layout of the frame buffer.
|
||||
|
||||
- .. row 6
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``width``
|
||||
|
||||
- Width of the frame buffer in pixels.
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``height``
|
||||
|
||||
- Height of the frame buffer in pixels.
|
||||
|
||||
- .. row 8
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``pixelformat``
|
||||
|
||||
- The pixel format of the framebuffer.
|
||||
|
||||
- .. row 9
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
-
|
||||
- For *non-destructive Video Overlays* this field only defines a
|
||||
format for the struct :c:type:`v4l2_window`
|
||||
``chromakey`` field.
|
||||
|
||||
- .. row 10
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
-
|
||||
- For *destructive Video Overlays* applications must initialize this
|
||||
field. For *Video Output Overlays* the driver must return a valid
|
||||
format.
|
||||
|
||||
- .. row 11
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
-
|
||||
- Usually this is an RGB format (for example
|
||||
@ -196,32 +149,19 @@ destructive video overlay.
|
||||
``V4L2_PIX_FMT_PAL8`` format are also permitted. The behavior of
|
||||
the driver when an application requests a compressed format is
|
||||
undefined. See :ref:`pixfmt` for information on pixel formats.
|
||||
|
||||
- .. row 12
|
||||
|
||||
-
|
||||
* -
|
||||
- enum :c:type:`v4l2_field`
|
||||
|
||||
- ``field``
|
||||
|
||||
- Drivers and applications shall ignore this field. If applicable,
|
||||
the field order is selected with the
|
||||
:ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, using the ``field``
|
||||
field of struct :c:type:`v4l2_window`.
|
||||
|
||||
- .. row 13
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``bytesperline``
|
||||
|
||||
- Distance in bytes between the leftmost pixels in two adjacent
|
||||
lines.
|
||||
|
||||
- .. row 14
|
||||
|
||||
- :cspan:`3`
|
||||
* - :cspan:`3`
|
||||
|
||||
This field is irrelevant to *non-destructive Video Overlays*.
|
||||
|
||||
@ -247,14 +187,9 @@ destructive video overlay.
|
||||
following each line as the Y plane. To avoid ambiguities drivers
|
||||
must return a ``bytesperline`` value rounded up to a multiple of
|
||||
the scale factor.
|
||||
|
||||
- .. row 15
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``sizeimage``
|
||||
|
||||
- This field is irrelevant to *non-destructive Video Overlays*. For
|
||||
*destructive Video Overlays* applications must initialize this
|
||||
field. For *Video Output Overlays* the driver must return a valid
|
||||
@ -262,24 +197,14 @@ destructive video overlay.
|
||||
|
||||
Together with ``base`` it defines the framebuffer memory
|
||||
accessible by the driver.
|
||||
|
||||
- .. row 16
|
||||
|
||||
-
|
||||
* -
|
||||
- enum :c:type:`v4l2_colorspace`
|
||||
|
||||
- ``colorspace``
|
||||
|
||||
- This information supplements the ``pixelformat`` and must be set
|
||||
by the driver, see :ref:`colorspaces`.
|
||||
|
||||
- .. row 17
|
||||
|
||||
-
|
||||
* -
|
||||
- __u32
|
||||
|
||||
- ``priv``
|
||||
|
||||
- Reserved. Drivers and applications must set this field to zero.
|
||||
|
||||
|
||||
@ -292,81 +217,41 @@ destructive video overlay.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_FBUF_CAP_EXTERNOVERLAY``
|
||||
|
||||
* - ``V4L2_FBUF_CAP_EXTERNOVERLAY``
|
||||
- 0x0001
|
||||
|
||||
- The device is capable of non-destructive overlays. When the driver
|
||||
clears this flag, only destructive overlays are supported. There
|
||||
are no drivers yet which support both destructive and
|
||||
non-destructive overlays. Video Output Overlays are in practice
|
||||
always non-destructive.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_FBUF_CAP_CHROMAKEY``
|
||||
|
||||
* - ``V4L2_FBUF_CAP_CHROMAKEY``
|
||||
- 0x0002
|
||||
|
||||
- The device supports clipping by chroma-keying the images. That is,
|
||||
image pixels replace pixels in the VGA or video signal only where
|
||||
the latter assume a certain color. Chroma-keying makes no sense
|
||||
for destructive overlays.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_FBUF_CAP_LIST_CLIPPING``
|
||||
|
||||
* - ``V4L2_FBUF_CAP_LIST_CLIPPING``
|
||||
- 0x0004
|
||||
|
||||
- The device supports clipping using a list of clip rectangles.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_FBUF_CAP_BITMAP_CLIPPING``
|
||||
|
||||
* - ``V4L2_FBUF_CAP_BITMAP_CLIPPING``
|
||||
- 0x0008
|
||||
|
||||
- The device supports clipping using a bit mask.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_FBUF_CAP_LOCAL_ALPHA``
|
||||
|
||||
* - ``V4L2_FBUF_CAP_LOCAL_ALPHA``
|
||||
- 0x0010
|
||||
|
||||
- The device supports clipping/blending using the alpha channel of
|
||||
the framebuffer or VGA signal. Alpha blending makes no sense for
|
||||
destructive overlays.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_FBUF_CAP_GLOBAL_ALPHA``
|
||||
|
||||
* - ``V4L2_FBUF_CAP_GLOBAL_ALPHA``
|
||||
- 0x0020
|
||||
|
||||
- The device supports alpha blending using a global alpha value.
|
||||
Alpha blending makes no sense for destructive overlays.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_FBUF_CAP_LOCAL_INV_ALPHA``
|
||||
|
||||
* - ``V4L2_FBUF_CAP_LOCAL_INV_ALPHA``
|
||||
- 0x0040
|
||||
|
||||
- The device supports clipping/blending using the inverted alpha
|
||||
channel of the framebuffer or VGA signal. Alpha blending makes no
|
||||
sense for destructive overlays.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_FBUF_CAP_SRC_CHROMAKEY``
|
||||
|
||||
* - ``V4L2_FBUF_CAP_SRC_CHROMAKEY``
|
||||
- 0x0080
|
||||
|
||||
- The device supports Source Chroma-keying. Video pixels with the
|
||||
chroma-key colors are replaced by framebuffer pixels, which is
|
||||
exactly opposite of ``V4L2_FBUF_CAP_CHROMAKEY``
|
||||
@ -383,24 +268,14 @@ destructive video overlay.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_FBUF_FLAG_PRIMARY``
|
||||
|
||||
* - ``V4L2_FBUF_FLAG_PRIMARY``
|
||||
- 0x0001
|
||||
|
||||
- The framebuffer is the primary graphics surface. In other words,
|
||||
the overlay is destructive. This flag is typically set by any
|
||||
driver that doesn't have the ``V4L2_FBUF_CAP_EXTERNOVERLAY``
|
||||
capability and it is cleared otherwise.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_FBUF_FLAG_OVERLAY``
|
||||
|
||||
* - ``V4L2_FBUF_FLAG_OVERLAY``
|
||||
- 0x0002
|
||||
|
||||
- If this flag is set for a video capture device, then the driver
|
||||
will set the initial overlay size to cover the full framebuffer
|
||||
size, otherwise the existing overlay size (as set by
|
||||
@ -414,42 +289,24 @@ destructive video overlay.
|
||||
relative to the top-left corner of the framebuffer and restricted
|
||||
to the size of the framebuffer. If it is cleared, then the video
|
||||
output overlay window is relative to the video output display.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_FBUF_FLAG_CHROMAKEY``
|
||||
|
||||
* - ``V4L2_FBUF_FLAG_CHROMAKEY``
|
||||
- 0x0004
|
||||
|
||||
- Use chroma-keying. The chroma-key color is determined by the
|
||||
``chromakey`` field of struct :c:type:`v4l2_window`
|
||||
and negotiated with the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
|
||||
ioctl, see :ref:`overlay` and :ref:`osd`.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- :cspan:`2` There are no flags to enable clipping using a list of
|
||||
* - :cspan:`2` There are no flags to enable clipping using a list of
|
||||
clip rectangles or a bitmap. These methods are negotiated with the
|
||||
:ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, see :ref:`overlay`
|
||||
and :ref:`osd`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_FBUF_FLAG_LOCAL_ALPHA``
|
||||
|
||||
* - ``V4L2_FBUF_FLAG_LOCAL_ALPHA``
|
||||
- 0x0008
|
||||
|
||||
- Use the alpha channel of the framebuffer to clip or blend
|
||||
framebuffer pixels with video images. The blend function is:
|
||||
output = framebuffer pixel * alpha + video pixel * (1 - alpha).
|
||||
The actual alpha depth depends on the framebuffer pixel format.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_FBUF_FLAG_GLOBAL_ALPHA``
|
||||
|
||||
* - ``V4L2_FBUF_FLAG_GLOBAL_ALPHA``
|
||||
- 0x0010
|
||||
|
||||
- Use a global alpha value to blend the framebuffer with video
|
||||
images. The blend function is: output = (framebuffer pixel * alpha
|
||||
+ video pixel * (255 - alpha)) / 255. The alpha value is
|
||||
@ -457,25 +314,15 @@ destructive video overlay.
|
||||
:c:type:`v4l2_window` and negotiated with the
|
||||
:ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, see :ref:`overlay`
|
||||
and :ref:`osd`.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_FBUF_FLAG_LOCAL_INV_ALPHA``
|
||||
|
||||
* - ``V4L2_FBUF_FLAG_LOCAL_INV_ALPHA``
|
||||
- 0x0020
|
||||
|
||||
- Like ``V4L2_FBUF_FLAG_LOCAL_ALPHA``, use the alpha channel of the
|
||||
framebuffer to clip or blend framebuffer pixels with video images,
|
||||
but with an inverted alpha value. The blend function is: output =
|
||||
framebuffer pixel * (1 - alpha) + video pixel * alpha. The actual
|
||||
alpha depth depends on the framebuffer pixel format.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_FBUF_FLAG_SRC_CHROMAKEY``
|
||||
|
||||
* - ``V4L2_FBUF_FLAG_SRC_CHROMAKEY``
|
||||
- 0x0040
|
||||
|
||||
- Use source chroma-keying. The source chroma-key color is
|
||||
determined by the ``chromakey`` field of struct
|
||||
:c:type:`v4l2_window` and negotiated with the
|
||||
|
@ -93,91 +93,47 @@ The format as returned by :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` must be identical
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
-
|
||||
- Type of the data stream, see :c:type:`v4l2_buf_type`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
- ``fmt``
|
||||
|
||||
- .. row 3
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_pix_format`
|
||||
|
||||
- ``pix``
|
||||
|
||||
- Definition of an image format, see :ref:`pixfmt`, used by video
|
||||
capture and output devices.
|
||||
|
||||
- .. row 4
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_pix_format_mplane`
|
||||
|
||||
- ``pix_mp``
|
||||
|
||||
- Definition of an image format, see :ref:`pixfmt`, used by video
|
||||
capture and output devices that support the
|
||||
:ref:`multi-planar version of the API <planar-apis>`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_window`
|
||||
|
||||
- ``win``
|
||||
|
||||
- Definition of an overlaid image, see :ref:`overlay`, used by
|
||||
video overlay devices.
|
||||
|
||||
- .. row 6
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_vbi_format`
|
||||
|
||||
- ``vbi``
|
||||
|
||||
- Raw VBI capture or output parameters. This is discussed in more
|
||||
detail in :ref:`raw-vbi`. Used by raw VBI capture and output
|
||||
devices.
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_sliced_vbi_format`
|
||||
|
||||
- ``sliced``
|
||||
|
||||
- Sliced VBI capture or output parameters. See :ref:`sliced` for
|
||||
details. Used by sliced VBI capture and output devices.
|
||||
|
||||
- .. row 8
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_sdr_format`
|
||||
|
||||
- ``sdr``
|
||||
|
||||
- Definition of a data format, see :ref:`pixfmt`, used by SDR
|
||||
capture and output devices.
|
||||
|
||||
- .. row 9
|
||||
|
||||
-
|
||||
* -
|
||||
- __u8
|
||||
|
||||
- ``raw_data``\ [200]
|
||||
|
||||
- Place holder for future extensions.
|
||||
|
||||
|
||||
|
@ -60,51 +60,31 @@ write-only ioctl, it does not return the actual new frequency.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``tuner``
|
||||
|
||||
- The tuner or modulator index number. This is the same value as in
|
||||
the struct :c:type:`v4l2_input` ``tuner`` field and
|
||||
the struct :c:type:`v4l2_tuner` ``index`` field, or
|
||||
the struct :c:type:`v4l2_output` ``modulator`` field
|
||||
and the struct :c:type:`v4l2_modulator` ``index``
|
||||
field.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
- The tuner type. This is the same value as in the struct
|
||||
:c:type:`v4l2_tuner` ``type`` field. The type must be
|
||||
set to ``V4L2_TUNER_RADIO`` for ``/dev/radioX`` device nodes, and
|
||||
to ``V4L2_TUNER_ANALOG_TV`` for all others. Set this field to
|
||||
``V4L2_TUNER_RADIO`` for modulators (currently only radio
|
||||
modulators are supported). See :c:type:`v4l2_tuner_type`
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``frequency``
|
||||
|
||||
- Tuning frequency in units of 62.5 kHz, or if the struct
|
||||
:c:type:`v4l2_tuner` or struct
|
||||
:c:type:`v4l2_modulator` ``capability`` flag
|
||||
``V4L2_TUNER_CAP_LOW`` is set, in units of 62.5 Hz. A 1 Hz unit is
|
||||
used when the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [8]
|
||||
|
||||
- Reserved for future extensions. Drivers and applications must set
|
||||
the array to zero.
|
||||
|
||||
|
@ -63,64 +63,29 @@ encoding. You usually do want to add them.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- int
|
||||
|
||||
* - int
|
||||
- ``quality``
|
||||
|
||||
- Deprecated. If
|
||||
:ref:`V4L2_CID_JPEG_COMPRESSION_QUALITY <jpeg-quality-control>`
|
||||
control is exposed by a driver applications should use it instead
|
||||
and ignore this field.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- int
|
||||
|
||||
* - int
|
||||
- ``APPn``
|
||||
|
||||
-
|
||||
|
||||
- .. row 3
|
||||
|
||||
- int
|
||||
|
||||
* - int
|
||||
- ``APP_len``
|
||||
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
- char
|
||||
|
||||
* - char
|
||||
- ``APP_data``\ [60]
|
||||
|
||||
-
|
||||
|
||||
- .. row 5
|
||||
|
||||
- int
|
||||
|
||||
* - int
|
||||
- ``COM_len``
|
||||
|
||||
-
|
||||
|
||||
- .. row 6
|
||||
|
||||
- char
|
||||
|
||||
* - char
|
||||
- ``COM_data``\ [60]
|
||||
|
||||
-
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``jpeg_markers``
|
||||
|
||||
- See :ref:`jpeg-markers`. Deprecated. If
|
||||
:ref:`V4L2_CID_JPEG_ACTIVE_MARKER <jpeg-active-marker-control>`
|
||||
control is exposed by a driver applications should use it instead
|
||||
@ -136,45 +101,20 @@ encoding. You usually do want to add them.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_JPEG_MARKER_DHT``
|
||||
|
||||
* - ``V4L2_JPEG_MARKER_DHT``
|
||||
- (1<<3)
|
||||
|
||||
- Define Huffman Tables
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_JPEG_MARKER_DQT``
|
||||
|
||||
* - ``V4L2_JPEG_MARKER_DQT``
|
||||
- (1<<4)
|
||||
|
||||
- Define Quantization Tables
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_JPEG_MARKER_DRI``
|
||||
|
||||
* - ``V4L2_JPEG_MARKER_DRI``
|
||||
- (1<<5)
|
||||
|
||||
- Define Restart Interval
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_JPEG_MARKER_COM``
|
||||
|
||||
* - ``V4L2_JPEG_MARKER_COM``
|
||||
- (1<<6)
|
||||
|
||||
- Comment segment
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_JPEG_MARKER_APP``
|
||||
|
||||
* - ``V4L2_JPEG_MARKER_APP``
|
||||
- (1<<7)
|
||||
|
||||
- App segment, driver will always use APP0
|
||||
|
||||
|
||||
|
@ -69,65 +69,35 @@ To change the radio frequency the
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2 1 1
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
- Identifies the modulator, set by the application.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``name``\ [32]
|
||||
|
||||
- Name of the modulator, a NUL-terminated ASCII string.
|
||||
|
||||
This information is intended for the user.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``capability``
|
||||
|
||||
- Modulator capability flags. No flags are defined for this field,
|
||||
the tuner flags in struct :c:type:`v4l2_tuner` are
|
||||
used accordingly. The audio flags indicate the ability to encode
|
||||
audio subprograms. They will *not* change for example with the
|
||||
current video standard.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``rangelow``
|
||||
|
||||
- The lowest tunable frequency in units of 62.5 KHz, or if the
|
||||
``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of
|
||||
62.5 Hz, or if the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is
|
||||
set, in units of 1 Hz.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``rangehigh``
|
||||
|
||||
- The highest tunable frequency in units of 62.5 KHz, or if the
|
||||
``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units of
|
||||
62.5 Hz, or if the ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is
|
||||
set, in units of 1 Hz.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``txsubchans``
|
||||
|
||||
- With this field applications can determine how audio sub-carriers
|
||||
shall be modulated. It contains a set of flags as defined in
|
||||
:ref:`modulator-txsubchans`.
|
||||
@ -140,21 +110,11 @@ To change the radio frequency the
|
||||
channels. The ``txsubchans`` flags select one or more channels
|
||||
for modulation, together with some audio subprogram indicator,
|
||||
for example, a stereo pilot tone.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
- :cspan:`2` Type of the modulator, see :c:type:`v4l2_tuner_type`.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [3]
|
||||
|
||||
- Reserved for future extensions.
|
||||
|
||||
Drivers and applications must set the array to zero.
|
||||
@ -170,37 +130,22 @@ To change the radio frequency the
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_TUNER_SUB_MONO``
|
||||
|
||||
* - ``V4L2_TUNER_SUB_MONO``
|
||||
- 0x0001
|
||||
|
||||
- Modulate channel 1 as mono audio, when the input has more
|
||||
channels, a down-mix of channel 1 and 2. This flag does not
|
||||
combine with ``V4L2_TUNER_SUB_STEREO`` or
|
||||
``V4L2_TUNER_SUB_LANG1``.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_TUNER_SUB_STEREO``
|
||||
|
||||
* - ``V4L2_TUNER_SUB_STEREO``
|
||||
- 0x0002
|
||||
|
||||
- Modulate channel 1 and 2 as left and right channel of a stereo
|
||||
audio signal. When the input has only one channel or two channels
|
||||
and ``V4L2_TUNER_SUB_SAP`` is also set, channel 1 is encoded as
|
||||
left and right channel. This flag does not combine with
|
||||
``V4L2_TUNER_SUB_MONO`` or ``V4L2_TUNER_SUB_LANG1``. When the
|
||||
driver does not support stereo audio it shall fall back to mono.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_TUNER_SUB_LANG1``
|
||||
|
||||
* - ``V4L2_TUNER_SUB_LANG1``
|
||||
- 0x0008
|
||||
|
||||
- Modulate channel 1 and 2 as primary and secondary language of a
|
||||
bilingual audio signal. When the input has only one channel it is
|
||||
used for both languages. It is not possible to encode the primary
|
||||
@ -211,21 +156,11 @@ To change the radio frequency the
|
||||
permit bilingual audio the :ref:`VIDIOC_S_MODULATOR <VIDIOC_G_MODULATOR>` ioctl shall
|
||||
return an ``EINVAL`` error code and the driver shall fall back to mono
|
||||
or stereo mode.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_TUNER_SUB_LANG2``
|
||||
|
||||
* - ``V4L2_TUNER_SUB_LANG2``
|
||||
- 0x0004
|
||||
|
||||
- Same effect as ``V4L2_TUNER_SUB_SAP``.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_TUNER_SUB_SAP``
|
||||
|
||||
* - ``V4L2_TUNER_SUB_SAP``
|
||||
- 0x0004
|
||||
|
||||
- When combined with ``V4L2_TUNER_SUB_MONO`` the first channel is
|
||||
encoded as mono audio, the last channel as Second Audio Program.
|
||||
When the input has only one channel it is used for both audio
|
||||
@ -242,13 +177,8 @@ To change the radio frequency the
|
||||
current video standard does not permit SAP the
|
||||
:ref:`VIDIOC_S_MODULATOR <VIDIOC_G_MODULATOR>` ioctl shall return an ``EINVAL`` error code and
|
||||
driver shall fall back to mono or stereo mode.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_TUNER_SUB_RDS``
|
||||
|
||||
* - ``V4L2_TUNER_SUB_RDS``
|
||||
- 0x0010
|
||||
|
||||
- Enable the RDS encoder for a radio FM transmitter.
|
||||
|
||||
|
||||
|
@ -60,54 +60,29 @@ union holding separate parameters for input and output devices.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
-
|
||||
- The buffer (stream) type, same as struct
|
||||
:c:type:`v4l2_format` ``type``, set by the
|
||||
application. See :c:type:`v4l2_buf_type`
|
||||
|
||||
- .. row 2
|
||||
|
||||
- union
|
||||
|
||||
* - union
|
||||
- ``parm``
|
||||
|
||||
-
|
||||
-
|
||||
|
||||
- .. row 3
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_captureparm`
|
||||
|
||||
- ``capture``
|
||||
|
||||
- Parameters for capture devices, used when ``type`` is
|
||||
``V4L2_BUF_TYPE_VIDEO_CAPTURE``.
|
||||
|
||||
- .. row 4
|
||||
|
||||
-
|
||||
* -
|
||||
- struct :c:type:`v4l2_outputparm`
|
||||
|
||||
- ``output``
|
||||
|
||||
- Parameters for output devices, used when ``type`` is
|
||||
``V4L2_BUF_TYPE_VIDEO_OUTPUT``.
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
* -
|
||||
- __u8
|
||||
|
||||
- ``raw_data``\ [200]
|
||||
|
||||
- A place holder for future extensions.
|
||||
|
||||
|
||||
@ -121,29 +96,14 @@ union holding separate parameters for input and output devices.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``capability``
|
||||
|
||||
- See :ref:`parm-caps`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``capturemode``
|
||||
|
||||
- Set by drivers and applications, see :ref:`parm-flags`.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- struct :c:type:`v4l2_fract`
|
||||
|
||||
* - struct :c:type:`v4l2_fract`
|
||||
- ``timeperframe``
|
||||
|
||||
- This is the desired period between successive frames captured by
|
||||
the driver, in seconds. The field is intended to skip frames on
|
||||
the driver side, saving I/O bandwidth.
|
||||
@ -159,37 +119,22 @@ union holding separate parameters for input and output devices.
|
||||
|
||||
Drivers support this function only when they set the
|
||||
``V4L2_CAP_TIMEPERFRAME`` flag in the ``capability`` field.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``extendedmode``
|
||||
|
||||
- Custom (driver specific) streaming parameters. When unused,
|
||||
applications and drivers must set this field to zero. Applications
|
||||
using this field should check the driver name and version, see
|
||||
:ref:`querycap`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``readbuffers``
|
||||
|
||||
- Applications set this field to the desired number of buffers used
|
||||
internally by the driver in :ref:`read() <func-read>` mode.
|
||||
Drivers return the actual number of buffers. When an application
|
||||
requests zero buffers, drivers should just return the current
|
||||
setting rather than the minimum or an error code. For details see
|
||||
:ref:`rw`.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [4]
|
||||
|
||||
- Reserved for future extensions. Drivers and applications must set
|
||||
the array to zero.
|
||||
|
||||
@ -204,35 +149,17 @@ union holding separate parameters for input and output devices.
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``capability``
|
||||
|
||||
- See :ref:`parm-caps`.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``outputmode``
|
||||
|
||||
- Set by drivers and applications, see :ref:`parm-flags`.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- struct :c:type:`v4l2_fract`
|
||||
|
||||
* - struct :c:type:`v4l2_fract`
|
||||
- ``timeperframe``
|
||||
|
||||
- This is the desired period between successive frames output by the
|
||||
driver, in seconds.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- :cspan:`2`
|
||||
* - :cspan:`2`
|
||||
|
||||
The field is intended to repeat frames on the driver side in
|
||||
:ref:`write() <func-write>` mode (in streaming mode timestamps
|
||||
@ -249,37 +176,22 @@ union holding separate parameters for input and output devices.
|
||||
|
||||
Drivers support this function only when they set the
|
||||
``V4L2_CAP_TIMEPERFRAME`` flag in the ``capability`` field.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``extendedmode``
|
||||
|
||||
- Custom (driver specific) streaming parameters. When unused,
|
||||
applications and drivers must set this field to zero. Applications
|
||||
using this field should check the driver name and version, see
|
||||
:ref:`querycap`.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``writebuffers``
|
||||
|
||||
- Applications set this field to the desired number of buffers used
|
||||
internally by the driver in :ref:`write() <func-write>` mode. Drivers
|
||||
return the actual number of buffers. When an application requests
|
||||
zero buffers, drivers should just return the current setting
|
||||
rather than the minimum or an error code. For details see
|
||||
:ref:`rw`.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [4]
|
||||
|
||||
- Reserved for future extensions. Drivers and applications must set
|
||||
the array to zero.
|
||||
|
||||
@ -294,13 +206,8 @@ union holding separate parameters for input and output devices.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_CAP_TIMEPERFRAME``
|
||||
|
||||
* - ``V4L2_CAP_TIMEPERFRAME``
|
||||
- 0x1000
|
||||
|
||||
- The frame skipping/repeating controlled by the ``timeperframe``
|
||||
field is supported.
|
||||
|
||||
@ -315,13 +222,8 @@ union holding separate parameters for input and output devices.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_MODE_HIGHQUALITY``
|
||||
|
||||
* - ``V4L2_MODE_HIGHQUALITY``
|
||||
- 0x0001
|
||||
|
||||
- High quality imaging mode. High quality mode is intended for still
|
||||
imaging applications. The idea is to get the best possible image
|
||||
quality that the hardware can deliver. It is not defined how the
|
||||
|
@ -53,52 +53,27 @@ with a pointer to this variable.
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_PRIORITY_UNSET``
|
||||
|
||||
* - ``V4L2_PRIORITY_UNSET``
|
||||
- 0
|
||||
|
||||
-
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_PRIORITY_BACKGROUND``
|
||||
|
||||
* - ``V4L2_PRIORITY_BACKGROUND``
|
||||
- 1
|
||||
|
||||
- Lowest priority, usually applications running in background, for
|
||||
example monitoring VBI transmissions. A proxy application running
|
||||
in user space will be necessary if multiple applications want to
|
||||
read from a device at this priority.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_PRIORITY_INTERACTIVE``
|
||||
|
||||
* - ``V4L2_PRIORITY_INTERACTIVE``
|
||||
- 2
|
||||
|
||||
-
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_PRIORITY_DEFAULT``
|
||||
|
||||
* - ``V4L2_PRIORITY_DEFAULT``
|
||||
- 2
|
||||
|
||||
- Medium priority, usually applications started and interactively
|
||||
controlled by the user. For example TV viewers, Teletext browsers,
|
||||
or just "panel" applications to change the channel or video
|
||||
controls. This is the default priority unless an application
|
||||
requests another.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_PRIORITY_RECORD``
|
||||
|
||||
* - ``V4L2_PRIORITY_RECORD``
|
||||
- 3
|
||||
|
||||
- Highest priority. Only one file descriptor can have this priority,
|
||||
it blocks any other fd from changing device properties. Usually
|
||||
applications which must not be interrupted, like video recording.
|
||||
|
@ -149,48 +149,23 @@ Selection targets and flags are documented in
|
||||
:stub-columns: 0
|
||||
:widths: 1 1 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
- Type of the buffer (from enum
|
||||
:c:type:`v4l2_buf_type`).
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``target``
|
||||
|
||||
- Used to select between
|
||||
:ref:`cropping and composing rectangles <v4l2-selections-common>`.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``flags``
|
||||
|
||||
- Flags controlling the selection rectangle adjustments, refer to
|
||||
:ref:`selection flags <v4l2-selection-flags>`.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- struct :c:type:`v4l2_rect`
|
||||
|
||||
* - struct :c:type:`v4l2_rect`
|
||||
- ``r``
|
||||
|
||||
- The selection rectangle.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved[9]``
|
||||
|
||||
- Reserved fields for future use. Drivers and applications must zero
|
||||
this array.
|
||||
|
||||
|
@ -53,85 +53,44 @@ the sliced VBI API is unsupported or ``type`` is invalid.
|
||||
:stub-columns: 0
|
||||
:widths: 3 3 2 2 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u16
|
||||
|
||||
* - __u16
|
||||
- ``service_set``
|
||||
|
||||
- :cspan:`2` A set of all data services supported by the driver.
|
||||
|
||||
Equal to the union of all elements of the ``service_lines`` array.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u16
|
||||
|
||||
* - __u16
|
||||
- ``service_lines``\ [2][24]
|
||||
|
||||
- :cspan:`2` Each element of this array contains a set of data
|
||||
services the hardware can look for or insert into a particular
|
||||
scan line. Data services are defined in :ref:`vbi-services`.
|
||||
Array indices map to ITU-R line numbers\ [#f1]_ as follows:
|
||||
|
||||
- .. row 3
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- Element
|
||||
|
||||
- 525 line systems
|
||||
|
||||
- 625 line systems
|
||||
|
||||
- .. row 4
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- ``service_lines``\ [0][1]
|
||||
|
||||
- 1
|
||||
|
||||
- 1
|
||||
|
||||
- .. row 5
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- ``service_lines``\ [0][23]
|
||||
|
||||
- 23
|
||||
|
||||
- 23
|
||||
|
||||
- .. row 6
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- ``service_lines``\ [1][1]
|
||||
|
||||
- 264
|
||||
|
||||
- 314
|
||||
|
||||
- .. row 7
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- ``service_lines``\ [1][23]
|
||||
|
||||
- 286
|
||||
|
||||
- 336
|
||||
|
||||
- .. row 8
|
||||
|
||||
-
|
||||
|
||||
- .. row 9
|
||||
|
||||
-
|
||||
* -
|
||||
* -
|
||||
-
|
||||
- :cspan:`2` The number of VBI lines the hardware can capture or
|
||||
output per frame, or the number of services it can identify on a
|
||||
@ -140,34 +99,18 @@ the sliced VBI API is unsupported or ``type`` is invalid.
|
||||
the same time. Applications can learn about these limits using the
|
||||
:ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl as described in
|
||||
:ref:`sliced`.
|
||||
|
||||
- .. row 10
|
||||
|
||||
-
|
||||
|
||||
- .. row 11
|
||||
|
||||
-
|
||||
* -
|
||||
* -
|
||||
-
|
||||
- :cspan:`2` Drivers must set ``service_lines`` [0][0] and
|
||||
``service_lines``\ [1][0] to zero.
|
||||
|
||||
- .. row 12
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
- Type of the data stream, see :c:type:`v4l2_buf_type`. Should be
|
||||
``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE`` or
|
||||
``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``.
|
||||
|
||||
- .. row 13
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [3]
|
||||
|
||||
- :cspan:`2` This array is reserved for future extensions.
|
||||
|
||||
Applications and drivers must set it to zero.
|
||||
@ -190,72 +133,37 @@ the sliced VBI API is unsupported or ``type`` is invalid.
|
||||
:stub-columns: 0
|
||||
:widths: 2 1 1 2 2
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- Symbol
|
||||
|
||||
* - Symbol
|
||||
- Value
|
||||
|
||||
- Reference
|
||||
|
||||
- Lines, usually
|
||||
|
||||
- Payload
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_SLICED_TELETEXT_B`` (Teletext System B)
|
||||
|
||||
* - ``V4L2_SLICED_TELETEXT_B`` (Teletext System B)
|
||||
- 0x0001
|
||||
|
||||
- :ref:`ets300706`,
|
||||
|
||||
:ref:`itu653`
|
||||
|
||||
- PAL/SECAM line 7-22, 320-335 (second field 7-22)
|
||||
|
||||
- Last 42 of the 45 byte Teletext packet, that is without clock
|
||||
run-in and framing code, lsb first transmitted.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_SLICED_VPS``
|
||||
|
||||
* - ``V4L2_SLICED_VPS``
|
||||
- 0x0400
|
||||
|
||||
- :ref:`ets300231`
|
||||
|
||||
- PAL line 16
|
||||
|
||||
- Byte number 3 to 15 according to Figure 9 of ETS 300 231, lsb
|
||||
first transmitted.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_SLICED_CAPTION_525``
|
||||
|
||||
* - ``V4L2_SLICED_CAPTION_525``
|
||||
- 0x1000
|
||||
|
||||
- :ref:`cea608`
|
||||
|
||||
- NTSC line 21, 284 (second field 21)
|
||||
|
||||
- Two bytes in transmission order, including parity bit, lsb first
|
||||
transmitted.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_SLICED_WSS_625``
|
||||
|
||||
* - ``V4L2_SLICED_WSS_625``
|
||||
- 0x4000
|
||||
|
||||
- :ref:`en300294`,
|
||||
|
||||
:ref:`itu1119`
|
||||
|
||||
- PAL/SECAM line 23
|
||||
|
||||
-
|
||||
|
||||
::
|
||||
@ -263,21 +171,11 @@ the sliced VBI API is unsupported or ``type`` is invalid.
|
||||
Byte 0 1
|
||||
msb lsb msb lsb
|
||||
Bit 7 6 5 4 3 2 1 0 x x 13 12 11 10 9
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_SLICED_VBI_525``
|
||||
|
||||
* - ``V4L2_SLICED_VBI_525``
|
||||
- 0x1000
|
||||
|
||||
- :cspan:`2` Set of services applicable to 525 line systems.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_SLICED_VBI_625``
|
||||
|
||||
* - ``V4L2_SLICED_VBI_625``
|
||||
- 0x4401
|
||||
|
||||
- :cspan:`2` Set of services applicable to 625 line systems.
|
||||
|
||||
.. raw:: latex
|
||||
|
@ -69,41 +69,21 @@ To change the radio frequency the
|
||||
:header-rows: 0
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``index``
|
||||
|
||||
- :cspan:`1` Identifies the tuner, set by the application.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- __u8
|
||||
|
||||
* - __u8
|
||||
- ``name``\ [32]
|
||||
|
||||
- :cspan:`1`
|
||||
|
||||
Name of the tuner, a NUL-terminated ASCII string.
|
||||
|
||||
This information is intended for the user.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``type``
|
||||
|
||||
- :cspan:`1` Type of the tuner, see :c:type:`v4l2_tuner_type`.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``capability``
|
||||
|
||||
- :cspan:`1`
|
||||
|
||||
Tuner capability flags, see :ref:`tuner-capability`. Audio flags
|
||||
@ -117,89 +97,51 @@ To change the radio frequency the
|
||||
If multiple frequency bands are supported, then ``capability`` is
|
||||
the union of all ``capability`` fields of each struct
|
||||
:c:type:`v4l2_frequency_band`.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``rangelow``
|
||||
|
||||
- :cspan:`1` The lowest tunable frequency in units of 62.5 kHz, or
|
||||
if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units
|
||||
of 62.5 Hz, or if the ``capability`` flag ``V4L2_TUNER_CAP_1HZ``
|
||||
is set, in units of 1 Hz. If multiple frequency bands are
|
||||
supported, then ``rangelow`` is the lowest frequency of all the
|
||||
frequency bands.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``rangehigh``
|
||||
|
||||
- :cspan:`1` The highest tunable frequency in units of 62.5 kHz,
|
||||
or if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in
|
||||
units of 62.5 Hz, or if the ``capability`` flag
|
||||
``V4L2_TUNER_CAP_1HZ`` is set, in units of 1 Hz. If multiple
|
||||
frequency bands are supported, then ``rangehigh`` is the highest
|
||||
frequency of all the frequency bands.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``rxsubchans``
|
||||
|
||||
- :cspan:`1`
|
||||
|
||||
Some tuners or audio decoders can determine the received audio
|
||||
subprograms by analyzing audio carriers, pilot tones or other
|
||||
indicators. To pass this information drivers set flags defined in
|
||||
:ref:`tuner-rxsubchans` in this field. For example:
|
||||
|
||||
- .. row 8
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- ``V4L2_TUNER_SUB_MONO``
|
||||
|
||||
- receiving mono audio
|
||||
|
||||
- .. row 9
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- ``STEREO | SAP``
|
||||
|
||||
- receiving stereo audio and a secondary audio program
|
||||
|
||||
- .. row 10
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- ``MONO | STEREO``
|
||||
|
||||
- receiving mono or stereo audio, the hardware cannot distinguish
|
||||
|
||||
- .. row 11
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- ``LANG1 | LANG2``
|
||||
|
||||
- receiving bilingual audio
|
||||
|
||||
- .. row 12
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- ``MONO | STEREO | LANG1 | LANG2``
|
||||
|
||||
- receiving mono, stereo or bilingual audio
|
||||
|
||||
- .. row 13
|
||||
|
||||
-
|
||||
* -
|
||||
-
|
||||
- :cspan:`1`
|
||||
|
||||
@ -209,13 +151,8 @@ To change the radio frequency the
|
||||
|
||||
This field is valid only if this is the tuner of the current video
|
||||
input, or when the structure refers to a radio tuner.
|
||||
|
||||
- .. row 14
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``audmode``
|
||||
|
||||
- :cspan:`1`
|
||||
|
||||
The selected audio mode, see :ref:`tuner-audmode` for valid
|
||||
@ -227,34 +164,19 @@ To change the radio frequency the
|
||||
|
||||
Currently this is the only field of struct
|
||||
struct :c:type:`v4l2_tuner` applications can change.
|
||||
|
||||
- .. row 15
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``signal``
|
||||
|
||||
- :cspan:`1` The signal strength if known.
|
||||
|
||||
Ranging from 0 to 65535. Higher values indicate a better signal.
|
||||
|
||||
- .. row 16
|
||||
|
||||
- __s32
|
||||
|
||||
* - __s32
|
||||
- ``afc``
|
||||
|
||||
- :cspan:`1` Automatic frequency control.
|
||||
|
||||
When the ``afc`` value is negative, the frequency is too
|
||||
low, when positive too high.
|
||||
|
||||
- .. row 17
|
||||
|
||||
- __u32
|
||||
|
||||
* - __u32
|
||||
- ``reserved``\ [4]
|
||||
|
||||
- :cspan:`1` Reserved for future extensions.
|
||||
|
||||
Drivers and applications must set the array to zero.
|
||||
@ -270,38 +192,18 @@ To change the radio frequency the
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 6
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_TUNER_RADIO``
|
||||
|
||||
* - ``V4L2_TUNER_RADIO``
|
||||
- 1
|
||||
|
||||
- Tuner supports radio
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_TUNER_ANALOG_TV``
|
||||
|
||||
* - ``V4L2_TUNER_ANALOG_TV``
|
||||
- 2
|
||||
|
||||
- Tuner supports analog TV
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_TUNER_SDR``
|
||||
|
||||
* - ``V4L2_TUNER_SDR``
|
||||
- 4
|
||||
|
||||
- Tuner controls the A/D and/or D/A block of a
|
||||
Sofware Digital Radio (SDR)
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_TUNER_RF``
|
||||
|
||||
* - ``V4L2_TUNER_RF``
|
||||
- 5
|
||||
|
||||
- Tuner controls the RF part of a Sofware Digital Radio (SDR)
|
||||
|
||||
|
||||
@ -316,22 +218,12 @@ To change the radio frequency the
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_TUNER_CAP_LOW``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_LOW``
|
||||
- 0x0001
|
||||
|
||||
- When set, tuning frequencies are expressed in units of 62.5 Hz
|
||||
instead of 62.5 kHz.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_TUNER_CAP_NORM``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_NORM``
|
||||
- 0x0002
|
||||
|
||||
- This is a multi-standard tuner; the video standard can or must be
|
||||
switched. (B/G PAL tuners for example are typically not considered
|
||||
multi-standard because the video standard is automatically
|
||||
@ -341,63 +233,33 @@ To change the radio frequency the
|
||||
description of ioctl :ref:`VIDIOC_ENUMINPUT`
|
||||
for details. Only ``V4L2_TUNER_ANALOG_TV`` tuners can have this
|
||||
capability.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_TUNER_CAP_HWSEEK_BOUNDED``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_HWSEEK_BOUNDED``
|
||||
- 0x0004
|
||||
|
||||
- If set, then this tuner supports the hardware seek functionality
|
||||
where the seek stops when it reaches the end of the frequency
|
||||
range.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_TUNER_CAP_HWSEEK_WRAP``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_HWSEEK_WRAP``
|
||||
- 0x0008
|
||||
|
||||
- If set, then this tuner supports the hardware seek functionality
|
||||
where the seek wraps around when it reaches the end of the
|
||||
frequency range.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_TUNER_CAP_STEREO``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_STEREO``
|
||||
- 0x0010
|
||||
|
||||
- Stereo audio reception is supported.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_TUNER_CAP_LANG1``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_LANG1``
|
||||
- 0x0040
|
||||
|
||||
- Reception of the primary language of a bilingual audio program is
|
||||
supported. Bilingual audio is a feature of two-channel systems,
|
||||
transmitting the primary language monaural on the main audio
|
||||
carrier and a secondary language monaural on a second carrier.
|
||||
Only ``V4L2_TUNER_ANALOG_TV`` tuners can have this capability.
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``V4L2_TUNER_CAP_LANG2``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_LANG2``
|
||||
- 0x0020
|
||||
|
||||
- Reception of the secondary language of a bilingual audio program
|
||||
is supported. Only ``V4L2_TUNER_ANALOG_TV`` tuners can have this
|
||||
capability.
|
||||
|
||||
- .. row 8
|
||||
|
||||
- ``V4L2_TUNER_CAP_SAP``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_SAP``
|
||||
- 0x0020
|
||||
|
||||
- Reception of a secondary audio program is supported. This is a
|
||||
feature of the BTSC system which accompanies the NTSC video
|
||||
standard. Two audio carriers are available for mono or stereo
|
||||
@ -410,58 +272,28 @@ To change the radio frequency the
|
||||
The ``V4L2_TUNER_CAP_LANG2`` and ``V4L2_TUNER_CAP_SAP``
|
||||
flags are synonyms. ``V4L2_TUNER_CAP_SAP`` applies when the tuner
|
||||
supports the ``V4L2_STD_NTSC_M`` video standard.
|
||||
|
||||
- .. row 9
|
||||
|
||||
- ``V4L2_TUNER_CAP_RDS``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_RDS``
|
||||
- 0x0080
|
||||
|
||||
- RDS capture is supported. This capability is only valid for radio
|
||||
tuners.
|
||||
|
||||
- .. row 10
|
||||
|
||||
- ``V4L2_TUNER_CAP_RDS_BLOCK_IO``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_RDS_BLOCK_IO``
|
||||
- 0x0100
|
||||
|
||||
- The RDS data is passed as unparsed RDS blocks.
|
||||
|
||||
- .. row 11
|
||||
|
||||
- ``V4L2_TUNER_CAP_RDS_CONTROLS``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_RDS_CONTROLS``
|
||||
- 0x0200
|
||||
|
||||
- The RDS data is parsed by the hardware and set via controls.
|
||||
|
||||
- .. row 12
|
||||
|
||||
- ``V4L2_TUNER_CAP_FREQ_BANDS``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_FREQ_BANDS``
|
||||
- 0x0400
|
||||
|
||||
- The :ref:`VIDIOC_ENUM_FREQ_BANDS`
|
||||
ioctl can be used to enumerate the available frequency bands.
|
||||
|
||||
- .. row 13
|
||||
|
||||
- ``V4L2_TUNER_CAP_HWSEEK_PROG_LIM``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_HWSEEK_PROG_LIM``
|
||||
- 0x0800
|
||||
|
||||
- The range to search when using the hardware seek functionality is
|
||||
programmable, see
|
||||
:ref:`VIDIOC_S_HW_FREQ_SEEK` for
|
||||
details.
|
||||
|
||||
- .. row 14
|
||||
|
||||
- ``V4L2_TUNER_CAP_1HZ``
|
||||
|
||||
* - ``V4L2_TUNER_CAP_1HZ``
|
||||
- 0x1000
|
||||
|
||||
- When set, tuning frequencies are expressed in units of 1 Hz
|
||||
instead of 62.5 kHz.
|
||||
|
||||
@ -476,48 +308,23 @@ To change the radio frequency the
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_TUNER_SUB_MONO``
|
||||
|
||||
* - ``V4L2_TUNER_SUB_MONO``
|
||||
- 0x0001
|
||||
|
||||
- The tuner receives a mono audio signal.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_TUNER_SUB_STEREO``
|
||||
|
||||
* - ``V4L2_TUNER_SUB_STEREO``
|
||||
- 0x0002
|
||||
|
||||
- The tuner receives a stereo audio signal.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_TUNER_SUB_LANG1``
|
||||
|
||||
* - ``V4L2_TUNER_SUB_LANG1``
|
||||
- 0x0008
|
||||
|
||||
- The tuner receives the primary language of a bilingual audio
|
||||
signal. Drivers must clear this flag when the current video
|
||||
standard is ``V4L2_STD_NTSC_M``.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_TUNER_SUB_LANG2``
|
||||
|
||||
* - ``V4L2_TUNER_SUB_LANG2``
|
||||
- 0x0004
|
||||
|
||||
- The tuner receives the secondary language of a bilingual audio
|
||||
signal (or a second audio program).
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_TUNER_SUB_SAP``
|
||||
|
||||
* - ``V4L2_TUNER_SUB_SAP``
|
||||
- 0x0004
|
||||
|
||||
- The tuner receives a Second Audio Program.
|
||||
|
||||
.. note::
|
||||
@ -525,13 +332,8 @@ To change the radio frequency the
|
||||
The ``V4L2_TUNER_SUB_LANG2`` and ``V4L2_TUNER_SUB_SAP``
|
||||
flags are synonyms. The ``V4L2_TUNER_SUB_SAP`` flag applies
|
||||
when the current video standard is ``V4L2_STD_NTSC_M``.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_TUNER_SUB_RDS``
|
||||
|
||||
* - ``V4L2_TUNER_SUB_RDS``
|
||||
- 0x0010
|
||||
|
||||
- The tuner receives an RDS channel.
|
||||
|
||||
|
||||
@ -545,23 +347,13 @@ To change the radio frequency the
|
||||
:stub-columns: 0
|
||||
:widths: 3 1 4
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
- ``V4L2_TUNER_MODE_MONO``
|
||||
|
||||
* - ``V4L2_TUNER_MODE_MONO``
|
||||
- 0
|
||||
|
||||
- Play mono audio. When the tuner receives a stereo signal this a
|
||||
down-mix of the left and right channel. When the tuner receives a
|
||||
bilingual or SAP signal this mode selects the primary language.
|
||||
|
||||
- .. row 2
|
||||
|
||||
- ``V4L2_TUNER_MODE_STEREO``
|
||||
|
||||
* - ``V4L2_TUNER_MODE_STEREO``
|
||||
- 1
|
||||
|
||||
- Play stereo audio. When the tuner receives bilingual audio it may
|
||||
play different languages on the left and right channel or the
|
||||
primary language is played on both channels.
|
||||
@ -571,33 +363,18 @@ To change the radio frequency the
|
||||
|
||||
When the tuner receives no stereo signal or does not support
|
||||
stereo reception the driver shall fall back to ``MODE_MONO``.
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``V4L2_TUNER_MODE_LANG1``
|
||||
|
||||
* - ``V4L2_TUNER_MODE_LANG1``
|
||||
- 3
|
||||
|
||||
- Play the primary language, mono or stereo. Only
|
||||
``V4L2_TUNER_ANALOG_TV`` tuners support this mode.
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``V4L2_TUNER_MODE_LANG2``
|
||||
|
||||
* - ``V4L2_TUNER_MODE_LANG2``
|
||||
- 2
|
||||
|
||||
- Play the secondary language, mono. When the tuner receives no
|
||||
bilingual audio or SAP, or their reception is not supported the
|
||||
driver shall fall back to mono or stereo mode. Only
|
||||
``V4L2_TUNER_ANALOG_TV`` tuners support this mode.
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``V4L2_TUNER_MODE_SAP``
|
||||
|
||||
* - ``V4L2_TUNER_MODE_SAP``
|
||||
- 2
|
||||
|
||||
- Play the Second Audio Program. When the tuner receives no
|
||||
bilingual audio or SAP, or their reception is not supported the
|
||||
driver shall fall back to mono or stereo mode. Only
|
||||
@ -605,13 +382,8 @@ To change the radio frequency the
|
||||
|
||||
.. note:: The ``V4L2_TUNER_MODE_LANG2`` and ``V4L2_TUNER_MODE_SAP``
|
||||
are synonyms.
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``V4L2_TUNER_MODE_LANG1_LANG2``
|
||||
|
||||
* - ``V4L2_TUNER_MODE_LANG1_LANG2``
|
||||
- 4
|
||||
|
||||
- Play the primary language on the left channel, the secondary
|
||||
language on the right channel. When the tuner receives no
|
||||
bilingual audio or SAP, it shall fall back to ``MODE_LANG1`` or
|
||||
@ -628,94 +400,43 @@ To change the radio frequency the
|
||||
:header-rows: 2
|
||||
:stub-columns: 0
|
||||
|
||||
|
||||
- .. row 1
|
||||
|
||||
-
|
||||
* -
|
||||
- :cspan:`5` Selected ``V4L2_TUNER_MODE_``
|
||||
|
||||
- .. row 2
|
||||
|
||||
- Received ``V4L2_TUNER_SUB_``
|
||||
|
||||
* - Received ``V4L2_TUNER_SUB_``
|
||||
- ``MONO``
|
||||
|
||||
- ``STEREO``
|
||||
|
||||
- ``LANG1``
|
||||
|
||||
- ``LANG2 = SAP``
|
||||
|
||||
- ``LANG1_LANG2``\ [#f1]_
|
||||
|
||||
- .. row 3
|
||||
|
||||
- ``MONO``
|
||||
|
||||
* - ``MONO``
|
||||
- Mono
|
||||
|
||||
- Mono/Mono
|
||||
|
||||
- Mono
|
||||
|
||||
- Mono
|
||||
|
||||
- Mono/Mono
|
||||
|
||||
- .. row 4
|
||||
|
||||
- ``MONO | SAP``
|
||||
|
||||
* - ``MONO | SAP``
|
||||
- Mono
|
||||
|
||||
- Mono/Mono
|
||||
|
||||
- Mono
|
||||
|
||||
- SAP
|
||||
|
||||
- Mono/SAP (preferred) or Mono/Mono
|
||||
|
||||
- .. row 5
|
||||
|
||||
- ``STEREO``
|
||||
|
||||
* - ``STEREO``
|
||||
- L+R
|
||||
|
||||
- L/R
|
||||
|
||||
- Stereo L/R (preferred) or Mono L+R
|
||||
|
||||
- Stereo L/R (preferred) or Mono L+R
|
||||
|
||||
- L/R (preferred) or L+R/L+R
|
||||
|
||||
- .. row 6
|
||||
|
||||
- ``STEREO | SAP``
|
||||
|
||||
* - ``STEREO | SAP``
|
||||
- L+R
|
||||
|
||||
- L/R
|
||||
|
||||
- Stereo L/R (preferred) or Mono L+R
|
||||
|
||||
- SAP
|
||||
|
||||
- L+R/SAP (preferred) or L/R or L+R/L+R
|
||||
|
||||
- .. row 7
|
||||
|
||||
- ``LANG1 | LANG2``
|
||||
|
||||
* - ``LANG1 | LANG2``
|
||||
- Language 1
|
||||
|
||||
- Lang1/Lang2 (deprecated [#f2]_) or Lang1/Lang1
|
||||
|
||||
- Language 1
|
||||
|
||||
- Language 2
|
||||
|
||||
- Lang1/Lang2 (preferred) or Lang1/Lang1
|
||||
|
||||
.. raw:: latex
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user