~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/userspace-api/media/v4l/vidioc-dv-timings-cap.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/userspace-api/media/v4l/vidioc-dv-timings-cap.rst (Architecture i386) and /Documentation/userspace-api/media/v4l/vidioc-dv-timings-cap.rst (Architecture mips)


  1 .. SPDX-License-Identifier: GFDL-1.1-no-invari      1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
  2 .. c:namespace:: V4L                                2 .. c:namespace:: V4L
  3                                                     3 
  4 .. _VIDIOC_DV_TIMINGS_CAP:                          4 .. _VIDIOC_DV_TIMINGS_CAP:
  5                                                     5 
  6 **********************************************      6 *********************************************************
  7 ioctl VIDIOC_DV_TIMINGS_CAP, VIDIOC_SUBDEV_DV_      7 ioctl VIDIOC_DV_TIMINGS_CAP, VIDIOC_SUBDEV_DV_TIMINGS_CAP
  8 **********************************************      8 *********************************************************
  9                                                     9 
 10 Name                                               10 Name
 11 ====                                               11 ====
 12                                                    12 
 13 VIDIOC_DV_TIMINGS_CAP - VIDIOC_SUBDEV_DV_TIMIN     13 VIDIOC_DV_TIMINGS_CAP - VIDIOC_SUBDEV_DV_TIMINGS_CAP - The capabilities of the Digital Video receiver/transmitter
 14                                                    14 
 15 Synopsis                                           15 Synopsis
 16 ========                                           16 ========
 17                                                    17 
 18 .. c:macro:: VIDIOC_DV_TIMINGS_CAP                 18 .. c:macro:: VIDIOC_DV_TIMINGS_CAP
 19                                                    19 
 20 ``int ioctl(int fd, VIDIOC_DV_TIMINGS_CAP, str     20 ``int ioctl(int fd, VIDIOC_DV_TIMINGS_CAP, struct v4l2_dv_timings_cap *argp)``
 21                                                    21 
 22 .. c:macro:: VIDIOC_SUBDEV_DV_TIMINGS_CAP          22 .. c:macro:: VIDIOC_SUBDEV_DV_TIMINGS_CAP
 23                                                    23 
 24 ``int ioctl(int fd, VIDIOC_SUBDEV_DV_TIMINGS_C     24 ``int ioctl(int fd, VIDIOC_SUBDEV_DV_TIMINGS_CAP, struct v4l2_dv_timings_cap *argp)``
 25                                                    25 
 26 Arguments                                          26 Arguments
 27 =========                                          27 =========
 28                                                    28 
 29 ``fd``                                             29 ``fd``
 30     File descriptor returned by :c:func:`open(     30     File descriptor returned by :c:func:`open()`.
 31                                                    31 
 32 ``argp``                                           32 ``argp``
 33     Pointer to struct :c:type:`v4l2_dv_timings     33     Pointer to struct :c:type:`v4l2_dv_timings_cap`.
 34                                                    34 
 35 Description                                        35 Description
 36 ===========                                        36 ===========
 37                                                    37 
 38 To query the capabilities of the DV receiver/t     38 To query the capabilities of the DV receiver/transmitter applications
 39 initialize the ``pad`` field to 0, zero the re     39 initialize the ``pad`` field to 0, zero the reserved array of struct
 40 :c:type:`v4l2_dv_timings_cap` and call the         40 :c:type:`v4l2_dv_timings_cap` and call the
 41 ``VIDIOC_DV_TIMINGS_CAP`` ioctl on a video nod     41 ``VIDIOC_DV_TIMINGS_CAP`` ioctl on a video node and the driver will fill
 42 in the structure.                                  42 in the structure.
 43                                                    43 
 44 .. note::                                          44 .. note::
 45                                                    45 
 46    Drivers may return different values after       46    Drivers may return different values after
 47    switching the video input or output.            47    switching the video input or output.
 48                                                    48 
 49 When implemented by the driver DV capabilities     49 When implemented by the driver DV capabilities of subdevices can be
 50 queried by calling the ``VIDIOC_SUBDEV_DV_TIMI     50 queried by calling the ``VIDIOC_SUBDEV_DV_TIMINGS_CAP`` ioctl directly
 51 on a subdevice node. The capabilities are spec     51 on a subdevice node. The capabilities are specific to inputs (for DV
 52 receivers) or outputs (for DV transmitters), a     52 receivers) or outputs (for DV transmitters), applications must specify
 53 the desired pad number in the struct               53 the desired pad number in the struct
 54 :c:type:`v4l2_dv_timings_cap` ``pad`` field an     54 :c:type:`v4l2_dv_timings_cap` ``pad`` field and
 55 zero the ``reserved`` array. Attempts to query     55 zero the ``reserved`` array. Attempts to query capabilities on a pad
 56 that doesn't support them will return an ``EIN     56 that doesn't support them will return an ``EINVAL`` error code.
 57                                                    57 
 58 .. tabularcolumns:: |p{1.2cm}|p{3.2cm}|p{12.9c     58 .. tabularcolumns:: |p{1.2cm}|p{3.2cm}|p{12.9cm}|
 59                                                    59 
 60 .. c:type:: v4l2_bt_timings_cap                    60 .. c:type:: v4l2_bt_timings_cap
 61                                                    61 
 62 .. flat-table:: struct v4l2_bt_timings_cap         62 .. flat-table:: struct v4l2_bt_timings_cap
 63     :header-rows:  0                               63     :header-rows:  0
 64     :stub-columns: 0                               64     :stub-columns: 0
 65     :widths:       1 1 2                           65     :widths:       1 1 2
 66                                                    66 
 67     * - __u32                                      67     * - __u32
 68       - ``min_width``                              68       - ``min_width``
 69       - Minimum width of the active video in p     69       - Minimum width of the active video in pixels.
 70     * - __u32                                      70     * - __u32
 71       - ``max_width``                              71       - ``max_width``
 72       - Maximum width of the active video in p     72       - Maximum width of the active video in pixels.
 73     * - __u32                                      73     * - __u32
 74       - ``min_height``                             74       - ``min_height``
 75       - Minimum height of the active video in      75       - Minimum height of the active video in lines.
 76     * - __u32                                      76     * - __u32
 77       - ``max_height``                             77       - ``max_height``
 78       - Maximum height of the active video in      78       - Maximum height of the active video in lines.
 79     * - __u64                                      79     * - __u64
 80       - ``min_pixelclock``                         80       - ``min_pixelclock``
 81       - Minimum pixelclock frequency in Hz.        81       - Minimum pixelclock frequency in Hz.
 82     * - __u64                                      82     * - __u64
 83       - ``max_pixelclock``                         83       - ``max_pixelclock``
 84       - Maximum pixelclock frequency in Hz.        84       - Maximum pixelclock frequency in Hz.
 85     * - __u32                                      85     * - __u32
 86       - ``standards``                              86       - ``standards``
 87       - The video standard(s) supported by the     87       - The video standard(s) supported by the hardware. See
 88         :ref:`dv-bt-standards` for a list of s     88         :ref:`dv-bt-standards` for a list of standards.
 89     * - __u32                                      89     * - __u32
 90       - ``capabilities``                           90       - ``capabilities``
 91       - Several flags giving more information      91       - Several flags giving more information about the capabilities. See
 92         :ref:`dv-bt-cap-capabilities` for a de     92         :ref:`dv-bt-cap-capabilities` for a description of the flags.
 93     * - __u32                                      93     * - __u32
 94       - ``reserved``\ [16]                         94       - ``reserved``\ [16]
 95       - Reserved for future extensions.            95       - Reserved for future extensions.
 96         Drivers must set the array to zero.        96         Drivers must set the array to zero.
 97                                                    97 
 98                                                    98 
 99 .. tabularcolumns:: |p{4.4cm}|p{3.6cm}|p{9.3cm     99 .. tabularcolumns:: |p{4.4cm}|p{3.6cm}|p{9.3cm}|
100                                                   100 
101 .. c:type:: v4l2_dv_timings_cap                   101 .. c:type:: v4l2_dv_timings_cap
102                                                   102 
103 .. flat-table:: struct v4l2_dv_timings_cap        103 .. flat-table:: struct v4l2_dv_timings_cap
104     :header-rows:  0                              104     :header-rows:  0
105     :stub-columns: 0                              105     :stub-columns: 0
106     :widths:       1 1 2                          106     :widths:       1 1 2
107                                                   107 
108     * - __u32                                     108     * - __u32
109       - ``type``                                  109       - ``type``
110       - Type of DV timings as listed in :ref:`    110       - Type of DV timings as listed in :ref:`dv-timing-types`.
111     * - __u32                                     111     * - __u32
112       - ``pad``                                   112       - ``pad``
113       - Pad number as reported by the media co    113       - Pad number as reported by the media controller API. This field is
114         only used when operating on a subdevic    114         only used when operating on a subdevice node. When operating on a
115         video node applications must set this     115         video node applications must set this field to zero.
116     * - __u32                                     116     * - __u32
117       - ``reserved``\ [2]                         117       - ``reserved``\ [2]
118       - Reserved for future extensions.           118       - Reserved for future extensions.
119                                                   119 
120         Drivers and applications must set the     120         Drivers and applications must set the array to zero.
121     * - union {                                   121     * - union {
122       - (anonymous)                               122       - (anonymous)
123     * - struct :c:type:`v4l2_bt_timings_cap`      123     * - struct :c:type:`v4l2_bt_timings_cap`
124       - ``bt``                                    124       - ``bt``
125       - BT.656/1120 timings capabilities of th    125       - BT.656/1120 timings capabilities of the hardware.
126     * - __u32                                     126     * - __u32
127       - ``raw_data``\ [32]                        127       - ``raw_data``\ [32]
128     * - }                                         128     * - }
129       -                                           129       -
130                                                   130 
131 .. tabularcolumns:: |p{7.2cm}|p{10.3cm}|          131 .. tabularcolumns:: |p{7.2cm}|p{10.3cm}|
132                                                   132 
133 .. _dv-bt-cap-capabilities:                       133 .. _dv-bt-cap-capabilities:
134                                                   134 
135 .. flat-table:: DV BT Timing capabilities         135 .. flat-table:: DV BT Timing capabilities
136     :header-rows:  0                              136     :header-rows:  0
137     :stub-columns: 0                              137     :stub-columns: 0
138                                                   138 
139     * - Flag                                      139     * - Flag
140       - Description                               140       - Description
141     * -                                           141     * -
142       -                                           142       -
143     * - ``V4L2_DV_BT_CAP_INTERLACED``             143     * - ``V4L2_DV_BT_CAP_INTERLACED``
144       - Interlaced formats are supported.         144       - Interlaced formats are supported.
145     * - ``V4L2_DV_BT_CAP_PROGRESSIVE``            145     * - ``V4L2_DV_BT_CAP_PROGRESSIVE``
146       - Progressive formats are supported.        146       - Progressive formats are supported.
147     * - ``V4L2_DV_BT_CAP_REDUCED_BLANKING``       147     * - ``V4L2_DV_BT_CAP_REDUCED_BLANKING``
148       - CVT/GTF specific: the timings can make    148       - CVT/GTF specific: the timings can make use of reduced blanking
149         (CVT) or the 'Secondary GTF' curve (GT    149         (CVT) or the 'Secondary GTF' curve (GTF).
150     * - ``V4L2_DV_BT_CAP_CUSTOM``                 150     * - ``V4L2_DV_BT_CAP_CUSTOM``
151       - Can support non-standard timings, i.e.    151       - Can support non-standard timings, i.e. timings not belonging to
152         the standards set in the ``standards``    152         the standards set in the ``standards`` field.
153                                                   153 
154 Return Value                                      154 Return Value
155 ============                                      155 ============
156                                                   156 
157 On success 0 is returned, on error -1 and the     157 On success 0 is returned, on error -1 and the ``errno`` variable is set
158 appropriately. The generic error codes are des    158 appropriately. The generic error codes are described at the
159 :ref:`Generic Error Codes <gen-errors>` chapte    159 :ref:`Generic Error Codes <gen-errors>` chapter.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php