summaryrefslogtreecommitdiffstats
path: root/src/fig/FIG1.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-01 13:07:50 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-01 13:07:50 +0200
commit09430fc4ffa8dfb3ba73163d848e066fab74136f (patch)
tree702d94874685c34f1a3582e0e4f58478c6c9a59c /src/fig/FIG1.h
parent665989a46f97a90c1c601514caeaf0f079da0275 (diff)
downloaddabmux-09430fc4ffa8dfb3ba73163d848e066fab74136f.tar.gz
dabmux-09430fc4ffa8dfb3ba73163d848e066fab74136f.tar.bz2
dabmux-09430fc4ffa8dfb3ba73163d848e066fab74136f.zip
Remove old carousel
Diffstat (limited to 'src/fig/FIG1.h')
-rw-r--r--src/fig/FIG1.h72
1 files changed, 69 insertions, 3 deletions
diff --git a/src/fig/FIG1.h b/src/fig/FIG1.h
index 786dae9..9910320 100644
--- a/src/fig/FIG1.h
+++ b/src/fig/FIG1.h
@@ -3,7 +3,7 @@
2011, 2012 Her Majesty the Queen in Right of Canada (Communications
Research Center Canada)
- Copyright (C) 2015
+ Copyright (C) 2016
Matthias P. Braendli, matthias.braendli@mpb.li
*/
/*
@@ -103,7 +103,73 @@ class FIG1_5 : public IFIG
std::vector<std::shared_ptr<DabService> >::iterator service;
};
-}
-#endif // __FIG1_H_
+#ifdef _WIN32
+# pragma pack(push)
+#endif
+
+struct FIGtype1_0 {
+ uint8_t Length:5;
+ uint8_t FIGtypeNumber:3;
+ uint8_t Extension:3;
+ uint8_t OE:1;
+ uint8_t Charset:4;
+
+ uint16_t EId;
+} PACKED;
+
+
+struct FIGtype1_1 {
+ uint8_t Length:5;
+ uint8_t FIGtypeNumber:3;
+ uint8_t Extension:3;
+ uint8_t OE:1;
+ uint8_t Charset:4;
+
+ uint16_t Sld;
+} PACKED;
+
+
+struct FIGtype1_5 {
+ uint8_t Length:5;
+ uint8_t FIGtypeNumber:3;
+ uint8_t Extension:3;
+ uint8_t OE:1;
+ uint8_t Charset:4;
+ uint32_t SId;
+} PACKED;
+
+
+struct FIGtype1_4_programme {
+ uint8_t Length:5;
+ uint8_t FIGtypeNumber:3;
+ uint8_t Extension:3;
+ uint8_t OE:1;
+ uint8_t Charset:4;
+ uint8_t SCIdS:4;
+ uint8_t rfa:3;
+ uint8_t PD:1;
+ uint16_t SId;
+} PACKED;
+
+
+struct FIGtype1_4_data {
+ uint8_t Length:5;
+ uint8_t FIGtypeNumber:3;
+ uint8_t Extension:3;
+ uint8_t OE:1;
+ uint8_t Charset:4;
+ uint8_t SCIdS:4;
+ uint8_t rfa:3;
+ uint8_t PD:1;
+ uint32_t SId;
+} PACKED;
+
+
+#ifdef _WIN32
+# pragma pack(pop)
+#endif
+
+} // namespace FIC
+#endif // __FIG1_H_