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

#include <dvbdescriptors.h>

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

Public Member Functions

 ComponentDescriptor (const unsigned char *data, int len=300)
 
uint StreamContent (void) const
 
uint ComponentType (void) const
 
uint ComponentTag (void) const
 
int LanguageKey (void) const
 
QString LanguageString (void) const
 
int CanonicalLanguageKey (void) const
 
QString CanonicalLanguageString (void) const
 
bool IsVideo (void) const
 
bool IsAudio (void) const
 
bool IsSubtitle (void) const
 
unsigned char VideoProperties (void) const
 
unsigned char MPEG2Properties (void) const
 
unsigned char AVCProperties (void) const
 
unsigned char HEVCProperties (void) const
 
unsigned char AudioProperties (void) const
 
unsigned char MP2Properties (void) const
 
unsigned char AC3Properties (void) const
 
unsigned char HEAACProperties (void) const
 
unsigned char SubtitleType (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 357 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ ComponentDescriptor()

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

Definition at line 360 of file dvbdescriptors.h.

Member Function Documentation

◆ StreamContent()

uint ComponentDescriptor::StreamContent ( void  ) const
inline

◆ ComponentType()

uint ComponentDescriptor::ComponentType ( void  ) const
inline

◆ ComponentTag()

uint ComponentDescriptor::ComponentTag ( void  ) const
inline

Definition at line 371 of file dvbdescriptors.h.

◆ LanguageKey()

int ComponentDescriptor::LanguageKey ( void  ) const
inline

Definition at line 373 of file dvbdescriptors.h.

Referenced by CanonicalLanguageKey(), and LanguageString().

◆ LanguageString()

QString ComponentDescriptor::LanguageString ( void  ) const
inline

Definition at line 375 of file dvbdescriptors.h.

◆ CanonicalLanguageKey()

int ComponentDescriptor::CanonicalLanguageKey ( void  ) const
inline

Definition at line 377 of file dvbdescriptors.h.

Referenced by CanonicalLanguageString().

◆ CanonicalLanguageString()

QString ComponentDescriptor::CanonicalLanguageString ( void  ) const
inline

Definition at line 379 of file dvbdescriptors.h.

◆ IsVideo()

bool ComponentDescriptor::IsVideo ( void  ) const
inline

Definition at line 384 of file dvbdescriptors.h.

◆ IsAudio()

bool ComponentDescriptor::IsAudio ( void  ) const
inline

Definition at line 390 of file dvbdescriptors.h.

◆ IsSubtitle()

bool ComponentDescriptor::IsSubtitle ( void  ) const
inline

Definition at line 403 of file dvbdescriptors.h.

Referenced by SubtitleType().

◆ VideoProperties()

unsigned char ComponentDescriptor::VideoProperties ( void  ) const
inline

Definition at line 405 of file dvbdescriptors.h.

Referenced by parse_dvb_component_descriptors().

◆ MPEG2Properties()

unsigned char ComponentDescriptor::MPEG2Properties ( void  ) const
inline

Definition at line 417 of file dvbdescriptors.h.

Referenced by VideoProperties().

◆ AVCProperties()

unsigned char ComponentDescriptor::AVCProperties ( void  ) const
inline

Definition at line 435 of file dvbdescriptors.h.

Referenced by VideoProperties().

◆ HEVCProperties()

unsigned char ComponentDescriptor::HEVCProperties ( void  ) const
inline

Definition at line 453 of file dvbdescriptors.h.

Referenced by VideoProperties().

◆ AudioProperties()

unsigned char ComponentDescriptor::AudioProperties ( void  ) const
inline

Definition at line 467 of file dvbdescriptors.h.

Referenced by parse_dvb_component_descriptors().

◆ MP2Properties()

unsigned char ComponentDescriptor::MP2Properties ( void  ) const
inline

Definition at line 482 of file dvbdescriptors.h.

Referenced by AudioProperties().

◆ AC3Properties()

unsigned char ComponentDescriptor::AC3Properties ( void  ) const
inline

Definition at line 501 of file dvbdescriptors.h.

Referenced by AudioProperties().

◆ HEAACProperties()

unsigned char ComponentDescriptor::HEAACProperties ( void  ) const
inline

Definition at line 530 of file dvbdescriptors.h.

Referenced by AudioProperties().

◆ SubtitleType()

unsigned char ComponentDescriptor::SubtitleType ( void  ) const
inline

Definition at line 552 of file dvbdescriptors.h.

Referenced by parse_dvb_component_descriptors().

◆ toString()

QString ComponentDescriptor::toString ( void  ) const
inlineoverridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 570 of file dvbdescriptors.h.


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