1 #ifndef __lib_dvb_specs_h
2 #define __lib_dvb_specs_h
4 #include <lib/dvb/idvb.h>
5 #include <lib/dvb/idemux.h>
6 #include <dvbsi++/program_map_section.h>
7 #include <dvbsi++/service_description_section.h>
8 #include <dvbsi++/network_information_section.h>
9 #include <dvbsi++/bouquet_association_section.h>
10 #include <dvbsi++/program_association_section.h>
11 #include <dvbsi++/event_information_section.h>
17 eDVBPMTSpec(int pid, int sid)
20 m_spec.tid = ProgramMapSection::TID;
22 m_spec.timeout = 20000; // ProgramMapSection::TIMEOUT;
23 m_spec.flags = eDVBTableSpec::tfAnyVersion |
24 eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfHaveTIDExt |
25 eDVBTableSpec::tfCheckCRC | eDVBTableSpec::tfHaveTimeout;
27 operator eDVBTableSpec &()
39 m_spec.pid = ServiceDescriptionSection::PID;
40 m_spec.tid = ServiceDescriptionSection::TID;
41 m_spec.timeout = 20000; // ServiceDescriptionSection::TIMEOUT;
42 m_spec.flags = eDVBTableSpec::tfAnyVersion |
43 eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfCheckCRC |
44 eDVBTableSpec::tfHaveTimeout;
46 operator eDVBTableSpec &()
58 m_spec.pid = NetworkInformationSection::PID;
59 m_spec.tid = NetworkInformationSection::TID;
60 m_spec.timeout = NetworkInformationSection::TIMEOUT;
61 m_spec.flags = eDVBTableSpec::tfAnyVersion |
62 eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfCheckCRC |
63 eDVBTableSpec::tfHaveTimeout;
65 operator eDVBTableSpec &()
77 m_spec.pid = BouquetAssociationSection::PID;
78 m_spec.tid = BouquetAssociationSection::TID;
79 m_spec.timeout = BouquetAssociationSection::TIMEOUT;
80 m_spec.flags = eDVBTableSpec::tfAnyVersion |
81 eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfCheckCRC |
82 eDVBTableSpec::tfHaveTimeout;
84 operator eDVBTableSpec &()
96 m_spec.pid = ProgramAssociationSection::PID;
97 m_spec.tid = ProgramAssociationSection::TID;
98 m_spec.timeout = 20000; // ProgramAssociationSection::TIMEOUT;
99 m_spec.flags = eDVBTableSpec::tfAnyVersion |
100 eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfCheckCRC |
101 eDVBTableSpec::tfHaveTimeout;
103 operator eDVBTableSpec &()
111 eDVBTableSpec m_spec;
113 /* this is for now&next on actual transponder. */
116 m_spec.pid = EventInformationSection::PID;
117 m_spec.tid = EventInformationSection::TID;
119 m_spec.timeout = EventInformationSection::TIMEOUT;
120 m_spec.flags = eDVBTableSpec::tfAnyVersion |
121 eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfHaveTIDExt |
122 eDVBTableSpec::tfCheckCRC | eDVBTableSpec::tfHaveTimeout;
124 operator eDVBTableSpec &()
130 class eDVBEITSpecOther
132 eDVBTableSpec m_spec;
134 /* this is for now&next on actual transponder. */
135 eDVBEITSpecOther(int sid)
137 m_spec.pid = EventInformationSection::PID;
138 m_spec.tid = TID_EIT_OTHER;
140 m_spec.timeout = EventInformationSection::TIMEOUT;
141 m_spec.flags = eDVBTableSpec::tfAnyVersion |
142 eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfHaveTIDExt |
143 eDVBTableSpec::tfCheckCRC | eDVBTableSpec::tfHaveTimeout;
145 operator eDVBTableSpec &()