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

#include <dvbdescriptors.h>

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

Public Member Functions

 AC3Descriptor (const unsigned char *data, int len=300)
 
bool HasComponentType (void) const
 
bool HasBSID (void) const
 
bool HasMainID (void) const
 
bool HasASVC (void) const
 
uint ComponentType (void) const
 
uint BSID (void) const
 
uint MainID (void) const
 
uint ASVC (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 1997 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ AC3Descriptor()

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

Definition at line 2000 of file dvbdescriptors.h.

Member Function Documentation

◆ HasComponentType()

bool AC3Descriptor::HasComponentType ( void  ) const
inline

Definition at line 2007 of file dvbdescriptors.h.

Referenced by ASVC(), BSID(), MainID(), and toString().

◆ HasBSID()

bool AC3Descriptor::HasBSID ( void  ) const
inline

Definition at line 2009 of file dvbdescriptors.h.

Referenced by ASVC(), MainID(), and toString().

◆ HasMainID()

bool AC3Descriptor::HasMainID ( void  ) const
inline

Definition at line 2011 of file dvbdescriptors.h.

Referenced by ASVC(), and toString().

◆ HasASVC()

bool AC3Descriptor::HasASVC ( void  ) const
inline

Definition at line 2013 of file dvbdescriptors.h.

Referenced by toString().

◆ ComponentType()

uint AC3Descriptor::ComponentType ( void  ) const
inline

Definition at line 2017 of file dvbdescriptors.h.

Referenced by toString().

◆ BSID()

uint AC3Descriptor::BSID ( void  ) const
inline

Definition at line 2020 of file dvbdescriptors.h.

Referenced by toString().

◆ MainID()

uint AC3Descriptor::MainID ( void  ) const
inline

Definition at line 2024 of file dvbdescriptors.h.

Referenced by toString().

◆ ASVC()

uint AC3Descriptor::ASVC ( void  ) const
inline

Definition at line 2033 of file dvbdescriptors.h.

Referenced by toString().

◆ toString()

QString AC3Descriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 678 of file dvbdescriptors.cpp.


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