dvbproperty.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. <section id="FE_GET_PROPERTY">
  2. <title>FE_GET_PROPERTY/FE_SET_PROPERTY</title>
  3. <section id="isdbt">
  4. <title>ISDB-T frontend</title>
  5. <para>This section describes shortly what are the possible parameters in the Linux
  6. DVB-API called "S2API" and now DVB API 5 in order to tune an ISDB-T/ISDB-Tsb
  7. demodulator:</para>
  8. <para>This ISDB-T/ISDB-Tsb API extension should reflect all information
  9. needed to tune any ISDB-T/ISDB-Tsb hardware. Of course it is possible
  10. that some very sophisticated devices won't need certain parameters to
  11. tune.</para>
  12. <para>The information given here should help application writers to know how
  13. to handle ISDB-T and ISDB-Tsb hardware using the Linux DVB-API.</para>
  14. <para>The details given here about ISDB-T and ISDB-Tsb are just enough to
  15. basically show the dependencies between the needed parameter values,
  16. but surely some information is left out. For more detailed information
  17. see the following documents:</para>
  18. <para>ARIB STD-B31 - "Transmission System for Digital Terrestrial
  19. Television Broadcasting" and</para>
  20. <para>ARIB TR-B14 - "Operational Guidelines for Digital Terrestrial
  21. Television Broadcasting".</para>
  22. <para>In order to read this document one has to have some knowledge the
  23. channel structure in ISDB-T and ISDB-Tsb. I.e. it has to be known to
  24. the reader that an ISDB-T channel consists of 13 segments, that it can
  25. have up to 3 layer sharing those segments, and things like that.</para>
  26. <para>Parameters used by ISDB-T and ISDB-Tsb.</para>
  27. <section id="isdbt-parms">
  28. <title>Parameters that are common with DVB-T and ATSC</title>
  29. <section id="isdbt-freq">
  30. <title><constant>DTV_FREQUENCY</constant></title>
  31. <para>Central frequency of the channel.</para>
  32. <para>For ISDB-T the channels are usally transmitted with an offset of 143kHz. E.g. a
  33. valid frequncy could be 474143 kHz. The stepping is bound to the bandwidth of
  34. the channel which is 6MHz.</para>
  35. <para>As in ISDB-Tsb the channel consists of only one or three segments the
  36. frequency step is 429kHz, 3*429 respectively. As for ISDB-T the
  37. central frequency of the channel is expected.</para>
  38. </section>
  39. <section id="isdbt-bw">
  40. <title><constant>DTV_BANDWIDTH_HZ</constant> (optional)</title>
  41. <para>Possible values:</para>
  42. <para>For ISDB-T it should be always 6000000Hz (6MHz)</para>
  43. <para>For ISDB-Tsb it can vary depending on the number of connected segments</para>
  44. <para>Note: Hardware specific values might be given here, but standard
  45. applications should not bother to set a value to this field as
  46. standard demods are ignoring it anyway.</para>
  47. <para>Bandwidth in ISDB-T is fixed (6MHz) or can be easily derived from
  48. other parameters (DTV_ISDBT_SB_SEGMENT_IDX,
  49. DTV_ISDBT_SB_SEGMENT_COUNT).</para>
  50. </section>
  51. <section id="isdbt-delivery-sys">
  52. <title><constant>DTV_DELIVERY_SYSTEM</constant></title>
  53. <para>Possible values: <constant>SYS_ISDBT</constant></para>
  54. </section>
  55. <section id="isdbt-tx-mode">
  56. <title><constant>DTV_TRANSMISSION_MODE</constant></title>
  57. <para>ISDB-T supports three carrier/symbol-size: 8K, 4K, 2K. It is called
  58. 'mode' in the standard: Mode 1 is 2K, mode 2 is 4K, mode 3 is 8K</para>
  59. <para>Possible values: <constant>TRANSMISSION_MODE_2K</constant>, <constant>TRANSMISSION_MODE_8K</constant>,
  60. <constant>TRANSMISSION_MODE_AUTO</constant>, <constant>TRANSMISSION_MODE_4K</constant></para>
  61. <para>If <constant>DTV_TRANSMISSION_MODE</constant> is set the <constant>TRANSMISSION_MODE_AUTO</constant> the
  62. hardware will try to find the correct FFT-size (if capable) and will
  63. use TMCC to fill in the missing parameters.</para>
  64. <para><constant>TRANSMISSION_MODE_4K</constant> is added at the same time as the other new parameters.</para>
  65. </section>
  66. <section id="isdbt-guard-interval">
  67. <title><constant>DTV_GUARD_INTERVAL</constant></title>
  68. <para>Possible values: <constant>GUARD_INTERVAL_1_32</constant>, <constant>GUARD_INTERVAL_1_16</constant>, <constant>GUARD_INTERVAL_1_8</constant>,
  69. <constant>GUARD_INTERVAL_1_4</constant>, <constant>GUARD_INTERVAL_AUTO</constant></para>
  70. <para>If <constant>DTV_GUARD_INTERVAL</constant> is set the <constant>GUARD_INTERVAL_AUTO</constant> the hardware will
  71. try to find the correct guard interval (if capable) and will use TMCC to fill
  72. in the missing parameters.</para>
  73. </section>
  74. </section>
  75. <section id="isdbt-new-parms">
  76. <title>ISDB-T only parameters</title>
  77. <section id="isdbt-part-rec">
  78. <title><constant>DTV_ISDBT_PARTIAL_RECEPTION</constant></title>
  79. <para><constant>If DTV_ISDBT_SOUND_BROADCASTING</constant> is '0' this bit-field represents whether
  80. the channel is in partial reception mode or not.</para>
  81. <para>If '1' <constant>DTV_ISDBT_LAYERA_*</constant> values are assigned to the center segment and
  82. <constant>DTV_ISDBT_LAYERA_SEGMENT_COUNT</constant> has to be '1'.</para>
  83. <para>If in addition <constant>DTV_ISDBT_SOUND_BROADCASTING</constant> is '1'
  84. <constant>DTV_ISDBT_PARTIAL_RECEPTION</constant> represents whether this ISDB-Tsb channel
  85. is consisting of one segment and layer or three segments and two layers.</para>
  86. <para>Possible values: 0, 1, -1 (AUTO)</para>
  87. </section>
  88. <section id="isdbt-sound-bcast">
  89. <title><constant>DTV_ISDBT_SOUND_BROADCASTING</constant></title>
  90. <para>This field represents whether the other DTV_ISDBT_*-parameters are
  91. referring to an ISDB-T and an ISDB-Tsb channel. (See also
  92. <constant>DTV_ISDBT_PARTIAL_RECEPTION</constant>).</para>
  93. <para>Possible values: 0, 1, -1 (AUTO)</para>
  94. </section>
  95. <section id="isdbt-sb-ch-id">
  96. <title><constant>DTV_ISDBT_SB_SUBCHANNEL_ID</constant></title>
  97. <para>This field only applies if <constant>DTV_ISDBT_SOUND_BROADCASTING</constant> is '1'.</para>
  98. <para>(Note of the author: This might not be the correct description of the
  99. <constant>SUBCHANNEL-ID</constant> in all details, but it is my understanding of the technical
  100. background needed to program a device)</para>
  101. <para>An ISDB-Tsb channel (1 or 3 segments) can be broadcasted alone or in a
  102. set of connected ISDB-Tsb channels. In this set of channels every
  103. channel can be received independently. The number of connected
  104. ISDB-Tsb segment can vary, e.g. depending on the frequency spectrum
  105. bandwidth available.</para>
  106. <para>Example: Assume 8 ISDB-Tsb connected segments are broadcasted. The
  107. broadcaster has several possibilities to put those channels in the
  108. air: Assuming a normal 13-segment ISDB-T spectrum he can align the 8
  109. segments from position 1-8 to 5-13 or anything in between.</para>
  110. <para>The underlying layer of segments are subchannels: each segment is
  111. consisting of several subchannels with a predefined IDs. A sub-channel
  112. is used to help the demodulator to synchronize on the channel.</para>
  113. <para>An ISDB-T channel is always centered over all sub-channels. As for
  114. the example above, in ISDB-Tsb it is no longer as simple as that.</para>
  115. <para><constant>The DTV_ISDBT_SB_SUBCHANNEL_ID</constant> parameter is used to give the
  116. sub-channel ID of the segment to be demodulated.</para>
  117. <para>Possible values: 0 .. 41, -1 (AUTO)</para>
  118. </section>
  119. <section id="isdbt-sb-seg-idx">
  120. <title><constant>DTV_ISDBT_SB_SEGMENT_IDX</constant></title>
  121. <para>This field only applies if <constant>DTV_ISDBT_SOUND_BROADCASTING</constant> is '1'.</para>
  122. <para><constant>DTV_ISDBT_SB_SEGMENT_IDX</constant> gives the index of the segment to be
  123. demodulated for an ISDB-Tsb channel where several of them are
  124. transmitted in the connected manner.</para>
  125. <para>Possible values: 0 .. <constant>DTV_ISDBT_SB_SEGMENT_COUNT</constant> - 1</para>
  126. <para>Note: This value cannot be determined by an automatic channel search.</para>
  127. </section>
  128. <section id="isdbt-sb-seg-cnt">
  129. <title><constant>DTV_ISDBT_SB_SEGMENT_COUNT</constant></title>
  130. <para>This field only applies if <constant>DTV_ISDBT_SOUND_BROADCASTING</constant> is '1'.</para>
  131. <para><constant>DTV_ISDBT_SB_SEGMENT_COUNT</constant> gives the total count of connected ISDB-Tsb
  132. channels.</para>
  133. <para>Possible values: 1 .. 13</para>
  134. <para>Note: This value cannot be determined by an automatic channel search.</para>
  135. </section>
  136. <section id="isdb-hierq-layers">
  137. <title>Hierarchical layers</title>
  138. <para>ISDB-T channels can be coded hierarchically. As opposed to DVB-T in
  139. ISDB-T hierarchical layers can be decoded simultaneously. For that
  140. reason a ISDB-T demodulator has 3 viterbi and 3 reed-solomon-decoders.</para>
  141. <para>ISDB-T has 3 hierarchical layers which each can use a part of the
  142. available segments. The total number of segments over all layers has
  143. to 13 in ISDB-T.</para>
  144. <section id="isdbt-layer-ena">
  145. <title><constant>DTV_ISDBT_LAYER_ENABLED</constant></title>
  146. <para>Hierarchical reception in ISDB-T is achieved by enabling or disabling
  147. layers in the decoding process. Setting all bits of
  148. <constant>DTV_ISDBT_LAYER_ENABLED</constant> to '1' forces all layers (if applicable) to be
  149. demodulated. This is the default.</para>
  150. <para>If the channel is in the partial reception mode
  151. (<constant>DTV_ISDBT_PARTIAL_RECEPTION</constant> = 1) the central segment can be decoded
  152. independently of the other 12 segments. In that mode layer A has to
  153. have a <constant>SEGMENT_COUNT</constant> of 1.</para>
  154. <para>In ISDB-Tsb only layer A is used, it can be 1 or 3 in ISDB-Tsb
  155. according to <constant>DTV_ISDBT_PARTIAL_RECEPTION</constant>. <constant>SEGMENT_COUNT</constant> must be filled
  156. accordingly.</para>
  157. <para>Possible values: 0x1, 0x2, 0x4 (|-able)</para>
  158. <para><constant>DTV_ISDBT_LAYER_ENABLED[0:0]</constant> - layer A</para>
  159. <para><constant>DTV_ISDBT_LAYER_ENABLED[1:1]</constant> - layer B</para>
  160. <para><constant>DTV_ISDBT_LAYER_ENABLED[2:2]</constant> - layer C</para>
  161. <para><constant>DTV_ISDBT_LAYER_ENABLED[31:3]</constant> unused</para>
  162. </section>
  163. <section id="isdbt-layer-fec">
  164. <title><constant>DTV_ISDBT_LAYER*_FEC</constant></title>
  165. <para>Possible values: <constant>FEC_AUTO</constant>, <constant>FEC_1_2</constant>, <constant>FEC_2_3</constant>, <constant>FEC_3_4</constant>, <constant>FEC_5_6</constant>, <constant>FEC_7_8</constant></para>
  166. </section>
  167. <section id="isdbt-layer-mod">
  168. <title><constant>DTV_ISDBT_LAYER*_MODULATION</constant></title>
  169. <para>Possible values: <constant>QAM_AUTO</constant>, QP<constant>SK, QAM_16</constant>, <constant>QAM_64</constant>, <constant>DQPSK</constant></para>
  170. <para>Note: If layer C is <constant>DQPSK</constant> layer B has to be <constant>DQPSK</constant>. If layer B is <constant>DQPSK</constant>
  171. and <constant>DTV_ISDBT_PARTIAL_RECEPTION</constant>=0 layer has to be <constant>DQPSK</constant>.</para>
  172. </section>
  173. <section id="isdbt-layer-seg-cnt">
  174. <title><constant>DTV_ISDBT_LAYER*_SEGMENT_COUNT</constant></title>
  175. <para>Possible values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, -1 (AUTO)</para>
  176. <para>Note: Truth table for <constant>DTV_ISDBT_SOUND_BROADCASTING</constant> and
  177. <constant>DTV_ISDBT_PARTIAL_RECEPTION</constant> and <constant>LAYER</constant>*_SEGMENT_COUNT</para>
  178. <informaltable id="isdbt-layer_seg-cnt-table">
  179. <tgroup cols="6">
  180. <tbody>
  181. <row>
  182. <entry>PR</entry>
  183. <entry>SB</entry>
  184. <entry>Layer A width</entry>
  185. <entry>Layer B width</entry>
  186. <entry>Layer C width</entry>
  187. <entry>total width</entry>
  188. </row>
  189. <row>
  190. <entry>0</entry>
  191. <entry>0</entry>
  192. <entry>1 .. 13</entry>
  193. <entry>1 .. 13</entry>
  194. <entry>1 .. 13</entry>
  195. <entry>13</entry>
  196. </row>
  197. <row>
  198. <entry>1</entry>
  199. <entry>0</entry>
  200. <entry>1</entry>
  201. <entry>1 .. 13</entry>
  202. <entry>1 .. 13</entry>
  203. <entry>13</entry>
  204. </row>
  205. <row>
  206. <entry>0</entry>
  207. <entry>1</entry>
  208. <entry>1</entry>
  209. <entry>0</entry>
  210. <entry>0</entry>
  211. <entry>1</entry>
  212. </row>
  213. <row>
  214. <entry>1</entry>
  215. <entry>1</entry>
  216. <entry>1</entry>
  217. <entry>2</entry>
  218. <entry>0</entry>
  219. <entry>13</entry>
  220. </row>
  221. </tbody>
  222. </tgroup>
  223. </informaltable>
  224. </section>
  225. <section id="isdbt_layer_t_interl">
  226. <title><constant>DTV_ISDBT_LAYER*_TIME_INTERLEAVING</constant></title>
  227. <para>Possible values: 0, 1, 2, 3, -1 (AUTO)</para>
  228. <para>Note: The real inter-leaver depth-names depend on the mode (fft-size); the values
  229. here are referring to what can be found in the TMCC-structure -
  230. independent of the mode.</para>
  231. </section>
  232. </section>
  233. </section>
  234. </section>
  235. </section>