Commit 9df4fc5b authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] DocBook: improve documentation for hierarchy

Format it as a table and links it with the legacy API xml.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 903142e5
...@@ -951,15 +951,43 @@ typedef enum atscmh_sccc_code_mode { ...@@ -951,15 +951,43 @@ typedef enum atscmh_sccc_code_mode {
<section id="DTV-HIERARCHY"> <section id="DTV-HIERARCHY">
<title><constant>DTV_HIERARCHY</constant></title> <title><constant>DTV_HIERARCHY</constant></title>
<para>Frontend hierarchy</para> <para>Frontend hierarchy</para>
<programlisting>
typedef enum fe_hierarchy {
HIERARCHY_NONE, <section id="fe-hierarchy-t">
HIERARCHY_1, <title>Frontend hierarchy</title>
HIERARCHY_2,
HIERARCHY_4, <table pgwide="1" frame="none" id="fe-hierarchy">
HIERARCHY_AUTO <title>enum fe_hierarchy</title>
} fe_hierarchy_t; <tgroup cols="2">
</programlisting> &cs-def;
<thead>
<row>
<entry>ID</entry>
<entry>Description</entry>
</row>
</thead>
<tbody valign="top">
<row>
<entry>HIERARCHY_NONE</entry>
<entry>No hierarchy</entry>
</row><row>
<entry>HIERARCHY_AUTO</entry>
<entry>Autodetect hierarchy (if supported)</entry>
</row><row>
<entry>HIERARCHY_1</entry>
<entry>Hierarchy 1</entry>
</row><row>
<entry>HIERARCHY_2</entry>
<entry>Hierarchy 2</entry>
</row><row>
<entry>HIERARCHY_4</entry>
<entry>Hierarchy 4</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
</section> </section>
<section id="DTV-STREAM-ID"> <section id="DTV-STREAM-ID">
<title><constant>DTV_STREAM_ID</constant></title> <title><constant>DTV_STREAM_ID</constant></title>
......
...@@ -56,24 +56,6 @@ specification is available at ...@@ -56,24 +56,6 @@ specification is available at
&sub-dvbproperty; &sub-dvbproperty;
<section>
<title>More OFDM parameters</title>
<section id="fe-hierarchy-t">
<title>frontend hierarchy</title>
<programlisting>
typedef enum fe_hierarchy {
HIERARCHY_NONE,
HIERARCHY_1,
HIERARCHY_2,
HIERARCHY_4,
HIERARCHY_AUTO
} fe_hierarchy_t;
</programlisting>
</section>
</section>
<section id="frontend_fcalls"> <section id="frontend_fcalls">
<title>Frontend Function Calls</title> <title>Frontend Function Calls</title>
......
...@@ -183,7 +183,7 @@ struct dvb_vsb_parameters { ...@@ -183,7 +183,7 @@ struct dvb_vsb_parameters {
&fe-modulation-t; constellation; /&#x22C6; modulation type (see above) &#x22C6;/ &fe-modulation-t; constellation; /&#x22C6; modulation type (see above) &#x22C6;/
&fe-transmit-mode-t; transmission_mode; &fe-transmit-mode-t; transmission_mode;
&fe-guard-interval-t; guard_interval; &fe-guard-interval-t; guard_interval;
fe_hierarchy_t hierarchy_information; &fe-hierarchy-t; hierarchy_information;
}; };
</programlisting> </programlisting>
</section> </section>
......
...@@ -244,13 +244,15 @@ enum fe_guard_interval { ...@@ -244,13 +244,15 @@ enum fe_guard_interval {
typedef enum fe_guard_interval fe_guard_interval_t; typedef enum fe_guard_interval fe_guard_interval_t;
typedef enum fe_hierarchy { enum fe_hierarchy {
HIERARCHY_NONE, HIERARCHY_NONE,
HIERARCHY_1, HIERARCHY_1,
HIERARCHY_2, HIERARCHY_2,
HIERARCHY_4, HIERARCHY_4,
HIERARCHY_AUTO HIERARCHY_AUTO
} fe_hierarchy_t; };
typedef enum fe_hierarchy fe_hierarchy_t;
enum fe_interleaving { enum fe_interleaving {
INTERLEAVING_NONE, INTERLEAVING_NONE,
......
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