MythTV  master
Public Member Functions | Private Attributes | List of all members
FreesatLCNDescriptor Class Reference

Freesat Logical Channel Number descriptor. More...

#include <libmythtv/mpeg/dvbdescriptors.h>

Inheritance diagram for FreesatLCNDescriptor:
[legend]
Collaboration diagram for FreesatLCNDescriptor:
[legend]

Public Member Functions

 FreesatLCNDescriptor (const unsigned char *data, int len=300)
 
uint ServiceCount (void) const
 
uint ServiceID (size_t i) const
 
uint ChanID (size_t i) const
 
uint LCNCount (size_t i) const
 
uint LogicalChannelNumber (size_t i, size_t j) const
 
uint RegionID (size_t i, size_t j) 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 std::vector< uint8_t > &data)
 
 MPEGDescriptor (const unsigned char *data, int len, uint tag)
 
 MPEGDescriptor (const std::vector< uint8_t > &data, 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
 
uint DescriptorLength (void) const
 
uint DescriptorTagExtension (void) const
 
QString DescriptorTagString (void) const
 
virtual QString toStringPD (uint priv_dsid) const
 
virtual QString toStringXML (uint indent_level) const
 Returns XML representation of string the TS Reader XML format. More...
 
QString hexdump (void) const
 
QString descrDump (const QString &name) const
 

Private Attributes

desc_list_t m_entries
 

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 const unsigned char * FindExtension (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 * m_data
 

Detailed Description

Freesat Logical Channel Number descriptor.

BAT descriptor ID 0xd3 (Private Extension)

Provides the Logical Channel Number (LCN) for each channel.

https://blog.nexusuk.org/2014/07/decoding-freesat-part-2.html

Definition at line 2648 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ FreesatLCNDescriptor()

FreesatLCNDescriptor::FreesatLCNDescriptor ( const unsigned char *  data,
int  len = 300 
)
inlineexplicit

Definition at line 2651 of file dvbdescriptors.h.

Member Function Documentation

◆ ServiceCount()

uint FreesatLCNDescriptor::ServiceCount ( void  ) const
inline

Definition at line 2680 of file dvbdescriptors.h.

Referenced by ChannelScanSM::GetChannelList(), and toString().

◆ ServiceID()

uint FreesatLCNDescriptor::ServiceID ( size_t  i) const
inline

Definition at line 2683 of file dvbdescriptors.h.

Referenced by ChannelScanSM::GetChannelList(), and toString().

◆ ChanID()

uint FreesatLCNDescriptor::ChanID ( size_t  i) const
inline

Definition at line 2686 of file dvbdescriptors.h.

Referenced by toString().

◆ LCNCount()

uint FreesatLCNDescriptor::LCNCount ( size_t  i) const
inline

Definition at line 2689 of file dvbdescriptors.h.

Referenced by ChannelScanSM::GetChannelList(), and toString().

◆ LogicalChannelNumber()

uint FreesatLCNDescriptor::LogicalChannelNumber ( size_t  i,
size_t  j 
) const
inline

Definition at line 2692 of file dvbdescriptors.h.

Referenced by ChannelScanSM::GetChannelList(), and toString().

◆ RegionID()

uint FreesatLCNDescriptor::RegionID ( size_t  i,
size_t  j 
) const
inline

Definition at line 2695 of file dvbdescriptors.h.

Referenced by ChannelScanSM::GetChannelList(), and toString().

◆ toString()

QString FreesatLCNDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 992 of file dvbdescriptors.cpp.

Member Data Documentation

◆ m_entries

desc_list_t FreesatLCNDescriptor::m_entries
private

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