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

#include <atscdescriptors.h>

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

Public Member Functions

 CaptionServiceDescriptor (const unsigned char *data, int len=300)
 
uint ServicesCount () const
 
int LanguageKey (int i) const
 
QString LanguageString (int i) const
 
int CanonicalLanguageKey (int i) const
 
QString CanonicalLanguageString (int i) const
 
bool Type (int i) const
 
bool Line21Field (int i) const
 
int CaptionServiceNumber (int i) const
 
bool EasyReader (int i) const
 
bool WideAspectRatio (int i) const
 
bool Parse (void)
 
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 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
 

Private Member Functions

int Index (int i, int j) const
 
const unsigned char * Offset (int i, int j) const
 

Private Attributes

IntToBuf _ptrs
 

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 76 of file atscdescriptors.h.

Constructor & Destructor Documentation

◆ CaptionServiceDescriptor()

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

Definition at line 79 of file atscdescriptors.h.

Member Function Documentation

◆ ServicesCount()

uint CaptionServiceDescriptor::ServicesCount ( ) const
inline

Definition at line 90 of file atscdescriptors.h.

Referenced by AvFormatDecoder::ScanATSCCaptionStreams().

◆ LanguageKey()

int CaptionServiceDescriptor::LanguageKey ( int  i) const
inline

Definition at line 93 of file atscdescriptors.h.

◆ LanguageString()

QString CaptionServiceDescriptor::LanguageString ( int  i) const
inline

Definition at line 95 of file atscdescriptors.h.

◆ CanonicalLanguageKey()

int CaptionServiceDescriptor::CanonicalLanguageKey ( int  i) const
inline

Definition at line 97 of file atscdescriptors.h.

Referenced by AvFormatDecoder::ScanATSCCaptionStreams().

◆ CanonicalLanguageString()

QString CaptionServiceDescriptor::CanonicalLanguageString ( int  i) const
inline

Definition at line 99 of file atscdescriptors.h.

◆ Type()

bool CaptionServiceDescriptor::Type ( int  i) const
inline

Definition at line 102 of file atscdescriptors.h.

Referenced by AvFormatDecoder::ScanATSCCaptionStreams().

◆ Line21Field()

bool CaptionServiceDescriptor::Line21Field ( int  i) const
inline

Definition at line 108 of file atscdescriptors.h.

Referenced by AvFormatDecoder::ScanATSCCaptionStreams().

◆ CaptionServiceNumber()

int CaptionServiceDescriptor::CaptionServiceNumber ( int  i) const
inline

Definition at line 112 of file atscdescriptors.h.

Referenced by AvFormatDecoder::ScanATSCCaptionStreams().

◆ EasyReader()

bool CaptionServiceDescriptor::EasyReader ( int  i) const
inline

Definition at line 115 of file atscdescriptors.h.

Referenced by AvFormatDecoder::ScanATSCCaptionStreams().

◆ WideAspectRatio()

bool CaptionServiceDescriptor::WideAspectRatio ( int  i) const
inline

Definition at line 118 of file atscdescriptors.h.

Referenced by AvFormatDecoder::ScanATSCCaptionStreams().

◆ Parse()

bool CaptionServiceDescriptor::Parse ( void  )

Definition at line 179 of file atscdescriptors.cpp.

◆ toString()

QString CaptionServiceDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 190 of file atscdescriptors.cpp.

◆ Index()

int CaptionServiceDescriptor::Index ( int  i,
int  j 
) const
inlineprivate

Definition at line 126 of file atscdescriptors.h.

◆ Offset()

const unsigned char* CaptionServiceDescriptor::Offset ( int  i,
int  j 
) const
inlineprivate

Definition at line 127 of file atscdescriptors.h.

Member Data Documentation

◆ _ptrs

IntToBuf CaptionServiceDescriptor::_ptrs
private

Definition at line 131 of file atscdescriptors.h.


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