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

SCTE Descriptors. More...

#include <libmythtv/mpeg/sctedescriptors.h>

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

Public Member Functions

 FrameRateDescriptor (const unsigned char *data, uint len)
 
bool MultipleFrameRates (void) const
 
uint FrameRateCode (void) const
 
double FrameRate (void) const
 returns maximum frame rate in video More...
 
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 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 toString (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...
 
template<typename DESC_NAME >
QString descrToString () const
 
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

SCTE Descriptors.

Copyright (c) 2011, Digital Nirvana, Inc. Authors: Daniel Kristjansson, Sergey Staroletov

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Definition at line 32 of file sctedescriptors.h.

Constructor & Destructor Documentation

◆ FrameRateDescriptor()

FrameRateDescriptor::FrameRateDescriptor ( const unsigned char *  data,
uint  len 
)
inline

Definition at line 35 of file sctedescriptors.h.

Member Function Documentation

◆ FrameRate()

double FrameRateDescriptor::FrameRate ( void  ) const
inline

returns maximum frame rate in video

Definition at line 45 of file sctedescriptors.h.

Referenced by toString().

◆ FrameRateCode()

uint FrameRateDescriptor::FrameRateCode ( void  ) const
inline

Definition at line 43 of file sctedescriptors.h.

Referenced by FrameRate().

◆ MultipleFrameRates()

bool FrameRateDescriptor::MultipleFrameRates ( void  ) const
inline

Definition at line 41 of file sctedescriptors.h.

Referenced by toString().

◆ toString()

QString FrameRateDescriptor::toString ( void  ) const
inlineoverridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 72 of file sctedescriptors.h.


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