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

#include <libmythtv/mpeg/mpegdescriptors.h>

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

Public Member Functions

 AudioStreamDescriptor (const unsigned char *data, int len=300)
 
bool FreeFormatFlag (void) const
 
bool ID (void) const
 
uint Layer (void) const
 
bool VariableRateAudioIndicator (void) const
 
QString toString () 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
 

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

Definition at line 407 of file mpegdescriptors.h.

Constructor & Destructor Documentation

◆ AudioStreamDescriptor()

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

Definition at line 410 of file mpegdescriptors.h.

Member Function Documentation

◆ FreeFormatFlag()

bool AudioStreamDescriptor::FreeFormatFlag ( void  ) const
inline

Definition at line 416 of file mpegdescriptors.h.

Referenced by toString().

◆ ID()

bool AudioStreamDescriptor::ID ( void  ) const
inline

Definition at line 418 of file mpegdescriptors.h.

Referenced by toString().

◆ Layer()

uint AudioStreamDescriptor::Layer ( void  ) const
inline

Definition at line 420 of file mpegdescriptors.h.

Referenced by toString().

◆ VariableRateAudioIndicator()

bool AudioStreamDescriptor::VariableRateAudioIndicator ( void  ) const
inline

Definition at line 422 of file mpegdescriptors.h.

Referenced by toString().

◆ toString()

QString AudioStreamDescriptor::toString ( ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 785 of file mpegdescriptors.cpp.


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