MythTV  master
dvbdescriptors.h
Go to the documentation of this file.
1 // -*- Mode: c++ -*-
2 // Copyright (c) 2003-2004, Daniel Thor Kristjansson
3 #ifndef DVB_DESCRIPTORS_H
4 #define DVB_DESCRIPTORS_H
5 
6 #include <cassert>
7 
8 #include <QMutex>
9 #include <QString>
10 
11 #include "mythtvexp.h" // MTV_PUBLIC - Symbol Visibility
12 #include "mpegdescriptors.h"
13 #include "programinfo.h" // for subtitle types and audio and video properties
14 
15 /*
16 // needed for scanning
17  conditional_access = 0x09, // maybe
18  satellite_delivery_system = 0x43,*
19  cable_delivery_system = 0x44,*
20  service = 0x48,*
21  terrestrial_delivery_system = 0x5A,*
22  frequency_list = 0x62,*
23 
24 // needed for captions
25  teletext = 0x56,
26  subtitling = 0x59,
27 
28 // needed for sound
29  registration = 0x05,
30  AC3 = 0x6A,
31 
32 // needed for eit
33  short_event = 0x4D,
34  extended_event = 0x4E,
35  content = 0x54,
36 */
37 
38 static QString coderate_inner(uint coderate);
39 
40 using enc_override = std::vector<uint8_t>;
41 MTV_PUBLIC QString dvb_decode_text(const unsigned char *src, uint length,
42  const enc_override &encoding_override);
43 
44 inline QString dvb_decode_text(const unsigned char *src, uint length)
45 {
46  return dvb_decode_text(src, length, {} );
47 }
48 
49 QString dvb_decode_short_name(const unsigned char *src, uint raw_length);
50 
51 #define byteBCDH2int(i) ((i) >> 4)
52 #define byteBCDL2int(i) ((i) & 0x0f)
53 #define byteBCD2int(i) (byteBCDH2int(i) * 10 + byteBCDL2int(i))
54 #define byte2BCD2int(i, j) \
55  (byteBCDH2int(i) * 1000 + byteBCDL2int(i) * 100 + \
56  byteBCDH2int(j) * 10 + byteBCDL2int(j))
57 #define byte3BCD2int(i, j, k) \
58  (byteBCDH2int(i) * 100000 + byteBCDL2int(i) * 10000 + \
59  byteBCDH2int(j) * 1000 + byteBCDL2int(j) * 100 + \
60  byteBCDH2int(k) * 10 + byteBCDL2int(k))
61 #define byte4BCD2int(i, j, k, l) \
62  (byteBCDH2int(i) * 10000000LL + byteBCDL2int(i) * 1000000 + \
63  byteBCDH2int(j) * 100000 + byteBCDL2int(j) * 10000 + \
64  byteBCDH2int(k) * 1000 + byteBCDL2int(k) * 100 + \
65  byteBCDH2int(l) * 10 + byteBCDL2int(l))
66 
67 // DVB Bluebook A038 (Sept 2011) p 77
69 {
70  public:
71  explicit NetworkNameDescriptor(const unsigned char *data, int len = 300) :
72  MPEGDescriptor(data, len, DescriptorID::network_name) { }
73  // Name bits loc expected value
74  // descriptor_tag 8 0.0 0x40
75  // descriptor_length 8 1.0
76  // for (i=0;i<N;i++){ char 8 uimsbf }
77  QString Name(void) const
78  { return dvb_decode_text(m_data+2, DescriptorLength()); }
79  QString ShortName(void) const
81  QString toString(void) const override // MPEGDescriptor
82  { return QString("NetworkNameDescriptor: ")+Name(); }
83 };
84 
85 // DVB Bluebook A038 (Sept 2011) p 63
87 {
88  public:
89  explicit LinkageDescriptor(const unsigned char *data, int len = 300) :
90  MPEGDescriptor(data, len, DescriptorID::linkage)
91  {
92  if (!m_data)
93  return;
94  if (DescriptorLength() < 7)
95  {
96  m_data = nullptr;
97  }
98  else if (kMobileHandOver == LinkageType())
99  {
100  uint end = 8;
101  if (DescriptorLength() < end)
102  {
103  m_data = nullptr;
104  return;
105  }
106  end += (HasMobileNetworkID()) ? 2 : 0;
107  end += (HasMobileInitialServiceID()) ? 2 : 0;
108  if (DescriptorLength() < end)
109  m_data = nullptr;
110  m_offset = end + 2;
111  }
112  else if (kEventLinkage == LinkageType())
113  {
114  if (DescriptorLength() < 10)
115  m_data = nullptr;
116  m_offset = 12;
117  }
118  }
119  // Name bits loc expected value
120  // descriptor_tag 8 0.0 0x4A
121  // descriptor_length 8 1.0
122  // transport_stream_id 16 2.0
123  uint TSID(void) const { return (m_data[2]<<8) | m_data[3]; }
124  // original_network_id 16 4.0
125  uint OriginalNetworkID() const { return (m_data[4]<<8) | m_data[5]; }
126  // service_id 16 6.0
127  uint ServiceID(void) const { return (m_data[6]<<8) | m_data[7]; }
128  // linkage_type 8 8.0
129  enum
130  {
132  kEPGService = 0x02,
137  kRCSMap = 0x07,
144  };
145  uint LinkageType(void) const { return m_data[8]; }
146  QString LinkageTypeString(void) const;
147 
148  // if (linkage_type == 0x08)
149  // {
150  // hand-over_type 4 9.0
151  enum
152  {
156  };
157  uint MobileHandOverType(void) const { return m_data[9]>>4; }
158  QString MobileHandOverTypeString(void) const;
159  // reserved_future_use 3 9.4
160  // origin_type 1 9.7
161  enum
162  {
163  kOriginNIT = 0x0,
164  kOriginSDT = 0x1,
165  };
166  uint MobileOriginType(void) const { return m_data[9]&0x1; }
167  QString MobileOriginTypeString(void) const;
168  // if (hand-over_type == 0x01 || hand-over_type == 0x02 ||
169  // hand-over_type == 0x03)
170  // { network_id 16 10.0 }
171  bool HasMobileNetworkID(void) const
172  { return bool(MobileHandOverType() & 0x3); }
173  uint MobileNetworkID(void) const { return (m_data[10]<<8) | m_data[11]; }
174  // if (origin_type ==0x00)
175  // { initial_service_id 16 HasNetworkID()?10.0:12.0 }
176  bool HasMobileInitialServiceID(void) const
177  { return kOriginNIT == MobileOriginType(); }
179  {
180  return HasMobileNetworkID() ?
181  ((m_data[12]<<8) | m_data[13]) : ((m_data[10]<<8) | m_data[11]);
182  }
183  // }
184  // if (linkage_type == 0x0D)
185  // {
186  // target_event_id 16 9.0
187  uint TargetEventID(void) const { return (m_data[9]<<8) | m_data[10]; }
188  // target_listed 1 11.0
189  bool IsTargetListed(void) const { return ( m_data[11]&0x80 ) != 0; }
190  // event_simulcast 1 11.1
191  bool IsEventSimulcast(void) const { return ( m_data[11]&0x40 ) != 0; }
192  // reserved 6 11.2
193  // }
194  // for (i=0;i<N;i++)
195  // { private_data_byte 8 bslbf }
196  const unsigned char *PrivateData(void) const
197  { return &m_data[m_offset]; }
199  { return DescriptorLength() + 2 - m_offset; }
200 
201  private:
203 };
204 
205 // DVB Bluebook A038 (Sept 2011) p 38
207 {
208  public:
209  explicit AdaptationFieldDataDescriptor(const unsigned char *data, int len = 300) :
210  MPEGDescriptor(data, len, DescriptorID::adaptation_field_data, 1) { }
211  // Name bits loc expected value
212  // descriptor_tag 8 0.0 0x70
213  // descriptor_length 8 1.0
214  // adapt_field_data_id 8 2.0
215  uint AdaptationFieldDataID(void) const { return m_data[2]; }
216  QString toString(void) const override // MPEGDescriptor
217  {
218  return QString("AdaptationFieldDataDescriptor "
219  "adaptation_field_data_identifier(%1)")
220  .arg(AdaptationFieldDataID());
221  }
222 };
223 
224 // DVB Bluebook A038 (Sept 2011) p 38
226 {
227  public:
228  explicit AncillaryDataDescriptor(const unsigned char *data, int len = 300) :
229  MPEGDescriptor(data, len, DescriptorID::ancillary_data, 1) { }
230  // Name bits loc expected value
231  // descriptor_tag 8 0.0 0x6b
232  // descriptor_length 8 1.0
233  // ancillary_data_id 8 2.0
234  uint AncillaryDataID(void) const { return m_data[2]; }
235  QString toString(void) const override // MPEGDescriptor
236  {
237  return QString("AncillaryDataDescriptor "
238  "ancillary_data_identifier(%1)")
239  .arg(AncillaryDataID());
240  }
241 };
242 
243 // DVB Bluebook A038 (Sept 2011) p 39
245 {
246  public:
247  explicit AnnouncementSupportDescriptor(const unsigned char *data, int len = 300) :
248  MPEGDescriptor(data, len, DescriptorID::announcement_support) { }
249  // Name bits loc expected value
250  // descriptor_tag 8 0.0 0x6e
251  // descriptor_length 8 1.0
252  // announcmnt_supprt_indic 16 2.0
253  // for (i=0; i<N; i++)
254  // {
255  // announcement_type 4 0.0+p
256  // reserved_future_use 1 0.4+p
257  // reference_type 3 0.5+p
258  // if (reference_type & 0x3)
259  // {
260  // original_network_id 16 0.0+p
261  // transport_stream_id 16 2.0+p
262  // service_id 16 4.0+p
263  // component_tag 8 6.0+p
264  // } 7.0
265  // }
266 };
267 
268 // DVB Bluebook A038 (Sept 2011) p 41
270 {
271  public:
272  explicit BouquetNameDescriptor(const unsigned char *data, int len = 300) :
273  MPEGDescriptor(data, len, DescriptorID::bouquet_name) { }
274  // Name bits loc expected value
275  // descriptor_tag 8 0.0 0x47
276  // descriptor_length 8 1.0
277  // for(i=0;i<N;i++) { char 8 }
278  QString BouquetName(void) const
279  { return dvb_decode_text(m_data+2, m_data[1]); }
280  QString BouquetShortName(void) const
281  { return dvb_decode_short_name(m_data+2, m_data[1]); }
282 
283  QString toString(void) const override // MPEGDescriptor
284  {
285  return QString("BouquetNameDescriptor: Bouquet Name(%1)")
286  .arg(BouquetName());
287  }
288 };
289 
290 // DVB Bluebook A038 (Sept 2011) p 41
292 {
293  public:
294  explicit CAIdentifierDescriptor(const unsigned char *data, int len = 300) :
295  MPEGDescriptor(data, len, DescriptorID::ca_identifier) { }
296  // Name bits loc expected value
297  // descriptor_tag 8 0.0 0x53
298  // descriptor_length 8 1.0
299  //
300  uint CASystemCount(void) const { return DescriptorLength() >> 1; }
301  // for (i=0; i<N; i++)
302  // { CA_system_id 16 }
303  int CASystemId(uint i) const
304  { return (m_data[2 + i*2] << 8) | m_data[3 + i*2]; }
305  QString toString(void) const override; // MPEGDescriptor
306 };
307 
308 // DVB Bluebook A038 (Sept 2011) p 42
310 {
311  public:
312  explicit CellFrequencyLinkDescriptor(const unsigned char *data, int len = 300) :
313  MPEGDescriptor(data, len, DescriptorID::cell_frequency_link) { }
314  // Name bits loc expected value
315  // descriptor_tag 8 0.0 0x6d
316  // descriptor_length 8 1.0
317  // for (i=0; i<N; i++)
318  // {
319  // cell_id 16 0.0+p
320  // frequency 32 2.0+p
321  // subcell_info_loop_len 8 6.0+p
322  // for (j=0;j<N;j++)
323  // {
324  // cell_id_extension 8 0.0+p2
325  // transposer_freq 32 1.0+p2
326  // } 5.0
327  // }
328 };
329 
330 // DVB Bluebook A038 (Sept 2011) p 42
332 {
333  public:
334  explicit CellListDescriptor(const unsigned char *data, int len = 300) :
335  MPEGDescriptor(data, len, DescriptorID::cell_list) { }
336  // Name bits loc expected value
337  // descriptor_tag 8 0.0 0x6c
338  // descriptor_length 8 1.0
339  // for (i=0; i<N; i++)
340  // {
341  // cell_id 16 0.0+p
342  // cell_latitude 16 2.0+p
343  // cell_longitude 16 4.0+p
344  // cell_extent_of_lat 12 6.0+p
345  // cell_extent_of_longit 12 7.4+p
346  // subcell_info_loop_len 8 9.0+p
347  // for (j=0;j<N;j++)
348  // {
349  // cell_id_extension 8 0.0+p2
350  // subcell_latitude 16 1.0+p2
351  // subcell_longitude 16 3.0+p2
352  // subcell_ext_of_lat 12 4.0+p2
353  // subcell_ext_of_long 12 5.4+p2
354  // } 7.0
355  // }
356 };
357 
358 // DVB Bluebook A038 (Sept 2011) p 44
360 {
361  public:
362  explicit ComponentDescriptor(const unsigned char *data, int len = 300) :
363  MPEGDescriptor(data, len, DescriptorID::component) { }
364  // Name bits loc expected value
365  // descriptor_tag 8 0.0 0x50
366  // descriptor_length 8 1.0
367  // reserved_future_use 4 2.0
368  // stream_content 4 2.4
369  uint StreamContent(void) const { return m_data[2] & 0xf; }
370  // component_type 8 3.0
371  uint ComponentType(void) const { return m_data[3]; }
372  // component_tag 8 4.0
373  uint ComponentTag(void) const { return m_data[4]; }
374  // ISO_639_language_code 24 5.0
375  int LanguageKey(void) const
376  { return iso639_str3_to_key(&m_data[5]); }
377  QString LanguageString(void) const
378  { return iso639_key_to_str3(LanguageKey()); }
379  int CanonicalLanguageKey(void) const
381  QString CanonicalLanguageString(void) const
383  //
384  // for (i=0; i<N; i++) { text_char 8 }
385 
386  bool IsVideo(void) const
387  {
388  return 0x1 == StreamContent() || // MPEG-2
389  0x5 == StreamContent() || // H.264
390  0x9 == StreamContent(); // HEVC
391  }
392  bool IsAudio(void) const
393  {
394  switch(StreamContent())
395  {
396  case 0x02:
397  case 0x04:
398  case 0x06:
399  case 0x07:
400  return true;
401  default:
402  return false;
403  }
404  }
405  bool IsSubtitle(void) const { return 0x3 == StreamContent(); }
406 
407  uint VideoProperties(void) const
408  {
409  if (0x1 == StreamContent())
410  return MPEG2Properties();
411  if (0x5 == StreamContent())
412  return VID_AVC | AVCProperties();
413  if (0x9 == StreamContent())
414  return VID_HEVC | HEVCProperties();
415 
416  return VID_UNKNOWN;
417  }
418 
419  uint MPEG2Properties(void) const
420  {
421  switch(ComponentType())
422  {
423  case 0x2: case 0x3: case 0x4:
424  case 0x6: case 0x7: case 0x8:
425  return VID_WIDESCREEN;
426  case 0x09:
427  case 0x0D:
428  return VID_HDTV;
429  case 0x0A: case 0x0B: case 0x0C:
430  case 0x0E: case 0x0F: case 0x10:
431  return VID_WIDESCREEN | VID_HDTV;
432  default:
433  return VID_UNKNOWN;
434  }
435  }
436 
437  uint AVCProperties(void) const
438  {
439  switch(ComponentType())
440  {
441  case 0x3: case 0x4:
442  case 0x7: case 0x8:
443  return VID_WIDESCREEN;
444  case 0x0B: case 0x0C:
445  case 0x0F: case 0x10:
446  return VID_WIDESCREEN | VID_HDTV;
447  case 0x80: case 0x81:
448  case 0x82: case 0x83:
449  return VID_WIDESCREEN | VID_HDTV | VID_3DTV;
450  default:
451  return VID_UNKNOWN;
452  }
453  }
454 
455  uint HEVCProperties(void) const
456  {
457  switch(ComponentType())
458  {
459  // NOLINTNEXTLINE(bugprone-branch-clone)
460  case 0x0: case 0x1:
461  case 0x2: case 0x3:
462  return VID_HDTV;
463  case 0x5:
464  return VID_HDTV; // | VID_UHDTV;
465  default:
466  return VID_UNKNOWN;
467  }
468  }
469 
470  uint AudioProperties(void) const
471  {
472  switch (StreamContent())
473  {
474  case 0x2:
475  return MP2Properties();
476  case 0x04:
477  return AC3Properties();
478  case 0x06:
479  return HEAACProperties();
480  default:
481  return AUD_UNKNOWN;
482  }
483  }
484 
485  uint MP2Properties(void) const
486  {
487  switch (ComponentType())
488  {
489  case 0x1:
490  return AUD_MONO;
491  case 0x3:
492  return AUD_STEREO;
493  case 0x5:
494  return AUD_SURROUND;
495  case 0x40:
496  return AUD_VISUALIMPAIR;
497  case 0x41:
498  return AUD_HARDHEAR;
499  default:
500  return AUD_UNKNOWN;
501  }
502  }
503 
504  uint AC3Properties(void) const
505  {
506  unsigned char properties = AUD_UNKNOWN;
507 
508  switch (ComponentType() & 0x7)
509  {
510  case 0x0:
511  properties |= AUD_MONO;
512  break;
513  case 0x2:
514  properties |= AUD_STEREO;
515  break;
516  case 0x3:
517  properties |= AUD_DOLBY;
518  break;
519  case 0x4: case 0x5:
520  properties |= AUD_SURROUND;
521  break;
522  }
523 
524  if (((ComponentType() >> 3) & 0x7) == 0x2)
525  properties |= AUD_VISUALIMPAIR;
526 
527  if (((ComponentType() >> 3) & 0x7) == 0x3)
528  properties |= AUD_HARDHEAR;
529 
530  return properties;
531  }
532 
533  uint HEAACProperties(void) const
534  {
535  switch (ComponentType())
536  {
537  case 0x1:
538  return AUD_MONO;
539  case 0x3:
540  case 0x43:
541  return AUD_STEREO;
542  case 0x5:
543  return AUD_SURROUND;
544  case 0x40:
545  case 0x44:
546  return AUD_VISUALIMPAIR;
547  case 0x41:
548  case 0x45:
549  return AUD_HARDHEAR;
550  default:
551  return AUD_UNKNOWN;
552  }
553  }
554 
555  uint SubtitleType(void) const
556  {
557  if (!IsSubtitle())
558  return SUB_UNKNOWN;
559 
560  switch (ComponentType())
561  {
562  case 0x1:
563  case 0x3:
564  case 0x10: case 0x11: case 0x12: case 0x13:
565  return SUB_NORMAL;
566  case 0x20: case 0x21: case 0x22: case 0x23:
567  return SUB_HARDHEAR;
568  default:
569  return SUB_UNKNOWN;
570  }
571  }
572 
573  QString toString(void) const override // MPEGDescriptor
574  {
575  return QString("ComponentDescriptor(stream_content: 0x%1, "
576  "component_type: 0x%2)").arg(StreamContent(), 0, 16)
577  .arg(ComponentType(), 0, 16);
578  }
579 };
580 
581 // DVB Bluebook A038 (Sept 2011) p 46
583 {
584  public:
585  explicit ContentDescriptor(const unsigned char *data, int len = 300) :
586  MPEGDescriptor(data, len, DescriptorID::content) { }
587  // Name bits loc expected value
588  // descriptor_tag 8 0.0 0x54
589  // descriptor_length 8 1.0
590 
591  uint Count(void) const { return DescriptorLength() >> 1; }
592  // for (i=0;i<N;i++)
593  // {
594  // content_nibble_level_1 4 0.0+p
595  uint Nibble1(uint i) const { return m_data[2 + (i<<1)] >> 4; }
596  // content_nibble_level_2 4 0.4+p
597  uint Nibble2(uint i) const { return m_data[2 + (i<<1)] & 0xf; }
598 
599  uint Nibble(uint i) const { return m_data[2 + (i<<1)]; }
600 
601  // user_nibble 4 1.0+p
602  uint UserNibble1(uint i) const { return m_data[3 + (i<<1)] >> 4; }
603  // user_nibble 4 1.4+p
604  uint UserNibble2(uint i) const { return m_data[3 + (i<<1)] & 0xf; }
605  uint UserNibble(uint i) const { return m_data[3 + (i<<1)]; }
606  // } 2.0
607 
609  QString GetDescription(uint i) const;
610  QString toString(void) const override; // MPEGDescriptor
611 
612  protected:
613  static void Init(void);
614 
615  protected:
616  static QMutex s_categoryLock;
617  static QMap<uint,QString> s_categoryDesc;
618  static volatile bool s_categoryDescExists;
619 };
620 
621 // DVB Bluebook A038 (Sept 2011) p 49
623 {
624  public:
625  explicit CountryAvailabilityDescriptor(const unsigned char *data, int len = 300) :
626  MPEGDescriptor(data, len, DescriptorID::country_availability) { }
627  // Name bits loc expected value
628  // descriptor_tag 8 0.0 0x49
629  // descriptor_length 8 1.0
630 
631  uint CountryCount(void) const { return ((DescriptorLength() - 1) / 3); }
632 
633  // country_avail_flag 1 2.0
634  bool IsAvailable(void) const { return (m_data[2] & 0x1) != 0; }
635  // reserved_future_use 7 2.1
636  //
637  // for (i=0; i<N; i++)
638  // { country_code 24 }
639  QString CountryNames(void) const
640  {
641  QString countries="";
642  for (uint i=0; i<CountryCount(); i++)
643  {
644  if (i!=0) countries.append(" ");
645  countries.append(QString::fromLatin1(
646  (const char *)m_data+(3*(i+1)), 3));
647  };
648  return countries;
649  }
650 
651  QString toString(void) const override // MPEGDescriptor
652  {
653  return QString("CountryAvailabilityDescriptor: Available(%1) in (%2)")
654  .arg(static_cast<int>(IsAvailable())).arg(CountryNames());
655  }
656 };
657 
658 // DVB Bluebook A038 (Sept 2011) p 50
660 {
661  public:
662  explicit DataBroadcastDescriptor(const unsigned char *data, int len = 300) :
663  MPEGDescriptor(data, len, DescriptorID::data_broadcast) { }
664  // Name bits loc expected value
665  // descriptor_tag 8 0.0 0x64
666  // descriptor_length 8 1.0
667 
668  // data_broadcast_id 16 2.0
669  uint DataBroadcastId(void) const { return m_data[2] << 8 | m_data[3]; }
670  // component_tag 8 4.0
671  uint DataComponentTag(void) const { return m_data[4]; }
672  // selector_length 8 5.0
673  uint SelectorLength(void) const { return m_data[5]; }
674  // for (i=0; i<selector_length; i++)
675  // {
676  // selector_byte 8
677  const unsigned char *Selector(void) const { return &m_data[6]; }
678  // }
679  // ISO_639_language_code 24
680  int LanguageKey(void) const
681  { return iso639_str3_to_key(&m_data[6 + SelectorLength()]); }
682  QString LanguageString(void) const
683  { return iso639_key_to_str3(LanguageKey()); }
684  int CanonicalLanguageKey(void) const
686  QString CanonicalLanguageString(void) const
688  // text_length 8
689  uint TextLength(void) const { return m_data[6 + SelectorLength() + 3]; }
690  // for (i=0; i<text_length; i++) { text_char 8 }
691  QString Text(void) const
692  {
693  return dvb_decode_text(&m_data[6 + SelectorLength() + 4], TextLength());
694  }
695 
696  QString toString(void) const override; // MPEGDescriptor
697 };
698 
699 // DVB Bluebook A038 (Sept 2011) p 51
701 {
702  public:
703  explicit DataBroadcastIdDescriptor(const unsigned char *data, int len = 300) :
704  MPEGDescriptor(data, len, DescriptorID::data_broadcast_id) { }
705  // Name bits loc expected value
706  // descriptor_tag 8 0.0 0x66
707  // descriptor_length 8 1.0
708 
709  // data_broadcast_id 16 2.0
710  uint DataBroadCastId(void) const { return m_data[2] << 8 | m_data[3]; }
711  // for(i=0; i < N;i++ )
712  // { id_selector_byte 8 }
713 };
714 
715 // DVB Bluebook A038 (Sept 2011) p 51
717 {
718  public:
719  explicit CableDeliverySystemDescriptor(const unsigned char *data, int len = 300) :
720  MPEGDescriptor(data, len, DescriptorID::cable_delivery_system) { }
721  // Name bits loc expected value
722  // descriptor_tag 8 0.0 0x44
723  // descriptor_length 8 1.0
724 
725  // frequency 32 2.0
726  uint FrequencyRaw(void) const
727  {
728  return ((m_data[2]<<24) | (m_data[3]<<16) |
729  (m_data[4]<<8) | (m_data[5]));
730  }
731  unsigned long long FrequencyHz(void) const
732  {
733  if (m_data == nullptr)
734  return 0;
735  return byte4BCD2int(m_data[2], m_data[3], m_data[4], m_data[5]) * 100;
736  }
737  // reserved_future_use 12 6.0
738  // FEC_outer 4 7.4
739  enum
740  {
743  };
744  uint FECOuter(void) const { return m_data[7] & 0xf; }
745  QString FECOuterString(void) const
746  {
747  return (FECOuter() == kOuterFEC_None) ? "None" :
748  ((FECOuter() == kOuterFEC_RS204_RS188) ? "RS(204/188)" : "unknown");
749  }
750  // modulation 8 8.0
751  enum
752  {
758  };
759  uint Modulation(void) const { return m_data[8]; }
760  QString ModulationString(void) const
761  {
762  static std::array<QString,6> ms
763  { "auto", "qam_16", "qam_32", "qam_64", "qam_128", "qam_256" };
764  return (Modulation() <= kModulationQAM256) ?
765  ms[Modulation()] : QString("auto");
766  }
767  // symbol_rate 28 9.0
768  uint SymbolRateRaw(void) const
769  {
770  return ((m_data[9]<<20) | (m_data[10]<<12) |
771  (m_data[11]<<4) | (m_data[12]>>4));
772  }
773  uint SymbolRateHz(void) const
774  {
775  return ((byte3BCD2int(m_data[9], m_data[10], m_data[11]) * 1000) +
776  (byteBCDH2int(m_data[12]) * 100));
777  }
778  // FEC_inner 4 12.4
779  enum
780  {
788  };
789  uint FECInner(void) const { return m_data[12] & 0xf; }
790  QString FECInnerString(void) const { return coderate_inner(FECInner()); }
791  QString toString(void) const override; // MPEGDescriptor
792 };
793 
794 // DVB Bluebook A038 (Feb 2019) p 58
796 {
797  public:
799  const unsigned char *data, int len = 300) :
800  MPEGDescriptor(data, len, DescriptorID::satellite_delivery_system) { }
801  // Name bits loc expected value
802  // descriptor_tag 8 0.0 0x43
803  // descriptor_length 8 1.0
804 
806  uint FrequencyRaw(void) const
807  {
808  return ((m_data[2]<<24) | (m_data[3]<<16) |
809  (m_data[4]<<8) | (m_data[5]));
810  }
811  unsigned long long FrequencykHz(void) const
812  {
813  return byte4BCD2int(m_data[2], m_data[3], m_data[4], m_data[5]) * 10;
814  }
816  uint OrbitalPosition(void) const
817  { return byte2BCD2int(m_data[6], m_data[7]); }
818  QString OrbitalPositionString(void) const
819  {
820  uint num = OrbitalPosition();
821  return QString("%1.%2 %3").arg(num / 10).arg(num % 10)
822  .arg((IsEast()) ? "East" : "West");
823  }
824  double OrbitalPositionFloat() const
825  { return ((double) OrbitalPosition()) / 10.0; }
827  bool IsEast(void) const { return ( (m_data[8]&0x80) ) != 0; }
828  bool IsWest(void) const { return !IsEast(); }
829  // polarization 2 8.1
830  uint Polarization(void) const { return (m_data[8]>>5)&0x3; }
831  QString PolarizationString() const
832  {
833  static std::array<QString,4> ps { "h", "v", "l", "r" };
834  return ps[Polarization()];
835  }
836  bool IsCircularPolarization(void) const { return ((m_data[8]>>6)&0x1) != 0; }
837  bool IsLinearPolarization(void) const { return ((m_data[8]>>6)&0x1) == 0; }
838  bool IsHorizontalLeftPolarization(void) const { return ((m_data[8]>>5)&0x1) != 0; }
839  bool IsVerticalRightPolarization(void) const { return ((m_data[8]>>5)&0x1) == 0; }
840  // roll off 2 8.3
841  enum
842  {
847  };
848  uint RollOff(void) const { return (m_data[8]>>3)&0x3; }
849  QString RollOffString(void) const
850  {
851  static std::array<QString,4> ro { "0.35", "0.20", "0.25", "auto" };
852  return ro[RollOff()];
853  }
854  // modulation system 1 8.5
855  uint ModulationSystem(void) const { return (m_data[8]>>2)&0x1; }
856  QString ModulationSystemString(void) const
857  {
858  return ModulationSystem() ? "DVB-S2" : "DVB-S";
859  }
860  // modulation 2 8.6
861  enum
862  {
863  kModulationQPSK_NS = 0x0, // Non standard QPSK for Bell ExpressVu
864  // should be "auto" according to DVB SI standard
868  };
869  uint Modulation(void) const { return m_data[8]&0x03; }
870  QString ModulationString(void) const
871  {
872  static std::array<QString,4> ms { "qpsk", "qpsk", "8psk", "qam_16" };
873  return ms[Modulation()];
874  }
875  // symbol_rate 28 9.0
876  uint SymbolRate(void) const
877  {
878  return ((m_data[9]<<20) | (m_data[10]<<12) |
879  (m_data[11]<<4) | (m_data[12]>>4));
880  }
881  uint SymbolRateHz(void) const
882  {
883  return ((byte3BCD2int(m_data[9], m_data[10], m_data[11]) * 1000) +
884  (byteBCDH2int(m_data[12]) * 100));
885  }
886  // FEC_inner 4 12.4
887  enum
888  {
896  };
897  uint FECInner(void) const { return m_data[12] & 0xf; }
898  QString FECInnerString(void) const { return coderate_inner(FECInner()); }
899 
900  QString toString(void) const override; // MPEGDescriptor
901 };
902 
903 // DVB Bluebook A038 (Feb 2019) p 60
905 {
906  public:
908  const unsigned char *data, int len = 300) :
909  MPEGDescriptor(data, len, DescriptorID::terrestrial_delivery_system) { }
910  // Name bits loc expected value
911  // descriptor_tag 8 0.0 0x5a
912  // descriptor_length 8 1.0
913 
914  // centre_frequency 32 2.0
915  uint Frequency(void) const
916  {
917  return ((m_data[2]<<24) | (m_data[3]<<16) |
918  (m_data[4]<<8) | (m_data[5]));
919  }
920  uint64_t FrequencyHz(void) const { return uint64_t(Frequency()) * 10ULL; }
921 
922  // bandwidth 3 6.0
923  enum
924  {
929  };
930  uint Bandwidth(void) const { return m_data[6]>>5; }
931  uint BandwidthHz(void) const { return (8 - Bandwidth()) * 1000000; }
932  QString BandwidthString(void) const
933  {
934  static std::array<QString,4> bs { "8", "7", "6", "5" };
935  return (Bandwidth() <= kBandwidth5Mhz) ? bs[Bandwidth()] : "auto";
936  }
937  // priority 1 6.3
938  bool HighPriority(void) const { return ( m_data[6] & 0x10 ) != 0; }
939  // time_slicing_indicator 1 6.4
940  bool IsTimeSlicingIndicatorUsed(void) const { return (m_data[6] & 0x08) == 0; }
941  // MPE-FEC_indicator 1 6.5
942  bool IsMPE_FECUsed(void) const { return (m_data[6] & 0x04) == 0; }
943  // reserved_future_use 2 6.6
944  // constellation 2 7.0
945  enum
946  {
951  };
952  uint Constellation(void) const { return m_data[7]>>6; }
953  QString ConstellationString(void) const
954  {
955  static std::array<QString,4> cs { "qpsk", "qam_16", "qam_64", "qam_256" };
956  return (Constellation() <= kConstellationQAM256) ?
957  cs[Constellation()] : "auto";
958  }
959  // hierarchy_information 3 7.2
960  enum
961  {
970  };
971  uint Hierarchy(void) const { return (m_data[7]>>3) & 0x7; }
972 
974  QString HierarchyString(void) const
975  {
976  static std::array<QString,8> hs { "n", "1", "2", "4", "a", "a", "a", "a" };
977  return hs[Hierarchy()];
978  }
979  bool NativeInterleaver(void) const { return ( m_data[7] & 0x20 ) != 0; }
980  uint Alpha(void) const
981  {
982  uint i = (m_data[7]>>3) & 0x3;
983  return (0x2 == i) ? 4 : i;
984  }
985  // code_rate-HP_stream 3 7.5
986  enum
987  {
993  };
994  uint CodeRateHP(void) const { return m_data[7] & 0x7; }
995  QString CodeRateHPString(void) const
996  {
997  static std::array<QString,8> cr {
998  "1/2", "2/3", "3/4", "5/6", "7/8", "auto", "auto", "auto"
999  };
1000  return cr[CodeRateHP()];
1001  }
1002  // code_rate-LP_stream 3 8.0
1003  uint CodeRateLP(void) const { return (m_data[8]>>5) & 0x7; }
1004  QString CodeRateLPString(void) const
1005  {
1006  static std::array<QString,8> cr {
1007  "1/2", "2/3", "3/4", "5/6", "7/8", "auto", "auto", "auto"
1008  };
1009  return cr[CodeRateLP()];
1010  }
1011  // guard_interval 2 8.3
1012  enum
1013  {
1018  };
1019  uint GuardInterval(void) const { return (m_data[8]>>3) & 0x3; }
1020  QString GuardIntervalString(void) const
1021  {
1022  static std::array<QString,4> gi { "1/32", "1/16", "1/8", "1/4" };
1023  return gi[GuardInterval()];
1024  }
1025  // transmission_mode 2 8.5
1026  enum
1027  {
1031  };
1032  uint TransmissionMode(void) const { return (m_data[8]>>1) & 0x3; }
1033  QString TransmissionModeString(void) const
1034  {
1035  static std::array<QString,4> tm { "2", "8", "4", "auto" };
1036  return tm[TransmissionMode()];
1037  }
1038  // other_frequency_flag 1 8.7
1039  bool OtherFrequencyInUse(void) const { return (m_data[8] & 0x1) != 0; }
1040  // reserved_future_use 32 9.0
1041 
1042  QString toString(void) const override; // MPEGDescriptor
1043 };
1044 
1045 // DVB Bluebook A038 (Feb 2019) p 110
1047 {
1048  public:
1050  const unsigned char *data, int len = 300) :
1051  MPEGDescriptor(data, len, DescriptorID::extension)
1052  {
1054  {
1055  m_data = nullptr;
1056  }
1057  }
1058  // Name bits loc expected value
1059  // descriptor_tag 8 0.0 0x7f extension
1060  // descriptor_length 8 1.0
1061  // descriptor_tag_extension 8 2.0 0x00 image_icon
1062 
1063  // descriptor_number 4 3.0
1065  {
1066  return m_data[3] >> 4;
1067  }
1068 
1069  // last_descriptor_number 4 3.4
1071  {
1072  return m_data[3] & 0xF;
1073  }
1074 
1075  // icon_id 3 4.5
1076  uint IconID(void) const
1077  {
1078  return m_data[4] & 0x7;
1079  }
1080 
1081  //
1082  // TBD
1083  //
1084 
1085  QString toString(void) const override; // MPEGDescriptor
1086 };
1087 
1088 // DVB Bluebook A038 (Feb 2019) p 104 0x7f 0x04
1090 {
1091  public:
1093  const unsigned char *data, int len = 300) :
1094  MPEGDescriptor(data, len, DescriptorID::extension)
1095  {
1097  {
1098  m_data = nullptr;
1099  }
1100  Parse();
1101  }
1102  // Name bits loc expected value
1103  // descriptor_tag 8 0.0 0x7f extension
1104  // descriptor_length 8 1.0
1105  // descriptor_tag_extension 8 2.0 0x04 t2_delivery_system
1106 
1107  // plp_id 8 3.0
1108  uint PlpID(void) const
1109  {
1110  return m_data[3];
1111  }
1112 
1113  // T2_system_id 16 4.0
1114  uint T2SystemID(void) const
1115  {
1116  return ((m_data[4]<<8) | (m_data[5]));
1117  }
1118 
1119  // SISO/MISO 2 6.0
1120  uint SisoMiso(void) const { return (m_data[6] >> 6) & 0x3; }
1121  QString SisoMisoString(void) const
1122  {
1123  static const std::array<const QString,4> sm
1124  { "SISO", "MISO", "reserved", "reserved" };
1125  return sm[SisoMiso()];
1126  }
1127 
1128  // bandwidth 4 6.2
1129  enum
1130  {
1137  };
1138  uint Bandwidth(void) const { return (m_data[6] >> 2) & 0xF; }
1139  uint BandwidthHz(void) const
1140  {
1141  static constexpr std::array<const uint,6> bw
1142  { 8000000, 7000000, 6000000, 5000000, 10000000, 1712000 };
1143  return (Bandwidth() <= kBandwidth1712kHz ? bw[Bandwidth()] : 0);
1144  }
1145  QString BandwidthString(void) const
1146  {
1147  static const std::array<const QString,6> bs
1148  { "8", "7", "6", "5", "10", "1.712" };
1149  return (Bandwidth() <= kBandwidth1712kHz) ? bs[Bandwidth()] : "0";
1150  }
1151 
1152  // guard_interval 3 7.0
1153  enum
1154  {
1162  };
1163  uint GuardInterval(void) const { return (m_data[7]>>5) & 0x7; }
1164  QString GuardIntervalString(void) const
1165  {
1166  static const std::array<const QString,8> gi
1167  { "1/32", "1/16", "1/8", "1/4", "1/128", "19/128", "19/256", "reserved" };
1168  return gi[GuardInterval()];
1169  }
1170 
1171  // transmission_mode 3 7.3
1172  enum
1173  {
1180  };
1181  uint TransmissionMode(void) const { return (m_data[7]>>2) & 0x7; }
1182  QString TransmissionModeString(void) const
1183  {
1184  static const std::array<const QString,8> tm
1185  { "2k", "8k", "4k", "1k", "16k", "32k", "reserved", "reserved" };
1186  return tm[TransmissionMode()];
1187  }
1188  uint OtherFrequencyFlag(void) const { return (m_data[7]>>1) & 0x1; }
1189  uint TFSFlag(void) const { return m_data[7] & 0x1; }
1190 
1191  public:
1192  uint NumCells(void) const { return m_cellPtrs.size(); }
1193  uint CellID(uint i) const { return (m_cellPtrs[i][0] << 8) | m_cellPtrs[i][1]; }
1194  uint FrequencyLoopLength(uint i) const { return m_cellPtrs[i][2]; }
1195 
1197  {
1198  return (m_cellPtrs[i][2] << 24) | (m_cellPtrs[i][3] << 16) | (m_cellPtrs[i][4] << 8) | m_cellPtrs[i][5];
1199  }
1200 
1201  uint CentreFrequency(int i, int j) const
1202  {
1203  return (m_cellPtrs[i][3+4*j] << 24) | (m_cellPtrs[i][4+4*j] << 16) | (m_cellPtrs[i][5+4*j] << 8) | m_cellPtrs[i][6+4*j];
1204  }
1205  uint SubcellInfoLoopLength(uint i) const { return m_subCellPtrs[i][0]; }
1206  uint CellIDExtension(uint i, uint j) const { return m_subCellPtrs[i][1+5*j]; }
1208  {
1209  return (m_subCellPtrs[i][1+5*j] << 24) | (m_subCellPtrs[i][2+5*j] << 16) | (m_subCellPtrs[i][3+5*j] << 8) | m_cellPtrs[i][4+5*j];
1210  }
1211 
1212  void Parse(void) const;
1213  QString toString(void) const override; // MPEGDescriptor
1214 
1215  private:
1216  mutable std::vector<const unsigned char*> m_cellPtrs; // used to parse
1217  mutable std::vector<const unsigned char*> m_subCellPtrs; // used to parse
1218 };
1219 
1220 // DVB Bluebook A038 (Feb 2019) p 100 0x7f 0x05
1222 {
1223  public:
1225  const unsigned char *data, int len = 300) :
1226  MPEGDescriptor(data, len, DescriptorID::extension)
1227  {
1229  {
1230  m_data = nullptr;
1231  }
1232  }
1233  // Name bits loc expected value
1234  // descriptor_tag 8 0.0 0x7f extension
1235  // descriptor_length 8 1.0
1236  // descriptor_tag_extension 8 2.0 0x05 sh_delivery_system
1237 
1238  //
1239  // TBD
1240  //
1241 
1242  QString toString(void) const override; // MPEGDescriptor
1243 };
1244 
1245 // DVB Bluebook A038 (Feb 2019) p 115 0x7F 0x06
1247 {
1248  public:
1250  const unsigned char *data, int len = 300) :
1251  MPEGDescriptor(data, len, DescriptorID::extension)
1252  {
1254  {
1255  m_data = nullptr;
1256  }
1257  }
1258  // Name bits loc expected value
1259  // descriptor_tag 8 0.0 0x7f extension
1260  // descriptor_length 8 1.0
1261  // descriptor_tag_extension 8 2.0 0x06 supplementary_audio_descriptor
1262 
1263  // mix_type 1 3.0
1264  uint MixType(void) const { return m_data[3] & 0x1; }
1265 
1266  // editorial_classification 5 3.1
1267  uint EditorialClassification(void) const { return (m_data[3] >> 1 ) & 0x1F; }
1268 
1269  // reserved_future_use 1 3.6
1270  uint ReservedFutureUse(void) const { return (m_data[3] >> 6 ) & 0x1; }
1271 
1272  // language_code_present 1 3.7
1273  uint LanguageCodePresent(void) const { return (m_data[3] >> 7 ) & 0x1; }
1274 
1275  // ISO_639_language_code 24 4.0
1276  int LanguageKey(void) const
1277  { return iso639_str3_to_key(&m_data[4]); }
1278  QString LanguageString(void) const
1279  { return iso639_key_to_str3(LanguageKey()); }
1280 
1281  QString toString(void) const override; // MPEGDescriptor
1282 };
1283 
1284 // DVB Bluebook A038 (Feb 2019) p 113 0x7F 0x07
1286 {
1287  public:
1289  const unsigned char *data, int len = 300) :
1290  MPEGDescriptor(data, len, DescriptorID::extension)
1291  {
1293  {
1294  m_data = nullptr;
1295  }
1296  }
1297  // Name bits loc expected value
1298  // descriptor_tag 8 0.0 0x7f extension
1299  // descriptor_length 8 1.0
1300  // descriptor_tag_extension 8 2.0 0x07 network_change_notify_descriptor
1301 
1302  QString toString(void) const override; // MPEGDescriptor
1303 };
1304 
1305 // DVB Bluebook A038 (Feb 2019) p 112 0x7F 0x08
1307 {
1308  public:
1310  const unsigned char *data, int len = 300) :
1311  MPEGDescriptor(data, len, DescriptorID::extension)
1312  {
1314  {
1315  m_data = nullptr;
1316  }
1317  }
1318  // Name bits loc expected value
1319  // descriptor_tag 8 0.0 0x7f extension
1320  // descriptor_length 8 1.0
1321  // descriptor_tag_extension 8 2.0 0x08 message_descriptor
1322 
1323  // message_id 8 3.0
1324  uint MessageID(void) const { return m_data[3]; }
1325 
1326  // ISO_639_language_code 24 4.0
1327  int LanguageKey(void) const
1328  { return iso639_str3_to_key(&m_data[4]); }
1329  QString LanguageString(void) const
1330  { return iso639_key_to_str3(LanguageKey()); }
1331 
1332  // text_char 8 7.0
1333  QString Message(void) const
1334  { return dvb_decode_text(m_data+7, DescriptorLength()-5); }
1335 
1336  QString toString(void) const override; // MPEGDescriptor
1337 };
1338 
1339 // DVB Bluebook A038 (Feb 2019) p 117
1341 {
1342  public:
1344  const unsigned char *data, int len = 300) :
1345  MPEGDescriptor(data, len, DescriptorID::extension)
1346  {
1348  {
1349  m_data = nullptr;
1350  }
1351  }
1352  // Name bits loc expected value
1353  // descriptor_tag 8 0.0 0x7f extension
1354  // descriptor_length 8 1.0 4 or more
1355  // descriptor_tag_extension 8 2.0 0x09 target_region
1356 
1357  // country_code 24 3.0 e.g. "GBR"
1358  uint CountryCode(void) const
1359  {
1360  return ((m_data[3] << 16) | (m_data[4] << 8) | m_data[5]);
1361  }
1362  QString CountryCodeString(void) const
1363  {
1364  std::array<QChar,3> code
1365  { QChar(m_data[3]), QChar(m_data[4]), QChar(m_data[5]) };
1366  return QString(code.data(), 3);
1367  }
1368  //
1369  // TBD
1370  //
1371  QString toString(void) const override; // MPEGDescriptor
1372 };
1373 
1374 // DVB Bluebook A038 (Feb 2019) p 118
1376 {
1377  public:
1379  const unsigned char *data, int len = 300) :
1380  MPEGDescriptor(data, len, DescriptorID::extension)
1381  {
1383  {
1384  m_data = nullptr;
1385  }
1386  }
1387  // Name bits loc expected value
1388  // descriptor_tag 8 0.0 0x7f extension
1389  // descriptor_length 8 1.0 7 or more
1390  // descriptor_tag_extension 8 2.0 0x0A target_region_name
1391 
1392  // country_code 24 3.0 e.g. "GBR"
1393  uint CountryCode(void) const
1394  {
1395  return ((m_data[3] << 16) | (m_data[4] << 8) | m_data[5]);
1396  }
1397  QString CountryCodeString(void) const
1398  {
1399  std::array<QChar,3> code
1400  { QChar(m_data[3]), QChar(m_data[4]), QChar(m_data[5]) };
1401  return QString(code.data(), 3);
1402  }
1403 
1404  // ISO_639_language_code 24 6.0
1405  int LanguageKey(void) const
1406  { return iso639_str3_to_key(&m_data[6]); }
1407  QString LanguageString(void) const
1408  { return iso639_key_to_str3(LanguageKey()); }
1409 
1410  //
1411  // TBD
1412  //
1413  QString toString(void) const override; // MPEGDescriptor
1414 };
1415 
1416 // DVB Bluebook A038 (Feb 2019) p 115 0x7F 0x0B
1418 {
1419  public:
1421  const unsigned char *data, int len = 300) :
1422  MPEGDescriptor(data, len, DescriptorID::extension)
1423  {
1425  {
1426  m_data = nullptr;
1427  }
1428  }
1429  // Name bits loc expected value
1430  // descriptor_tag 8 0.0 0x7f extension
1431  // descriptor_length 8 1.0 7
1432  // descriptor_tag_extension 8 2.0 0x0B service_relocated
1433 
1434  // old_original_network_id 16 3.0
1435  // old_transport_stream_id 16 5.0
1436  // old_service_id 16 7.0
1437  uint OldOriginalNetworkID(void) const { return (m_data[3] << 8) | m_data[4]; }
1438  uint OldTransportID(void) const { return (m_data[5] << 8) | m_data[6]; }
1439  uint OldServiceID(void) const { return (m_data[7] << 8) | m_data[8]; }
1440 
1441  QString toString(void) const override; // MPEGDescriptor
1442 };
1443 
1444 // DVB Bluebook A038 (Feb 2019) p 98
1446 {
1447  public:
1449  const unsigned char *data, int len = 300) :
1450  MPEGDescriptor(data, len, DescriptorID::extension)
1451  {
1453  {
1454  m_data = nullptr;
1455  }
1456  }
1457  // Name bits loc expected value
1458  // descriptor_tag 8 0.0 0x7f extension
1459  // descriptor_length 8 1.0 9
1460  // descriptor_tag_extension 8 2.0 0x0D c2_delivery_system
1461 
1462  // plp_id 8 3.0
1463  uint PlpID(void) const
1464  {
1465  return m_data[3];
1466  }
1467 
1468  // data_slice_id 8 4.0
1469  uint DataSliceID(void) const
1470  {
1471  return m_data[4];
1472  }
1473 
1474  // C2_System_tuning_frequency 32 5.0
1475  uint Frequency(void) const
1476  {
1477  return ((m_data[5]<<24) | (m_data[6]<<16) |
1478  (m_data[7]<<8) | (m_data[8]));
1479  }
1480 
1481  //
1482  // TBD
1483  //
1484 
1485  QString toString(void) const override; // MPEGDescriptor
1486 };
1487 
1488 // DVB Bluebook A038 (Feb 2019) p 108
1490 {
1491  public:
1493  const unsigned char *data, int len = 300) :
1494  MPEGDescriptor(data, len, DescriptorID::extension)
1495  {
1497  {
1498  m_data = nullptr;
1499  }
1500  }
1501  // Name bits loc expected value
1502  // descriptor_tag 8 0.0 0x7f extension
1503  // descriptor_length 8 1.0
1504  // descriptor_tag_extension 8 2.0 0x17 s2x_delivery_system
1505 
1506  //
1507  // TBD
1508  //
1509 
1510  QString toString(void) const override; // MPEGDescriptor
1511 };
1512 
1513 // DVB Bluebook A038 (Sept 2011) p 58
1515 {
1516  public:
1517  explicit DSNGDescriptor(const unsigned char *data, int len = 300) :
1518  MPEGDescriptor(data, len, DescriptorID::dsng) { }
1519  // Name bits loc expected value
1520  // descriptor_tag 8 0.0 0x68
1521  // descriptor_length 8 1.0
1522  // for (i=0;i<N;i++) { byte 8 }
1523 };
1524 
1525 // DVB Bluebook A038 (Sept 2011) p 58
1527 {
1528  public:
1529  explicit ExtendedEventDescriptor(const unsigned char *data, int len = 300) :
1530  MPEGDescriptor(data, len, DescriptorID::extended_event) { }
1531  // Name bits loc expected value
1532  // descriptor_tag 8 0.0 0x4e
1533  // descriptor_length 8 1.0
1534 
1535  // descriptor_number 4 2.0
1536  uint DescriptorNumber(void) const { return m_data[2] >> 4; }
1537  // last_number 4 2.4
1538  uint LastNumber(void) const { return m_data[2] & 0xf; }
1539  // ISO_639_language_code 24 3.0
1540  int LanguageKey(void) const
1541  { return iso639_str3_to_key(&m_data[3]); }
1542  QString LanguageString(void) const
1543  { return iso639_key_to_str3(LanguageKey()); }
1544  int CanonicalLanguageKey(void) const
1545  { return iso639_key_to_canonical_key(LanguageKey()); }
1546  QString CanonicalLanguageString(void) const
1547  { return iso639_key_to_str3(CanonicalLanguageKey()); }
1548  // length_of_items 8 6.0
1549  uint LengthOfItems(void) const { return m_data[6]; }
1550  // for ( i=0;i<N;i++)
1551  // {
1552  // item_description_len 8 0.0+p
1553  // for (j=0;j<N;j++) { item_desc_char 8 }
1554  // item_length 8 1.0+p2
1555  // for (j=0;j<N;j++) { item_char 8 }
1556  // }
1557  QMultiMap<QString,QString> Items(void) const;
1558  // text_length 8
1559  uint TextLength(void) const { return m_data[7 + LengthOfItems()]; }
1560  // for (i=0; i<N; i++) { text_char 8 }
1561  QString Text(void) const
1562  { return dvb_decode_text(&m_data[8 + LengthOfItems()], TextLength()); }
1563 
1564  // HACK beg -- Pro7Sat is missing encoding
1565  QString Text(const enc_override &encoding_override) const
1566  {
1567  return dvb_decode_text(&m_data[8 + LengthOfItems()], TextLength(),
1568  encoding_override);
1569  }
1570  // HACK end -- Pro7Sat is missing encoding
1571 };
1572 
1573 // DVB Bluebook A038 (Sept 2011) p 60
1575 {
1576  public:
1577  explicit FrequencyListDescriptor(const unsigned char *data, int len = 300) :
1578  MPEGDescriptor(data, len, DescriptorID::frequency_list) { }
1579  // Name bits loc expected value
1580  // descriptor_tag 8 0.0 0x62
1581  // descriptor_length 8 1.0
1582 
1583  // reserved_future_use 6 2.0
1584  // coding_type 2 2.6
1585  enum
1586  {
1591  };
1592  uint CodingType(void) const { return m_data[2] & 0x3; }
1593  // for (i=0;I<N;i++)
1594  // {
1595  // centre_frequency 32
1596  // }
1597  uint FrequencyCount() const { return DescriptorLength()>>2; }
1598  unsigned long long Frequency(uint i) const
1599  {
1601  {
1602  return (((unsigned long long)m_data[i*4+3]<<24) |
1603  (m_data[i*4+4]<<16) |
1604  (m_data[i*4+5]<<8) |
1605  (m_data[i*4+6]));
1606  }
1607  return byte4BCD2int(m_data[i*4+3], m_data[i*4+4],
1608  m_data[i*4+5], m_data[i*4+6]);
1609  }
1610  unsigned long long FrequencyHz(uint i) const
1611  {
1612  return Frequency(i) *
1613  ((kCodingTypeTerrestrial == CodingType()) ? 10 : 100);
1614  }
1615 
1616  QString toString(void) const override; // MPEGDescriptor
1617 };
1618 
1619 // DVB Bluebook A038 (Sept 2011) p 70
1620 // ETSI EN 300 468 p 58
1622 {
1623  public:
1624  explicit LocalTimeOffsetDescriptor(const unsigned char *data, int len = 300) :
1625  MPEGDescriptor(data, len, DescriptorID::local_time_offset) { }
1626  // Name bits loc expected value
1627  // descriptor_tag 8 0.0 0x58
1628  // descriptor_length 8 1.0
1629  uint Count(void) const { return DescriptorLength() / 13; }
1630  // for(i=0;i<N;i++)
1631  // {
1632  // country_code 24 0.0+p
1634  {
1635  int o = 2 + i*13;
1636  return ((m_data[o] << 16) | (m_data[o+1] << 8) | m_data[o+2]);
1637  }
1638  QString CountryCodeString(uint i) const
1639  {
1640  int o = 2 + i*13;
1641  std::array<QChar,3> code
1642  { QChar(m_data[o]), QChar(m_data[o+1]), QChar(m_data[o+2]) };
1643  return QString(code.data(), 3);
1644  }
1645  // country_region_id 6 3.0+p
1646  uint CountryRegionId(uint i) const { return m_data[2 + i*13 + 3] >> 2; }
1647  // reserved 1 3.6+p
1648  // local_time_off_polarity 1 3.7+p
1651  { return (m_data[2 + i*13 + 3] & 0x01) != 0; }
1652  // local_time_offset 16 4.0+p
1654  { return (m_data[2 + i*13 + 4] << 8) | m_data[2 + i*13 + 5]; }
1656  { return (LocalTimeOffsetPolarity(i) ? -1 : +1) * LocalTimeOffset(i); }
1657  // time_of_change 40 6.0+p
1658  // TODO decode this
1659  // next_time_offset 16 11.0+p
1661  { return (m_data[2 + i*13 + 11]<<8) | m_data[2 + i*13 + 12]; }
1662  // } 13.0
1663  QString toString(void) const override; // MPEGDescriptor
1664 };
1665 
1666 // DVB Bluebook A038 (Sept 2011) p 71
1668 {
1669  public:
1670  explicit MosaicDescriptor(const unsigned char *data, int len = 300) :
1671  MPEGDescriptor(data, len, DescriptorID::mosaic) { }
1672  // Name bits loc expected value
1673  // descriptor_tag 8 0.0 0x51
1674  // descriptor_length 8 1.0
1675 
1676  // mosaic_entry_point 1 2.0
1677  // num_horiz_elem_cells 3 2.1
1678  // reserved_future_use 1 2.4
1679  // num_vert_elem_cells 3 2.5
1680  // for (i=0;i<N; i++)
1681  // {
1682  // logical_cell_id 6 0.0+p
1683  // reserved_future_use 7 0.6+p
1684  // logical_cell_pres_info 3 1.5+p
1685  // elem_cell_field_len 8 2.0+p
1686  // for (i=0; j<elementary_cell_field_length; j++)
1687  // {
1688  // reserved_future_use 2
1689  // elementary_cell_id 6
1690  // }
1691  // cell_linkage_info 8
1692  // if (cell_linkage_info == 0x01)
1693  // {
1694  // bouquet_id 16
1695  // }
1696  // if (cell_linkage_info == 0x02)
1697  // {
1698  // original_network_id 16
1699  // transport_stream_id 16
1700  // service_id 16
1701  // }
1702  // if (cell_linkage_info == 0x03)
1703  // {
1704  // original_network_id 16
1705  // transport_stream_id 16
1706  // service_id 16
1707  // }
1708  // if (cell_linkage_info == 0x04)
1709  // {
1710  // original_network_id 16
1711  // transport_stream_id 16
1712  // service_id 16
1713  // event_id 16
1714  // }
1715  // }
1716 };
1717 
1718 // DVB Bluebook A038 (Sept 2011) p 74
1720 {
1721  public:
1723  const unsigned char *data, int len = 300) :
1724  MPEGDescriptor(data, len, DescriptorID::multilingual_bouquet_name) { }
1725  // Name bits loc expected value
1726  // descriptor_tag 8 0.0 0x5c
1727  // descriptor_length 8 1.0
1728 
1729  // for (i=0;i<N;i++)
1730  // {
1731  // ISO_639_language_code 24
1732  // bouquet_name_length 8
1733  // for (j=0;j<N;j++) { char 8 }
1734  // }
1735 };
1736 
1737 // DVB Bluebook A038 (Sept 2011) p 75
1739 {
1740  public:
1742  const unsigned char *data, int len = 300) :
1743  MPEGDescriptor(data, len, DescriptorID::multilingual_network_name) { }
1744  // Name bits loc expected value
1745  // descriptor_tag 8 0.0 0x5b
1746  // descriptor_length 8 1.0
1747 
1748  // for (i=0;i<N;i++)
1749  // {
1750  // ISO_639_language_code 24
1751  // network_name_length 8
1752  // for (j=0;j<N;j++) { char 8 }
1753  // }
1754 };
1755 
1756 // DVB Bluebook A038 (Sept 2011) p 76
1758 {
1759  public:
1761  const unsigned char *data, int len = 300) :
1762  MPEGDescriptor(data, len, DescriptorID::multilingual_service_name) { }
1763  // Name bits loc expected value
1764  // descriptor_tag 8 0.0 0x5d
1765  // descriptor_length 8 1.0
1766 
1767  // for (i=0;i<N;i++)
1768  // {
1769  // ISO_639_language_code 24
1770  // service_provider_name_length 8
1771  // for (j=0;j<N;j++) { char 8 }
1772  // service_name_length 8
1773  // for (j=0;j<N;j++) { char 8 }
1774  // }
1775 };
1776 
1777 // DVB Bluebook A038 (Sept 2011) p 76
1779 {
1780  public:
1781  explicit NVODReferenceDescriptor(const unsigned char *data, int len = 300) :
1782  MPEGDescriptor(data, len, DescriptorID::nvod_reference) { }
1783  // Name bits loc expected value
1784  // descriptor_tag 8 0.0 0x4b
1785  // descriptor_length 8 1.0
1786  uint Count(void) const { return DescriptorLength() / 6; }
1787 
1788  // for (i=0;i<N;i++)
1789  // {
1790  // transport_stream_id 16
1792  { return (m_data[i * 6 + 2] << 8) | m_data[i * 6 + 3]; }
1793  // original_network_id 16
1795  { return (m_data[i * 6 + 4] << 8) | m_data[i * 6 + 5]; }
1796  // service_id 16
1798  { return (m_data[i * 6 + 6] << 8) | m_data[i * 6 + 7]; }
1799  // }
1800  QString toString(void) const override; // MPEGDescriptor
1801 };
1802 
1803 // DVB Bluebook A038 (Sept 2011) p 78
1804 // ETSI EN 300 468
1806 {
1807  public:
1808  explicit ParentalRatingDescriptor(const unsigned char *data, int len = 300) :
1809  MPEGDescriptor(data, len, DescriptorID::parental_rating) { }
1810  explicit ParentalRatingDescriptor(const std::vector<uint8_t> &data) :
1811  MPEGDescriptor(data, DescriptorID::parental_rating) { }
1812  // Name bits loc expected value
1813  // descriptor_tag 8 0.0 0x55
1814  // descriptor_length 8 1.0
1815  uint Count(void) const { return DescriptorLength() / 4; }
1816 
1817  // for (i=0; i<N; i++)
1818  // {
1819  // country_code 24
1820  // rating 8
1821  // }
1822  QString CountryCodeString(uint i) const
1823  {
1824  int o = 2 + i*4;
1825  if (i >= Count())
1826  return QString("");
1827  std::array<QChar,3> code
1828  { QChar(m_data[o]), QChar(m_data[o+1]), QChar(m_data[o+2]) };
1829  return QString(code.data(), 3);
1830  }
1831  int Rating(uint i) const
1832  {
1833  if (i >= Count())
1834  {
1835  return -1;
1836  }
1837 
1838  unsigned char rawRating = m_data[2 + 3 + i*4];
1839  if (rawRating == 0)
1840  {
1841  // 0x00 - undefined
1842  return -1;
1843  }
1844  if ((rawRating >= 0x01) && (rawRating <= 0x0F))
1845  {
1846  // 0x01 to 0x0F - minumum age = rating + 3 years
1847  return rawRating + 3;
1848  }
1849 
1850  // 0x10 to 0xFF - defined by the broadcaster
1851  return -1;
1852  }
1853 };
1854 
1855 // DVB Bluebook A038 (Sept 2011) p 78 (see also ETSI EN 300 231 PDC)
1857 {
1858  public:
1859  explicit PDCDescriptor(const unsigned char *data, int len = 300) :
1860  MPEGDescriptor(data, len, DescriptorID::pdc, 3) { }
1861  // Name bits loc expected value
1862  // descriptor_tag 8 0.0 0x69
1863  // descriptor_length 8 1.0
1864 
1865  // reserved_future_use 4 2.0
1866  // program_id_label 20 2.4
1867  uint ProgramIdLabel(void) const
1868  { return (m_data[2] & 0x0F) << 16 | m_data[3] << 8 | m_data[4]; }
1869  QString toString(void) const override // MPEGDescriptor
1870  {
1871  return QString("PDCDescriptor program_id_label(%1)")
1872  .arg(ProgramIdLabel());
1873  }
1874 };
1875 
1876 // DVB Bluebook A038 (Sept 2011) p 79 (see also ETSI TS 101 162)
1878 {
1879  public:
1880  explicit PrivateDataSpecifierDescriptor(const unsigned char *data, int len = 300) :
1881  MPEGDescriptor(data, len, DescriptorID::private_data_specifier) { }
1882  explicit PrivateDataSpecifierDescriptor(const std::vector<uint8_t> &data) :
1883  MPEGDescriptor(data, DescriptorID::private_data_specifier) { }
1884  // Name bits loc expected value
1885  // descriptor_tag 8 0.0 0x5f
1886  // descriptor_length 8 1.0
1887 
1888  // private_data_specifier 32 2.0
1889  uint32_t PrivateDataSpecifier (void) const
1890  {
1891  return (m_data[2] << 24 | m_data[3] << 16 | m_data[4] << 8 | m_data[5]);
1892  }
1893 };
1894 
1895 // DVB Bluebook A038 (Sept 2011) p 79
1897 {
1898  public:
1899  explicit ScramblingDescriptor(const unsigned char *data, int len = 300) :
1900  MPEGDescriptor(data, len, DescriptorID::scrambling, 1) { }
1901  // Name bits loc expected value
1902  // descriptor_tag 8 0.0 0x65
1903  // descriptor_length 8 1.0
1904 
1905  // scrambling_mode 8 2.0
1906  uint ScramblingMode(void) const { return m_data[2]; }
1907  QString toString(void) const override // MPEGDescriptor
1908  {
1909  return QString("ScramblingDescriptor scrambling_mode(%1)")
1910  .arg(ScramblingMode());
1911  }
1912 };
1913 
1914 // DVB Bluebook A038 (Feb 2019) p 83, Table 89: Service type coding
1916 {
1917  public:
1918  explicit ServiceDescriptorMapping(const uint service_type) { m_serviceType = service_type; }
1919  enum
1920  {
1929  // reserved for future use = 0x09,
1938  // reserved for future use = 0x12 to 0x15
1950  // reserved for future use = 0x21 to 0x7F
1951  // user defined = 0x80 to 0xFE
1952  // reserved for future use = 0xFF
1953  // User Defined descriptors for Dish network
1967 
1968  };
1969  uint ServiceType(void) const { return m_serviceType; }
1970  bool IsDTV(void) const
1971  {
1972  return ((ServiceType() == kServiceTypeDigitalTelevision) ||
1974  IsHDTV() ||
1975  IsUHDTV() ||
1989  }
1990  bool IsDigitalAudio(void) const
1991  {
1992  return
1995  }
1996  bool IsHDTV(void) const
1997  {
1998  return
2002  }
2003  bool IsUHDTV(void) const
2004  {
2005  return
2008  }
2009  bool IsTeletext(void) const
2010  {
2012  }
2013  QString toString(void) const;
2014 
2015  private:
2017 };
2018 
2019 // DVB Bluebook A038 (Feb 2019) p 82
2021 {
2022  public:
2023  explicit ServiceDescriptor(const unsigned char *data, int len = 300) :
2024  MPEGDescriptor(data, len, DescriptorID::service) { }
2025  // Name bits loc expected value
2026  // descriptor_tag 8 0.0 0x48
2027  // descriptor_length 8 1.0
2028 
2029  // service_type 8 2.0
2030  uint ServiceType(void) const { return m_data[2]; }
2031  // svc_provider_name_len 8 3.0
2032  uint ServiceProviderNameLength(void) const { return m_data[3]; }
2033  // for (i=0;i<N;I++) { char 8 }
2034  QString ServiceProviderName(void) const
2036  QString ServiceProviderShortName(void) const
2037  {
2039  }
2040  // service_name_length 8
2042  { return m_data[4 + ServiceProviderNameLength()]; }
2043  // for (i=0;i<N;I++) { char 8 }
2044  QString ServiceName(void) const
2045  {
2047  ServiceNameLength());
2048  }
2049  QString ServiceShortName(void) const
2050  {
2052  ServiceNameLength());
2053  }
2054  bool IsDTV(void) const
2055  { return ServiceDescriptorMapping(ServiceType()).IsDTV(); }
2056  bool IsDigitalAudio(void) const
2058  bool IsHDTV(void) const
2060  bool IsTeletext(void) const
2062 
2063  QString toString(void) const override // MPEGDescriptor
2064  {
2065  return QString("ServiceDescriptor: %1 %2(0x%3)")
2066  .arg(ServiceName())
2068  .arg(ServiceType(),2,16,QChar('0'));
2069  }
2070 };
2071 
2072 // DVB Bluebook A038 (Feb 2019) p 84
2074 {
2075  public:
2076  explicit ServiceAvailabilityDescriptor(const unsigned char *data, int len = 300) :
2077  MPEGDescriptor(data, len, DescriptorID::service_availability) { }
2078  // Name bits loc expected value
2079  // descriptor_tag 8 0.0 0x72
2080  // descriptor_length 8 1.0
2081 
2082  // availability_flag 1 2.0
2083  // reserved 7 2.1
2084  // for (i=0;i<N;i++) { cell_id 16 }
2085 };
2086 
2087 // DVB Bluebook A038 (Feb 2019) p 84
2089 {
2090  public:
2091  explicit ServiceListDescriptor(const unsigned char *data, int len = 300) :
2092  MPEGDescriptor(data, len, DescriptorID::service_list) { }
2093  // Name bits loc expected value
2094  // descriptor_tag 8 0.0 0x41
2095  // descriptor_length 8 1.0
2096 
2097  // for (i=0;i<N;I++)
2098  // {
2099  // service_id 16 0.0+p
2100  // service_type 8 2.0+p
2101  // }
2102  uint ServiceCount(void) const { return DescriptorLength() / 3; }
2103 
2105  { return (m_data[2+i*3] << 8) | m_data[3+i*3]; }
2106 
2107  uint ServiceType(uint i) const { return m_data[4+i*3]; }
2108 
2109  QString toString(void) const override // MPEGDescriptor
2110  {
2111  QString str = QString("ServiceListDescriptor: %1 Services")
2112  .arg(ServiceCount());
2113  for (uint i=0; i<ServiceCount(); i++)
2114  {
2115  str.append("\n");
2116  str.append(QString(" Service (%1) Type%2 (0x%3)")
2117  .arg(ServiceID(i))
2119  .arg(ServiceType(i),2,16,QChar('0')));
2120  }
2121  return str;
2122  }
2123 };
2124 
2125 // DVB Bluebook A038 (Sept 2011) p 82
2127 {
2128  public:
2129  explicit ServiceMoveDescriptor(const unsigned char *data, int len = 300) :
2130  MPEGDescriptor(data, len, DescriptorID::service_move) { }
2131  // Name bits loc expected value
2132  // descriptor_tag 8 0.0 0x60
2133  // descriptor_length 8 1.0
2134 
2135  // new_original_network_id 16 2.0
2136  // new_transport_stream_id 16 4.0
2137  // new_service_id 16 6.0
2138 };
2139 
2140 // DVB Bluebook A038 (Sept 2011) p 83
2142 {
2143  public:
2144  explicit ShortEventDescriptor(const unsigned char *data, int len = 300) :
2145  MPEGDescriptor(data, len, DescriptorID::short_event) { }
2146  // Name bits loc expected value
2147  // descriptor_tag 8 0.0 0x4d
2148  // descriptor_length 8 1.0
2149 
2150  // ISO_639_language_code 24 2.0
2151  int LanguageKey(void) const
2152  { return iso639_str3_to_key(&m_data[2]); }
2153  QString LanguageString(void) const
2154  { return iso639_key_to_str3(LanguageKey()); }
2155  int CanonicalLanguageKey(void) const
2157  QString CanonicalLanguageString(void) const
2159  // event_name_length 8 5.0
2160  uint EventNameLength(void) const { return m_data[5]; }
2161  // for (i=0;i<event_name_length;i++) { event_name_char 8 }
2162  QString EventName(void) const
2163  { return dvb_decode_text(&m_data[6], m_data[5]); }
2164  QString EventShortName(void) const
2165  { return dvb_decode_short_name(&m_data[6], m_data[5]); }
2166  // text_length 8
2167  uint TextLength(void) const { return m_data[6 + m_data[5]]; }
2168  // for (i=0;i<text_length;i++) { text_char 8 }
2169  QString Text(void) const
2170  { return dvb_decode_text(&m_data[7 + m_data[5]], TextLength()); }
2171 
2172  // HACK beg -- Pro7Sat is missing encoding
2173  QString EventName(const enc_override& encoding_override) const
2174  {
2175  return dvb_decode_text(&m_data[6], m_data[5],
2176  encoding_override);
2177  }
2178 
2179  QString Text(const enc_override& encoding_override) const
2180  {
2181  return dvb_decode_text(&m_data[7 + m_data[5]], TextLength(),
2182  encoding_override);
2183  }
2184  // HACK end -- Pro7Sat is missing encoding
2185 
2186  QString toString(void) const override // MPEGDescriptor
2187  { return LanguageString() + " : " + EventName() + " : " + Text(); }
2188 };
2189 
2190 // DVB Bluebook A038 (Sept 2011) p 84
2192 {
2193  public:
2194  explicit ShortSmoothingBufferDescriptor(const unsigned char *data, int len = 300) :
2195  MPEGDescriptor(data, len, DescriptorID::short_smoothing_buffer) { }
2196  // Name bits loc expected value
2197  // descriptor_tag 8 0.0 0x61
2198  // descriptor_length 8 1.0
2199 
2200  // sb_size 2 2.0
2201  // sb_leak_rate 6 2.2
2202  // for (i=0; i<N; i++)
2203  // { DVB_reserved 8 }
2204 };
2205 
2206 // DVB Bluebook A038 (Sept 2011) p 85
2210 {
2211  public:
2212  explicit StreamIdentifierDescriptor(const unsigned char *data, int len = 300) :
2213  MPEGDescriptor(data, len, DescriptorID::stream_identifier, 1) { }
2214  // Name bits loc expected value
2215  // descriptor_tag 8 0.0 0x52
2216  // descriptor_length 8 1.0 0x01
2217 
2218  // component_tag 8 2.0
2219  uint ComponentTag(void) const { return m_data[2]; }
2220  QString toString(void) const override // MPEGDescriptor
2221  {
2222  return QString("Stream Identifier Descriptor (0x52): ComponentTag=0x%1")
2223  .arg(ComponentTag(),1,16);
2224  }
2225 };
2226 
2227 // DVB Bluebook A038 (Sept 2011) p 86
2229 {
2230  public:
2231  explicit StuffingDescriptor(const unsigned char *data, int len = 300) :
2232  MPEGDescriptor(data, len, DescriptorID::dvb_stuffing) { }
2233  // Name bits loc expected value
2234  // descriptor_tag 8 0.0 0x42
2235  // descriptor_length 8 1.0
2236  // stuffing_byte * 2.0
2237  QString toString(void) const override // MPEGDescriptor
2238  {
2239  return QString("Stuffing Descriptor (0x42) length(%1)")
2240  .arg(DescriptorLength());
2241  }
2242 };
2243 
2244 // DVB Bluebook A038 (Sept 2011) p 86
2246 {
2247  public:
2248  explicit SubtitlingDescriptor(const unsigned char *data, int len = 300) :
2249  MPEGDescriptor(data, len, DescriptorID::subtitling) { }
2250  // Name bits loc expected value
2251  // descriptor_tag 8 0.0 0x59
2252  // descriptor_length 8 1.0
2253 
2254  uint StreamCount(void) const { return DescriptorLength() >> 3; }
2255  // for (i= 0;i<N;I++)
2256  // {
2257  // ISO_639_language_code 24 0.0+(i*8)
2258  int LanguageKey(uint i) const
2259  { return iso639_str3_to_key(&m_data[2 + (i<<3)]); }
2260  QString LanguageString(uint i) const
2261  { return iso639_key_to_str3(LanguageKey(i)); }
2266 
2267  // subtitling_type 8 3.0+(i*8)
2269  { return m_data[5 + (i<<3)]; }
2270  // composition_page_id 16 4.0+(i*8)
2272  { return (m_data[6 + (i<<3)] << 8) | m_data[7 + (i<<3)]; }
2273  // ancillary_page_id 16 6.0+(i*8)
2275  { return (m_data[8 + (i<<3)] << 8) | m_data[9 + (i<<3)]; }
2276  // } 8.0
2277 };
2278 
2279 // DVB Bluebook A038 (Sept 2011) p 87
2281 {
2282  public:
2283  explicit TelephoneDescriptor(const unsigned char *data, int len = 300) :
2284  MPEGDescriptor(data, len, DescriptorID::telephone) { }
2285  // Name bits loc expected value
2286  // descriptor_tag 8 0.0 0x57
2287  // descriptor_length 8 1.0
2288 
2289  // reserved_future_use 2 2.0
2290  // foreign_availability 1 2.2
2291  // connection_type 5 2.3
2292  // reserved_future_use 1 3.0
2293  // country_prefix_length 2 3.1
2294  // i18n_area_code_len 3 3.4
2295  // operator_code_length 2 3.6
2296  // reserved_future_use 1 3.7
2297  // national_area_code_len 3 4.0
2298  // core_number_length 4 4.4
2299  //
2300  // for (i=0; i<N; i++)
2301  // { country_prefix_char 8 }
2302  // for (i=0; i<N; i++)
2303  // { international_area_code_char 8 }
2304  // for (i=0; i<N; i++)
2305  // { operator_code_char 8 }
2306  // for (i=0; i<N; i++)
2307  // { national_area_code_char 8 }
2308  // for (i=0; i<N; i++)
2309  // { core_number_char 8 }
2310 };
2311 
2312 // DVB Bluebook A038 (Sept 2011) p 88
2314 {
2315  public:
2316  explicit TeletextDescriptor(const unsigned char *data, int len = 300) :
2317  MPEGDescriptor(data, len, DescriptorID::teletext) { }
2318  // Name bits loc expected value
2319  // descriptor_tag 8 0.0 0x56
2320  // descriptor_length 8 1.0
2321 
2322  uint StreamCount(void) const { return DescriptorLength() / 5; }
2323 
2324  // for (i=0; i<N; i++)
2325  // {
2326  // ISO_639_language_code 24 0.0
2327  int LanguageKey(uint i) const
2328  { return iso639_str3_to_key(&m_data[2 + (i*5)]); }
2329  QString LanguageString(uint i) const
2330  { return iso639_key_to_str3(LanguageKey(i)); }
2335  // teletext_type 5 3.0
2337  { return m_data[5 + (i*5)] >> 3; }
2338  // teletext_magazine_num 3 3.5
2340  { return m_data[5 + (i*5)] & 0x7; }
2341  // teletext_page_num 8 4.0
2343  { return m_data[6 + (i*5)]; }
2344  // } 5.0
2345  QString toString(void) const override; // MPEGDescriptor
2346 };
2347 
2348 // DVB Bluebook A038 (Sept 2011) p 89
2350 {
2351  public:
2352  explicit TimeShiftedEventDescriptor(const unsigned char *data, int len = 300) :
2353  MPEGDescriptor(data, len, DescriptorID::time_shifted_event) { }
2354  // Name bits loc expected value
2355  // descriptor_tag 8 0.0 0x4f
2356  // descriptor_length 8 1.0
2357 
2358  // reference_service_id 16 2.0
2359  // reference_event_id 16 4.0
2360 };
2361 
2362 // DVB Bluebook A038 (Sept 2011) p 90
2364 {
2365  public:
2366  explicit TimeShiftedServiceDescriptor(const unsigned char *data, int len = 300) :
2367  MPEGDescriptor(data, len, DescriptorID::dvb_time_shifted_service) { }
2368  // Name bits loc expected value
2369  // descriptor_tag 8 0.0 0x4c
2370  // descriptor_length 8 1.0
2371 
2372  // reference_service_id 16 2.0
2373 };
2374 
2375 // DVB Bluebook A038 (Sept 2011) p 90
2377 {
2378  public:
2379  explicit TransportStreamDescriptor(const unsigned char *data, int len = 300) :
2380  MPEGDescriptor(data, len, DescriptorID::transport_stream) { }
2381  // Name bits loc expected value
2382  // descriptor_tag 8 0.0 0x67
2383  // descriptor_length 8 1.0
2384 
2385  // for (i=0; i<N; i++) { byte 8 }
2386  QString Data(void) const
2387  { return dvb_decode_text(&m_data[2], DescriptorLength()); }
2388  QString toString(void) const override // MPEGDescriptor
2389  { return QString("TransportStreamDescriptor data(%1)").arg(Data()); }
2390 };
2391 
2392 // DVB Bluebook A038 (Sept 2011) p 91
2394 {
2395  public:
2396  explicit VBIDataDescriptor(const unsigned char *data, int len = 300) :
2397  MPEGDescriptor(data, len, DescriptorID::vbi_data) { }
2398  // Name bits loc expected value
2399  // descriptor_tag 8 0.0 0x45
2400  // descriptor_length 8 1.0
2401 
2402  // for (i=0; i<N; i++)
2403  // {
2404  // data_service_id 8 0.0+p
2405  // data_service_length 8 1.0+p
2406  // if ((data_service_id&0x7) && data_service_id!=0x3))
2407  // {
2408  // for (i=0; i<N; i++)
2409  // {
2410  // reserved 2 2.0+p2
2411  // field_parity 1 2.2+p2
2412  // line_offset 5 2.3+p2
2413  // }
2414  // }
2415  // else
2416  // {
2417  // for (i=0; i<N; i++) { reserved 8 }
2418  // }
2419  // }
2420 };
2421 
2422 // DVB Bluebook A038 (Sept 2011) p 92
2424 {
2425  public:
2426  explicit VBITeletextDescriptor(const unsigned char *data, int len = 300) :
2427  MPEGDescriptor(data, len, DescriptorID::vbi_teletext) { }
2428  // Name bits loc expected value
2429  // descriptor_tag 8 0.0 0x46
2430  // descriptor_length 8 1.0
2431 
2432  // for (i=0;i<N;i++)
2433  // {
2434  // ISO_639_language_code 24 0.0+p
2435  // teletext_type 5 3.0+p
2436  // teletext_magazine_num 3 3.5+p
2437  // teletext_page_num 8 4.0+p
2438  // } 5.0
2439 };
2440 
2441 // DVB Bluebook A038 (Sept 2011) p 119
2443 {
2444  public:
2445  explicit PartialTransportStreamDescriptor(const unsigned char *data, int len = 300) :
2446  MPEGDescriptor(data, len, DescriptorID::partial_transport_stream) { }
2447  // Name bits loc expected value
2448  // descriptor_tag 8 0.0 0x63
2449  // descriptor_length 8 1.0
2450 
2451  // DVB_reserved_future_use 2 2.0
2452  // peak_rate 22 2.2
2453  uint PeakRate(void) const
2454  { return (m_data[2] & 0x3f) << 16 | m_data[3] | m_data[4]; }
2455  // DVB_reserved_future_use 2 5.0
2456  // min_overall_smooth_rate 22 5.2
2457  uint SmoothRate(void) const
2458  { return (m_data[5] & 0x3f) << 16 | m_data[6] | m_data[7]; }
2459  // DVB_reserved_future_use 2 8.0
2460  // max_overall_smooth_buf 14 8.2
2461  uint SmoothBuf(void) const { return ((m_data[8] & 0x3f) << 8) | m_data[9]; }
2462  QString toString(void) const override; // MPEGDescriptor
2463 };
2464 
2465 
2466 // a_52a.pdf p125 Table A7 (for DVB)
2468 {
2469  public:
2470  explicit AC3Descriptor(const unsigned char *data, int len = 300) :
2471  MPEGDescriptor(data, len, DescriptorID::ac3) { }
2472  // Name bits loc expected value
2473  // descriptor_tag 8 0.0 0x6A
2474  // descriptor_length 8 1.0
2475 
2476  // component_type_flag 1 2.0
2477  bool HasComponentType(void) const { return ( m_data[2] & 0x80 ) != 0; }
2478  // bsid_flag 1 2.1
2479  bool HasBSID(void) const { return ( m_data[2] & 0x40 ) != 0; }
2480  // mainid_flag 1 2.2
2481  bool HasMainID(void) const { return ( m_data[2] & 0x20 ) != 0; }
2482  // asvc_flag 1 2.3
2483  bool HasASVC(void) const { return ( m_data[2] & 0x10 ) != 0; }
2484  // reserved_flags 4 2.4
2485  // if (component_type_flag == 1)
2486  // { component_type 8 uimsbf }
2487  uint ComponentType(void) const { return m_data[3]; }
2488  // if (bsid_flag == 1)
2489  // { bsid 8 uimsbf }
2490  uint BSID(void) const
2491  { return (HasComponentType()) ? m_data[4] : m_data[3]; }
2492  // if (mainid_flag == 1)
2493  // { mainid 8 uimsbf }
2494  uint MainID(void) const
2495  {
2496  int offset = 3;
2497  offset += (HasComponentType()) ? 1 : 0;
2498  offset += (HasBSID()) ? 1 : 0;
2499  return m_data[offset];
2500  }
2501  // if (asvc_flag==1)
2502  // { asvc 8 uimsbf }
2503  uint ASVC(void) const
2504  {
2505  int offset = 3;
2506  offset += (HasComponentType()) ? 1 : 0;
2507  offset += (HasBSID()) ? 1 : 0;
2508  offset += (HasMainID()) ? 1 : 0;
2509  return m_data[offset];
2510  }
2511  // for (I=0;I<N;I++)
2512  // { additional_info[i] N*8 uimsbf }
2513  //};
2514  QString toString(void) const override; // MPEGDescriptor
2515 };
2516 
2517 static QString coderate_inner(uint coderate)
2518 {
2519  switch (coderate)
2520  {
2521  case 0x0: return "auto"; // not actually defined in spec
2522  case 0x1: return "1/2";
2523  case 0x2: return "2/3";
2524  case 0x3: return "3/4";
2525  case 0x4: return "5/6";
2526  case 0x5: return "7/8";
2527  case 0x8: return "8/9";
2528  case 0xf: return "none";
2529  default: return "auto"; // not actually defined in spec
2530  }
2531 }
2532 
2542 {
2543  public:
2544  explicit DVBLogicalChannelDescriptor(const unsigned char *data, int len = 300) :
2545  MPEGDescriptor(data, len, PrivateDescriptorID::dvb_logical_channel_descriptor) { }
2546  // Name bits loc expected value
2547  // descriptor_tag 8 0.0 0x83
2548  // descriptor_length 8 1.0
2549 
2550  uint ChannelCount(void) const { return DescriptorLength() >> 2; }
2551 
2553  { return (m_data[2 + (i<<2)] << 8) | m_data[3 + (i<<2)]; }
2554 
2556  { return ((m_data[4 + (i<<2)] << 8) | m_data[5 + (i<<2)]) & 0x3ff; }
2557 
2558  QString toString(void) const override; // MPEGDescriptor
2559 };
2560 
2570 {
2571  public:
2572  explicit DVBSimulcastChannelDescriptor(const unsigned char *data, int len = 300) :
2573  MPEGDescriptor(data, len, PrivateDescriptorID::dvb_simulcast_channel_descriptor) { }
2574  // Name bits loc expected value
2575  // descriptor_tag 8 0.0 0x88
2576  // descriptor_length 8 1.0
2577 
2578  uint ChannelCount(void) const { return DescriptorLength() >> 2; }
2579 
2581  { return (m_data[2 + (i<<2)] << 8) | m_data[3 + (i<<2)]; }
2582 
2584  { return ((m_data[4 + (i<<2)] << 8) | m_data[5 + (i<<2)]) & 0x3ff; }
2585 
2586  QString toString(void) const override; // MPEGDescriptor
2587 };
2588 
2600 {
2601  public:
2602  explicit FreesatLCNDescriptor(const unsigned char *data, int len = 300) :
2603  MPEGDescriptor(data, len, PrivateDescriptorID::freesat_lcn_table)
2604  {
2606 
2607  const unsigned char *payload = &data[2];
2608 
2609  uint offset = 0;
2610  while ((offset + 5 < DescriptorLength()) &&
2611  (offset + 5 + payload[offset+4] <= DescriptorLength()))
2612  {
2613  m_entries.push_back(&payload[offset]);
2614  offset += 5 + payload[offset+4];
2615  }
2616  }
2617  // Name bits loc expected value
2618  // descriptor_tag 8 0.0 0xd3
2619  // descriptor_length 8 1.0
2620  // for (i=0;i<N;i++) {
2621  // service_id 16 0.0+p
2622  // chan_id 15 2.1+p
2623  // length 8 4.0+p
2624  // for (j=0;j<N;j++) {
2625  // unknown 4 0.0+p2
2626  // logical_channel_number 12 0.4+p2
2627  // region_id 16 2.0+p2
2628  // }
2629  // }
2630 
2631  uint ServiceCount(void) const
2632  { return m_entries.size(); }
2633 
2634  uint ServiceID(int i) const
2635  { return *m_entries[i] << 8 | *(m_entries[i]+1); }
2636 
2637  uint ChanID(int i) const
2638  { return (*(m_entries[i] + 2) << 8 | *(m_entries[i] + 3)) & 0x7FFF; }
2639 
2640  uint LCNCount(int i) const
2641  { return *(m_entries[i] + 4) / 4; }
2642 
2643  uint LogicalChannelNumber(int i, int j) const
2644  { return (*(m_entries[i] + 5 + j*4) << 8 | *(m_entries[i] + 5 + j*4 + 1)) & 0xFFF; }
2645 
2646  uint RegionID(int i, int j) const
2647  { return *(m_entries[i] + 5 + j*4 + 2) << 8 | *(m_entries[i] + 5 + j*4 + 3); }
2648 
2649  QString toString(void) const override; // MPEGDescriptor
2650 
2651  private:
2653 };
2654 
2665 {
2666  public:
2667  explicit FreesatRegionDescriptor(const unsigned char *data, int len = 300) :
2668  MPEGDescriptor(data, len, PrivateDescriptorID::freesat_region_table)
2669  {
2671 
2672  const unsigned char *payload = &data[2];
2673 
2674  uint offset = 0;
2675  while ((offset + 6 < DescriptorLength()) &&
2676  (offset + 6 + payload[offset+5] <= DescriptorLength()))
2677  {
2678  m_entries.push_back(&payload[offset]);
2679  offset += 6 + payload[offset+5];
2680  }
2681  }
2682  // Name bits loc expected value
2683  // descriptor_tag 8 0.0 0xd4
2684  // descriptor_length 8 1.0
2685  // for (i=0;i<N;i++) {
2686  // region_id 16 0.0+p
2687  // language_code 24 2.0+p eng
2688  // text_length 8 5.0+p
2689  // for (j=0;j<N;j++) {
2690  // text_char 8
2691  // }
2692  // }
2693 
2694  uint RegionCount(void) const
2695  { return m_entries.size(); }
2696 
2697  int RegionID(uint i) const
2698  { return *m_entries[i] << 8 | *(m_entries[i]+1); }
2699 
2700  QString Language(uint i) const
2701  { return QString::fromLatin1((char *) m_entries[i] + 2, 3); }
2702 
2703  QString RegionName(uint i) const
2704  { return QString::fromLatin1((char *) m_entries[i] + 6, *(m_entries[i] + 5)); }
2705 
2706  QString toString(void) const override; // MPEGDescriptor
2707 
2708  private:
2710 };
2711 
2720 {
2721  public:
2722  explicit FreesatCallsignDescriptor(const unsigned char *data, int len = 300) :
2723  MPEGDescriptor(data, len, PrivateDescriptorID::freesat_callsign)
2724  {
2726  }
2727 
2728  // Name bits loc expected value
2729  // descriptor_tag 8 0.0 0xd8
2730  // descriptor_length 8 1.0
2731 
2732  // ISO_639_language_code 24 2.0
2733  // callsign_length 8 5.0
2734  // for (j=0;j<N;j++) {
2735  // callsign_char 8
2736 
2737  QString Language(void) const
2738  { return QString::fromLatin1((char *) m_data +2, 3); }
2739 
2740  QString Callsign(void) const
2741  { return dvb_decode_short_name(&m_data[6], m_data[5]); }
2742 
2743  QString toString(void) const override; // MPEGDescriptor
2744 };
2745 
2758 {
2759  public:
2760  explicit SkyLCNDescriptor(const unsigned char *data, int len = 300) :
2761  MPEGDescriptor(data, len, PrivateDescriptorID::sky_lcn_table)
2762  {
2764  }
2765  // Name bits loc expected value
2766  // descriptor_tag 8 0.0 0xd3
2767  // descriptor_length 8 1.0
2768  // region_id 16 2.0
2769  // for (i=0;i<N;i++) {
2770  // service_id 16 0.0+p
2771  // service_type 8 2.0+p
2772  // unknown 16 3.0+p
2773  // logical_channel_number 16 5.0+p2
2774  // unknown 16 7.0+p2
2775  // }
2776 
2777  uint RegionID(void) const
2778  { return (*(m_data + 3) != 0xFF) ? *(m_data + 3) : 0xFFFF;}
2779 
2780  uint RegionRaw(void) const
2781  { return *(m_data + 2) << 8 | *(m_data + 3);}
2782 
2783  uint ServiceCount(void) const
2784  { return (DescriptorLength() - 2) / 9; }
2785 
2786  uint ServiceID(int i) const
2787  { return *(m_data + 4 + i*9) << 8 | *(m_data + 5 + i*9); }
2788 
2789  uint ServiceType(int i) const
2790  { return *(m_data + 6 + i*9); }
2791 
2792  uint ChannelID(int i) const
2793  { return *(m_data + 7 + i*9) << 8 | *(m_data + 8 + i*9); }
2794 
2796  { return *(m_data + 9 + i*9) << 8 | *(m_data + 10 + i*9); }
2797 
2798  uint Flags(int i) const
2799  { return *(m_data + 11 + i*9) << 8 | *(m_data + 12 + i*9); }
2800 
2801  QString toString(void) const override; // MPEGDescriptor
2802 };
2803 
2804 // Descriptor layout similar to SkyLCNDescriptor
2806 {
2807  public:
2808  explicit OpenTVChannelListDescriptor(const unsigned char *data, int len = 300) :
2809  MPEGDescriptor(data, len, PrivateDescriptorID::opentv_channel_list) { }
2810  // Name bits loc expected value
2811  // descriptor_tag 8 0.0 0xB1
2812  // descriptor_length 8 1.0
2813 
2814  uint ChannelCount(void) const { return (DescriptorLength() - 2)/9; }
2815 
2816  uint RegionID() const
2817  { return (m_data[2] << 8) | m_data[3]; }
2818 
2820  { return (m_data[4 + 0 + (i*9)] << 8) | m_data[4 + 1 + (i*9)]; }
2821 
2823  { return m_data[4 + 2 + (i*9)]; }
2824 
2826  { return ((m_data[4 + 3 + (i*9)] << 8) | m_data[4 + 4 + (i*9)]); }
2827 
2829  { return ((m_data[4 + 5 + (i*9)] << 8) | m_data[4 + 6 + (i*9)]); }
2830 
2831  uint Flags(uint i) const
2832  { return ((m_data[4 + 7 + (i*9)] << 8) | m_data[4 + 8 + (i*9)]) & 0xf; }
2833 
2834  QString toString(void) const override; // MPEGDescriptor
2835 };
2836 
2837 // ETSI TS 102 323 (TV Anytime)
2839 {
2840  public:
2841  explicit DVBContentIdentifierDescriptor(const unsigned char *data, int len = 300) :
2842  MPEGDescriptor(data, len, DescriptorID::dvb_content_identifier)
2843  {
2844  size_t count = 0;
2845 
2846  m_crid.fill(nullptr);
2847 
2848  if (IsValid())
2849  {
2850  uint8_t position = 2;
2851  while (m_data[1] >= position)
2852  {
2853  size_t length = m_data[position+1];
2854  m_crid[count] = &m_data[position];
2855  count++;
2856  position+=length+2;
2857  }
2858  }
2859  m_cridCount = count;
2860  }
2861  // Name bits loc expected value
2862  // descriptor_tag 8 0.0 0x76
2863  // descriptor_length 8 1.0
2864 
2865  uint ContentType(size_t n=0) const { return m_crid[n][0] >> 2; }
2866 
2867  uint ContentEncoding(size_t n=0) const { return m_crid[n][0] & 0x03; }
2868 
2869  // A content identifier is a URI. It may contain UTF-8 encoded using %XX.
2870  QString ContentId(size_t n=0) const
2871  {
2872  // cppcheck-suppress AssignmentAddressToInteger
2873  int length = m_crid[n][1];
2874  int positionOfHash = length-1;
2875  while (positionOfHash >= 0) {
2876  if (m_crid[n][2 + positionOfHash] == '#') {
2877  length = positionOfHash; /* remove the hash and the following IMI */
2878  break;
2879  }
2880  positionOfHash--;
2881  }
2882  return QString::fromLatin1((const char *)&m_crid[n][2], length);
2883  }
2884 
2885  size_t CRIDCount() const
2886  {
2887  return m_cridCount;
2888  }
2889 
2890  private:
2891  size_t m_cridCount;
2892  std::array<const uint8_t*,8> m_crid {};
2893 };
2894 
2895 // ETSI TS 102 323 (TV Anytime)
2897 {
2898  public:
2899  explicit DefaultAuthorityDescriptor(const unsigned char *data, int len = 300) :
2900  MPEGDescriptor(data, len, DescriptorID::default_authority) { }
2901  // Name bits loc expected value
2902  // descriptor_tag 8 0.0 0x73
2903  // descriptor_length 8 1.0
2904 
2905  QString DefaultAuthority(void) const
2906  {
2907  return QString::fromLatin1((const char *)m_data+2, m_data[1]);
2908  }
2909 
2910  QString toString(void) const override // MPEGDescriptor
2911  {
2912  return QString("DefaultAuthorityDescriptor: Authority(%1)")
2913  .arg(DefaultAuthority());
2914  }
2915 };
2916 
2917 /*
2918  * private UPC Cablecom (Austria) episode descriptor for Horizon middleware
2919  */
2921 {
2922  public:
2923  explicit PrivateUPCCablecomEpisodeTitleDescriptor(const unsigned char *data, int len = 300) :
2924  MPEGDescriptor(data, len, PrivateDescriptorID::upc_event_episode_title) { }
2925  explicit PrivateUPCCablecomEpisodeTitleDescriptor(const std::vector<uint8_t> &data) :
2926  MPEGDescriptor(data, PrivateDescriptorID::upc_event_episode_title) { }
2927  // Name bits loc expected value
2928  // descriptor_tag 8 0.0 0xa7
2929  // descriptor_length 8 1.0
2930 
2931  // ISO_639_language_code 24 2.0
2932  int LanguageKey(void) const
2933  {
2934  return iso639_str3_to_key(&m_data[2]);
2935  }
2936  QString LanguageString(void) const
2937  {
2938  return iso639_key_to_str3(LanguageKey());
2939  }
2940  int CanonicalLanguageKey(void) const
2941  {
2943  }
2944  QString CanonicalLanguageString(void) const
2945  {
2947  }
2948 
2949  uint TextLength(void) const
2950  {
2951  return m_data[1] - 3;
2952  }
2953 
2954  QString Text(void) const
2955  {
2956  return dvb_decode_text(&m_data[5], TextLength());
2957  }
2958 };
2959 
2960 #endif // DVB_DESCRIPTORS_H
AdaptationFieldDataDescriptor::AdaptationFieldDataID
uint AdaptationFieldDataID(void) const
Definition: dvbdescriptors.h:215
DescriptorID
Definition: mpegdescriptors.h:20
ServiceRelocatedDescriptor
Definition: dvbdescriptors.h:1417
ShortEventDescriptor::EventName
QString EventName(const enc_override &encoding_override) const
Definition: dvbdescriptors.h:2173
TeletextDescriptor::TeletextMagazineNum
uint TeletextMagazineNum(uint i) const
Definition: dvbdescriptors.h:2339
ServiceDescriptorMapping
Definition: dvbdescriptors.h:1915
T2DeliverySystemDescriptor::TransmissionMode
uint TransmissionMode(void) const
Definition: dvbdescriptors.h:1181
ServiceDescriptorMapping::kServiceTypeCommonInterface
@ kServiceTypeCommonInterface
Definition: dvbdescriptors.h:1933
CableDeliverySystemDescriptor::kModulationQAM256
@ kModulationQAM256
Definition: dvbdescriptors.h:757
TerrestrialDeliverySystemDescriptor::kBandwidth8Mhz
@ kBandwidth8Mhz
Definition: dvbdescriptors.h:925
SatelliteDeliverySystemDescriptor::OrbitalPositionString
QString OrbitalPositionString(void) const
Definition: dvbdescriptors.h:818
CableDeliverySystemDescriptor::kOuterFEC_RS204_RS188
@ kOuterFEC_RS204_RS188
Definition: dvbdescriptors.h:742
OpenTVChannelListDescriptor::ChannelID
uint ChannelID(uint i) const
Definition: dvbdescriptors.h:2825
DSNGDescriptor::DSNGDescriptor
DSNGDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1517
ParentalRatingDescriptor
Definition: dvbdescriptors.h:1805
TerrestrialDeliverySystemDescriptor::CodeRateLP
uint CodeRateLP(void) const
Definition: dvbdescriptors.h:1003
T2DeliverySystemDescriptor::TransmissionModeString
QString TransmissionModeString(void) const
Definition: dvbdescriptors.h:1182
PrivateDescriptorID::freesat_region_table
@ freesat_region_table
Definition: mpegdescriptors.h:233
LinkageDescriptor::kIP_MACNotificationService
@ kIP_MACNotificationService
Definition: dvbdescriptors.h:141
bool
bool
Definition: pxsup2dast.c:30
iso639_key_to_canonical_key
int iso639_key_to_canonical_key(int iso639_2)
Definition: iso639.cpp:118
TeletextDescriptor::TeletextDescriptor
TeletextDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2316
TerrestrialDeliverySystemDescriptor::kConstellationQAM64
@ kConstellationQAM64
Definition: dvbdescriptors.h:949
LinkageDescriptor::kOriginNIT
@ kOriginNIT
Definition: dvbdescriptors.h:163
TargetRegionNameDescriptor::CountryCodeString
QString CountryCodeString(void) const
Definition: dvbdescriptors.h:1397
TeletextDescriptor::CanonicalLanguageString
QString CanonicalLanguageString(uint i) const
Definition: dvbdescriptors.h:2333
BouquetNameDescriptor::BouquetNameDescriptor
BouquetNameDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:272
T2DeliverySystemDescriptor::kGuardInterval_19_128
@ kGuardInterval_19_128
Definition: dvbdescriptors.h:1160
CableDeliverySystemDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:555
T2DeliverySystemDescriptor::kBandwidth10Mhz
@ kBandwidth10Mhz
Definition: dvbdescriptors.h:1135
MosaicDescriptor::MosaicDescriptor
MosaicDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1670
TerrestrialDeliverySystemDescriptor::HierarchyString
QString HierarchyString(void) const
Definition: dvbdescriptors.h:974
ComponentDescriptor::AudioProperties
uint AudioProperties(void) const
Definition: dvbdescriptors.h:470
ContentDescriptor::GetMythCategory
ProgramInfo::CategoryType GetMythCategory(uint i) const
Definition: dvbdescriptors.cpp:230
TerrestrialDeliverySystemDescriptor::GuardInterval
uint GuardInterval(void) const
Definition: dvbdescriptors.h:1019
T2DeliverySystemDescriptor::GuardIntervalString
QString GuardIntervalString(void) const
Definition: dvbdescriptors.h:1164
LocalTimeOffsetDescriptor::LocalTimeOffsetPolarity
bool LocalTimeOffsetPolarity(uint i) const
-1 if true, +1 if false (behind utc, ahead of utc, resp).
Definition: dvbdescriptors.h:1650
T2DeliverySystemDescriptor::CellIDExtension
uint CellIDExtension(uint i, uint j) const
Definition: dvbdescriptors.h:1206
TransportStreamDescriptor::Data
QString Data(void) const
Definition: dvbdescriptors.h:2386
MPEGDescriptor::DescriptorTag
uint DescriptorTag(void) const
Definition: mpegdescriptors.h:345
ServiceDescriptorMapping::kServiceTypeH264AVCHDNVODTimeShifted
@ kServiceTypeH264AVCHDNVODTimeShifted
Definition: dvbdescriptors.h:1943
TerrestrialDeliverySystemDescriptor::GuardIntervalString
QString GuardIntervalString(void) const
Definition: dvbdescriptors.h:1020
MPEGDescriptor::DescriptorLength
uint DescriptorLength(void) const
Definition: mpegdescriptors.h:346
ServiceDescriptorMapping::kServiceTypeNVODTimeShifted
@ kServiceTypeNVODTimeShifted
Definition: dvbdescriptors.h:1925
T2DeliverySystemDescriptor::OtherFrequencyFlag
uint OtherFrequencyFlag(void) const
Definition: dvbdescriptors.h:1188
ServiceDescriptorMapping::kServiceTypeH264AVCSDNVODReference
@ kServiceTypeH264AVCSDNVODReference
Definition: dvbdescriptors.h:1941
SkyLCNDescriptor::Flags
uint Flags(int i) const
Definition: dvbdescriptors.h:2798
ShortSmoothingBufferDescriptor::ShortSmoothingBufferDescriptor
ShortSmoothingBufferDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2194
ContentDescriptor::Nibble1
uint Nibble1(uint i) const
Definition: dvbdescriptors.h:595
ShortEventDescriptor::ShortEventDescriptor
ShortEventDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2144
CountryAvailabilityDescriptor
Definition: dvbdescriptors.h:622
SatelliteDeliverySystemDescriptor::OrbitalPositionFloat
double OrbitalPositionFloat() const
Definition: dvbdescriptors.h:824
ContentDescriptor::GetDescription
QString GetDescription(uint i) const
Definition: dvbdescriptors.cpp:278
TerrestrialDeliverySystemDescriptor::kCodeRate_3_4
@ kCodeRate_3_4
Definition: dvbdescriptors.h:990
ParentalRatingDescriptor::Count
uint Count(void) const
Definition: dvbdescriptors.h:1815
TerrestrialDeliverySystemDescriptor::kGuardInterval_1_8
@ kGuardInterval_1_8
Definition: dvbdescriptors.h:1016
ComponentDescriptor::VideoProperties
uint VideoProperties(void) const
Definition: dvbdescriptors.h:407
SatelliteDeliverySystemDescriptor::IsLinearPolarization
bool IsLinearPolarization(void) const
Definition: dvbdescriptors.h:837
TerrestrialDeliverySystemDescriptor::CodeRateHP
uint CodeRateHP(void) const
Definition: dvbdescriptors.h:994
ServiceDescriptorMapping::kServiceTypeHEVCDigitalTelevision
@ kServiceTypeHEVCDigitalTelevision
Definition: dvbdescriptors.h:1948
MultilingualNetworkNameDescriptor
Definition: dvbdescriptors.h:1738
CableDeliverySystemDescriptor::Modulation
uint Modulation(void) const
Definition: dvbdescriptors.h:759
TerrestrialDeliverySystemDescriptor::OtherFrequencyInUse
bool OtherFrequencyInUse(void) const
Definition: dvbdescriptors.h:1039
ServiceDescriptorMapping::kServiceTypeFMRadio
@ kServiceTypeFMRadio
Definition: dvbdescriptors.h:1927
CableDeliverySystemDescriptor::kInnerFEC_1_2_ConvolutionCodeRate
@ kInnerFEC_1_2_ConvolutionCodeRate
Definition: dvbdescriptors.h:781
ServiceDescriptorMapping::kServiceTypeAdvancedCodecDigitalRadioSound
@ kServiceTypeAdvancedCodecDigitalRadioSound
Definition: dvbdescriptors.h:1930
ImageIconDescriptor::IconID
uint IconID(void) const
Definition: dvbdescriptors.h:1076
mpegdescriptors.h
CableDeliverySystemDescriptor::kModulationQAM64
@ kModulationQAM64
Definition: dvbdescriptors.h:755
ComponentDescriptor::LanguageKey
int LanguageKey(void) const
Definition: dvbdescriptors.h:375
ServiceMoveDescriptor::ServiceMoveDescriptor
ServiceMoveDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2129
ServiceDescriptor::ServiceProviderName
QString ServiceProviderName(void) const
Definition: dvbdescriptors.h:2034
FrequencyListDescriptor
Definition: dvbdescriptors.h:1574
CableDeliverySystemDescriptor::kInnerFEC_7_8_ConvolutionCodeRate
@ kInnerFEC_7_8_ConvolutionCodeRate
Definition: dvbdescriptors.h:785
FreesatLCNDescriptor
Freesat Logical Channel Number descriptor.
Definition: dvbdescriptors.h:2599
FreesatLCNDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:873
ImageIconDescriptor::DescriptorNumber
uint DescriptorNumber(void) const
Definition: dvbdescriptors.h:1064
AC3Descriptor::ASVC
uint ASVC(void) const
Definition: dvbdescriptors.h:2503
TerrestrialDeliverySystemDescriptor::Bandwidth
uint Bandwidth(void) const
Definition: dvbdescriptors.h:930
LocalTimeOffsetDescriptor::NextTimeOffset
uint NextTimeOffset(uint i) const
Definition: dvbdescriptors.h:1660
LinkageDescriptor::kMobileHandOver
@ kMobileHandOver
Definition: dvbdescriptors.h:138
CountryAvailabilityDescriptor::IsAvailable
bool IsAvailable(void) const
Definition: dvbdescriptors.h:634
CableDeliverySystemDescriptor::kInnerFEC_5_6_ConvolutionCodeRate
@ kInnerFEC_5_6_ConvolutionCodeRate
Definition: dvbdescriptors.h:784
ShortEventDescriptor::Text
QString Text(const enc_override &encoding_override) const
Definition: dvbdescriptors.h:2179
LinkageDescriptor::MobileOriginTypeString
QString MobileOriginTypeString(void) const
TerrestrialDeliverySystemDescriptor::kHierarchyInfoAlpha1NativeInterleaver
@ kHierarchyInfoAlpha1NativeInterleaver
Definition: dvbdescriptors.h:963
CableDeliverySystemDescriptor::kModulationQAM128
@ kModulationQAM128
Definition: dvbdescriptors.h:756
ExtendedEventDescriptor::CanonicalLanguageKey
int CanonicalLanguageKey(void) const
Definition: dvbdescriptors.h:1544
CableDeliverySystemDescriptor::FECInner
uint FECInner(void) const
Definition: dvbdescriptors.h:789
OpenTVChannelListDescriptor::Flags
uint Flags(uint i) const
Definition: dvbdescriptors.h:2831
CellListDescriptor
Definition: dvbdescriptors.h:331
ComponentDescriptor::MP2Properties
uint MP2Properties(void) const
Definition: dvbdescriptors.h:485
TimeShiftedServiceDescriptor
Definition: dvbdescriptors.h:2363
SupplementaryAudioDescriptor::ReservedFutureUse
uint ReservedFutureUse(void) const
Definition: dvbdescriptors.h:1270
LinkageDescriptor::kCAReplacementService
@ kCAReplacementService
Definition: dvbdescriptors.h:133
LocalTimeOffsetDescriptor::LocalTimeOffsetWithPolarity
int LocalTimeOffsetWithPolarity(uint i) const
Definition: dvbdescriptors.h:1655
x2
static int x2
Definition: mythsocket.cpp:58
ExtendedEventDescriptor::LanguageString
QString LanguageString(void) const
Definition: dvbdescriptors.h:1542
LinkageDescriptor::HasMobileNetworkID
bool HasMobileNetworkID(void) const
Definition: dvbdescriptors.h:171
ShortEventDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:2186
T2DeliverySystemDescriptor::kTransmissionMode8k
@ kTransmissionMode8k
Definition: dvbdescriptors.h:1175
MessageDescriptor::MessageDescriptor
MessageDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1309
ServiceDescriptorMapping::kServiceTypeDigitalRadioSound
@ kServiceTypeDigitalRadioSound
Definition: dvbdescriptors.h:1922
TerrestrialDeliverySystemDescriptor::kCodeRate_5_6
@ kCodeRate_5_6
Definition: dvbdescriptors.h:991
TerrestrialDeliverySystemDescriptor::kBandwidth6Mhz
@ kBandwidth6Mhz
Definition: dvbdescriptors.h:927
SatelliteDeliverySystemDescriptor::kModulation8PSK
@ kModulation8PSK
Definition: dvbdescriptors.h:866
DVBContentIdentifierDescriptor::CRIDCount
size_t CRIDCount() const
Definition: dvbdescriptors.h:2885
mythtvexp.h
SatelliteDeliverySystemDescriptor::kInnerFEC_None
@ kInnerFEC_None
Definition: dvbdescriptors.h:895
build_compdb.content
content
Definition: build_compdb.py:38
CellFrequencyLinkDescriptor
Definition: dvbdescriptors.h:309
ServiceDescriptorMapping::kServiceTypeMPEG2HDDigitalTelevision
@ kServiceTypeMPEG2HDDigitalTelevision
Definition: dvbdescriptors.h:1937
DescriptorID::s2x_satellite_delivery_system
@ s2x_satellite_delivery_system
Definition: mpegdescriptors.h:157
ExtendedEventDescriptor::LanguageKey
int LanguageKey(void) const
Definition: dvbdescriptors.h:1540
byteBCDH2int
#define byteBCDH2int(i)
Definition: dvbdescriptors.h:51
ServiceListDescriptor::ServiceListDescriptor
ServiceListDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2091
DescriptorID::target_region
@ target_region
Definition: mpegdescriptors.h:149
CellFrequencyLinkDescriptor::CellFrequencyLinkDescriptor
CellFrequencyLinkDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:312
ComponentDescriptor::StreamContent
uint StreamContent(void) const
Definition: dvbdescriptors.h:369
ServiceMoveDescriptor
Definition: dvbdescriptors.h:2126
DataBroadcastDescriptor::LanguageKey
int LanguageKey(void) const
Definition: dvbdescriptors.h:680
dvb_decode_text
MTV_PUBLIC QString dvb_decode_text(const unsigned char *src, uint length, const enc_override &encoding_override)
Definition: dvbdescriptors.cpp:56
MessageDescriptor::LanguageString
QString LanguageString(void) const
Definition: dvbdescriptors.h:1329
NVODReferenceDescriptor::Count
uint Count(void) const
Definition: dvbdescriptors.h:1786
MessageDescriptor::MessageID
uint MessageID(void) const
Definition: dvbdescriptors.h:1324
T2DeliverySystemDescriptor::Bandwidth
uint Bandwidth(void) const
Definition: dvbdescriptors.h:1138
LinkageDescriptor::kServiceReplacementService
@ kServiceReplacementService
Definition: dvbdescriptors.h:135
ComponentDescriptor::IsAudio
bool IsAudio(void) const
Definition: dvbdescriptors.h:392
DescriptorID::network_change_notify
@ network_change_notify
Definition: mpegdescriptors.h:147
FrequencyListDescriptor::CodingType
uint CodingType(void) const
Definition: dvbdescriptors.h:1592
ServiceDescriptor::IsDTV
bool IsDTV(void) const
Definition: dvbdescriptors.h:2054
MessageDescriptor::Message
QString Message(void) const
Definition: dvbdescriptors.h:1333
ServiceDescriptorMapping::kServiceTypeEchoStarTV3
@ kServiceTypeEchoStarTV3
Definition: dvbdescriptors.h:1956
CableDeliverySystemDescriptor
Definition: dvbdescriptors.h:716
ServiceDescriptorMapping::kServiceTypeMosaic
@ kServiceTypeMosaic
Definition: dvbdescriptors.h:1926
FreesatCallsignDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:908
SHDeliverySystemDescriptor
Definition: dvbdescriptors.h:1221
T2DeliverySystemDescriptor::kGuardInterval_1_128
@ kGuardInterval_1_128
Definition: dvbdescriptors.h:1159
DVBSimulcastChannelDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:841
T2DeliverySystemDescriptor::NumCells
uint NumCells(void) const
Definition: dvbdescriptors.h:1192
LinkageDescriptor::m_offset
uint m_offset
Definition: dvbdescriptors.h:202
FrequencyListDescriptor::kCodingTypeSatellite
@ kCodingTypeSatellite
Definition: dvbdescriptors.h:1588
CableDeliverySystemDescriptor::FECOuterString
QString FECOuterString(void) const
Definition: dvbdescriptors.h:745
x3
static int x3
Definition: mythsocket.cpp:59
NVODReferenceDescriptor
Definition: dvbdescriptors.h:1778
MultilingualBouquetNameDescriptor
Definition: dvbdescriptors.h:1719
ScramblingDescriptor
Definition: dvbdescriptors.h:1896
PartialTransportStreamDescriptor::PartialTransportStreamDescriptor
PartialTransportStreamDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2445
TargetRegionDescriptor::CountryCode
uint CountryCode(void) const
Definition: dvbdescriptors.h:1358
TerrestrialDeliverySystemDescriptor::Hierarchy
uint Hierarchy(void) const
Definition: dvbdescriptors.h:971
CAIdentifierDescriptor
Definition: dvbdescriptors.h:291
SatelliteDeliverySystemDescriptor::Modulation
uint Modulation(void) const
Definition: dvbdescriptors.h:869
LinkageDescriptor::kHandOverIdentical
@ kHandOverIdentical
Definition: dvbdescriptors.h:153
FreesatCallsignDescriptor::FreesatCallsignDescriptor
FreesatCallsignDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2722
DescriptorID::sh_delivery_system
@ sh_delivery_system
Definition: mpegdescriptors.h:145
SHDeliverySystemDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:682
DVBLogicalChannelDescriptor
DVB Logical Channel Descriptor.
Definition: dvbdescriptors.h:2541
PartialTransportStreamDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:991
ComponentDescriptor::AC3Properties
uint AC3Properties(void) const
Definition: dvbdescriptors.h:504
VBIDataDescriptor
Definition: dvbdescriptors.h:2393
FrequencyListDescriptor::FrequencyListDescriptor
FrequencyListDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1577
TerrestrialDeliverySystemDescriptor::NativeInterleaver
bool NativeInterleaver(void) const
Definition: dvbdescriptors.h:979
SubtitlingDescriptor::LanguageKey
int LanguageKey(uint i) const
Definition: dvbdescriptors.h:2258
T2DeliverySystemDescriptor::kGuardInterval_1_8
@ kGuardInterval_1_8
Definition: dvbdescriptors.h:1157
OpenTVChannelListDescriptor::RegionID
uint RegionID() const
Definition: dvbdescriptors.h:2816
ServiceDescriptorMapping::IsUHDTV
bool IsUHDTV(void) const
Definition: dvbdescriptors.h:2003
ShortEventDescriptor::CanonicalLanguageKey
int CanonicalLanguageKey(void) const
Definition: dvbdescriptors.h:2155
SatelliteDeliverySystemDescriptor::FrequencyRaw
uint FrequencyRaw(void) const
frequency 32 2.0
Definition: dvbdescriptors.h:806
CableDeliverySystemDescriptor::FrequencyHz
unsigned long long FrequencyHz(void) const
Definition: dvbdescriptors.h:731
NVODReferenceDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:977
T2DeliverySystemDescriptor::SubcellInfoLoopLength
uint SubcellInfoLoopLength(uint i) const
Definition: dvbdescriptors.h:1205
ExtendedEventDescriptor::DescriptorNumber
uint DescriptorNumber(void) const
Definition: dvbdescriptors.h:1536
TeletextDescriptor::LanguageKey
int LanguageKey(uint i) const
Definition: dvbdescriptors.h:2327
PrivateUPCCablecomEpisodeTitleDescriptor::Text
QString Text(void) const
Definition: dvbdescriptors.h:2954
ServiceDescriptorMapping::kServiceTypeH264AVCFrameCompatiblePlanoStereoscopicHDNVODTimeShifted
@ kServiceTypeH264AVCFrameCompatiblePlanoStereoscopicHDNVODTimeShifted
Definition: dvbdescriptors.h:1946
enc_override
std::vector< uint8_t > enc_override
Definition: dvbdescriptors.h:40
SatelliteDeliverySystemDescriptor::kInnerFEC_2_3_ConvolutionCodeRate
@ kInnerFEC_2_3_ConvolutionCodeRate
Definition: dvbdescriptors.h:890
DefaultAuthorityDescriptor::DefaultAuthorityDescriptor
DefaultAuthorityDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2899
LocalTimeOffsetDescriptor::CountryRegionId
uint CountryRegionId(uint i) const
Definition: dvbdescriptors.h:1646
CellListDescriptor::CellListDescriptor
CellListDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:334
ShortEventDescriptor::Text
QString Text(void) const
Definition: dvbdescriptors.h:2169
DescriptorID::target_region_name
@ target_region_name
Definition: mpegdescriptors.h:150
CableDeliverySystemDescriptor::FECInnerString
QString FECInnerString(void) const
Definition: dvbdescriptors.h:790
DataBroadcastDescriptor::LanguageString
QString LanguageString(void) const
Definition: dvbdescriptors.h:682
LinkageDescriptor::kOriginSDT
@ kOriginSDT
Definition: dvbdescriptors.h:164
NetworkNameDescriptor::NetworkNameDescriptor
NetworkNameDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:71
NetworkNameDescriptor::Name
QString Name(void) const
Definition: dvbdescriptors.h:77
CAIdentifierDescriptor::CASystemCount
uint CASystemCount(void) const
Definition: dvbdescriptors.h:300
CountryAvailabilityDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:651
T2DeliverySystemDescriptor::TFSFlag
uint TFSFlag(void) const
Definition: dvbdescriptors.h:1189
DataBroadcastDescriptor::DataBroadcastId
uint DataBroadcastId(void) const
Definition: dvbdescriptors.h:669
ParentalRatingDescriptor::ParentalRatingDescriptor
ParentalRatingDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1808
T2DeliverySystemDescriptor::CentreFrequency
uint CentreFrequency(int i, int j) const
Definition: dvbdescriptors.h:1201
dvb_decode_short_name
QString dvb_decode_short_name(const unsigned char *src, uint raw_length)
Definition: dvbdescriptors.cpp:175
PrivateUPCCablecomEpisodeTitleDescriptor::LanguageKey
int LanguageKey(void) const
Definition: dvbdescriptors.h:2932
DVBContentIdentifierDescriptor::ContentType
uint ContentType(size_t n=0) const
Definition: dvbdescriptors.h:2865
BouquetNameDescriptor
Definition: dvbdescriptors.h:269
CableDeliverySystemDescriptor::kModulationQAM32
@ kModulationQAM32
Definition: dvbdescriptors.h:754
DVBSimulcastChannelDescriptor::ChannelNumber
uint ChannelNumber(uint i) const
Definition: dvbdescriptors.h:2583
FrequencyListDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:502
FreesatLCNDescriptor::LCNCount
uint LCNCount(int i) const
Definition: dvbdescriptors.h:2640
T2DeliverySystemDescriptor::kBandwidth8Mhz
@ kBandwidth8Mhz
Definition: dvbdescriptors.h:1131
ContentDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:299
TerrestrialDeliverySystemDescriptor
Definition: dvbdescriptors.h:904
MultilingualBouquetNameDescriptor::MultilingualBouquetNameDescriptor
MultilingualBouquetNameDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1722
LocalTimeOffsetDescriptor
Definition: dvbdescriptors.h:1621
LinkageDescriptor::PrivateData
const unsigned char * PrivateData(void) const
Definition: dvbdescriptors.h:196
TerrestrialDeliverySystemDescriptor::Alpha
uint Alpha(void) const
Definition: dvbdescriptors.h:980
ServiceDescriptorMapping::kServiceTypeH264AVCFrameCompatiblePlanoStereoscopicHDNVODReference
@ kServiceTypeH264AVCFrameCompatiblePlanoStereoscopicHDNVODReference
Definition: dvbdescriptors.h:1947
DescriptorID::t2_delivery_system
@ t2_delivery_system
Definition: mpegdescriptors.h:144
ServiceListDescriptor::ServiceType
uint ServiceType(uint i) const
Definition: dvbdescriptors.h:2107
LinkageDescriptor::kTSContainingCompleteNetworkBouquetSI
@ kTSContainingCompleteNetworkBouquetSI
Definition: dvbdescriptors.h:134
T2DeliverySystemDescriptor::kTransmissionMode16k
@ kTransmissionMode16k
Definition: dvbdescriptors.h:1178
ShortEventDescriptor
Definition: dvbdescriptors.h:2141
DataBroadcastDescriptor
Definition: dvbdescriptors.h:659
DataBroadcastDescriptor::DataBroadcastDescriptor
DataBroadcastDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:662
T2DeliverySystemDescriptor::BandwidthString
QString BandwidthString(void) const
Definition: dvbdescriptors.h:1145
CableDeliverySystemDescriptor::kInnerFEC_3_4_ConvolutionCodeRate
@ kInnerFEC_3_4_ConvolutionCodeRate
Definition: dvbdescriptors.h:783
AncillaryDataDescriptor::AncillaryDataDescriptor
AncillaryDataDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:228
AnnouncementSupportDescriptor::AnnouncementSupportDescriptor
AnnouncementSupportDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:247
ServiceDescriptorMapping::m_serviceType
uint m_serviceType
Definition: dvbdescriptors.h:2016
AnnouncementSupportDescriptor
Definition: dvbdescriptors.h:244
ServiceDescriptorMapping::kServiceTypeEchoStarTV1
@ kServiceTypeEchoStarTV1
Definition: dvbdescriptors.h:1954
T2DeliverySystemDescriptor::CentreFrequency
uint CentreFrequency(uint i) const
Definition: dvbdescriptors.h:1196
OpenTVChannelListDescriptor
Definition: dvbdescriptors.h:2805
DVBContentIdentifierDescriptor::ContentEncoding
uint ContentEncoding(size_t n=0) const
Definition: dvbdescriptors.h:2867
ServiceDescriptorMapping::kServiceTypeRCS_Map
@ kServiceTypeRCS_Map
Definition: dvbdescriptors.h:1934
PDCDescriptor::PDCDescriptor
PDCDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1859
MPEGDescriptor::IsValid
bool IsValid(void) const
Definition: mpegdescriptors.h:342
ServiceDescriptor::ServiceDescriptor
ServiceDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2023
LinkageDescriptor::kRCSMap
@ kRCSMap
Definition: dvbdescriptors.h:137
OpenTVChannelListDescriptor::ChannelCount
uint ChannelCount(void) const
Definition: dvbdescriptors.h:2814
AdaptationFieldDataDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:216
SubtitlingDescriptor::AncillaryPageID
uint AncillaryPageID(uint i) const
Definition: dvbdescriptors.h:2274
MessageDescriptor::LanguageKey
int LanguageKey(void) const
Definition: dvbdescriptors.h:1327
FrequencyListDescriptor::kCodingTypeTerrestrial
@ kCodingTypeTerrestrial
Definition: dvbdescriptors.h:1590
FreesatRegionDescriptor::RegionCount
uint RegionCount(void) const
Definition: dvbdescriptors.h:2694
LinkageDescriptor::ServiceID
uint ServiceID(void) const
Definition: dvbdescriptors.h:127
ServiceDescriptorMapping::ServiceType
uint ServiceType(void) const
Definition: dvbdescriptors.h:1969
T2DeliverySystemDescriptor::kGuardInterval_1_16
@ kGuardInterval_1_16
Definition: dvbdescriptors.h:1156
NVODReferenceDescriptor::ServiceId
uint ServiceId(uint i) const
Definition: dvbdescriptors.h:1797
ComponentDescriptor::HEVCProperties
uint HEVCProperties(void) const
Definition: dvbdescriptors.h:455
FreesatRegionDescriptor::FreesatRegionDescriptor
FreesatRegionDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2667
ParentalRatingDescriptor::CountryCodeString
QString CountryCodeString(uint i) const
Definition: dvbdescriptors.h:1822
ServiceDescriptor::ServiceName
QString ServiceName(void) const
Definition: dvbdescriptors.h:2044
ContentDescriptor::Count
uint Count(void) const
Definition: dvbdescriptors.h:591
PrivateUPCCablecomEpisodeTitleDescriptor
Definition: dvbdescriptors.h:2920
ServiceDescriptorMapping::kServiceTypeNimiqTV1
@ kServiceTypeNimiqTV1
Definition: dvbdescriptors.h:1958
ContentDescriptor::UserNibble
uint UserNibble(uint i) const
Definition: dvbdescriptors.h:605
PrivateUPCCablecomEpisodeTitleDescriptor::TextLength
uint TextLength(void) const
Definition: dvbdescriptors.h:2949
programinfo.h
ShortEventDescriptor::EventNameLength
uint EventNameLength(void) const
Definition: dvbdescriptors.h:2160
TerrestrialDeliverySystemDescriptor::BandwidthString
QString BandwidthString(void) const
Definition: dvbdescriptors.h:932
LinkageDescriptor::PrivateDataLength
uint PrivateDataLength(void) const
Definition: dvbdescriptors.h:198
ContentDescriptor::s_categoryDesc
static QMap< uint, QString > s_categoryDesc
Definition: dvbdescriptors.h:617
PartialTransportStreamDescriptor::SmoothRate
uint SmoothRate(void) const
Definition: dvbdescriptors.h:2457
LinkageDescriptor::TSID
uint TSID(void) const
Definition: dvbdescriptors.h:123
ServiceDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:2063
DataBroadcastIdDescriptor::DataBroadCastId
uint DataBroadCastId(void) const
Definition: dvbdescriptors.h:710
ContentDescriptor::UserNibble2
uint UserNibble2(uint i) const
Definition: dvbdescriptors.h:604
PrivateUPCCablecomEpisodeTitleDescriptor::PrivateUPCCablecomEpisodeTitleDescriptor
PrivateUPCCablecomEpisodeTitleDescriptor(const std::vector< uint8_t > &data)
Definition: dvbdescriptors.h:2925
SubtitlingDescriptor::CanonicalLanguageKey
int CanonicalLanguageKey(uint i) const
Definition: dvbdescriptors.h:2262
SubtitlingDescriptor::CanonicalLanguageString
QString CanonicalLanguageString(uint i) const
Definition: dvbdescriptors.h:2264
PrivateDataSpecifierDescriptor::PrivateDataSpecifierDescriptor
PrivateDataSpecifierDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1880
S2XSatelliteDeliverySystemDescriptor
Definition: dvbdescriptors.h:1489
AC3Descriptor::HasASVC
bool HasASVC(void) const
Definition: dvbdescriptors.h:2483
AncillaryDataDescriptor
Definition: dvbdescriptors.h:225
C2DeliverySystemDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:801
SatelliteDeliverySystemDescriptor::IsWest
bool IsWest(void) const
Definition: dvbdescriptors.h:828
DVBLogicalChannelDescriptor::ChannelCount
uint ChannelCount(void) const
Definition: dvbdescriptors.h:2550
TerrestrialDeliverySystemDescriptor::Constellation
uint Constellation(void) const
Definition: dvbdescriptors.h:952
ShortEventDescriptor::EventShortName
QString EventShortName(void) const
Definition: dvbdescriptors.h:2164
ComponentDescriptor::IsVideo
bool IsVideo(void) const
Definition: dvbdescriptors.h:386
TerrestrialDeliverySystemDescriptor::kConstellationQAM256
@ kConstellationQAM256
Definition: dvbdescriptors.h:950
ServiceDescriptorMapping::IsTeletext
bool IsTeletext(void) const
Definition: dvbdescriptors.h:2009
ServiceDescriptorMapping::kServiceTypeRCS_FLS
@ kServiceTypeRCS_FLS
Definition: dvbdescriptors.h:1935
T2DeliverySystemDescriptor::kBandwidth5Mhz
@ kBandwidth5Mhz
Definition: dvbdescriptors.h:1134
CableDeliverySystemDescriptor::kModulationQAM16
@ kModulationQAM16
Definition: dvbdescriptors.h:753
FreesatLCNDescriptor::m_entries
desc_list_t m_entries
Definition: dvbdescriptors.h:2652
T2DeliverySystemDescriptor::FrequencyLoopLength
uint FrequencyLoopLength(uint i) const
Definition: dvbdescriptors.h:1194
SatelliteDeliverySystemDescriptor::kRollOff_35
@ kRollOff_35
Definition: dvbdescriptors.h:843
TerrestrialDeliverySystemDescriptor::kConstellationQAM16
@ kConstellationQAM16
Definition: dvbdescriptors.h:948
PDCDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:1869
ImageIconDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:602
CountryAvailabilityDescriptor::CountryAvailabilityDescriptor
CountryAvailabilityDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:625
MPEGDescriptor
Definition: mpegdescriptors.h:302
SupplementaryAudioDescriptor::SupplementaryAudioDescriptor
SupplementaryAudioDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1249
ServiceDescriptor::IsTeletext
bool IsTeletext(void) const
Definition: dvbdescriptors.h:2060
AC3Descriptor::HasMainID
bool HasMainID(void) const
Definition: dvbdescriptors.h:2481
SatelliteDeliverySystemDescriptor::RollOffString
QString RollOffString(void) const
Definition: dvbdescriptors.h:849
TerrestrialDeliverySystemDescriptor::kHierarchyInfoAlpha2InDepthInterleaver
@ kHierarchyInfoAlpha2InDepthInterleaver
Definition: dvbdescriptors.h:968
TerrestrialDeliverySystemDescriptor::kHierarchyInfoNonHierarchicalInDepthInterleaver
@ kHierarchyInfoNonHierarchicalInDepthInterleaver
Definition: dvbdescriptors.h:966
ShortEventDescriptor::TextLength
uint TextLength(void) const
Definition: dvbdescriptors.h:2167
CableDeliverySystemDescriptor::FrequencyRaw
uint FrequencyRaw(void) const
Definition: dvbdescriptors.h:726
SubtitlingDescriptor::StreamCount
uint StreamCount(void) const
Definition: dvbdescriptors.h:2254
TeletextDescriptor::StreamCount
uint StreamCount(void) const
Definition: dvbdescriptors.h:2322
AdaptationFieldDataDescriptor::AdaptationFieldDataDescriptor
AdaptationFieldDataDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:209
ComponentDescriptor::CanonicalLanguageKey
int CanonicalLanguageKey(void) const
Definition: dvbdescriptors.h:379
DVBSimulcastChannelDescriptor::DVBSimulcastChannelDescriptor
DVBSimulcastChannelDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2572
CAIdentifierDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:928
ParentalRatingDescriptor::Rating
int Rating(uint i) const
Definition: dvbdescriptors.h:1831
TargetRegionDescriptor
Definition: dvbdescriptors.h:1340
T2DeliverySystemDescriptor::kGuardInterval_1_32
@ kGuardInterval_1_32
Definition: dvbdescriptors.h:1155
DVBLogicalChannelDescriptor::DVBLogicalChannelDescriptor
DVBLogicalChannelDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2544
ServiceRelocatedDescriptor::OldServiceID
uint OldServiceID(void) const
Definition: dvbdescriptors.h:1439
ServiceDescriptor::ServiceNameLength
uint ServiceNameLength(void) const
Definition: dvbdescriptors.h:2041
byte2BCD2int
#define byte2BCD2int(i, j)
Definition: dvbdescriptors.h:54
ParentalRatingDescriptor::ParentalRatingDescriptor
ParentalRatingDescriptor(const std::vector< uint8_t > &data)
Definition: dvbdescriptors.h:1810
ServiceDescriptorMapping::kServiceTypeNimiqTV4
@ kServiceTypeNimiqTV4
Definition: dvbdescriptors.h:1961
CableDeliverySystemDescriptor::CableDeliverySystemDescriptor
CableDeliverySystemDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:719
x1
static int x1
Definition: mythsocket.cpp:57
MPEGDescriptor::m_data
const unsigned char * m_data
Definition: mpegdescriptors.h:370
SatelliteDeliverySystemDescriptor::ModulationSystem
uint ModulationSystem(void) const
Definition: dvbdescriptors.h:855
DVBLogicalChannelDescriptor::ChannelNumber
uint ChannelNumber(uint i) const
Definition: dvbdescriptors.h:2555
ServiceDescriptorMapping::kServiceTypeNimiqTV3
@ kServiceTypeNimiqTV3
Definition: dvbdescriptors.h:1960
SatelliteDeliverySystemDescriptor::kInnerFEC_1_2_ConvolutionCodeRate
@ kInnerFEC_1_2_ConvolutionCodeRate
Definition: dvbdescriptors.h:889
ServiceDescriptorMapping::kServiceTypeH264AVCMosaic
@ kServiceTypeH264AVCMosaic
Definition: dvbdescriptors.h:1931
desc_list_t
std::vector< const unsigned char * > desc_list_t
Definition: mpegdescriptors.h:18
ScramblingDescriptor::ScramblingMode
uint ScramblingMode(void) const
Definition: dvbdescriptors.h:1906
SatelliteDeliverySystemDescriptor::kModulationQAM16
@ kModulationQAM16
Definition: dvbdescriptors.h:867
MessageDescriptor
Definition: dvbdescriptors.h:1306
ServiceRelocatedDescriptor::ServiceRelocatedDescriptor
ServiceRelocatedDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1420
TerrestrialDeliverySystemDescriptor::TerrestrialDeliverySystemDescriptor
TerrestrialDeliverySystemDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:907
LinkageDescriptor
Definition: dvbdescriptors.h:86
ExtendedEventDescriptor
Definition: dvbdescriptors.h:1526
ServiceDescriptorMapping::kServiceTypeHEVCUHDDigitalTelevision
@ kServiceTypeHEVCUHDDigitalTelevision
Definition: dvbdescriptors.h:1949
ComponentDescriptor::HEAACProperties
uint HEAACProperties(void) const
Definition: dvbdescriptors.h:533
TerrestrialDeliverySystemDescriptor::ConstellationString
QString ConstellationString(void) const
Definition: dvbdescriptors.h:953
T2DeliverySystemDescriptor::SisoMiso
uint SisoMiso(void) const
Definition: dvbdescriptors.h:1120
ServiceDescriptorMapping::kServiceTypeNimiqTV6
@ kServiceTypeNimiqTV6
Definition: dvbdescriptors.h:1963
byte4BCD2int
#define byte4BCD2int(i, j, k, l)
Definition: dvbdescriptors.h:61
ShortEventDescriptor::CanonicalLanguageString
QString CanonicalLanguageString(void) const
Definition: dvbdescriptors.h:2157
ServiceListDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:2109
T2DeliverySystemDescriptor
Definition: dvbdescriptors.h:1089
ExtendedEventDescriptor::ExtendedEventDescriptor
ExtendedEventDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1529
ExtendedEventDescriptor::TextLength
uint TextLength(void) const
Definition: dvbdescriptors.h:1559
SkyLCNDescriptor
Sky Logical Channel Number descriptor.
Definition: dvbdescriptors.h:2757
LinkageDescriptor::kHandOverAssociatedService
@ kHandOverAssociatedService
Definition: dvbdescriptors.h:155
MultilingualServiceNameDescriptor
Definition: dvbdescriptors.h:1757
SatelliteDeliverySystemDescriptor::FECInnerString
QString FECInnerString(void) const
Definition: dvbdescriptors.h:898
ServiceDescriptor::ServiceProviderShortName
QString ServiceProviderShortName(void) const
Definition: dvbdescriptors.h:2036
LinkageDescriptor::TargetEventID
uint TargetEventID(void) const
Definition: dvbdescriptors.h:187
ServiceDescriptorMapping::kServiceTypeNVODReference
@ kServiceTypeNVODReference
Definition: dvbdescriptors.h:1924
PDCDescriptor
Definition: dvbdescriptors.h:1856
ImageIconDescriptor::ImageIconDescriptor
ImageIconDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1049
NVODReferenceDescriptor::OriginalNetworkId
uint OriginalNetworkId(uint i) const
Definition: dvbdescriptors.h:1794
NetworkNameDescriptor::ShortName
QString ShortName(void) const
Definition: dvbdescriptors.h:79
TerrestrialDeliverySystemDescriptor::Frequency
uint Frequency(void) const
Definition: dvbdescriptors.h:915
TargetRegionNameDescriptor::CountryCode
uint CountryCode(void) const
Definition: dvbdescriptors.h:1393
ComponentDescriptor::LanguageString
QString LanguageString(void) const
Definition: dvbdescriptors.h:377
PrivateDataSpecifierDescriptor::PrivateDataSpecifier
uint32_t PrivateDataSpecifier(void) const
Definition: dvbdescriptors.h:1889
DVBSimulcastChannelDescriptor
DVB HD Simulcast Logical Channel Descriptor.
Definition: dvbdescriptors.h:2569
SubtitlingDescriptor::LanguageString
QString LanguageString(uint i) const
Definition: dvbdescriptors.h:2260
StreamIdentifierDescriptor::ComponentTag
uint ComponentTag(void) const
Definition: dvbdescriptors.h:2219
ServiceDescriptorMapping::kServiceTypeDigitalTelevision
@ kServiceTypeDigitalTelevision
Definition: dvbdescriptors.h:1921
FreesatLCNDescriptor::ServiceID
uint ServiceID(int i) const
Definition: dvbdescriptors.h:2634
CountryAvailabilityDescriptor::CountryCount
uint CountryCount(void) const
Definition: dvbdescriptors.h:631
ComponentDescriptor::IsSubtitle
bool IsSubtitle(void) const
Definition: dvbdescriptors.h:405
T2DeliverySystemDescriptor::m_subCellPtrs
std::vector< const unsigned char * > m_subCellPtrs
Definition: dvbdescriptors.h:1217
BouquetNameDescriptor::BouquetShortName
QString BouquetShortName(void) const
Definition: dvbdescriptors.h:280
LinkageDescriptor::kHandOverLocalVariation
@ kHandOverLocalVariation
Definition: dvbdescriptors.h:154
VBIDataDescriptor::VBIDataDescriptor
VBIDataDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2396
LinkageDescriptor::kEventLinkage
@ kEventLinkage
Definition: dvbdescriptors.h:143
MPEGDescriptor::DescriptorTagExtension
uint DescriptorTagExtension(void) const
Definition: mpegdescriptors.h:347
C2DeliverySystemDescriptor::Frequency
uint Frequency(void) const
Definition: dvbdescriptors.h:1475
DSNGDescriptor
Definition: dvbdescriptors.h:1514
ServiceDescriptorMapping::kServiceTypeTeletext
@ kServiceTypeTeletext
Definition: dvbdescriptors.h:1923
SupplementaryAudioDescriptor
Definition: dvbdescriptors.h:1246
TargetRegionNameDescriptor::TargetRegionNameDescriptor
TargetRegionNameDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1378
CableDeliverySystemDescriptor::FECOuter
uint FECOuter(void) const
Definition: dvbdescriptors.h:744
ShortSmoothingBufferDescriptor
Definition: dvbdescriptors.h:2191
ContentDescriptor::ContentDescriptor
ContentDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:585
iso639_key_to_str3
static QString iso639_key_to_str3(int code)
Definition: iso639.h:44
uint
unsigned int uint
Definition: compat.h:140
SkyLCNDescriptor::ServiceType
uint ServiceType(int i) const
Definition: dvbdescriptors.h:2789
FrequencyListDescriptor::kCodingTypeNotDefined
@ kCodingTypeNotDefined
Definition: dvbdescriptors.h:1587
ExtendedEventDescriptor::Text
QString Text(const enc_override &encoding_override) const
Definition: dvbdescriptors.h:1565
TransportStreamDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:2388
SupplementaryAudioDescriptor::LanguageCodePresent
uint LanguageCodePresent(void) const
Definition: dvbdescriptors.h:1273
DVBContentIdentifierDescriptor::m_crid
std::array< const uint8_t *, 8 > m_crid
Definition: dvbdescriptors.h:2892
PartialTransportStreamDescriptor::PeakRate
uint PeakRate(void) const
Definition: dvbdescriptors.h:2453
TerrestrialDeliverySystemDescriptor::kTransmissionMode2k
@ kTransmissionMode2k
Definition: dvbdescriptors.h:1028
x5
static int x5
Definition: mythsocket.cpp:61
SkyLCNDescriptor::ChannelID
uint ChannelID(int i) const
Definition: dvbdescriptors.h:2792
PrivateDescriptorID::freesat_lcn_table
@ freesat_lcn_table
Definition: mpegdescriptors.h:232
T2DeliverySystemDescriptor::GuardInterval
uint GuardInterval(void) const
Definition: dvbdescriptors.h:1163
TerrestrialDeliverySystemDescriptor::kHierarchyInfoAlpha4InDepthInterleaver
@ kHierarchyInfoAlpha4InDepthInterleaver
Definition: dvbdescriptors.h:969
CableDeliverySystemDescriptor::kInnerFEC_2_3_ConvolutionCodeRate
@ kInnerFEC_2_3_ConvolutionCodeRate
Definition: dvbdescriptors.h:782
ComponentDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:573
TerrestrialDeliverySystemDescriptor::TransmissionMode
uint TransmissionMode(void) const
Definition: dvbdescriptors.h:1032
TerrestrialDeliverySystemDescriptor::kConstellationQPSK
@ kConstellationQPSK
Definition: dvbdescriptors.h:947
ProgramInfo::CategoryType
CategoryType
Definition: programinfo.h:75
ServiceDescriptor::ServiceType
uint ServiceType(void) const
Definition: dvbdescriptors.h:2030
ContentDescriptor::s_categoryDescExists
static volatile bool s_categoryDescExists
Definition: dvbdescriptors.h:618
S2XSatelliteDeliverySystemDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:816
FreesatCallsignDescriptor
Freesat Channel Callsign descriptor.
Definition: dvbdescriptors.h:2719
ServiceRelocatedDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:784
T2DeliverySystemDescriptor::SisoMisoString
QString SisoMisoString(void) const
Definition: dvbdescriptors.h:1121
DataBroadcastDescriptor::CanonicalLanguageString
QString CanonicalLanguageString(void) const
Definition: dvbdescriptors.h:686
SatelliteDeliverySystemDescriptor::FrequencykHz
unsigned long long FrequencykHz(void) const
Definition: dvbdescriptors.h:811
StuffingDescriptor::StuffingDescriptor
StuffingDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2231
TerrestrialDeliverySystemDescriptor::kGuardInterval_1_16
@ kGuardInterval_1_16
Definition: dvbdescriptors.h:1015
CAIdentifierDescriptor::CAIdentifierDescriptor
CAIdentifierDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:294
PDCDescriptor::ProgramIdLabel
uint ProgramIdLabel(void) const
Definition: dvbdescriptors.h:1867
TerrestrialDeliverySystemDescriptor::kBandwidth7Mhz
@ kBandwidth7Mhz
Definition: dvbdescriptors.h:926
PrivateDescriptorID::sky_lcn_table
@ sky_lcn_table
Definition: mpegdescriptors.h:229
PrivateDataSpecifierDescriptor
Definition: dvbdescriptors.h:1877
TargetRegionNameDescriptor::LanguageString
QString LanguageString(void) const
Definition: dvbdescriptors.h:1407
ContentDescriptor::s_categoryLock
static QMutex s_categoryLock
Definition: dvbdescriptors.h:616
TransportStreamDescriptor::TransportStreamDescriptor
TransportStreamDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2379
ServiceListDescriptor::ServiceCount
uint ServiceCount(void) const
Definition: dvbdescriptors.h:2102
ServiceDescriptorMapping::kServiceTypeEchoStarTV4
@ kServiceTypeEchoStarTV4
Definition: dvbdescriptors.h:1957
SubtitlingDescriptor::SubtitlingDescriptor
SubtitlingDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2248
LinkageDescriptor::MobileInitialServiceID
uint MobileInitialServiceID(void) const
Definition: dvbdescriptors.h:178
TerrestrialDeliverySystemDescriptor::kBandwidth5Mhz
@ kBandwidth5Mhz
Definition: dvbdescriptors.h:928
SkyLCNDescriptor::ServiceID
uint ServiceID(int i) const
Definition: dvbdescriptors.h:2786
T2DeliverySystemDescriptor::kBandwidth1712kHz
@ kBandwidth1712kHz
Definition: dvbdescriptors.h:1136
TerrestrialDeliverySystemDescriptor::kHierarchyInfoAlpha2NativeInterleaver
@ kHierarchyInfoAlpha2NativeInterleaver
Definition: dvbdescriptors.h:964
NVODReferenceDescriptor::TransportStreamId
uint TransportStreamId(uint i) const
Definition: dvbdescriptors.h:1791
ServiceListDescriptor::ServiceID
uint ServiceID(uint i) const
Definition: dvbdescriptors.h:2104
SatelliteDeliverySystemDescriptor::kInnerFEC_7_8_ConvolutionCodeRate
@ kInnerFEC_7_8_ConvolutionCodeRate
Definition: dvbdescriptors.h:893
DataBroadcastDescriptor::Selector
const unsigned char * Selector(void) const
Definition: dvbdescriptors.h:677
MTV_PUBLIC
#define MTV_PUBLIC
Definition: mythtvexp.h:15
LinkageDescriptor::IsEventSimulcast
bool IsEventSimulcast(void) const
Definition: dvbdescriptors.h:191
AC3Descriptor::HasBSID
bool HasBSID(void) const
Definition: dvbdescriptors.h:2479
T2DeliverySystemDescriptor::kTransmissionMode2k
@ kTransmissionMode2k
Definition: dvbdescriptors.h:1174
ServiceDescriptorMapping::kServiceTypeNimiqTV2
@ kServiceTypeNimiqTV2
Definition: dvbdescriptors.h:1959
AC3Descriptor::ComponentType
uint ComponentType(void) const
Definition: dvbdescriptors.h:2487
FreesatLCNDescriptor::RegionID
uint RegionID(int i, int j) const
Definition: dvbdescriptors.h:2646
TelephoneDescriptor
Definition: dvbdescriptors.h:2280
FreesatRegionDescriptor::Language
QString Language(uint i) const
Definition: dvbdescriptors.h:2700
ExtendedEventDescriptor::LengthOfItems
uint LengthOfItems(void) const
Definition: dvbdescriptors.h:1549
LocalTimeOffsetDescriptor::LocalTimeOffsetDescriptor
LocalTimeOffsetDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1624
AC3Descriptor::AC3Descriptor
AC3Descriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2470
TerrestrialDeliverySystemDescriptor::kHierarchyInfoAlpha1InDepthInterleaver
@ kHierarchyInfoAlpha1InDepthInterleaver
Definition: dvbdescriptors.h:967
DataBroadcastIdDescriptor
Definition: dvbdescriptors.h:700
DescriptorID::c2_delivery_system
@ c2_delivery_system
Definition: mpegdescriptors.h:153
TimeShiftedEventDescriptor::TimeShiftedEventDescriptor
TimeShiftedEventDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2352
SupplementaryAudioDescriptor::LanguageString
QString LanguageString(void) const
Definition: dvbdescriptors.h:1278
T2DeliverySystemDescriptor::CellID
uint CellID(uint i) const
Definition: dvbdescriptors.h:1193
SatelliteDeliverySystemDescriptor::Polarization
uint Polarization(void) const
Definition: dvbdescriptors.h:830
LinkageDescriptor::MobileNetworkID
uint MobileNetworkID(void) const
Definition: dvbdescriptors.h:173
T2DeliverySystemDescriptor::BandwidthHz
uint BandwidthHz(void) const
Definition: dvbdescriptors.h:1139
LinkageDescriptor::kEPGService
@ kEPGService
Definition: dvbdescriptors.h:132
DataBroadcastIdDescriptor::DataBroadcastIdDescriptor
DataBroadcastIdDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:703
coderate_inner
static QString coderate_inner(uint coderate)
Definition: dvbdescriptors.h:2517
TerrestrialDeliverySystemDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:585
SatelliteDeliverySystemDescriptor::SymbolRate
uint SymbolRate(void) const
Definition: dvbdescriptors.h:876
ContentDescriptor::UserNibble1
uint UserNibble1(uint i) const
Definition: dvbdescriptors.h:602
TerrestrialDeliverySystemDescriptor::CodeRateLPString
QString CodeRateLPString(void) const
Definition: dvbdescriptors.h:1004
DataBroadcastDescriptor::CanonicalLanguageKey
int CanonicalLanguageKey(void) const
Definition: dvbdescriptors.h:684
LocalTimeOffsetDescriptor::LocalTimeOffset
uint LocalTimeOffset(uint i) const
Definition: dvbdescriptors.h:1653
C2DeliverySystemDescriptor::DataSliceID
uint DataSliceID(void) const
Definition: dvbdescriptors.h:1469
FrequencyListDescriptor::kCodingTypeCable
@ kCodingTypeCable
Definition: dvbdescriptors.h:1589
StreamIdentifierDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:2220
T2DeliverySystemDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:633
ServiceDescriptorMapping::kServiceTypeDVB_SRM
@ kServiceTypeDVB_SRM
Definition: dvbdescriptors.h:1928
T2DeliverySystemDescriptor::m_cellPtrs
std::vector< const unsigned char * > m_cellPtrs
Definition: dvbdescriptors.h:1216
OpenTVChannelListDescriptor::ChannelType
uint ChannelType(uint i) const
Definition: dvbdescriptors.h:2822
ServiceDescriptorMapping::kServiceTypeEchoStarTV2
@ kServiceTypeEchoStarTV2
Definition: dvbdescriptors.h:1955
ServiceDescriptor::ServiceProviderNameLength
uint ServiceProviderNameLength(void) const
Definition: dvbdescriptors.h:2032
TargetRegionDescriptor::CountryCodeString
QString CountryCodeString(void) const
Definition: dvbdescriptors.h:1362
SkyLCNDescriptor::LogicalChannelNumber
uint LogicalChannelNumber(int i) const
Definition: dvbdescriptors.h:2795
FreesatCallsignDescriptor::Callsign
QString Callsign(void) const
Definition: dvbdescriptors.h:2740
ServiceDescriptor::IsHDTV
bool IsHDTV(void) const
Definition: dvbdescriptors.h:2058
ServiceDescriptorMapping::kServiceTypeH264AVCHDNVODReference
@ kServiceTypeH264AVCHDNVODReference
Definition: dvbdescriptors.h:1944
LocalTimeOffsetDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:960
assert
#define assert(x)
Definition: audiooutputalsa.cpp:18
OpenTVChannelListDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:917
ServiceDescriptorMapping::kServiceTypeDataBroadcast
@ kServiceTypeDataBroadcast
Definition: dvbdescriptors.h:1932
CAIdentifierDescriptor::CASystemId
int CASystemId(uint i) const
Definition: dvbdescriptors.h:303
ComponentDescriptor::ComponentTag
uint ComponentTag(void) const
Definition: dvbdescriptors.h:373
DescriptorID::image_icon
@ image_icon
Definition: mpegdescriptors.h:143
DataBroadcastDescriptor::SelectorLength
uint SelectorLength(void) const
Definition: dvbdescriptors.h:673
DataBroadcastDescriptor::TextLength
uint TextLength(void) const
Definition: dvbdescriptors.h:689
FreesatRegionDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:891
ImageIconDescriptor::LastDescriptorNumber
uint LastDescriptorNumber(void) const
Definition: dvbdescriptors.h:1070
PrivateUPCCablecomEpisodeTitleDescriptor::CanonicalLanguageString
QString CanonicalLanguageString(void) const
Definition: dvbdescriptors.h:2944
FrequencyListDescriptor::Frequency
unsigned long long Frequency(uint i) const
Definition: dvbdescriptors.h:1598
ContentDescriptor
Definition: dvbdescriptors.h:582
ServiceDescriptorMapping::kServiceTypeDVB_MHP
@ kServiceTypeDVB_MHP
Definition: dvbdescriptors.h:1936
SatelliteDeliverySystemDescriptor::IsEast
bool IsEast(void) const
west_east_flag 1 8.0
Definition: dvbdescriptors.h:827
TeletextDescriptor::CanonicalLanguageKey
int CanonicalLanguageKey(uint i) const
Definition: dvbdescriptors.h:2331
LinkageDescriptor::kInformationService
@ kInformationService
Definition: dvbdescriptors.h:131
ComponentDescriptor::CanonicalLanguageString
QString CanonicalLanguageString(void) const
Definition: dvbdescriptors.h:381
ServiceDescriptorMapping::IsHDTV
bool IsHDTV(void) const
Definition: dvbdescriptors.h:1996
TerrestrialDeliverySystemDescriptor::kGuardInterval_1_4
@ kGuardInterval_1_4
Definition: dvbdescriptors.h:1017
AC3Descriptor::MainID
uint MainID(void) const
Definition: dvbdescriptors.h:2494
LocalTimeOffsetDescriptor::CountryCodeString
QString CountryCodeString(uint i) const
Definition: dvbdescriptors.h:1638
ServiceAvailabilityDescriptor
Definition: dvbdescriptors.h:2073
DVBContentIdentifierDescriptor::DVBContentIdentifierDescriptor
DVBContentIdentifierDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2841
ServiceDescriptor::ServiceShortName
QString ServiceShortName(void) const
Definition: dvbdescriptors.h:2049
SHDeliverySystemDescriptor::SHDeliverySystemDescriptor
SHDeliverySystemDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1224
NetworkChangeNotifyDescriptor
Definition: dvbdescriptors.h:1285
PrivateDescriptorID::freesat_callsign
@ freesat_callsign
Definition: mpegdescriptors.h:238
DVBLogicalChannelDescriptor::ServiceID
uint ServiceID(uint i) const
Definition: dvbdescriptors.h:2552
C2DeliverySystemDescriptor::PlpID
uint PlpID(void) const
Definition: dvbdescriptors.h:1463
SubtitlingDescriptor
Definition: dvbdescriptors.h:2245
PartialTransportStreamDescriptor
Definition: dvbdescriptors.h:2442
ServiceDescriptorMapping::ServiceDescriptorMapping
ServiceDescriptorMapping(const uint service_type)
Definition: dvbdescriptors.h:1918
ShortEventDescriptor::LanguageString
QString LanguageString(void) const
Definition: dvbdescriptors.h:2153
SatelliteDeliverySystemDescriptor::OrbitalPosition
uint OrbitalPosition(void) const
orbital_position 16 6.0
Definition: dvbdescriptors.h:816
ShortEventDescriptor::EventName
QString EventName(void) const
Definition: dvbdescriptors.h:2162
ServiceRelocatedDescriptor::OldTransportID
uint OldTransportID(void) const
Definition: dvbdescriptors.h:1438
SupplementaryAudioDescriptor::MixType
uint MixType(void) const
Definition: dvbdescriptors.h:1264
SatelliteDeliverySystemDescriptor::ModulationSystemString
QString ModulationSystemString(void) const
Definition: dvbdescriptors.h:856
LinkageDescriptor::LinkageTypeString
QString LinkageTypeString(void) const
Definition: dvbdescriptors.cpp:258
DefaultAuthorityDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:2910
LinkageDescriptor::kDataBroadcastService
@ kDataBroadcastService
Definition: dvbdescriptors.h:136
StreamIdentifierDescriptor
This is used to label streams so the can be treated differently, for instance each stream may get it'...
Definition: dvbdescriptors.h:2209
PrivateUPCCablecomEpisodeTitleDescriptor::CanonicalLanguageKey
int CanonicalLanguageKey(void) const
Definition: dvbdescriptors.h:2940
CableDeliverySystemDescriptor::ModulationString
QString ModulationString(void) const
Definition: dvbdescriptors.h:760
SatelliteDeliverySystemDescriptor::SymbolRateHz
uint SymbolRateHz(void) const
Definition: dvbdescriptors.h:881
ServiceDescriptorMapping::IsDigitalAudio
bool IsDigitalAudio(void) const
Definition: dvbdescriptors.h:1990
MultilingualServiceNameDescriptor::MultilingualServiceNameDescriptor
MultilingualServiceNameDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1760
AC3Descriptor
Definition: dvbdescriptors.h:2467
TerrestrialDeliverySystemDescriptor::kHierarchyInfoAlpha4NativeInterleaver
@ kHierarchyInfoAlpha4NativeInterleaver
Definition: dvbdescriptors.h:965
CableDeliverySystemDescriptor::kInnerFEC_8_9_ConvolutionCodeRate
@ kInnerFEC_8_9_ConvolutionCodeRate
Definition: dvbdescriptors.h:786
TerrestrialDeliverySystemDescriptor::kCodeRate_1_2
@ kCodeRate_1_2
Definition: dvbdescriptors.h:988
ScramblingDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:1907
TeletextDescriptor::TeletextPageNum
uint TeletextPageNum(uint i) const
Definition: dvbdescriptors.h:2342
ImageIconDescriptor
Definition: dvbdescriptors.h:1046
ServiceDescriptor
Definition: dvbdescriptors.h:2020
ComponentDescriptor
Definition: dvbdescriptors.h:359
ServiceAvailabilityDescriptor::ServiceAvailabilityDescriptor
ServiceAvailabilityDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2076
StuffingDescriptor
Definition: dvbdescriptors.h:2228
SatelliteDeliverySystemDescriptor::IsVerticalRightPolarization
bool IsVerticalRightPolarization(void) const
Definition: dvbdescriptors.h:839
OpenTVChannelListDescriptor::ServiceID
uint ServiceID(uint i) const
Definition: dvbdescriptors.h:2819
ServiceDescriptorMapping::kServiceTypeNimiqTV9
@ kServiceTypeNimiqTV9
Definition: dvbdescriptors.h:1966
DataBroadcastDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:939
SatelliteDeliverySystemDescriptor::kInnerFEC_3_4_ConvolutionCodeRate
@ kInnerFEC_3_4_ConvolutionCodeRate
Definition: dvbdescriptors.h:891
DVBContentIdentifierDescriptor::m_cridCount
size_t m_cridCount
Definition: dvbdescriptors.h:2891
TerrestrialDeliverySystemDescriptor::FrequencyHz
uint64_t FrequencyHz(void) const
Definition: dvbdescriptors.h:920
MosaicDescriptor
Definition: dvbdescriptors.h:1667
T2DeliverySystemDescriptor::kBandwidth7Mhz
@ kBandwidth7Mhz
Definition: dvbdescriptors.h:1132
DVBSimulcastChannelDescriptor::ChannelCount
uint ChannelCount(void) const
Definition: dvbdescriptors.h:2578
SatelliteDeliverySystemDescriptor::kModulationQPSK_NS
@ kModulationQPSK_NS
Definition: dvbdescriptors.h:863
ServiceDescriptorMapping::kServiceTypeNimiqTV5
@ kServiceTypeNimiqTV5
Definition: dvbdescriptors.h:1962
SatelliteDeliverySystemDescriptor::kInnerFEC_5_6_ConvolutionCodeRate
@ kInnerFEC_5_6_ConvolutionCodeRate
Definition: dvbdescriptors.h:892
SatelliteDeliverySystemDescriptor::kRollOff_Auto
@ kRollOff_Auto
Definition: dvbdescriptors.h:846
TerrestrialDeliverySystemDescriptor::IsMPE_FECUsed
bool IsMPE_FECUsed(void) const
Definition: dvbdescriptors.h:942
BouquetNameDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:283
PrivateUPCCablecomEpisodeTitleDescriptor::PrivateUPCCablecomEpisodeTitleDescriptor
PrivateUPCCablecomEpisodeTitleDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2923
StuffingDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:2237
FreesatCallsignDescriptor::Language
QString Language(void) const
Definition: dvbdescriptors.h:2737
CableDeliverySystemDescriptor::SymbolRateRaw
uint SymbolRateRaw(void) const
Definition: dvbdescriptors.h:768
SatelliteDeliverySystemDescriptor::kModulationQPSK
@ kModulationQPSK
Definition: dvbdescriptors.h:865
LinkageDescriptor::MobileHandOverTypeString
QString MobileHandOverTypeString(void) const
Definition: dvbdescriptors.cpp:267
TerrestrialDeliverySystemDescriptor::TransmissionModeString
QString TransmissionModeString(void) const
Definition: dvbdescriptors.h:1033
LocalTimeOffsetDescriptor::CountryCode
uint CountryCode(uint i) const
Definition: dvbdescriptors.h:1633
T2DeliverySystemDescriptor::kTransmissionMode32k
@ kTransmissionMode32k
Definition: dvbdescriptors.h:1179
SatelliteDeliverySystemDescriptor::kRollOff_20
@ kRollOff_20
Definition: dvbdescriptors.h:844
CableDeliverySystemDescriptor::kOuterFEC_None
@ kOuterFEC_None
Definition: dvbdescriptors.h:741
ExtendedEventDescriptor::LastNumber
uint LastNumber(void) const
Definition: dvbdescriptors.h:1538
FreesatRegionDescriptor::RegionID
int RegionID(uint i) const
Definition: dvbdescriptors.h:2697
NetworkNameDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:81
SatelliteDeliverySystemDescriptor::PolarizationString
QString PolarizationString() const
Definition: dvbdescriptors.h:831
TerrestrialDeliverySystemDescriptor::kTransmissionMode4k
@ kTransmissionMode4k
Definition: dvbdescriptors.h:1030
SkyLCNDescriptor::ServiceCount
uint ServiceCount(void) const
Definition: dvbdescriptors.h:2783
ServiceDescriptorMapping::kServiceTypeH264AVCSDDigitalTelevision
@ kServiceTypeH264AVCSDDigitalTelevision
Definition: dvbdescriptors.h:1939
PrivateUPCCablecomEpisodeTitleDescriptor::LanguageString
QString LanguageString(void) const
Definition: dvbdescriptors.h:2936
TerrestrialDeliverySystemDescriptor::IsTimeSlicingIndicatorUsed
bool IsTimeSlicingIndicatorUsed(void) const
Definition: dvbdescriptors.h:940
T2DeliverySystemDescriptor::kTransmissionMode4k
@ kTransmissionMode4k
Definition: dvbdescriptors.h:1176
SatelliteDeliverySystemDescriptor
Definition: dvbdescriptors.h:795
SatelliteDeliverySystemDescriptor::kRollOff_25
@ kRollOff_25
Definition: dvbdescriptors.h:845
SubtitlingDescriptor::SubtitleType
uint SubtitleType(uint i) const
Definition: dvbdescriptors.h:2268
AncillaryDataDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.h:235
TelephoneDescriptor::TelephoneDescriptor
TelephoneDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2283
ExtendedEventDescriptor::Text
QString Text(void) const
Definition: dvbdescriptors.h:1561
TerrestrialDeliverySystemDescriptor::BandwidthHz
uint BandwidthHz(void) const
Definition: dvbdescriptors.h:931
DVBContentIdentifierDescriptor::ContentId
QString ContentId(size_t n=0) const
Definition: dvbdescriptors.h:2870
FreesatRegionDescriptor
Freesat Region descriptor.
Definition: dvbdescriptors.h:2664
SkyLCNDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:852
LocalTimeOffsetDescriptor::Count
uint Count(void) const
Definition: dvbdescriptors.h:1629
TerrestrialDeliverySystemDescriptor::CodeRateHPString
QString CodeRateHPString(void) const
Definition: dvbdescriptors.h:995
CableDeliverySystemDescriptor::SymbolRateHz
uint SymbolRateHz(void) const
Definition: dvbdescriptors.h:773
ServiceDescriptorMapping::kServiceTypeH264AVCHDDigitalTelevision
@ kServiceTypeH264AVCHDDigitalTelevision
Definition: dvbdescriptors.h:1942
DataBroadcastDescriptor::DataComponentTag
uint DataComponentTag(void) const
Definition: dvbdescriptors.h:671
FreesatRegionDescriptor::m_entries
desc_list_t m_entries
Definition: dvbdescriptors.h:2709
TargetRegionNameDescriptor::LanguageKey
int LanguageKey(void) const
Definition: dvbdescriptors.h:1405
TargetRegionNameDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:766
OpenTVChannelListDescriptor::ChannelNumber
uint ChannelNumber(uint i) const
Definition: dvbdescriptors.h:2828
TargetRegionNameDescriptor
Definition: dvbdescriptors.h:1375
TerrestrialDeliverySystemDescriptor::HighPriority
bool HighPriority(void) const
Definition: dvbdescriptors.h:938
ComponentDescriptor::SubtitleType
uint SubtitleType(void) const
Definition: dvbdescriptors.h:555
SatelliteDeliverySystemDescriptor::RollOff
uint RollOff(void) const
Definition: dvbdescriptors.h:848
FrequencyListDescriptor::FrequencyHz
unsigned long long FrequencyHz(uint i) const
Definition: dvbdescriptors.h:1610
TerrestrialDeliverySystemDescriptor::kCodeRate_2_3
@ kCodeRate_2_3
Definition: dvbdescriptors.h:989
ComponentDescriptor::AVCProperties
uint AVCProperties(void) const
Definition: dvbdescriptors.h:437
ScramblingDescriptor::ScramblingDescriptor
ScramblingDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1899
LinkageDescriptor::LinkageType
uint LinkageType(void) const
Definition: dvbdescriptors.h:145
MultilingualNetworkNameDescriptor::MultilingualNetworkNameDescriptor
MultilingualNetworkNameDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1741
T2DeliverySystemDescriptor::kGuardInterval_1_4
@ kGuardInterval_1_4
Definition: dvbdescriptors.h:1158
ServiceDescriptorMapping::IsDTV
bool IsDTV(void) const
Definition: dvbdescriptors.h:1970
CableDeliverySystemDescriptor::kInnerFEC_None
@ kInnerFEC_None
Definition: dvbdescriptors.h:787
DataBroadcastDescriptor::Text
QString Text(void) const
Definition: dvbdescriptors.h:691
T2DeliverySystemDescriptor::kGuardInterval_19_256
@ kGuardInterval_19_256
Definition: dvbdescriptors.h:1161
DefaultAuthorityDescriptor
Definition: dvbdescriptors.h:2896
ServiceDescriptorMapping::toString
QString toString(void) const
Definition: dvbdescriptors.cpp:515
LinkageDescriptor::MobileHandOverType
uint MobileHandOverType(void) const
Definition: dvbdescriptors.h:157
StreamIdentifierDescriptor::StreamIdentifierDescriptor
StreamIdentifierDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2212
TerrestrialDeliverySystemDescriptor::kTransmissionMode8k
@ kTransmissionMode8k
Definition: dvbdescriptors.h:1029
NetworkChangeNotifyDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:719
SatelliteDeliverySystemDescriptor::IsHorizontalLeftPolarization
bool IsHorizontalLeftPolarization(void) const
Definition: dvbdescriptors.h:838
AdaptationFieldDataDescriptor
Definition: dvbdescriptors.h:206
SatelliteDeliverySystemDescriptor::FECInner
uint FECInner(void) const
Definition: dvbdescriptors.h:897
ComponentDescriptor::MPEG2Properties
uint MPEG2Properties(void) const
Definition: dvbdescriptors.h:419
ServiceDescriptorMapping::kServiceTypeH264AVCFrameCompatiblePlanoStereoscopicHDDigitalTelevision
@ kServiceTypeH264AVCFrameCompatiblePlanoStereoscopicHDDigitalTelevision
Definition: dvbdescriptors.h:1945
LinkageDescriptor::MobileOriginType
uint MobileOriginType(void) const
Definition: dvbdescriptors.h:166
LinkageDescriptor::HasMobileInitialServiceID
bool HasMobileInitialServiceID(void) const
Definition: dvbdescriptors.h:176
TeletextDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:535
ServiceDescriptorMapping::kServiceTypeH264AVCSDNVODTimeShifted
@ kServiceTypeH264AVCSDNVODTimeShifted
Definition: dvbdescriptors.h:1940
SupplementaryAudioDescriptor::LanguageKey
int LanguageKey(void) const
Definition: dvbdescriptors.h:1276
SkyLCNDescriptor::RegionID
uint RegionID(void) const
Definition: dvbdescriptors.h:2777
DVBContentIdentifierDescriptor
Definition: dvbdescriptors.h:2838
ServiceDescriptorMapping::kServiceTypeNimiqTV8
@ kServiceTypeNimiqTV8
Definition: dvbdescriptors.h:1965
T2DeliverySystemDescriptor::TransposerFrequency
uint TransposerFrequency(uint i, uint j) const
Definition: dvbdescriptors.h:1207
FrequencyListDescriptor::FrequencyCount
uint FrequencyCount() const
Definition: dvbdescriptors.h:1597
LinkageDescriptor::OriginalNetworkID
uint OriginalNetworkID() const
Definition: dvbdescriptors.h:125
FreesatLCNDescriptor::ChanID
uint ChanID(int i) const
Definition: dvbdescriptors.h:2637
iso639_str3_to_key
static int iso639_str3_to_key(const unsigned char *iso639_2)
Definition: iso639.h:59
T2DeliverySystemDescriptor::T2DeliverySystemDescriptor
T2DeliverySystemDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1092
LinkageDescriptor::kTSContaining_INT_BAT_NIT
@ kTSContaining_INT_BAT_NIT
Definition: dvbdescriptors.h:142
T2DeliverySystemDescriptor::PlpID
uint PlpID(void) const
Definition: dvbdescriptors.h:1108
TeletextDescriptor::LanguageString
QString LanguageString(uint i) const
Definition: dvbdescriptors.h:2329
S2XSatelliteDeliverySystemDescriptor::S2XSatelliteDeliverySystemDescriptor
S2XSatelliteDeliverySystemDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1492
MessageDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:731
SatelliteDeliverySystemDescriptor::IsCircularPolarization
bool IsCircularPolarization(void) const
Definition: dvbdescriptors.h:836
NVODReferenceDescriptor::NVODReferenceDescriptor
NVODReferenceDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1781
AC3Descriptor::BSID
uint BSID(void) const
Definition: dvbdescriptors.h:2490
TimeShiftedEventDescriptor
Definition: dvbdescriptors.h:2349
TerrestrialDeliverySystemDescriptor::kHierarchyInfoNonHierarchicalNativeInterleaver
@ kHierarchyInfoNonHierarchicalNativeInterleaver
Definition: dvbdescriptors.h:962
VBITeletextDescriptor::VBITeletextDescriptor
VBITeletextDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2426
SkyLCNDescriptor::RegionRaw
uint RegionRaw(void) const
Definition: dvbdescriptors.h:2780
ExtendedEventDescriptor::CanonicalLanguageString
QString CanonicalLanguageString(void) const
Definition: dvbdescriptors.h:1546
VBITeletextDescriptor
Definition: dvbdescriptors.h:2423
TeletextDescriptor::TeletextType
uint TeletextType(uint i) const
Definition: dvbdescriptors.h:2336
TargetRegionDescriptor::TargetRegionDescriptor
TargetRegionDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1343
ServiceListDescriptor
Definition: dvbdescriptors.h:2088
FreesatLCNDescriptor::FreesatLCNDescriptor
FreesatLCNDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2602
ComponentDescriptor::ComponentType
uint ComponentType(void) const
Definition: dvbdescriptors.h:371
ServiceDescriptorMapping::kServiceTypeNimiqTV7
@ kServiceTypeNimiqTV7
Definition: dvbdescriptors.h:1964
OpenTVChannelListDescriptor::OpenTVChannelListDescriptor
OpenTVChannelListDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2808
PartialTransportStreamDescriptor::SmoothBuf
uint SmoothBuf(void) const
Definition: dvbdescriptors.h:2461
T2DeliverySystemDescriptor::kTransmissionMode1k
@ kTransmissionMode1k
Definition: dvbdescriptors.h:1177
AncillaryDataDescriptor::AncillaryDataID
uint AncillaryDataID(void) const
Definition: dvbdescriptors.h:234
T2DeliverySystemDescriptor::Parse
void Parse(void) const
Definition: dvbdescriptors.cpp:618
ContentDescriptor::Nibble
uint Nibble(uint i) const
Definition: dvbdescriptors.h:599
TerrestrialDeliverySystemDescriptor::kCodeRate_7_8
@ kCodeRate_7_8
Definition: dvbdescriptors.h:992
DVBLogicalChannelDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:830
TeletextDescriptor
Definition: dvbdescriptors.h:2313
NetworkChangeNotifyDescriptor::NetworkChangeNotifyDescriptor
NetworkChangeNotifyDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1288
T2DeliverySystemDescriptor::T2SystemID
uint T2SystemID(void) const
Definition: dvbdescriptors.h:1114
DescriptorID::service_relocated
@ service_relocated
Definition: mpegdescriptors.h:151
SatelliteDeliverySystemDescriptor::SatelliteDeliverySystemDescriptor
SatelliteDeliverySystemDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:798
FreesatLCNDescriptor::LogicalChannelNumber
uint LogicalChannelNumber(int i, int j) const
Definition: dvbdescriptors.h:2643
AC3Descriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:998
SupplementaryAudioDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:697
SubtitlingDescriptor::CompositionPageID
uint CompositionPageID(uint i) const
Definition: dvbdescriptors.h:2271
ServiceDescriptor::IsDigitalAudio
bool IsDigitalAudio(void) const
Definition: dvbdescriptors.h:2056
ContentDescriptor::Init
static void Init(void)
Definition: dvbdescriptors.cpp:307
SatelliteDeliverySystemDescriptor::kInnerFEC_8_9_ConvolutionCodeRate
@ kInnerFEC_8_9_ConvolutionCodeRate
Definition: dvbdescriptors.h:894
LinkageDescriptor::kSystemSoftwareUpdateService
@ kSystemSoftwareUpdateService
Definition: dvbdescriptors.h:139
TimeShiftedServiceDescriptor::TimeShiftedServiceDescriptor
TimeShiftedServiceDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2366
DescriptorID::supplementary_audio
@ supplementary_audio
Definition: mpegdescriptors.h:146
C2DeliverySystemDescriptor
Definition: dvbdescriptors.h:1445
LinkageDescriptor::IsTargetListed
bool IsTargetListed(void) const
Definition: dvbdescriptors.h:189
TerrestrialDeliverySystemDescriptor::kGuardInterval_1_32
@ kGuardInterval_1_32
Definition: dvbdescriptors.h:1014
SatelliteDeliverySystemDescriptor::ModulationString
QString ModulationString(void) const
Definition: dvbdescriptors.h:870
SupplementaryAudioDescriptor::EditorialClassification
uint EditorialClassification(void) const
Definition: dvbdescriptors.h:1267
SkyLCNDescriptor::SkyLCNDescriptor
SkyLCNDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:2760
TransportStreamDescriptor
Definition: dvbdescriptors.h:2376
LinkageDescriptor::kTSContaining_SSU_BAT_NIT
@ kTSContaining_SSU_BAT_NIT
Definition: dvbdescriptors.h:140
FreesatRegionDescriptor::RegionName
QString RegionName(uint i) const
Definition: dvbdescriptors.h:2703
AC3Descriptor::HasComponentType
bool HasComponentType(void) const
Definition: dvbdescriptors.h:2477
PrivateDataSpecifierDescriptor::PrivateDataSpecifierDescriptor
PrivateDataSpecifierDescriptor(const std::vector< uint8_t > &data)
Definition: dvbdescriptors.h:1882
DVBSimulcastChannelDescriptor::ServiceID
uint ServiceID(uint i) const
Definition: dvbdescriptors.h:2580
T2DeliverySystemDescriptor::kBandwidth6Mhz
@ kBandwidth6Mhz
Definition: dvbdescriptors.h:1133
FreesatLCNDescriptor::ServiceCount
uint ServiceCount(void) const
Definition: dvbdescriptors.h:2631
SatelliteDeliverySystemDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:569
byte3BCD2int
#define byte3BCD2int(i, j, k)
Definition: dvbdescriptors.h:57
TargetRegionDescriptor::toString
QString toString(void) const override
Definition: dvbdescriptors.cpp:749
LinkageDescriptor::LinkageDescriptor
LinkageDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:89
DefaultAuthorityDescriptor::DefaultAuthority
QString DefaultAuthority(void) const
Definition: dvbdescriptors.h:2905
PrivateDescriptorID
Definition: mpegdescriptors.h:197
BouquetNameDescriptor::BouquetName
QString BouquetName(void) const
Definition: dvbdescriptors.h:278
ComponentDescriptor::ComponentDescriptor
ComponentDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:362
NetworkNameDescriptor
Definition: dvbdescriptors.h:68
ServiceRelocatedDescriptor::OldOriginalNetworkID
uint OldOriginalNetworkID(void) const
Definition: dvbdescriptors.h:1437
CountryAvailabilityDescriptor::CountryNames
QString CountryNames(void) const
Definition: dvbdescriptors.h:639
ShortEventDescriptor::LanguageKey
int LanguageKey(void) const
Definition: dvbdescriptors.h:2151
ContentDescriptor::Nibble2
uint Nibble2(uint i) const
Definition: dvbdescriptors.h:597
C2DeliverySystemDescriptor::C2DeliverySystemDescriptor
C2DeliverySystemDescriptor(const unsigned char *data, int len=300)
Definition: dvbdescriptors.h:1448