summaryrefslogtreecommitdiff
path: root/libsi/headers.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-01-11 11:38:00 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-01-11 11:38:00 +0100
commited118b079f0cc1f6c88c386ea3c2c9adf529b02e (patch)
tree2a4d45ac1d6dc6bd569c1be11dcd9e2b9b5989be /libsi/headers.h
parent48de95f5d2ed662d724a765ec11aa0eb2ef7dfb9 (diff)
downloadvdr-ed118b079f0cc1f6c88c386ea3c2c9adf529b02e.tar.gz
vdr-ed118b079f0cc1f6c88c386ea3c2c9adf529b02e.tar.bz2
Added support for DVB-T2 to libsi
Diffstat (limited to 'libsi/headers.h')
-rw-r--r--libsi/headers.h33
1 files changed, 32 insertions, 1 deletions
diff --git a/libsi/headers.h b/libsi/headers.h
index d94f053c..daea50e1 100644
--- a/libsi/headers.h
+++ b/libsi/headers.h
@@ -10,7 +10,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: headers.h 2.3 2011/12/10 15:47:15 kls Exp $
+ * $Id: headers.h 2.4 2012/01/11 11:35:17 kls Exp $
* *
***************************************************************************/
@@ -1839,6 +1839,37 @@ struct descr_extension {
u_char descriptor_tag_extension :8;
};
+/* extension 0x04 t2_delivery_system_descriptor */
+
+struct descr_t2_delivery_system {
+ u_char descriptor_tag :8;
+ u_char descriptor_length :8;
+ u_char descriptor_tag_extension :8;
+ u_char plp_id :8;
+ u_char t2_system_id_hi :8;
+ u_char t2_system_id_lo :8;
+#if BYTE_ORDER == BIG_ENDIAN
+ u_char siso_miso :2;
+ u_char bandwidth :4;
+ u_char reserved :2;
+ u_char guard_interval :3;
+ u_char transmission_mode :3;
+ u_char other_frequency_flag :1;
+ u_char tfs_flag :1;
+#else
+ u_char reserved :2;
+ u_char bandwidth :4;
+ u_char siso_miso :2;
+ u_char tfs_flag :1;
+ u_char other_frequency_flag :1;
+ u_char transmission_mode :3;
+ u_char guard_interval :3;
+#endif
+/* now follow cell_id, frequency_loop_length, centre_frequency,
+ subcell_info_loop_length, cell_id_extension, transposer_frequency
+ fields looping to the end */
+};
+
/* MHP 0x00 application_descriptor */
#define DESCR_APPLICATION_LEN 3