MythTV  master
Classes | Typedefs | Functions
dvbdescriptors.h File Reference
#include <cassert>
#include <QMutex>
#include <QString>
#include "libmythbase/programinfo.h"
#include "libmythtv/mythtvexp.h"
#include "mpegdescriptors.h"
Include dependency graph for dvbdescriptors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NetworkNameDescriptor
 
class  LinkageDescriptor
 
class  ApplicationSignallingDescriptor
 
class  AdaptationFieldDataDescriptor
 
class  AncillaryDataDescriptor
 
class  AnnouncementSupportDescriptor
 
class  BouquetNameDescriptor
 
class  CAIdentifierDescriptor
 
class  CellFrequencyLinkDescriptor
 
class  CellListDescriptor
 
class  ComponentDescriptor
 
class  ContentDescriptor
 
class  CountryAvailabilityDescriptor
 
class  DataBroadcastDescriptor
 
class  DataBroadcastIdDescriptor
 
class  CableDeliverySystemDescriptor
 
class  SatelliteDeliverySystemDescriptor
 
class  TerrestrialDeliverySystemDescriptor
 
class  ImageIconDescriptor
 
class  T2DeliverySystemDescriptor
 
class  SHDeliverySystemDescriptor
 
class  SupplementaryAudioDescriptor
 
class  NetworkChangeNotifyDescriptor
 
class  MessageDescriptor
 
class  TargetRegionDescriptor
 
class  TargetRegionNameDescriptor
 
class  ServiceRelocatedDescriptor
 
class  C2DeliverySystemDescriptor
 
class  S2XSatelliteDeliverySystemDescriptor
 
class  DSNGDescriptor
 
class  ExtendedEventDescriptor
 
class  FrequencyListDescriptor
 
class  LocalTimeOffsetDescriptor
 
class  MosaicDescriptor
 
class  MultilingualBouquetNameDescriptor
 
class  MultilingualNetworkNameDescriptor
 
class  MultilingualServiceNameDescriptor
 
class  NVODReferenceDescriptor
 
class  ParentalRatingDescriptor
 
class  PDCDescriptor
 
class  PrivateDataSpecifierDescriptor
 
class  ScramblingDescriptor
 
class  ServiceDescriptorMapping
 
class  ServiceDescriptor
 
class  ServiceAvailabilityDescriptor
 
class  ServiceListDescriptor
 
class  ServiceMoveDescriptor
 
class  ShortEventDescriptor
 
class  ShortSmoothingBufferDescriptor
 
class  StreamIdentifierDescriptor
 This is used to label streams so the can be treated differently, for instance each stream may get it's own cueing instructions. More...
 
class  StuffingDescriptor
 
class  SubtitlingDescriptor
 
class  TelephoneDescriptor
 
class  TeletextDescriptor
 
class  TimeShiftedEventDescriptor
 
class  TimeShiftedServiceDescriptor
 
class  TransportStreamDescriptor
 
class  VBIDataDescriptor
 
class  VBITeletextDescriptor
 
class  PartialTransportStreamDescriptor
 
class  AC3Descriptor
 
class  DVBLogicalChannelDescriptor
 DVB Logical Channel Descriptor. More...
 
class  DVBSimulcastChannelDescriptor
 DVB HD Simulcast Logical Channel Descriptor. More...
 
class  FreesatLCNDescriptor
 Freesat Logical Channel Number descriptor. More...
 
class  FreesatRegionDescriptor
 Freesat Region descriptor. More...
 
class  FreesatCallsignDescriptor
 Freesat Channel Callsign descriptor. More...
 
class  SkyLCNDescriptor
 Sky Logical Channel Number descriptor. More...
 
class  OpenTVChannelListDescriptor
 
class  DVBContentIdentifierDescriptor
 
class  DefaultAuthorityDescriptor
 
class  S2SatelliteDeliverySystemDescriptor
 
class  PrivateUPCCablecomEpisodeTitleDescriptor
 

Typedefs

using enc_override = std::vector< uint8_t >
 

Functions

MTV_PUBLIC QDateTime dvbdate2qt (const unsigned char *buf)
 
MTV_PUBLIC time_t dvbdate2unix (const unsigned char *buf)
 
static QString coderate_inner (uint coderate)
 
MTV_PUBLIC QString dvb_decode_text (const unsigned char *src, uint length, const enc_override &encoding_override)
 
QString dvb_decode_text (const unsigned char *src, uint length)
 
MTV_PUBLIC QString dvb_decode_short_name (const unsigned char *src, uint raw_length)
 
static constexpr uint8_t byteBCDH2int (uint8_t i)
 
static constexpr uint8_t byteBCDL2int (uint8_t i)
 
static constexpr uint8_t byteBCD2int (uint8_t i)
 
static constexpr uint16_t byte2BCD2int (uint8_t i, uint8_t j)
 
static constexpr uint32_t byte3BCD2int (uint8_t i, uint8_t j, uint8_t k)
 
static constexpr uint32_t byte4BCD2int (uint8_t i, uint8_t j, uint8_t k, uint8_t l)
 
static constexpr uint64_t byte4BCD2int64 (uint8_t i, uint8_t j, uint8_t k, uint8_t l)
 

Typedef Documentation

◆ enc_override

using enc_override = std::vector<uint8_t>

Definition at line 43 of file dvbdescriptors.h.

Function Documentation

◆ dvbdate2qt()

dvbdate2qt ( const unsigned char *  buf)
Returns
UTC time as QDateTime

Definition at line 306 of file dvbtables.cpp.

Referenced by DishEventTagsDescriptor::originalairdate(), and LocalTimeOffsetDescriptor::TimeOfChange().

◆ dvbdate2unix()

dvbdate2unix ( const unsigned char *  buf)
Returns
UTC time as time_t

Definition at line 351 of file dvbtables.cpp.

Referenced by LocalTimeOffsetDescriptor::TimeOfChangeUnix().

◆ coderate_inner()

static QString coderate_inner ( uint  coderate)
static

◆ dvb_decode_text() [1/2]

MTV_PUBLIC QString dvb_decode_text ( const unsigned char *  src,
uint  length,
const enc_override encoding_override 
)

◆ dvb_decode_text() [2/2]

QString dvb_decode_text ( const unsigned char *  src,
uint  length 
)
inline

Definition at line 47 of file dvbdescriptors.h.

◆ dvb_decode_short_name()

MTV_PUBLIC QString dvb_decode_short_name ( const unsigned char *  src,
uint  raw_length 
)

◆ byteBCDH2int()

static constexpr uint8_t byteBCDH2int ( uint8_t  i)
staticconstexpr

◆ byteBCDL2int()

static constexpr uint8_t byteBCDL2int ( uint8_t  i)
staticconstexpr

Definition at line 55 of file dvbdescriptors.h.

Referenced by byte2BCD2int(), byte3BCD2int(), byte4BCD2int(), and byteBCD2int().

◆ byteBCD2int()

static constexpr uint8_t byteBCD2int ( uint8_t  i)
staticconstexpr

◆ byte2BCD2int()

static constexpr uint16_t byte2BCD2int ( uint8_t  i,
uint8_t  j 
)
staticconstexpr

Definition at line 58 of file dvbdescriptors.h.

Referenced by SatelliteDeliverySystemDescriptor::OrbitalPosition().

◆ byte3BCD2int()

static constexpr uint32_t byte3BCD2int ( uint8_t  i,
uint8_t  j,
uint8_t  k 
)
staticconstexpr

◆ byte4BCD2int()

static constexpr uint32_t byte4BCD2int ( uint8_t  i,
uint8_t  j,
uint8_t  k,
uint8_t  l 
)
staticconstexpr

Definition at line 65 of file dvbdescriptors.h.

Referenced by byte4BCD2int64(), and FrequencyListDescriptor::Frequency().

◆ byte4BCD2int64()

static constexpr uint64_t byte4BCD2int64 ( uint8_t  i,
uint8_t  j,
uint8_t  k,
uint8_t  l 
)
staticconstexpr