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

[media] DocBook: move fe_bandwidth to the frontend legacy section

fe_bandwidth/fe_bandwidth_t is used only on DVBv3 API. So, move
it to the frontend legacy xml, and convert it into a table.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 0577a2f6
...@@ -87,21 +87,6 @@ detection. ...@@ -87,21 +87,6 @@ detection.
<section> <section>
<title>More OFDM parameters</title> <title>More OFDM parameters</title>
<section id="fe-bandwidth-t">
<title>frontend bandwidth</title>
<programlisting>
typedef enum fe_bandwidth {
BANDWIDTH_8_MHZ,
BANDWIDTH_7_MHZ,
BANDWIDTH_6_MHZ,
BANDWIDTH_AUTO,
BANDWIDTH_5_MHZ,
BANDWIDTH_10_MHZ,
BANDWIDTH_1_712_MHZ,
} fe_bandwidth_t;
</programlisting>
</section>
<section id="fe-guard-interval-t"> <section id="fe-guard-interval-t">
<title>frontend guard inverval</title> <title>frontend guard inverval</title>
<programlisting> <programlisting>
......
...@@ -60,6 +60,48 @@ supported via the new <link linkend="FE_GET_PROPERTY">FE_GET_PROPERTY/FE_GET_SET ...@@ -60,6 +60,48 @@ supported via the new <link linkend="FE_GET_PROPERTY">FE_GET_PROPERTY/FE_GET_SET
using the &DTV-DELIVERY-SYSTEM; property.</para> using the &DTV-DELIVERY-SYSTEM; property.</para>
</section> </section>
<section id="fe-bandwidth-t">
<title>Frontend bandwidth</title>
<table pgwide="1" frame="none" id="fe-bandwidth">
<title>enum fe_bandwidth</title>
<tgroup cols="2">
&cs-def;
<thead>
<row>
<entry>ID</entry>
<entry>Description</entry>
</row>
</thead>
<tbody valign="top">
<row>
<entry>BANDWIDTH_AUTO</entry>
<entry>Autodetect bandwidth (if supported)</entry>
</row><row>
<entry>BANDWIDTH_1_712_MHZ</entry>
<entry>1.712 MHz</entry>
</row><row>
<entry>BANDWIDTH_5_MHZ</entry>
<entry>5 MHz</entry>
</row><row>
<entry>BANDWIDTH_6_MHZ</entry>
<entry>6 MHz</entry>
</row><row>
<entry>BANDWIDTH_7_MHZ</entry>
<entry>7 MHz</entry>
</row><row>
<entry>BANDWIDTH_8_MHZ</entry>
<entry>8 MHz</entry>
</row><row>
<entry>BANDWIDTH_10_MHZ</entry>
<entry>10 MHz</entry>
</row><row>
</row>
</tbody>
</tgroup>
</table>
</section>
<section id="dvb-frontend-parameters"> <section id="dvb-frontend-parameters">
<title>frontend parameters</title> <title>frontend parameters</title>
...@@ -135,7 +177,7 @@ struct dvb_vsb_parameters { ...@@ -135,7 +177,7 @@ struct dvb_vsb_parameters {
<para>DVB-T frontends are supported by the <constant>dvb_ofdm_parameters</constant> structure:</para> <para>DVB-T frontends are supported by the <constant>dvb_ofdm_parameters</constant> structure:</para>
<programlisting> <programlisting>
struct dvb_ofdm_parameters { struct dvb_ofdm_parameters {
fe_bandwidth_t bandwidth; &fe-bandwidth-t; bandwidth;
fe_code_rate_t code_rate_HP; /&#x22C6; high priority stream code rate &#x22C6;/ fe_code_rate_t code_rate_HP; /&#x22C6; high priority stream code rate &#x22C6;/
fe_code_rate_t code_rate_LP; /&#x22C6; low priority stream code rate &#x22C6;/ fe_code_rate_t code_rate_LP; /&#x22C6; low priority stream code rate &#x22C6;/
&fe-modulation-t; constellation; /&#x22C6; modulation type (see above) &#x22C6;/ &fe-modulation-t; constellation; /&#x22C6; modulation type (see above) &#x22C6;/
......
...@@ -213,7 +213,7 @@ enum fe_transmit_mode { ...@@ -213,7 +213,7 @@ enum fe_transmit_mode {
typedef enum fe_transmit_mode fe_transmit_mode_t; typedef enum fe_transmit_mode fe_transmit_mode_t;
#if defined(__DVB_CORE__) || !defined (__KERNEL__) #if defined(__DVB_CORE__) || !defined (__KERNEL__)
typedef enum fe_bandwidth { enum fe_bandwidth {
BANDWIDTH_8_MHZ, BANDWIDTH_8_MHZ,
BANDWIDTH_7_MHZ, BANDWIDTH_7_MHZ,
BANDWIDTH_6_MHZ, BANDWIDTH_6_MHZ,
...@@ -221,7 +221,9 @@ typedef enum fe_bandwidth { ...@@ -221,7 +221,9 @@ typedef enum fe_bandwidth {
BANDWIDTH_5_MHZ, BANDWIDTH_5_MHZ,
BANDWIDTH_10_MHZ, BANDWIDTH_10_MHZ,
BANDWIDTH_1_712_MHZ, BANDWIDTH_1_712_MHZ,
} fe_bandwidth_t; };
typedef enum fe_bandwidth fe_bandwidth_t;
#endif #endif
typedef enum fe_guard_interval { typedef enum fe_guard_interval {
......
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