Commit ac99edd2 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] DocBook: cleaup the notes about DTV properties

The notes there are somewhat confusing and assumes that the
reader would have read the DVBv3 way. This is not true anymore,
as the DVBv3 is now on a separate section that is marked as
deprecated.

So, cleanup the notes.

While here, add a note about using libdvbv5, instead of using
the DVBv5 API directly.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent e3dae862
...@@ -13,8 +13,14 @@ ...@@ -13,8 +13,14 @@
Also, the union didn't have any space left to be expanded without breaking Also, the union didn't have any space left to be expanded without breaking
userspace. So, the decision was to deprecate the legacy union/struct based userspace. So, the decision was to deprecate the legacy union/struct based
approach, in favor of a properties set approach.</para> approach, in favor of a properties set approach.</para>
<para>By using a properties set, it is now possible to extend and support any
digital TV without needing to redesign the API</para> <para>NOTE: on Linux DVB API version 3, setting a frontend were done via
<link linkend="dvb-frontend-parameters">struct <constant>dvb_frontend_parameters</constant></link>.
This got replaced on version 5 (also called "S2API", as this API were
added originally_enabled to provide support for DVB-S2), because the old
API has a very limited support to new standards and new hardware. This
section describes the new and recommended way to set the frontend, with
suppports all digital TV delivery systems.</para>
<para>Example: with the properties based approach, in order to set the tuner <para>Example: with the properties based approach, in order to set the tuner
to a DVB-C channel at 651 kHz, modulated with 256-QAM, FEC 3/4 and symbol to a DVB-C channel at 651 kHz, modulated with 256-QAM, FEC 3/4 and symbol
...@@ -67,13 +73,13 @@ int main(void) ...@@ -67,13 +73,13 @@ int main(void)
return 0; return 0;
} }
</programlisting> </programlisting>
<para>NOTE: This section describes the DVB version 5 extension of the DVB-API,
also called "S2API", as this API were added to provide support for DVB-S2. It <para>NOTE: While it is possible to directly call the Kernel code like the
was designed to be able to replace the old frontend API. Yet, the DISEQC and above example, it is strongly recommended to use
the capability ioctls weren't implemented yet via the new way.</para> <ulink url="http://linuxtv.org/docs/libdvbv5/index.html">libdvbv5</ulink>,
<para>The typical usage for the <constant>FE_GET_PROPERTY/FE_SET_PROPERTY</constant> as it provides abstraction to work with the supported digital TV standards
API is to replace the ioctl's were the <link linkend="dvb-frontend-parameters"> and provides methods for usual operations like program scanning and to
struct <constant>dvb_frontend_parameters</constant></link> were used.</para> read/write channel descriptor files.</para>
<section id="dtv-stats"> <section id="dtv-stats">
<title>struct <structname>dtv_stats</structname></title> <title>struct <structname>dtv_stats</structname></title>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment