1 <refentry id="vidioc-dv-timings-cap">
3 <refentrytitle>ioctl VIDIOC_DV_TIMINGS_CAP, VIDIOC_SUBDEV_DV_TIMINGS_CAP</refentrytitle>
8 <refname>VIDIOC_DV_TIMINGS_CAP</refname>
9 <refname>VIDIOC_SUBDEV_DV_TIMINGS_CAP</refname>
10 <refpurpose>The capabilities of the Digital Video receiver/transmitter</refpurpose>
16 <funcdef>int <function>ioctl</function></funcdef>
17 <paramdef>int <parameter>fd</parameter></paramdef>
18 <paramdef>int <parameter>request</parameter></paramdef>
19 <paramdef>struct v4l2_dv_timings_cap *<parameter>argp</parameter></paramdef>
25 <title>Arguments</title>
29 <term><parameter>fd</parameter></term>
35 <term><parameter>request</parameter></term>
37 <para>VIDIOC_DV_TIMINGS_CAP, VIDIOC_SUBDEV_DV_TIMINGS_CAP</para>
41 <term><parameter>argp</parameter></term>
50 <title>Description</title>
52 <para>To query the capabilities of the DV receiver/transmitter applications initialize the
53 <structfield>pad</structfield> field to 0, zero the reserved array of &v4l2-dv-timings-cap;
54 and call the <constant>VIDIOC_DV_TIMINGS_CAP</constant> ioctl on a video node
55 and the driver will fill in the structure. Note that drivers may return
56 different values after switching the video input or output.</para>
58 <para>When implemented by the driver DV capabilities of subdevices can be
59 queried by calling the <constant>VIDIOC_SUBDEV_DV_TIMINGS_CAP</constant> ioctl
60 directly on a subdevice node. The capabilities are specific to inputs (for DV
61 receivers) or outputs (for DV transmitters), applications must specify the
62 desired pad number in the &v4l2-dv-timings-cap; <structfield>pad</structfield>
63 field and zero the <structfield>reserved</structfield> array. Attempts to query
64 capabilities on a pad that doesn't support them will return an &EINVAL;.</para>
66 <table pgwide="1" frame="none" id="v4l2-bt-timings-cap">
67 <title>struct <structname>v4l2_bt_timings_cap</structname></title>
73 <entry><structfield>min_width</structfield></entry>
74 <entry>Minimum width of the active video in pixels.</entry>
78 <entry><structfield>max_width</structfield></entry>
79 <entry>Maximum width of the active video in pixels.</entry>
83 <entry><structfield>min_height</structfield></entry>
84 <entry>Minimum height of the active video in lines.</entry>
88 <entry><structfield>max_height</structfield></entry>
89 <entry>Maximum height of the active video in lines.</entry>
93 <entry><structfield>min_pixelclock</structfield></entry>
94 <entry>Minimum pixelclock frequency in Hz.</entry>
98 <entry><structfield>max_pixelclock</structfield></entry>
99 <entry>Maximum pixelclock frequency in Hz.</entry>
103 <entry><structfield>standards</structfield></entry>
104 <entry>The video standard(s) supported by the hardware.
105 See <xref linkend="dv-bt-standards"/> for a list of standards.</entry>
109 <entry><structfield>capabilities</structfield></entry>
110 <entry>Several flags giving more information about the capabilities.
111 See <xref linkend="dv-bt-cap-capabilities"/> for a description of the flags.
116 <entry><structfield>reserved</structfield>[16]</entry>
117 <entry>Reserved for future extensions. Drivers must set the array to zero.</entry>
123 <table pgwide="1" frame="none" id="v4l2-dv-timings-cap">
124 <title>struct <structname>v4l2_dv_timings_cap</structname></title>
130 <entry><structfield>type</structfield></entry>
131 <entry>Type of DV timings as listed in <xref linkend="dv-timing-types"/>.</entry>
135 <entry><structfield>pad</structfield></entry>
136 <entry>Pad number as reported by the media controller API. This field
137 is only used when operating on a subdevice node. When operating on a
138 video node applications must set this field to zero.</entry>
142 <entry><structfield>reserved</structfield>[2]</entry>
143 <entry>Reserved for future extensions. Drivers and applications must
144 set the array to zero.</entry>
148 <entry><structfield></structfield></entry>
153 <entry>&v4l2-bt-timings-cap;</entry>
154 <entry><structfield>bt</structfield></entry>
155 <entry>BT.656/1120 timings capabilities of the hardware.</entry>
160 <entry><structfield>raw_data</structfield>[32]</entry>
167 <table pgwide="1" frame="none" id="dv-bt-cap-capabilities">
168 <title>DV BT Timing capabilities</title>
174 <entry>Description</entry>
181 <entry>V4L2_DV_BT_CAP_INTERLACED</entry>
182 <entry>Interlaced formats are supported.
186 <entry>V4L2_DV_BT_CAP_PROGRESSIVE</entry>
187 <entry>Progressive formats are supported.
191 <entry>V4L2_DV_BT_CAP_REDUCED_BLANKING</entry>
192 <entry>CVT/GTF specific: the timings can make use of reduced blanking (CVT)
193 or the 'Secondary GTF' curve (GTF).
197 <entry>V4L2_DV_BT_CAP_CUSTOM</entry>
198 <entry>Can support non-standard timings, i.e. timings not belonging to the
199 standards set in the <structfield>standards</structfield> field.