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

#include <atscdescriptors.h>

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

Public Member Functions

 AC3AudioStreamDescriptor (const unsigned char *data, int len=300)
 
uint SampleRateCode (void) const
 
QString SampleRateCodeString (void) const
 
uint bsid (void) const
 
uint BitRateCode (void) const
 
QString BitRateCodeString (void) const
 
uint SurroundMode (void) const
 
QString SurroundModeString (void) const
 
uint BasicServiceMode (void) const
 
uint Channels (void) const
 
QString ChannelsString (void) const
 
bool FullService (void) const
 
uint LanguageCode (void) const
 
uint LanguageCode2 (void) const
 
uint MainID (void) const
 
uint AServiceFlags (void) const
 
uint TextLength (void) const
 
bool IsTextLatin1 (void) const
 
QString Text (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 206 of file atscdescriptors.h.

Constructor & Destructor Documentation

◆ AC3AudioStreamDescriptor()

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

Definition at line 209 of file atscdescriptors.h.

Member Function Documentation

◆ SampleRateCode()

uint AC3AudioStreamDescriptor::SampleRateCode ( void  ) const
inline

Definition at line 213 of file atscdescriptors.h.

Referenced by SampleRateCodeString().

◆ SampleRateCodeString()

QString AC3AudioStreamDescriptor::SampleRateCodeString ( void  ) const

Definition at line 233 of file atscdescriptors.cpp.

Referenced by toString().

◆ bsid()

uint AC3AudioStreamDescriptor::bsid ( void  ) const
inline

Definition at line 216 of file atscdescriptors.h.

Referenced by toString().

◆ BitRateCode()

uint AC3AudioStreamDescriptor::BitRateCode ( void  ) const
inline

Definition at line 218 of file atscdescriptors.h.

Referenced by BitRateCodeString(), and toString().

◆ BitRateCodeString()

QString AC3AudioStreamDescriptor::BitRateCodeString ( void  ) const

Definition at line 244 of file atscdescriptors.cpp.

Referenced by toString().

◆ SurroundMode()

uint AC3AudioStreamDescriptor::SurroundMode ( void  ) const
inline

Definition at line 221 of file atscdescriptors.h.

Referenced by SurroundModeString().

◆ SurroundModeString()

QString AC3AudioStreamDescriptor::SurroundModeString ( void  ) const

Definition at line 268 of file atscdescriptors.cpp.

Referenced by toString().

◆ BasicServiceMode()

uint AC3AudioStreamDescriptor::BasicServiceMode ( void  ) const
inline

Definition at line 230 of file atscdescriptors.h.

Referenced by toString().

◆ Channels()

uint AC3AudioStreamDescriptor::Channels ( void  ) const
inline

Definition at line 232 of file atscdescriptors.h.

Referenced by AServiceFlags(), ChannelsString(), IsTextLatin1(), MainID(), Text(), and TextLength().

◆ ChannelsString()

QString AC3AudioStreamDescriptor::ChannelsString ( void  ) const

Definition at line 280 of file atscdescriptors.cpp.

Referenced by toString().

◆ FullService()

bool AC3AudioStreamDescriptor::FullService ( void  ) const
inline

Definition at line 237 of file atscdescriptors.h.

Referenced by toString().

◆ LanguageCode()

uint AC3AudioStreamDescriptor::LanguageCode ( void  ) const
inline

Definition at line 241 of file atscdescriptors.h.

◆ LanguageCode2()

uint AC3AudioStreamDescriptor::LanguageCode2 ( void  ) const
inline

Definition at line 245 of file atscdescriptors.h.

◆ MainID()

uint AC3AudioStreamDescriptor::MainID ( void  ) const
inline

Definition at line 249 of file atscdescriptors.h.

Referenced by toString().

◆ AServiceFlags()

uint AC3AudioStreamDescriptor::AServiceFlags ( void  ) const
inline

Definition at line 256 of file atscdescriptors.h.

Referenced by toString().

◆ TextLength()

uint AC3AudioStreamDescriptor::TextLength ( void  ) const
inline

Definition at line 262 of file atscdescriptors.h.

Referenced by Text(), and toString().

◆ IsTextLatin1()

bool AC3AudioStreamDescriptor::IsTextLatin1 ( void  ) const
inline

Definition at line 271 of file atscdescriptors.h.

Referenced by Text(), and toString().

◆ Text()

QString AC3AudioStreamDescriptor::Text ( void  ) const
inline

Definition at line 280 of file atscdescriptors.h.

Referenced by toString().

◆ toString()

QString AC3AudioStreamDescriptor::toString ( ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 292 of file atscdescriptors.cpp.


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