MythTV  master
Public Types | Public Member Functions | List of all members
TerrestrialDeliverySystemDescriptor Class Reference

#include <dvbdescriptors.h>

Inheritance diagram for TerrestrialDeliverySystemDescriptor:
Inheritance graph
[legend]
Collaboration diagram for TerrestrialDeliverySystemDescriptor:
Collaboration graph
[legend]

Public Types

enum  { kBandwidth8Mhz = 0x0, kBandwidth7Mhz = 0x1, kBandwidth6Mhz = 0x2, kBandwidth5Mhz = 0x3 }
 
enum  { kConstellationQPSK = 0x0, kConstellationQAM16 = 0x1, kConstellationQAM64 = 0x2, kConstellationQAM256 = 0x3 }
 
enum  {
  kHierarchyInfoNonHierarchicalNativeInterleaver = 0x0, kHierarchyInfoAlpha1NativeInterleaver = 0x1, kHierarchyInfoAlpha2NativeInterleaver = 0x2, kHierarchyInfoAlpha4NativeInterleaver = 0x3,
  kHierarchyInfoNonHierarchicalInDepthInterleaver = 0x4, kHierarchyInfoAlpha1InDepthInterleaver = 0x5, kHierarchyInfoAlpha2InDepthInterleaver = 0x6, kHierarchyInfoAlpha4InDepthInterleaver = 0x7
}
 
enum  {
  kCodeRate_1_2 = 0x0, kCodeRate_2_3 = 0x1, kCodeRate_3_4 = 0x2, kCodeRate_5_6 = 0x3,
  kCodeRate_7_8 = 0x4
}
 
enum  { kGuardInterval_1_32 = 0x0, kGuardInterval_1_16 = 0x1, kGuardInterval_1_8 = 0x2, kGuardInterval_1_4 = 0x3 }
 
enum  { kTransmissionMode2k = 0x00, kTransmissionMode8k = 0x01, kTransmissionMode4k = 0x02 }
 

Public Member Functions

 TerrestrialDeliverySystemDescriptor (const unsigned char *data, int len=300)
 
uint Frequency (void) const
 
uint64_t FrequencyHz (void) const
 
uint Bandwidth (void) const
 
uint BandwidthHz (void) const
 
QString BandwidthString (void) const
 
bool HighPriority (void) const
 
bool IsTimeSlicingIndicatorUsed (void) const
 
bool IsMPE_FECUsed (void) const
 
uint Constellation (void) const
 
QString ConstellationString (void) const
 
uint Hierarchy (void) const
 
QString HierarchyString (void) const
 
bool NativeInterleaver (void) const
 
uint Alpha (void) const
 
uint CodeRateHP (void) const
 
QString CodeRateHPString (void) const
 
uint CodeRateLP (void) const
 
QString CodeRateLPString (void) const
 
uint GuardInterval (void) const
 
QString GuardIntervalString (void) const
 
uint TransmissionMode (void) const
 
QString TransmissionModeString (void) const
 
bool OtherFrequencyInUse (void) const
 
QString toString (void) const override
 
- Public Member Functions inherited from MPEGDescriptor
 operator const unsigned char * () const
 
 MPEGDescriptor (const unsigned char *data, int len=300)
 
 MPEGDescriptor (const unsigned char *data, int len, uint tag)
 
 MPEGDescriptor (const unsigned char *data, int len, uint tag, uint req_desc_len)
 
virtual ~MPEGDescriptor ()=default
 
bool IsValid (void) const
 
uint size (void) const
 
uint DescriptorTag (void) const
 
QString DescriptorTagString (void) const
 
uint DescriptorLength (void) const
 
virtual QString toStringXML (uint indent_level) const
 Returns XML representation of string the TS Reader XML format. More...
 
QString hexdump (void) const
 

Additional Inherited Members

- Static Public Member Functions inherited from MPEGDescriptor
static desc_list_t Parse (const unsigned char *data, uint len)
 
static desc_list_t ParseAndExclude (const unsigned char *data, uint len, int excluded_descid)
 
static desc_list_t ParseOnlyInclude (const unsigned char *data, uint len, int excluded_descid)
 
static const unsigned char * Find (const desc_list_t &parsed, uint desc_tag)
 
static desc_list_t FindAll (const desc_list_t &parsed, uint desc_tag)
 
static const unsigned char * FindBestMatch (const desc_list_t &parsed, uint desc_tag, QMap< uint, uint > &langPref)
 
static desc_list_t FindBestMatches (const desc_list_t &parsed, uint desc_tag, QMap< uint, uint > &langPref)
 
- Protected Attributes inherited from MPEGDescriptor
const unsigned char * _data
 

Detailed Description

Definition at line 900 of file dvbdescriptors.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kBandwidth8Mhz 
kBandwidth7Mhz 
kBandwidth6Mhz 
kBandwidth5Mhz 

Definition at line 919 of file dvbdescriptors.h.

◆ anonymous enum

anonymous enum
Enumerator
kConstellationQPSK 
kConstellationQAM16 
kConstellationQAM64 
kConstellationQAM256 

Definition at line 941 of file dvbdescriptors.h.

◆ anonymous enum

anonymous enum
Enumerator
kHierarchyInfoNonHierarchicalNativeInterleaver 
kHierarchyInfoAlpha1NativeInterleaver 
kHierarchyInfoAlpha2NativeInterleaver 
kHierarchyInfoAlpha4NativeInterleaver 
kHierarchyInfoNonHierarchicalInDepthInterleaver 
kHierarchyInfoAlpha1InDepthInterleaver 
kHierarchyInfoAlpha2InDepthInterleaver 
kHierarchyInfoAlpha4InDepthInterleaver 

Definition at line 956 of file dvbdescriptors.h.

◆ anonymous enum

anonymous enum
Enumerator
kCodeRate_1_2 
kCodeRate_2_3 
kCodeRate_3_4 
kCodeRate_5_6 
kCodeRate_7_8 

Definition at line 982 of file dvbdescriptors.h.

◆ anonymous enum

anonymous enum
Enumerator
kGuardInterval_1_32 
kGuardInterval_1_16 
kGuardInterval_1_8 
kGuardInterval_1_4 

Definition at line 1008 of file dvbdescriptors.h.

◆ anonymous enum

anonymous enum
Enumerator
kTransmissionMode2k 
kTransmissionMode8k 
kTransmissionMode4k 

Definition at line 1022 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ TerrestrialDeliverySystemDescriptor()

TerrestrialDeliverySystemDescriptor::TerrestrialDeliverySystemDescriptor ( const unsigned char *  data,
int  len = 300 
)
inline

Definition at line 903 of file dvbdescriptors.h.

Member Function Documentation

◆ Frequency()

uint TerrestrialDeliverySystemDescriptor::Frequency ( void  ) const
inline

Definition at line 911 of file dvbdescriptors.h.

Referenced by FrequencyHz().

◆ FrequencyHz()

uint64_t TerrestrialDeliverySystemDescriptor::FrequencyHz ( void  ) const
inline

◆ Bandwidth()

uint TerrestrialDeliverySystemDescriptor::Bandwidth ( void  ) const
inline

Definition at line 926 of file dvbdescriptors.h.

Referenced by BandwidthHz(), and BandwidthString().

◆ BandwidthHz()

uint TerrestrialDeliverySystemDescriptor::BandwidthHz ( void  ) const
inline

Definition at line 927 of file dvbdescriptors.h.

◆ BandwidthString()

QString TerrestrialDeliverySystemDescriptor::BandwidthString ( void  ) const
inline

◆ HighPriority()

bool TerrestrialDeliverySystemDescriptor::HighPriority ( void  ) const
inline

Definition at line 934 of file dvbdescriptors.h.

◆ IsTimeSlicingIndicatorUsed()

bool TerrestrialDeliverySystemDescriptor::IsTimeSlicingIndicatorUsed ( void  ) const
inline

Definition at line 936 of file dvbdescriptors.h.

◆ IsMPE_FECUsed()

bool TerrestrialDeliverySystemDescriptor::IsMPE_FECUsed ( void  ) const
inline

Definition at line 938 of file dvbdescriptors.h.

◆ Constellation()

uint TerrestrialDeliverySystemDescriptor::Constellation ( void  ) const
inline

Definition at line 948 of file dvbdescriptors.h.

Referenced by ConstellationString().

◆ ConstellationString()

QString TerrestrialDeliverySystemDescriptor::ConstellationString ( void  ) const
inline

◆ Hierarchy()

uint TerrestrialDeliverySystemDescriptor::Hierarchy ( void  ) const
inline

Definition at line 967 of file dvbdescriptors.h.

Referenced by HierarchyString().

◆ HierarchyString()

QString TerrestrialDeliverySystemDescriptor::HierarchyString ( void  ) const
inline
Bug:
returns "a" for values >= 4 for compatibility with siparser.cpp

Definition at line 970 of file dvbdescriptors.h.

Referenced by DTVMultiplex::FillFromDeliverySystemDesc(), and handle_transport_desc().

◆ NativeInterleaver()

bool TerrestrialDeliverySystemDescriptor::NativeInterleaver ( void  ) const
inline

Definition at line 975 of file dvbdescriptors.h.

◆ Alpha()

uint TerrestrialDeliverySystemDescriptor::Alpha ( void  ) const
inline

Definition at line 976 of file dvbdescriptors.h.

◆ CodeRateHP()

uint TerrestrialDeliverySystemDescriptor::CodeRateHP ( void  ) const
inline

Definition at line 990 of file dvbdescriptors.h.

Referenced by CodeRateHPString().

◆ CodeRateHPString()

QString TerrestrialDeliverySystemDescriptor::CodeRateHPString ( void  ) const
inline

◆ CodeRateLP()

uint TerrestrialDeliverySystemDescriptor::CodeRateLP ( void  ) const
inline

Definition at line 999 of file dvbdescriptors.h.

Referenced by CodeRateLPString().

◆ CodeRateLPString()

QString TerrestrialDeliverySystemDescriptor::CodeRateLPString ( void  ) const
inline

◆ GuardInterval()

uint TerrestrialDeliverySystemDescriptor::GuardInterval ( void  ) const
inline

Definition at line 1015 of file dvbdescriptors.h.

Referenced by GuardIntervalString().

◆ GuardIntervalString()

QString TerrestrialDeliverySystemDescriptor::GuardIntervalString ( void  ) const
inline

◆ TransmissionMode()

uint TerrestrialDeliverySystemDescriptor::TransmissionMode ( void  ) const
inline

Definition at line 1028 of file dvbdescriptors.h.

Referenced by TransmissionModeString().

◆ TransmissionModeString()

QString TerrestrialDeliverySystemDescriptor::TransmissionModeString ( void  ) const
inline

◆ OtherFrequencyInUse()

bool TerrestrialDeliverySystemDescriptor::OtherFrequencyInUse ( void  ) const
inline

Definition at line 1035 of file dvbdescriptors.h.

◆ toString()

QString TerrestrialDeliverySystemDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 570 of file dvbdescriptors.cpp.


The documentation for this class was generated from the following files: