[media] V4L spec: fix typo and missing CAP_RDS documentation
For some reason the V4L2_TUNER_CAP_RDS_CONTROLS/BLOCK_IO capabilities were never documented in the proper table. In addition, then RDS interface section incorrectly referred to them as V4L2_TUNER_SUB_RDS_... instead of CAP_RDS_... This is now fixed. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
7e5219d18e
commit
146d35b00d
@ -29,10 +29,10 @@ returned by the &VIDIOC-QUERYCAP; ioctl. Any tuner that supports RDS
|
|||||||
will set the <constant>V4L2_TUNER_CAP_RDS</constant> flag in
|
will set the <constant>V4L2_TUNER_CAP_RDS</constant> flag in
|
||||||
the <structfield>capability</structfield> field of &v4l2-tuner;. If
|
the <structfield>capability</structfield> field of &v4l2-tuner;. If
|
||||||
the driver only passes RDS blocks without interpreting the data
|
the driver only passes RDS blocks without interpreting the data
|
||||||
the <constant>V4L2_TUNER_SUB_RDS_BLOCK_IO</constant> flag has to be
|
the <constant>V4L2_TUNER_CAP_RDS_BLOCK_IO</constant> flag has to be
|
||||||
set, see <link linkend="reading-rds-data">Reading RDS data</link>.
|
set, see <link linkend="reading-rds-data">Reading RDS data</link>.
|
||||||
For future use the
|
For future use the
|
||||||
flag <constant>V4L2_TUNER_SUB_RDS_CONTROLS</constant> has also been
|
flag <constant>V4L2_TUNER_CAP_RDS_CONTROLS</constant> has also been
|
||||||
defined. However, a driver for a radio tuner with this capability does
|
defined. However, a driver for a radio tuner with this capability does
|
||||||
not yet exist, so if you are planning to write such a driver you
|
not yet exist, so if you are planning to write such a driver you
|
||||||
should discuss this on the linux-media mailing list: &v4l-ml;.</para>
|
should discuss this on the linux-media mailing list: &v4l-ml;.</para>
|
||||||
@ -52,9 +52,9 @@ field of &v4l2-modulator;.
|
|||||||
In order to enable the RDS transmission one must set the <constant>V4L2_TUNER_SUB_RDS</constant>
|
In order to enable the RDS transmission one must set the <constant>V4L2_TUNER_SUB_RDS</constant>
|
||||||
bit in the <structfield>txsubchans</structfield> field of &v4l2-modulator;.
|
bit in the <structfield>txsubchans</structfield> field of &v4l2-modulator;.
|
||||||
If the driver only passes RDS blocks without interpreting the data
|
If the driver only passes RDS blocks without interpreting the data
|
||||||
the <constant>V4L2_TUNER_SUB_RDS_BLOCK_IO</constant> flag has to be set. If the
|
the <constant>V4L2_TUNER_CAP_RDS_BLOCK_IO</constant> flag has to be set. If the
|
||||||
tuner is capable of handling RDS entities like program identification codes and radio
|
tuner is capable of handling RDS entities like program identification codes and radio
|
||||||
text, the flag <constant>V4L2_TUNER_SUB_RDS_CONTROLS</constant> should be set,
|
text, the flag <constant>V4L2_TUNER_CAP_RDS_CONTROLS</constant> should be set,
|
||||||
see <link linkend="writing-rds-data">Writing RDS data</link> and
|
see <link linkend="writing-rds-data">Writing RDS data</link> and
|
||||||
<link linkend="fm-tx-controls">FM Transmitter Control Reference</link>.</para>
|
<link linkend="fm-tx-controls">FM Transmitter Control Reference</link>.</para>
|
||||||
</section>
|
</section>
|
||||||
|
@ -318,6 +318,16 @@ standard.</para><!-- FIXME what if PAL+NTSC and Bi but not SAP? --></entry>
|
|||||||
<entry>RDS capture is supported. This capability is only valid for
|
<entry>RDS capture is supported. This capability is only valid for
|
||||||
radio tuners.</entry>
|
radio tuners.</entry>
|
||||||
</row>
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry><constant>V4L2_TUNER_CAP_RDS_BLOCK_IO</constant></entry>
|
||||||
|
<entry>0x0100</entry>
|
||||||
|
<entry>The RDS data is passed as unparsed RDS blocks.</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry><constant>V4L2_TUNER_CAP_RDS_CONTROLS</constant></entry>
|
||||||
|
<entry>0x0200</entry>
|
||||||
|
<entry>The RDS data is parsed by the hardware and set via controls.</entry>
|
||||||
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user