1 #ifndef __lib_dvb_dvbmid_h
2 #define __lib_dvb_dvbmid_h
15 #include <sys/socket.h>
16 #include <sys/types.h>
32 : LongCrcSection(buffer)
34 data = malloc(getSectionLength());
35 memcpy(
data, buffer, getSectionLength());
56 HbbTVApplicationInfo(
int controlCode,
int orgid,
int appid, std::string hbbtvUrl, std::string applicationName,
int profileCode)
73 int m_last_channel_state;
90 void SDTScanEvent(
int);
93 void registerCAService();
95 void PMTready(
int error);
96 void PATready(
int error);
97 void AITready(
int error);
98 void OCready(
int error);
104 std::string m_HBBTVUrl;
105 std::string m_ApplicationName;
106 unsigned char m_AITData[4096];
108 int m_use_decode_demux;
109 uint8_t m_decode_demux_num;
153 void getCaIds(std::vector<int> &caids, std::vector<int> &ecmpids, std::vector<std::string> &ecmdatabytes);
192 bool m_have_cached_program;
193 program m_cached_program;
202 std::vector<struct aitInfo> m_aitInfoList;
203 int compareAudioSubtitleCode(
const std::string &subtitleTrack,
const std::string &audioTrack);
static int ptr
Definition: bcm.cpp:17
int m_ControlCode
Definition: pmt.h:51
int m_OrgId
Definition: pmt.h:49
std::string m_ApplicationName
Definition: pmt.h:54
int m_AppId
Definition: pmt.h:50
std::string m_HbbTVUrl
Definition: pmt.h:53
HbbTVApplicationInfo(int controlCode, int orgid, int appid, std::string hbbtvUrl, std::string applicationName, int profileCode)
Definition: pmt.h:56
short m_ProfileCode
Definition: pmt.h:52
void * getData()
Definition: pmt.h:41
void * data
Definition: pmt.h:28
~OCSection()
Definition: pmt.h:37
OCSection(const uint8_t *const buffer)
Definition: pmt.h:31
Definition: esection.h:104
RESULT getCurrent(ePtr< Table > &ptr)
Definition: esection.h:175
Definition: cahandler.h:103
Definition: pmtparse.h:14
eAUTable< eTable< ProgramMapSection > > m_PMT
Definition: pmtparse.h:16
Definition: dvb/scan.h:27
void sendEventNoPatEntry()
Definition: pmt.cpp:207
@ eventTuneFailed
Definition: pmt.h:128
@ eventNewProgramInfo
Definition: pmt.h:132
@ eventMisconfiguration
Definition: pmt.h:139
@ eventPreStart
Definition: pmt.h:135
@ eventHBBTVInfo
Definition: pmt.h:141
@ eventNoResources
Definition: pmt.h:127
@ eventEOF
Definition: pmt.h:137
@ eventStopped
Definition: pmt.h:143
@ eventNoPMT
Definition: pmt.h:131
@ eventNoPAT
Definition: pmt.h:129
@ eventSOF
Definition: pmt.h:136
@ eventChannelAllocated
Definition: pmt.h:144
@ eventNoPATEntry
Definition: pmt.h:130
@ eventTuned
Definition: pmt.h:133
int getPVRChannel(ePtr< iDVBPVRChannel > &pvr_channel)
Definition: pmt.cpp:989
int getChannel(eUsePtr< iDVBChannel > &channel)
Definition: pmt.cpp:951
int getDecodeDemux(ePtr< iDVBDemux > &demux)
Definition: pmt.cpp:969
int tuneExt(eServiceReferenceDVB &ref, ePtr< iTsSource > &, const char *streaminfo_file, eCueSheet *sg=0, bool simulate=false, eDVBService *service=0, serviceType type=livetv, bool descramble=true)
Definition: pmt.cpp:1042
void setCaDisable(bool disable)
Definition: pmt.h:165
void free()
Definition: pmt.cpp:1169
serviceType
Definition: pmt.h:170
@ playback
Definition: pmt.h:174
@ livetv
Definition: pmt.h:171
@ scrambled_streamserver
Definition: pmt.h:179
@ timeshift_recording
Definition: pmt.h:175
@ scrambled_recording
Definition: pmt.h:173
@ recording
Definition: pmt.h:172
@ streamserver
Definition: pmt.h:178
@ scrambled_timeshift_recording
Definition: pmt.h:176
@ streamclient
Definition: pmt.h:180
@ offline
Definition: pmt.h:181
@ timeshift_playback
Definition: pmt.h:177
int getProgramInfo(program &program)
Definition: pmt.cpp:540
int getPMT(ePtr< eTable< ProgramMapSection > > &ptr)
Definition: pmt.h:159
int getDataDemux(ePtr< iDVBDemux > &demux)
Definition: pmt.cpp:960
void getHBBTVUrl(std::string &ret) const
Definition: pmt.h:164
int getDemuxID() const
Definition: pmt.h:161
~eDVBServicePMTHandler()
Definition: pmt.cpp:54
sigc::signal1< void, int > serviceEvent
Definition: pmt.h:147
void removeCaHandler()
Definition: pmt.cpp:1224
int tune(eServiceReferenceDVB &ref, int use_decode_demux, eCueSheet *sg=0, bool simulate=false, eDVBService *service=0, serviceType type=livetv, bool descramble=true)
Definition: pmt.cpp:1036
eDVBServicePMTHandler()
Definition: pmt.cpp:37
void getAITApplications(std::map< int, std::string > &aitlist)
Definition: pmt.cpp:496
void getCaIds(std::vector< int > &caids, std::vector< int > &ecmpids, std::vector< std::string > &ecmdatabytes)
Definition: pmt.cpp:504
int getServiceReference(eServiceReferenceDVB &service)
Definition: pmt.h:157
void addCaHandler()
Definition: pmt.cpp:1210
PyObject * getHbbTVApplications()
Definition: pmt.cpp:519
void resetCachedProgram()
Definition: pmt.h:162
int getService(ePtr< eDVBService > &service)
Definition: pmt.h:158
Definition: rtspstreamserver.h:17
eDVBChannel * m_channel
Definition: rtspstreamserver.h:70
Definition: esection.h:41
name
Definition: newplugin.py:9
list ref
Definition: create_picon_e1_to_e2.py:17
std::list< HbbTVApplicationInfo * > HbbTVApplicationInfoList
Definition: pmt.h:61
HbbTVApplicationInfoList::const_iterator HbbTVApplicationInfoListConstIterator
Definition: pmt.h:63
HbbTVApplicationInfoList::iterator HbbTVApplicationInfoListIterator
Definition: pmt.h:62
Definition: pmtparse.h:71
Definition: dvb/scan.h:16