openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
idvb.h
Go to the documentation of this file.
1 #ifndef __dvb_idvb_h
2 #define __dvb_idvb_h
3 
4 #ifndef SWIG
5 
6 #include <linux/dvb/frontend.h>
7 #include <linux/dvb/version.h>
8 #include <linux/dvb/video.h>
9 #include <lib/base/object.h>
10 #include <lib/base/ebase.h>
11 #include <lib/base/elock.h>
12 #include <lib/base/itssource.h>
13 #include <lib/service/service.h>
14 #include <libsig_comp.h>
15 #include <connection.h>
16 
17 #define CAID_LIST std::list<uint16_t>
18 
19 #ifndef DMX_FILTER_SIZE
20 #define DMX_FILTER_SIZE 16
21 #endif
22 
24 {
25  int pid;
26  /* mode is 0 for positive, 1 for negative filtering */
28  enum
29  {
30  rfCRC=1,
31  rfNoAbort=2
32  };
33  int flags;
34 };
35 
37 {
39  int version;
40  int timeout; /* timeout in ms */
41  enum
42  {
43  tfInOrder = 1,
44  /*
45  tfAnyVersion filter ANY version
46  0 filter all EXCEPT given version (negative filtering)
47  tfThisVersion filter only THIS version
48  */
51  tfHaveTID = 8,
53  tfCheckCRC = 32,
56  tfHaveTIDExtMask= 256
57  };
58  int flags;
59 };
60 
61 struct eBouquet
62 {
63  std::string m_bouquet_name;
64  std::string m_filename; // without path.. just name
65  typedef std::list<eServiceReference> list;
67 // the following five methods are implemented in db.cpp
70  RESULT removeService(const eServiceReference &, bool renameBouquet=true);
71  RESULT moveService(const eServiceReference &, unsigned int);
72  RESULT setListName(const std::string &name);
73 };
74 
75 /* these structures have by intention no operator int() defined.
76  the reason of these structures is to avoid mixing for example
77  a onid and a tsid (as there's no general order for them).
78 
79  defining an operator int() would implicitely convert values
80  between them over the constructor with the int argument.
81 
82  'explicit' doesn't here - eTransportStreamID(eOriginalNetworkID(n))
83  would still work. */
84 
85 #endif // SWIG
86 
88 {
89 private:
90  int v;
91 public:
92  int get() const { return v; }
93  eTransportStreamID(int i): v(i) { }
94  eTransportStreamID(): v(-1) { }
95  bool operator == (const eTransportStreamID &c) const { return v == c.v; }
96  bool operator != (const eTransportStreamID &c) const { return v != c.v; }
97  bool operator < (const eTransportStreamID &c) const { return v < c.v; }
98  bool operator > (const eTransportStreamID &c) const { return v > c.v; }
99 };
100 
102 {
103 private:
104  int v;
105 public:
106  int get() const { return v; }
107  eServiceID(int i): v(i) { }
108  eServiceID(): v(-1) { }
109  bool operator == (const eServiceID &c) const { return v == c.v; }
110  bool operator != (const eServiceID &c) const { return v != c.v; }
111  bool operator < (const eServiceID &c) const { return v < c.v; }
112  bool operator > (const eServiceID &c) const { return v > c.v; }
113 };
114 
116 {
117 private:
118  int v;
119 public:
120  int get() const { return v; }
121  eOriginalNetworkID(int i): v(i) { }
122  eOriginalNetworkID(): v(-1) { }
123  bool operator == (const eOriginalNetworkID &c) const { return v == c.v; }
124  bool operator != (const eOriginalNetworkID &c) const { return v != c.v; }
125  bool operator < (const eOriginalNetworkID &c) const { return v < c.v; }
126  bool operator > (const eOriginalNetworkID &c) const { return v > c.v; }
127 };
128 
130 {
131 private:
132  int v;
133 public:
134  int get() const { return v; }
135  eDVBNamespace(int i): v(i) { }
136  eDVBNamespace(): v(-1) { }
137  bool operator == (const eDVBNamespace &c) const { return v == c.v; }
138  bool operator != (const eDVBNamespace &c) const { return v != c.v; }
139  bool operator < (const eDVBNamespace &c) const { return v < c.v; }
140  bool operator > (const eDVBNamespace &c) const { return v > c.v; }
141 };
142 
144 {
148 
149  std::string toString(void) const
150  {
151  char buf[30];
152  sprintf(buf, "%x:%x:%x", transport_stream_id.get(), original_network_id.get(), dvbnamespace.get());
153  return std::string(buf);
154  }
155 
156  bool operator==(const eDVBChannelID &c) const
157  {
158  return dvbnamespace == c.dvbnamespace &&
161  }
162 
163  bool operator<(const eDVBChannelID &c) const
164  {
165  if (dvbnamespace < c.dvbnamespace)
166  return 1;
167  else if (dvbnamespace == c.dvbnamespace)
168  {
170  return 1;
173  return 1;
174  }
175  return 0;
176  }
179  {
180  }
183  {
184  }
185  operator bool() const
186  {
187  return (dvbnamespace != -1) && (transport_stream_id != -1) && (original_network_id != -1);
188  }
189 };
190 
192 {
193 public:
195  {
198 
199  };
200 
201  // Service types (data[ref_service_type])
202  enum {
203  invalid = -1,
204  //0x00, // 0 reserved for future use
205  dTv = 0x01, // 1 digital television service (see note 1)
206  dRadio = 0x02, // 2 digital radio sound service (see note 2)
207  tText = 0x03, // 3 Teletext service
208  nvod = 0x04, // 4 NVOD reference service (see note 1)
209  nvodTs = 0x05, // 5 NVOD time - shifted service (see note 1)
210  mosaic = 0x06, // 6 mosaic service
211  radioFm = 0x07, // 7 FM radio service
212  dvbSrm = 0x08, // 8 DVB SRM service
213  //0x09, // 9 reserved for future use
214  dRadioAvc = 0x0A, // 10 advanced codec digital radio sound service
215  mosaicAvc = 0x0B, // 11 H.264/AVC mosaic service
216  datacast = 0x0C, // 12 data broadcast service
217  ci = 0x0D, // 13 reserved for Common Interface Usage (EN 50221)
218  rcsMap = 0x0E, // 14 RCS Map (see EN 301 790)
219  rcsFls = 0x0F, // 15 RCS FLS (see EN 301 790)
220  dvbMhp = 0x10, // 16 DVB MHP service
221  mpeg2HdTv = 0x11, // 17 MPEG-2 HD digital television service
222  //0x12, 18 to 0x15, 21 reserved for future use
223  avcSdTv = 0x16, // 22 H.264/AVC SD digital television service
224  nvodAvcSdTs = 0x17, // 23 H.264/AVC SD NVOD time - shifted service
225  nvodAvcSdRef = 0x18, // 24 H.264/AVC SD NVOD reference service
226  avcHdTv = 0x19, // 25 H.264/AVC HD digital television service
227  nvodAvcHdTs = 0x1A, // 26 H.264/AVC HD NVOD time - shifted service
228  nvodAvcHdRef = 0x1B, // 27 H.264/AVC HD NVOD reference service
229  avcHdStereo = 0x1C, // 28 H.264/AVC frame compatible plano - stereoscopic HD digital television service (see note 3)
230  nvodAvcHdStereoTs = 0x1D, // 29 H.264/AVC frame compatible plano - stereoscopic HD NVOD time - shifted service (see note 3)
231  nvodAvcHdStereoRef = 0x1E, // 30 H.264/AVC frame compatible plano - stereoscopic HD NVOD reference service (see note 3)
232  nvecTv = 0x1F, // 31 HEVC digital television service (see note 4)
233  nvecTv20 = 0x20, // 32 HEVC UHD digital television service with HDR and/or a frame rate of 100 Hz, 120 000/1 001 Hz, or 120 Hz, or any combination of HDR and these frame rates (see note 5)
234  //0x21, // 33 to 0x7F/127 reserved for future use
235  //0x80, //128 to 0xFE/254 user defined
236  user134 = 0x86, //134 ???
237  user195 = 0xC3, //195 ???
238  //0xFF, //255 reserved for future use
239  };
240 
241  int getServiceType() const { return data[ref_service_type]; }
243 
245  void setServiceID(eServiceID service_id) { data[ref_service_id]=service_id.get(); }
246 
248  void setTransportStreamID(eTransportStreamID transport_stream_id) { data[2]=transport_stream_id.get(); }
249 
251  void setOriginalNetworkID(eOriginalNetworkID original_network_id) { data[3]=original_network_id.get(); }
252 
254  void setDVBNamespace(eDVBNamespace dvbnamespace) { data[4]=dvbnamespace.get(); }
255 
257  void setParentServiceID( eServiceID sid ) { data[5]=sid.get(); }
258 
261 
262  int getSourceID() const { return data[7]; }
263  void setSourceID(int sourceid) { data[7] = sourceid; }
264 
266  {
267  eServiceReferenceDVB tmp(*this);
268  if (data[5] && data[6])
269  {
270  tmp.data[1] = data[5];
271  tmp.data[2] = data[6];
272  tmp.data[5] = tmp.data[6] = 0;
273  }
274  else
275  tmp.type = idInvalid;
276  return tmp;
277  }
278 
279  eServiceReferenceDVB(eDVBNamespace dvbnamespace, eTransportStreamID transport_stream_id, eOriginalNetworkID original_network_id, eServiceID service_id, int service_type, int source_id = 0)
281  {
282  setTransportStreamID(transport_stream_id);
283  setOriginalNetworkID(original_network_id);
284  setDVBNamespace(dvbnamespace);
285  setServiceID(service_id);
287  setSourceID(source_id);
288  }
289 
290  void set(const eDVBChannelID &chid)
291  {
295  }
296 
297  void getChannelID(eDVBChannelID &chid) const
298  {
300  }
301 
304  {
305  }
306 
307  eServiceReferenceDVB(const std::string &string)
308  :eServiceReference(string)
309  {
310  }
311 };
312 
313 #ifndef SWIG
314 
316 
317 #include <set>
318 // btw, still implemented in db.cpp. FIX THIS, TOO.
319 
320 class eDVBChannelQuery;
321 
323 {
324  DECLARE_REF(eDVBService);
325  int *m_cache;
326  void initCache();
327  void copyCache(int *source);
328 public:
329  enum cacheID
330  {
336  };
337 
338  static const cacheID audioCacheTags[];
339  static const int nAudioCacheTags;
340  int getCacheEntry(cacheID);
341  void setCacheEntry(cacheID, int);
342 
343  bool cacheEmpty();
344  bool cacheAudioEmpty();
345 
346  eDVBService();
347  /* m_service_name_sort is uppercase, with special chars removed, to increase sort performance. */
349  std::string m_provider_name;
350  std::string m_default_authority;
351  uint32_t m_aus_da_flag;
352 
353  void genSortName();
354 
355  int m_flags;
356  enum
357  {
358  dxNoSDT=1, // don't get SDT
360  dxNoDVB=4, // dont use PMT for this service ( use cached pids )
368  dxNoEIT=4096,
369  };
370 
371  bool usePMT() const { return !(m_flags & dxNoDVB); }
372  bool isHidden() const { return (m_flags & dxDontshow || m_flags & dxIsParentalProtected); }
373  bool isDedicated3D() const { return m_flags & dxIsDedicated3D; }
374  bool doHideVBI() const { return m_flags & dxHideVBI; }
375  bool doCenterDVBSubs() const { return m_flags & dxCenterDVBSubs; }
376  bool useEIT() const { return !(m_flags & dxNoEIT); }
377 
379 
380  virtual ~eDVBService();
381 
383 
384  // iStaticServiceInformation
385  RESULT getName(const eServiceReference &ref, std::string &name);
387  bool isCrypted();
388  int isPlayable(const eServiceReference &ref, const eServiceReference &ignore, bool simulate=false);
390 
391  /* for filtering: */
392  int checkFilter(const eServiceReferenceDVB &ref, const eDVBChannelQuery &query);
393 };
394 
396 
397 class iDVBChannel;
398 class iDVBDemux;
400 
402 {
403 public:
405  virtual int compareLessEqual(const eServiceReferenceDVB &a, const eServiceReferenceDVB &b)=0;
406 };
407 
409 {
410  DECLARE_REF(eDVBChannelQuery);
411 public:
412  enum
413  {
423  tFlags
424  };
425 
426  int m_type;
428 
429  std::string m_string;
430  int m_int;
432 
433  /* sort is only valid in root, and must be from the enum above. */
434  int m_sort;
435  std::string m_bouquet_name;
436 
437  static RESULT compile(ePtr<eDVBChannelQuery> &res, std::string query);
438 
440 };
441 
443 {
444 public:
446  virtual RESULT removeServices(eDVBChannelID chid=eDVBChannelID(), unsigned int orb_pos=0xFFFFFFFF)=0;
447  virtual RESULT removeServices(int dvb_namespace=-1, int tsid=-1, int onid=-1, unsigned int orb_pos=0xFFFFFFFF)=0;
449  virtual RESULT addFlag(const eServiceReference &service, unsigned int flagmask=0xFFFFFFFF)=0;
450  virtual RESULT removeFlag(const eServiceReference &service, unsigned int flagmask=0xFFFFFFFF)=0;
451  virtual RESULT removeFlags(unsigned int flagmask, eDVBChannelID chid=eDVBChannelID(), unsigned int orb_pos=0xFFFFFFFF)=0;
452  virtual RESULT removeFlags(unsigned int flagmask, int dvb_namespace=-1, int tsid=-1, int onid=-1, unsigned int orb_pos=0xFFFFFFFF)=0;
454  virtual RESULT removeChannel(const eDVBChannelID &id)=0;
455 
457 
460  virtual RESULT flush()=0;
461 
462  virtual RESULT getBouquet(const eServiceReference &ref, eBouquet* &bouquet)=0;
463 
465 };
466 
467 #endif // SWIG
468 
473 
475 {
476 #ifdef SWIG
477 public:
480 private:
481 #endif
482 public:
483  enum { flagOnlyFree = 1 };
484  virtual SWIG_VOID(RESULT) getSystem(int &SWIG_OUTPUT) const = 0;
485  virtual SWIG_VOID(RESULT) getSystems(int &SWIG_OUTPUT) const = 0;
490  virtual SWIG_VOID(RESULT) getFlags(unsigned int &SWIG_OUTPUT) const = 0;
492 #ifndef SWIG
493  virtual SWIG_VOID(RESULT) calculateDifference(const iDVBFrontendParameters *parm, int &, bool exact) const = 0;
494  virtual SWIG_VOID(RESULT) getHash(unsigned long &) const = 0;
495  virtual SWIG_VOID(RESULT) calcLockTimeout(unsigned int &) const = 0;
496 #endif
497 };
499 
500 #define MAX_DISEQC_LENGTH 16
501 
503 {
504 #ifndef SWIG
505 public:
506 #endif
507  int len;
509 #ifdef SWIG
510 public:
511 #endif
512  void setCommandString(const char *str);
513 };
514 
516 class eSecCommandList;
517 
519 {
520 #ifdef SWIG
523 #endif
524 public:
525  enum { dvb_api_version = DVB_API_VERSION };
528  enum { toneOff, toneOn };
530 };
531 
533 {
534 public:
535  virtual int getState() const = 0;
536  virtual std::string getStateDescription() const = 0;
537  virtual int getLocked() const = 0;
538  virtual int getSynced() const = 0;
539  virtual int getBER() const = 0;
540  virtual int getSNR() const = 0;
541  virtual int getSNRdB() const = 0;
542  virtual int getSignalPower() const = 0;
543 };
544 
546 {
547 public:
548  virtual std::string getTunerType() const = 0;
549  virtual int getInversion() const = 0;
550  virtual int getFrequency() const = 0;
551  virtual int getSymbolRate() const = 0;
552  virtual int getOrbitalPosition() const = 0;
553  virtual int getFecInner() const = 0;
554  virtual int getModulation() const = 0;
555  virtual int getPolarization() const = 0;
556  virtual int getRolloff() const = 0;
557  virtual int getPilot() const = 0;
558  virtual int getSystem() const = 0;
559  virtual int getSystems() const = 0;
560  virtual int getIsId() const = 0;
561  virtual int getPLSMode() const = 0;
562  virtual int getPLSCode() const = 0;
563  virtual int getT2MIPlpId() const = 0;
564  virtual int getT2MIPid() const = 0;
565  virtual int getBandwidth() const = 0;
566  virtual int getCodeRateLp() const = 0;
567  virtual int getCodeRateHp() const = 0;
568  virtual int getConstellation() const = 0;
569  virtual int getTransmissionMode() const = 0;
570  virtual int getGuardInterval() const = 0;
571  virtual int getHierarchyInformation() const = 0;
572  virtual int getPlpId() const = 0;
573 };
574 
576 {
577 public:
578  virtual int getNumber() const = 0;
579  virtual std::string getTypeDescription() const = 0;
580 };
581 
583 {
584 public:
585  virtual RESULT tune(const iDVBFrontendParameters &where, bool blindscan = false)=0;
586  virtual int closeFrontend(bool force = false, bool no_delayed = false)=0;
587  virtual void reopenFrontend()=0;
588 #ifndef SWIG
589  virtual RESULT connectStateChange(const sigc::slot1<void,iDVBFrontend*> &stateChange, ePtr<eConnection> &connection)=0;
590 #endif
591  virtual RESULT getState(int &SWIG_OUTPUT)=0;
592  virtual RESULT setTone(int tone)=0;
593  virtual RESULT setVoltage(int voltage)=0;
594  virtual RESULT sendDiseqc(const eDVBDiseqcCommand &diseqc)=0;
595  virtual RESULT sendToneburst(int burst)=0;
596 #ifndef SWIG
600 #endif
601  virtual int readFrontendData(int type)=0;
603  virtual void getTransponderData(ePtr<iDVBTransponderData> &dest, bool original)=0;
605 #ifndef SWIG
606  virtual int getDVBID() = 0;
607  virtual RESULT getData(int num, long &data)=0;
608  virtual RESULT setData(int num, long val)=0;
609  /* 0 means: not compatible. other values are a priority. */
611 #endif
612  virtual bool changeType(int type)=0;
613  virtual int getCurrentType()=0;
614  virtual void overrideType(int type)=0; //workaraound for dvb api < 5
615 
616 };
618 
619 #ifndef SWIG
621 {
622 public:
623  virtual RESULT prepare(iDVBFrontend &frontend, const eDVBFrontendParametersSatellite &sat, int &frequency, int frontend_id, unsigned int timeout)=0;
624  virtual void prepareTurnOffSatCR(iDVBFrontend &frontend)=0;
625  virtual int canTune(const eDVBFrontendParametersSatellite &feparm, iDVBFrontend *fe, int frontend_id, int *highest_score_lnb=0)=0;
626  virtual void setRotorMoving(int slotid, bool)=0;
627 };
628 
630 {
631  int enabled;
632 };
633 #endif // SWIG
634 
636 class iDVBChannel: public iObject
637 {
638 public:
639  /* direct frontend access for raw channels and/or status inquiries. */
640  virtual SWIG_VOID(RESULT) getFrontend(ePtr<iDVBFrontend> &SWIG_OUTPUT)=0;
641  virtual RESULT requestTsidOnid() { return -1; }
643  virtual int reserveDemux() { return -1; }
644  virtual int getDvrId() { return -1; }
645 #ifndef SWIG
646  enum
647  {
648  state_idle, /* not yet tuned */
649  state_tuning, /* currently tuning (first time) */
650  state_failed, /* tuning failed. */
651  state_unavailable, /* currently unavailable, will be back without further interaction */
652  state_ok, /* ok */
653  state_last_instance, /* just one reference to this channel is left */
654  state_release /* channel is being shut down. */
655  };
656  virtual RESULT getState(int &)=0;
657 
659  enum
660  {
662  };
663  virtual RESULT connectStateChange(const sigc::slot1<void,iDVBChannel*> &stateChange, ePtr<eConnection> &connection)=0;
664  virtual RESULT connectEvent(const sigc::slot2<void,iDVBChannel*,int> &eventChange, ePtr<eConnection> &connection)=0;
665 
666  /* demux capabilities */
667  enum
668  {
670  /* capCI = 2 */
671  };
672  virtual RESULT setCIRouting(const eDVBCIRouting &routing)=0;
673  virtual RESULT getDemux(ePtr<iDVBDemux> &demux, int cap=0)=0;
674 
675  /* use count handling */
676  virtual void AddUse() = 0;
677  virtual void ReleaseUse() = 0;
678 #endif
679 };
681 
682 #ifndef SWIG
683  /* signed, so we can express deltas. */
684 
685 typedef long long pts_t;
686 
688 class iTSMPEGDecoder;
689 
690  /* note that a cue sheet describes the logical positions. thus
691  everything is specified in pts and not file positions */
692 
693  /* implemented in dvb.cpp */
694 class eCueSheet: public iObject, public sigc::trackable
695 {
696  DECLARE_REF(eCueSheet);
697 public:
698  eCueSheet();
699 
700  /* frontend */
701  void seekTo(int relative, const pts_t &pts);
702 
703  void clear();
704  void addSourceSpan(const pts_t &begin, const pts_t &end);
705  void commitSpans();
706 
707  void setSkipmode(const pts_t &ratio); /* 90000 is 1:1 */
709 
710  /* frontend and backend */
712 
713  /* backend */
715  RESULT connectEvent(const sigc::slot1<void, int> &event, ePtr<eConnection> &connection);
716 
717  std::list<std::pair<pts_t,pts_t> > m_spans; /* begin, end */
718  std::list<std::pair<int, pts_t> > m_seek_requests; /* relative, delta */
720  sigc::signal1<void,int> m_event;
723 };
724 
726 {
727 public:
728  enum
729  {
730  state_eof = state_release + 1 /* end-of-file reached. */
731  };
732 
733  virtual RESULT playFile(const char *file) = 0;
734  virtual RESULT playSource(ePtr<iTsSource> &source, const char *priv=NULL) = 0;
735  virtual void stop() = 0;
736 
737  virtual void setCueSheet(eCueSheet *cuesheet) = 0;
738  virtual void setOfflineDecodeMode(int parityswitchdelay) = 0;
739 
740  virtual RESULT getLength(pts_t &pts) = 0;
741 
742  /* we explicitely ask for the decoding demux here because a channel
743  can be shared between multiple decoders.
744  */
745  virtual RESULT getCurrentPosition(iDVBDemux *decoding_demux, pts_t &pos, int mode) = 0;
746  /* skipping must be done with a cue sheet */
747 };
748 
749 class iDVBSectionReader;
750 class iDVBPESReader;
751 class iDVBTSRecorder;
752 class iTSMPEGDecoder;
753 
754 class iDVBDemux: public iObject
755 {
756 public:
759  virtual RESULT createTSRecorder(ePtr<iDVBTSRecorder> &recorder, unsigned int packetsize = 188, bool streaming=false)=0;
761  virtual RESULT getSTC(pts_t &pts, int num=0)=0;
762  virtual RESULT getCADemuxID(uint8_t &id)=0;
763  virtual RESULT getCAAdapterID(uint8_t &id)=0;
764  virtual RESULT flush()=0;
765  virtual int openDVR(int flags)=0;
766  virtual int getSource()=0;
767 };
768 
769 class iTSMPEGDecoder: public iObject
770 {
771 public:
772  enum { pidDisabled = -1 };
774  virtual RESULT setVideoPID(int vpid, int type)=0;
775 
778  virtual RESULT setAudioPID(int apid, int type)=0;
779 
782  virtual RESULT setAudioChannel(int channel)=0;
783  virtual int getAudioChannel()=0;
784 
785  virtual RESULT setPCMDelay(int delay)=0;
786  virtual int getPCMDelay()=0;
787  virtual RESULT setAC3Delay(int delay)=0;
788  virtual int getAC3Delay()=0;
789 
791  virtual RESULT setTextPID(int vpid)=0;
792 
794  virtual RESULT setSyncPCR(int pcrpid)=0;
795  enum { sm_Audio, sm_Video };
797  virtual RESULT setSyncMaster(int who)=0;
798 
800  virtual RESULT set()=0;
801  /* all those apply settings, then transition to the given state */
802 
804  virtual RESULT play()=0;
806  virtual RESULT pause()=0;
807 
809  virtual RESULT setFastForward(int skip=0)=0;
810 
812  virtual RESULT setSlowMotion(int repeat)=0;
813 
815  virtual RESULT setTrickmode()=0;
816 
817  virtual RESULT prepareFCC(int fe_id, int vpid, int vtype, int pcrpid)=0;
818 
819  virtual RESULT fccDecoderStart()=0;
820 
821  virtual RESULT fccDecoderStop()=0;
822 
823  virtual RESULT fccUpdatePids(int fe_id, int vpid, int vtype, int pcrpid)=0;
824 
825  virtual RESULT getPTS(int what, pts_t &pts) = 0;
826 
827  virtual RESULT showSinglePic(const char *filename) = 0;
828 
829  virtual RESULT setRadioPic(const std::string &filename) = 0;
830 
831  struct videoEvent
832  {
833  enum { eventUnknown = 0,
834  eventSizeChanged = VIDEO_EVENT_SIZE_CHANGED,
835  eventFrameRateChanged = VIDEO_EVENT_FRAME_RATE_CHANGED,
837  eventGammaChanged = 17
838  } type;
839  unsigned char aspect;
840  unsigned short height;
841  unsigned short width;
843  unsigned short framerate;
844  unsigned short gamma;
845  };
846 
847  virtual RESULT connectVideoEvent(const sigc::slot1<void, struct videoEvent> &event, ePtr<eConnection> &connection) = 0;
848 
849  virtual int getVideoWidth() = 0;
850  virtual int getVideoHeight() = 0;
851  virtual int getVideoProgressive() = 0;
852  virtual int getVideoFrameRate() = 0;
853  virtual int getVideoAspect() = 0;
854  virtual int getVideoGamma() = 0;
855 };
856 
857 #endif //SWIG
858 #endif
static int ptr
Definition: bcm.cpp:17
long long pts_t
Definition: cfile.h:7
Definition: idvb.h:695
@ evtSeek
Definition: idvb.h:714
@ evtSkipmode
Definition: idvb.h:714
@ evtSpanChanged
Definition: idvb.h:714
RESULT connectEvent(const sigc::slot1< void, int > &event, ePtr< eConnection > &connection)
Definition: dvb.cpp:2795
std::list< std::pair< pts_t, pts_t > > m_spans
Definition: idvb.h:717
sigc::signal1< void, int > m_event
Definition: idvb.h:720
eRdWrLock m_lock
Definition: idvb.h:711
void clear()
Definition: dvb.cpp:2761
pts_t m_skipmode_ratio
Definition: idvb.h:719
void setDecodingDemux(iDVBDemux *demux, iTSMPEGDecoder *decoder)
Definition: dvb.cpp:2789
ePtr< iDVBDemux > m_decoding_demux
Definition: idvb.h:721
void commitSpans()
Definition: dvb.cpp:2776
void setSkipmode(const pts_t &ratio)
Definition: dvb.cpp:2781
eCueSheet()
Definition: dvb.cpp:2748
void seekTo(int relative, const pts_t &pts)
Definition: dvb.cpp:2753
void addSourceSpan(const pts_t &begin, const pts_t &end)
Definition: dvb.cpp:2768
ePtr< iTSMPEGDecoder > m_decoder
Definition: idvb.h:722
std::list< std::pair< int, pts_t > > m_seek_requests
Definition: idvb.h:718
Definition: idvb.h:409
ePtr< eDVBChannelQuery > m_p1
Definition: idvb.h:439
std::string m_bouquet_name
Definition: idvb.h:435
static RESULT compile(ePtr< eDVBChannelQuery > &res, std::string query)
Definition: db.cpp:2867
int m_inverse
Definition: idvb.h:427
eDVBChannelID m_channelid
Definition: idvb.h:431
ePtr< eDVBChannelQuery > m_p2
Definition: idvb.h:439
@ tAND
Definition: idvb.h:420
@ tFlags
Definition: idvb.h:423
@ tOR
Definition: idvb.h:421
@ tSatellitePosition
Definition: idvb.h:418
@ tBouquet
Definition: idvb.h:417
@ tProvider
Definition: idvb.h:415
@ tType
Definition: idvb.h:416
@ tChannelID
Definition: idvb.h:419
@ tName
Definition: idvb.h:414
@ tAny
Definition: idvb.h:422
int m_type
Definition: idvb.h:426
int m_sort
Definition: idvb.h:434
int m_int
Definition: idvb.h:430
std::string m_string
Definition: idvb.h:429
Definition: idvb.h:503
int len
Definition: idvb.h:507
uint8_t data[MAX_DISEQC_LENGTH]
Definition: idvb.h:508
void setCommandString(const char *str)
Definition: frontend.cpp:66
Definition: frontendparms.h:166
Definition: frontendparms.h:78
Definition: frontendparms.h:20
Definition: frontendparms.h:109
Definition: idvb.h:323
bool cacheEmpty()
Definition: db.cpp:373
std::string m_provider_name
Definition: idvb.h:349
CAID_LIST m_ca
Definition: idvb.h:378
int checkFilter(const eServiceReferenceDVB &ref, const eDVBChannelQuery &query)
Definition: db.cpp:292
bool doHideVBI() const
Definition: idvb.h:374
int isPlayable(const eServiceReference &ref, const eServiceReference &ignore, bool simulate=false)
Definition: db.cpp:234
static const int nAudioCacheTags
Definition: idvb.h:339
bool cacheAudioEmpty()
Definition: db.cpp:382
eDVBService & operator=(const eDVBService &)
Definition: db.cpp:180
ePtr< iDVBTransponderData > getTransponderData(const eServiceReference &ref)
Definition: servicedvb.cpp:3732
static const cacheID audioCacheTags[]
Definition: idvb.h:338
RESULT getEvent(const eServiceReference &ref, ePtr< eServiceEvent > &ptr, time_t start_time)
Definition: db.cpp:224
eDVBService()
Definition: db.cpp:170
bool doCenterDVBSubs() const
Definition: idvb.h:375
bool isCrypted()
Definition: db.cpp:229
RESULT getName(const eServiceReference &ref, std::string &name)
Definition: db.cpp:213
cacheID
Definition: idvb.h:330
@ cVTYPE
Definition: idvb.h:332
@ cTPID
Definition: idvb.h:331
@ cacheMax
Definition: idvb.h:335
@ cDTSHDPID
Definition: idvb.h:334
@ cDRAAPID
Definition: idvb.h:335
@ cSUBTITLE
Definition: idvb.h:333
@ cAACAPID
Definition: idvb.h:333
@ cAC3PID
Definition: idvb.h:331
@ cAACHEAPID
Definition: idvb.h:333
@ cACHANNEL
Definition: idvb.h:332
@ cVPID
Definition: idvb.h:331
@ cDTSPID
Definition: idvb.h:333
@ cAC3DELAY
Definition: idvb.h:332
@ cAC4PID
Definition: idvb.h:335
@ cDDPPID
Definition: idvb.h:333
@ cMPEGAPID
Definition: idvb.h:331
@ cPMTPID
Definition: idvb.h:335
@ cDATAPID
Definition: idvb.h:335
@ cLPCMPID
Definition: idvb.h:334
@ cPCMDELAY
Definition: idvb.h:332
@ cPCRPID
Definition: idvb.h:331
void genSortName()
Definition: db.cpp:193
std::string m_default_authority
Definition: idvb.h:350
int m_flags
Definition: idvb.h:355
std::string m_service_name
Definition: idvb.h:348
@ dxDontshow
Definition: idvb.h:359
@ dxIsDedicated3D
Definition: idvb.h:363
@ dxHideVBI
Definition: idvb.h:365
@ dxNoSDT
Definition: idvb.h:358
@ dxNoEIT
Definition: idvb.h:368
@ dxCenterDVBSubs
Definition: idvb.h:367
@ dxIsScrambledPMT
Definition: idvb.h:366
@ dxHoldName
Definition: idvb.h:361
@ dxIsParentalProtected
Definition: idvb.h:364
@ dxNoDVB
Definition: idvb.h:360
@ dxNewFound
Definition: idvb.h:362
bool usePMT() const
Definition: idvb.h:371
void setCacheEntry(cacheID, int)
Definition: db.cpp:419
std::string m_service_name_sort
Definition: idvb.h:348
virtual ~eDVBService()
Definition: db.cpp:175
bool useEIT() const
Definition: idvb.h:376
bool isDedicated3D() const
Definition: idvb.h:373
int getCacheEntry(cacheID)
Definition: db.cpp:412
bool isHidden() const
Definition: idvb.h:372
uint32_t m_aus_da_flag
Definition: idvb.h:351
Definition: ebase.h:187
Definition: elock.h:22
Definition: sec.h:96
Definition: idvb.h:192
eServiceReferenceDVB getParentServiceReference() const
Definition: idvb.h:265
void setServiceID(eServiceID service_id)
Definition: idvb.h:245
void setParentServiceID(eServiceID sid)
Definition: idvb.h:257
eServiceReferenceDVB(const std::string &string)
Definition: idvb.h:307
eServiceReferenceDVB()
Definition: idvb.h:302
@ dvbMhp
Definition: idvb.h:220
@ avcHdStereo
Definition: idvb.h:229
@ mosaic
Definition: idvb.h:210
@ nvodAvcSdRef
Definition: idvb.h:225
@ radioFm
Definition: idvb.h:211
@ nvecTv
Definition: idvb.h:232
@ user134
Definition: idvb.h:236
@ dRadio
Definition: idvb.h:206
@ rcsFls
Definition: idvb.h:219
@ invalid
Definition: idvb.h:203
@ nvecTv20
Definition: idvb.h:233
@ dTv
Definition: idvb.h:205
@ nvodTs
Definition: idvb.h:209
@ avcHdTv
Definition: idvb.h:226
@ nvodAvcSdTs
Definition: idvb.h:224
@ mosaicAvc
Definition: idvb.h:215
@ nvodAvcHdTs
Definition: idvb.h:227
@ avcSdTv
Definition: idvb.h:223
@ nvodAvcHdStereoTs
Definition: idvb.h:230
@ user195
Definition: idvb.h:237
@ mpeg2HdTv
Definition: idvb.h:221
@ datacast
Definition: idvb.h:216
@ nvodAvcHdRef
Definition: idvb.h:228
@ rcsMap
Definition: idvb.h:218
@ ci
Definition: idvb.h:217
@ tText
Definition: idvb.h:207
@ dvbSrm
Definition: idvb.h:212
@ nvodAvcHdStereoRef
Definition: idvb.h:231
@ nvod
Definition: idvb.h:208
@ dRadioAvc
Definition: idvb.h:214
eOriginalNetworkID getOriginalNetworkID() const
Definition: idvb.h:250
int getSourceID() const
Definition: idvb.h:262
void setServiceType(int service_type)
Definition: idvb.h:242
void setTransportStreamID(eTransportStreamID transport_stream_id)
Definition: idvb.h:248
void setOriginalNetworkID(eOriginalNetworkID original_network_id)
Definition: idvb.h:251
eDVBNamespace getDVBNamespace() const
Definition: idvb.h:253
eServiceID getServiceID() const
Definition: idvb.h:244
void setSourceID(int sourceid)
Definition: idvb.h:263
eServiceID getParentServiceID() const
Definition: idvb.h:256
eTransportStreamID getParentTransportStreamID() const
Definition: idvb.h:259
void getChannelID(eDVBChannelID &chid) const
Definition: idvb.h:297
eTransportStreamID getTransportStreamID() const
Definition: idvb.h:247
void setDVBNamespace(eDVBNamespace dvbnamespace)
Definition: idvb.h:254
int getServiceType() const
Definition: idvb.h:241
eServiceReferenceDVB(eDVBNamespace dvbnamespace, eTransportStreamID transport_stream_id, eOriginalNetworkID original_network_id, eServiceID service_id, int service_type, int source_id=0)
Definition: idvb.h:279
service_ref
Definition: idvb.h:195
@ ref_service_id
Definition: idvb.h:197
@ ref_service_type
Definition: idvb.h:196
void set(const eDVBChannelID &chid)
Definition: idvb.h:290
void setParentTransportStreamID(eTransportStreamID tsid)
Definition: idvb.h:260
Definition: iservice.h:15
int data[8]
Definition: iservice.h:63
int type
Definition: iservice.h:34
@ noFlags
Definition: iservice.h:38
@ idInvalid
Definition: iservice.h:20
@ idDVB
Definition: iservice.h:22
Definition: idvb.h:637
@ capDecode
Definition: idvb.h:669
@ state_failed
Definition: idvb.h:650
@ state_ok
Definition: idvb.h:652
@ state_last_instance
Definition: idvb.h:653
@ state_tuning
Definition: idvb.h:649
@ state_unavailable
Definition: idvb.h:651
@ state_idle
Definition: idvb.h:648
@ state_release
Definition: idvb.h:654
virtual void AddUse()=0
virtual RESULT getCurrentFrontendParameters(ePtr< iDVBFrontendParameters > &)=0
virtual RESULT connectEvent(const sigc::slot2< void, iDVBChannel *, int > &eventChange, ePtr< eConnection > &connection)=0
virtual RESULT getDemux(ePtr< iDVBDemux > &demux, int cap=0)=0
virtual void ReleaseUse()=0
virtual RESULT getState(int &)=0
virtual SWIG_VOID(RESULT) getFrontend(ePtr< iDVBFrontend > &SWIG_OUTPUT)=0
virtual int reserveDemux()
Definition: idvb.h:643
PSignal2< void, int, int > receivedTsidOnid
Definition: idvb.h:642
@ evtEOF
Definition: idvb.h:661
@ evtPreStart
Definition: idvb.h:661
@ evtStopped
Definition: idvb.h:661
@ evtFailed
Definition: idvb.h:661
@ evtSOF
Definition: idvb.h:661
virtual int getDvrId()
Definition: idvb.h:644
virtual RESULT requestTsidOnid()
Definition: idvb.h:641
virtual RESULT setCIRouting(const eDVBCIRouting &routing)=0
virtual RESULT connectStateChange(const sigc::slot1< void, iDVBChannel * > &stateChange, ePtr< eConnection > &connection)=0
Definition: idvb.h:443
virtual RESULT addChannelToList(const eDVBChannelID &id, iDVBFrontendParameters *feparm)=0
virtual RESULT startQuery(ePtr< iDVBChannelListQuery > &query, eDVBChannelQuery *q, const eServiceReference &source)=0
virtual RESULT addFlag(const eServiceReference &service, unsigned int flagmask=0xFFFFFFFF)=0
virtual RESULT removeService(const eServiceReference &service)=0
virtual RESULT removeFlags(unsigned int flagmask, int dvb_namespace=-1, int tsid=-1, int onid=-1, unsigned int orb_pos=0xFFFFFFFF)=0
virtual RESULT addService(const eServiceReferenceDVB &reference, eDVBService *service)=0
virtual RESULT flush()=0
virtual RESULT removeServices(int dvb_namespace=-1, int tsid=-1, int onid=-1, unsigned int orb_pos=0xFFFFFFFF)=0
virtual RESULT removeFlag(const eServiceReference &service, unsigned int flagmask=0xFFFFFFFF)=0
virtual RESULT getChannelFrontendData(const eDVBChannelID &id, ePtr< iDVBFrontendParameters > &parm)=0
virtual RESULT removeServices(eDVBChannelID chid=eDVBChannelID(), unsigned int orb_pos=0xFFFFFFFF)=0
virtual RESULT getService(const eServiceReferenceDVB &reference, ePtr< eDVBService > &service)=0
virtual RESULT removeServices(iDVBFrontendParameters *feparm)=0
virtual RESULT removeFlags(unsigned int flagmask, eDVBChannelID chid=eDVBChannelID(), unsigned int orb_pos=0xFFFFFFFF)=0
virtual RESULT removeChannel(const eDVBChannelID &id)=0
virtual RESULT getBouquet(const eServiceReference &ref, eBouquet *&bouquet)=0
Definition: idvb.h:402
virtual RESULT getNextResult(eServiceReferenceDVB &ref)=0
virtual int compareLessEqual(const eServiceReferenceDVB &a, const eServiceReferenceDVB &b)=0
Definition: idvb.h:755
virtual RESULT getSTC(pts_t &pts, int num=0)=0
virtual RESULT createSectionReader(eMainloop *context, ePtr< iDVBSectionReader > &reader)=0
virtual RESULT getCADemuxID(uint8_t &id)=0
virtual int openDVR(int flags)=0
virtual RESULT flush()=0
virtual RESULT createTSRecorder(ePtr< iDVBTSRecorder > &recorder, unsigned int packetsize=188, bool streaming=false)=0
virtual RESULT createPESReader(eMainloop *context, ePtr< iDVBPESReader > &reader)=0
virtual RESULT getMPEGDecoder(ePtr< iTSMPEGDecoder > &reader, int index=0)=0
virtual int getSource()=0
virtual RESULT getCAAdapterID(uint8_t &id)=0
Definition: idvb.h:519
@ toneOn
Definition: idvb.h:528
@ toneOff
Definition: idvb.h:528
@ stateFailed
Definition: idvb.h:527
@ stateIdle
Definition: idvb.h:527
@ stateLock
Definition: idvb.h:527
@ stateTuning
Definition: idvb.h:527
@ stateClosed
Definition: idvb.h:527
@ stateLostLock
Definition: idvb.h:527
@ voltageOff
Definition: idvb.h:529
@ voltage18_5
Definition: idvb.h:529
@ voltage13_5
Definition: idvb.h:529
@ voltage13
Definition: idvb.h:529
@ voltage18
Definition: idvb.h:529
@ feCable
Definition: idvb.h:526
@ feSatellite
Definition: idvb.h:526
@ feATSC
Definition: idvb.h:526
@ feTerrestrial
Definition: idvb.h:526
@ dvb_api_version
Definition: idvb.h:525
Definition: idvb.h:576
virtual std::string getTypeDescription() const =0
virtual int getNumber() const =0
Definition: idvb.h:583
virtual int getCurrentType()=0
virtual void reopenFrontend()=0
virtual RESULT setSecSequence(eSecCommandList &list, iDVBFrontend *fe)=0
virtual bool changeType(int type)=0
virtual RESULT setSEC(iDVBSatelliteEquipmentControl *sec)=0
virtual RESULT getData(int num, long &data)=0
virtual void getFrontendStatus(ePtr< iDVBFrontendStatus > &dest)=0
virtual int readFrontendData(int type)=0
virtual void getFrontendData(ePtr< iDVBFrontendData > &dest)=0
virtual int getDVBID()=0
virtual RESULT connectStateChange(const sigc::slot1< void, iDVBFrontend * > &stateChange, ePtr< eConnection > &connection)=0
virtual RESULT setVoltage(int voltage)=0
virtual int isCompatibleWith(ePtr< iDVBFrontendParameters > &feparm)=0
virtual RESULT sendDiseqc(const eDVBDiseqcCommand &diseqc)=0
virtual void getTransponderData(ePtr< iDVBTransponderData > &dest, bool original)=0
virtual RESULT getState(int &SWIG_OUTPUT)=0
virtual RESULT tune(const iDVBFrontendParameters &where, bool blindscan=false)=0
virtual RESULT setTone(int tone)=0
virtual RESULT sendToneburst(int burst)=0
virtual RESULT setSecSequence(eSecCommandList &list)=0
virtual int closeFrontend(bool force=false, bool no_delayed=false)=0
virtual RESULT setData(int num, long val)=0
virtual void overrideType(int type)=0
Definition: idvb.h:475
virtual SWIG_VOID(RESULT) getSystem(int &SWIG_OUTPUT) const =0
@ flagOnlyFree
Definition: idvb.h:483
virtual SWIG_VOID(RESULT) getDVBT(eDVBFrontendParametersTerrestrial &SWIG_OUTPUT) const =0
virtual SWIG_VOID(RESULT) getATSC(eDVBFrontendParametersATSC &SWIG_OUTPUT) const =0
virtual SWIG_VOID(RESULT) getDVBC(eDVBFrontendParametersCable &SWIG_OUTPUT) const =0
virtual SWIG_VOID(RESULT) getHash(unsigned long &) const =0
virtual SWIG_VOID(RESULT) calcLockTimeout(unsigned int &) const =0
virtual SWIG_VOID(RESULT) getFlags(unsigned int &SWIG_OUTPUT) const =0
virtual SWIG_VOID(RESULT) getDVBS(eDVBFrontendParametersSatellite &SWIG_OUTPUT) const =0
virtual SWIG_VOID(RESULT) getSystems(int &SWIG_OUTPUT) const =0
virtual RESULT setDVBT(const eDVBFrontendParametersTerrestrial &p)=0
Definition: idvb.h:533
virtual int getSNRdB() const =0
virtual std::string getStateDescription() const =0
virtual int getSignalPower() const =0
virtual int getSNR() const =0
virtual int getLocked() const =0
virtual int getBER() const =0
virtual int getSynced() const =0
virtual int getState() const =0
Definition: idemux.h:17
Definition: idvb.h:726
virtual void setCueSheet(eCueSheet *cuesheet)=0
virtual void stop()=0
virtual void setOfflineDecodeMode(int parityswitchdelay)=0
@ state_eof
Definition: idvb.h:730
virtual RESULT getLength(pts_t &pts)=0
virtual RESULT playFile(const char *file)=0
virtual RESULT getCurrentPosition(iDVBDemux *decoding_demux, pts_t &pos, int mode)=0
virtual RESULT playSource(ePtr< iTsSource > &source, const char *priv=NULL)=0
Definition: idvb.h:621
virtual void prepareTurnOffSatCR(iDVBFrontend &frontend)=0
virtual int canTune(const eDVBFrontendParametersSatellite &feparm, iDVBFrontend *fe, int frontend_id, int *highest_score_lnb=0)=0
virtual void setRotorMoving(int slotid, bool)=0
virtual RESULT prepare(iDVBFrontend &frontend, const eDVBFrontendParametersSatellite &sat, int &frequency, int frontend_id, unsigned int timeout)=0
Definition: idemux.h:7
Definition: idemux.h:29
Definition: idvb.h:546
virtual int getConstellation() const =0
virtual int getPilot() const =0
virtual int getT2MIPlpId() const =0
virtual int getSystems() const =0
virtual int getTransmissionMode() const =0
virtual int getSymbolRate() const =0
virtual int getFrequency() const =0
virtual int getOrbitalPosition() const =0
virtual int getHierarchyInformation() const =0
virtual int getCodeRateLp() const =0
virtual int getT2MIPid() const =0
virtual int getGuardInterval() const =0
virtual int getPLSMode() const =0
virtual int getPLSCode() const =0
virtual int getRolloff() const =0
virtual int getIsId() const =0
virtual int getPolarization() const =0
virtual int getBandwidth() const =0
virtual int getPlpId() const =0
virtual int getSystem() const =0
virtual std::string getTunerType() const =0
virtual int getFecInner() const =0
virtual int getInversion() const =0
virtual int getCodeRateHp() const =0
virtual int getModulation() const =0
Definition: filepush.h:12
Definition: object.h:15
Definition: iservice.h:269
virtual ePtr< eServiceEvent > time_t start_time
Definition: iservice.h:279
Definition: idvb.h:770
virtual RESULT setTrickmode()=0
virtual int getVideoGamma()=0
@ af_DTSHD
Definition: idvb.h:776
@ af_AAC
Definition: idvb.h:776
@ af_AC3
Definition: idvb.h:776
@ af_MPEG
Definition: idvb.h:776
@ af_DTS
Definition: idvb.h:776
virtual RESULT fccDecoderStop()=0
virtual RESULT showSinglePic(const char *filename)=0
virtual RESULT setFastForward(int skip=0)=0
virtual RESULT fccUpdatePids(int fe_id, int vpid, int vtype, int pcrpid)=0
virtual int getPCMDelay()=0
virtual RESULT setSyncPCR(int pcrpid)=0
virtual RESULT fccDecoderStart()=0
virtual RESULT setTextPID(int vpid)=0
virtual RESULT setPCMDelay(int delay)=0
virtual RESULT setSlowMotion(int repeat)=0
virtual RESULT setAudioChannel(int channel)=0
@ sm_Audio
Definition: idvb.h:795
@ sm_Video
Definition: idvb.h:795
virtual int getAudioChannel()=0
virtual int getVideoWidth()=0
virtual RESULT setAudioPID(int apid, int type)=0
virtual RESULT setSyncMaster(int who)=0
virtual int getVideoHeight()=0
virtual RESULT connectVideoEvent(const sigc::slot1< void, struct videoEvent > &event, ePtr< eConnection > &connection)=0
virtual RESULT setRadioPic(const std::string &filename)=0
virtual RESULT set()=0
virtual RESULT getPTS(int what, pts_t &pts)=0
@ ac_stereo
Definition: idvb.h:780
@ ac_left
Definition: idvb.h:780
@ ac_right
Definition: idvb.h:780
virtual RESULT play()=0
virtual int getVideoProgressive()=0
virtual int getVideoFrameRate()=0
virtual RESULT setVideoPID(int vpid, int type)=0
virtual RESULT setAC3Delay(int delay)=0
virtual RESULT pause()=0
virtual RESULT prepareFCC(int fe_id, int vpid, int vtype, int pcrpid)=0
virtual int getAC3Delay()=0
@ pidDisabled
Definition: idvb.h:772
virtual int getVideoAspect()=0
#define NULL
Definition: eerror.h:101
const char * filename
Definition: epng.h:36
unsigned char data[256]
Definition: hdmi_cec.h:2
SWIG_IGNORE(iDVBChannel)
#define DMX_FILTER_SIZE
Definition: idvb.h:20
SWIG_TEMPLATE_TYPEDEF(ePtr< iDVBFrontendParameters >, iDVBFrontendParametersPtr)
#define MAX_DISEQC_LENGTH
Definition: idvb.h:500
long long pts_t
Definition: idvb.h:685
#define CAID_LIST
Definition: idvb.h:17
reader
Definition: InputHotplug.py:47
int repeat
Definition: SystemInfo.py:305
decoder
Definition: Extensions/MiniTV/plugin.py:9
name
Definition: newplugin.py:9
file
Definition: newplugin.py:100
list where
Definition: newplugin.py:126
val
Definition: UnitConversions.py:88
sat
Definition: create_picon_e1_to_e2.py:34
list ref
Definition: create_picon_e1_to_e2.py:17
pos
Definition: enigma_py_patcher.py:16
dest
Definition: enigma_py_patcher.py:10
source
Definition: enigma_py_patcher.py:9
str
Definition: enigma_py_patcher.py:14
list list
Definition: main.py:25
index
Definition: main.py:28
p
Definition: upgrade.py:63
int RESULT
Definition: object.h:12
static int frequency[3][4]
Definition: radiotext.cpp:99
static const char * service_type
Definition: servicepeer.cpp:9
Definition: idvb.h:62
list m_services
Definition: idvb.h:66
RESULT setListName(const std::string &name)
Definition: db.cpp:154
std::string m_bouquet_name
Definition: idvb.h:63
RESULT addService(const eServiceReference &, eServiceReference before=eServiceReference())
Definition: db.cpp:45
RESULT moveService(const eServiceReference &, unsigned int)
Definition: db.cpp:93
RESULT flushChanges()
Definition: db.cpp:126
RESULT removeService(const eServiceReference &, bool renameBouquet=true)
Definition: db.cpp:62
std::string m_filename
Definition: idvb.h:64
std::list< eServiceReference > list
Definition: idvb.h:65
Definition: idvb.h:630
int enabled
Definition: idvb.h:631
Definition: idvb.h:144
eTransportStreamID transport_stream_id
Definition: idvb.h:146
eDVBChannelID()
Definition: idvb.h:181
eDVBChannelID(eDVBNamespace dvbnamespace, eTransportStreamID tsid, eOriginalNetworkID onid)
Definition: idvb.h:177
eOriginalNetworkID original_network_id
Definition: idvb.h:147
bool operator==(const eDVBChannelID &c) const
Definition: idvb.h:156
std::string toString(void) const
Definition: idvb.h:149
bool operator<(const eDVBChannelID &c) const
Definition: idvb.h:163
eDVBNamespace dvbnamespace
Definition: idvb.h:145
Definition: idvb.h:130
eDVBNamespace()
Definition: idvb.h:136
bool operator!=(const eDVBNamespace &c) const
Definition: idvb.h:138
bool operator<(const eDVBNamespace &c) const
Definition: idvb.h:139
eDVBNamespace(int i)
Definition: idvb.h:135
bool operator>(const eDVBNamespace &c) const
Definition: idvb.h:140
bool operator==(const eDVBNamespace &c) const
Definition: idvb.h:137
int get() const
Definition: idvb.h:134
Definition: idvb.h:24
uint8_t mask[DMX_FILTER_SIZE]
Definition: idvb.h:27
@ rfCRC
Definition: idvb.h:30
@ rfNoAbort
Definition: idvb.h:31
uint8_t mode[DMX_FILTER_SIZE]
Definition: idvb.h:27
int pid
Definition: idvb.h:25
uint8_t data[DMX_FILTER_SIZE]
Definition: idvb.h:27
int flags
Definition: idvb.h:33
Definition: idvb.h:37
int tid_mask
Definition: idvb.h:38
int version
Definition: idvb.h:39
int flags
Definition: idvb.h:58
int pid
Definition: idvb.h:38
int tid
Definition: idvb.h:38
int tidext
Definition: idvb.h:38
int tidext_mask
Definition: idvb.h:38
int timeout
Definition: idvb.h:40
@ tfHaveTIDExtMask
Definition: idvb.h:56
@ tfHaveTIDExt
Definition: idvb.h:52
@ tfHaveTimeout
Definition: idvb.h:54
@ tfInOrder
Definition: idvb.h:43
@ tfThisVersion
Definition: idvb.h:50
@ tfHaveTIDMask
Definition: idvb.h:55
@ tfAnyVersion
Definition: idvb.h:49
@ tfHaveTID
Definition: idvb.h:51
@ tfCheckCRC
Definition: idvb.h:53
Definition: idvb.h:116
bool operator<(const eOriginalNetworkID &c) const
Definition: idvb.h:125
eOriginalNetworkID(int i)
Definition: idvb.h:121
bool operator==(const eOriginalNetworkID &c) const
Definition: idvb.h:123
eOriginalNetworkID()
Definition: idvb.h:122
bool operator>(const eOriginalNetworkID &c) const
Definition: idvb.h:126
bool operator!=(const eOriginalNetworkID &c) const
Definition: idvb.h:124
int get() const
Definition: idvb.h:120
Definition: idvb.h:102
bool operator<(const eServiceID &c) const
Definition: idvb.h:111
eServiceID()
Definition: idvb.h:108
bool operator>(const eServiceID &c) const
Definition: idvb.h:112
bool operator==(const eServiceID &c) const
Definition: idvb.h:109
bool operator!=(const eServiceID &c) const
Definition: idvb.h:110
int get() const
Definition: idvb.h:106
eServiceID(int i)
Definition: idvb.h:107
Definition: idvb.h:88
bool operator>(const eTransportStreamID &c) const
Definition: idvb.h:98
int get() const
Definition: idvb.h:92
bool operator<(const eTransportStreamID &c) const
Definition: idvb.h:97
bool operator==(const eTransportStreamID &c) const
Definition: idvb.h:95
eTransportStreamID(int i)
Definition: idvb.h:93
eTransportStreamID()
Definition: idvb.h:94
bool operator!=(const eTransportStreamID &c) const
Definition: idvb.h:96
Definition: idvb.h:832
unsigned char aspect
Definition: idvb.h:839
enum iTSMPEGDecoder::videoEvent::@94 type
bool progressive
Definition: idvb.h:842
unsigned short height
Definition: idvb.h:840
unsigned short gamma
Definition: idvb.h:844
unsigned short width
Definition: idvb.h:841
@ eventUnknown
Definition: idvb.h:833
@ eventGammaChanged
Definition: idvb.h:837
@ eventFrameRateChanged
Definition: idvb.h:835
@ eventProgressiveChanged
Definition: idvb.h:836
@ eventSizeChanged
Definition: idvb.h:834
unsigned short framerate
Definition: idvb.h:843
Definition: dvb/scan.h:16
#define SWIG_OUTPUT
Definition: swig.h:20
uint8_t mode
Definition: vps.cpp:40