MythTV
master
|
#include <libmythtv/mpeg/splicedescriptors.h>
Public Types | |
enum | : std::uint8_t { kNotUsed = 0x0, kVariable = 0x1, kISCI = 0x2, kAdID = 0x3, kUMID = 0x4, kISAN = 0x5, kVISAN = 0x6, kTID = 0x7, kTI = 0x8, kADI = 0x9 } |
enum | : std::uint8_t { kNotIndicated = 0x00, kContentIdentification = 0x01, kProgramStart = 0x10, kProgramEnd = 0x11, kProgramEarlyTermination = 0x12, kProgramBreakaway = 0x13, kProgramResumption = 0x14, kProgramRunoverPlanned = 0x15, kProgramRunoverUnplanned = 0x16, kChapterStart = 0x20, kChapterEnd = 0x21, kProviderAdvertisementStart = 0x30, kProviderAdvertisementEnd = 0x31, kDistributorAdvertisementStart = 0x32, kDistributorAdvertisementEnd = 0x33, kUnscheduledEventStart = 0x40, kUnscheduledEventEnd = 0x41 } |
Public Member Functions | |
SegmentationDescriptor (const unsigned char *data, int len=300) | |
uint | SegmentationEventId (void) const |
QString | SegmentationEventIdString (void) const |
bool | IsSegmentationEventCancel (void) const |
bool | IsProgramSegmentation (void) const |
bool | HasSegmentationDuration (void) const |
uint | ComponentCount (void) const |
uint | ComponentTag (uint i) const |
uint64_t | PTSOffset (uint i) |
uint64_t | SegmentationDuration (void) const |
uint | SegmentationUPIDType (void) const |
uint | SegmentationUPIDLength (void) const |
const unsigned char * | SegmentationUPID (void) const |
QString | SegmentationUPIDString (void) const |
uint | SegmentationTypeID (void) const |
uint | SegmentNum (void) const |
uint | SegmentsExpected (void) const |
bool | Parse (void) override |
QString | toString (void) const override |
Public Member Functions inherited from SpliceDescriptor | |
operator const unsigned char * (void) const | |
SpliceDescriptor (const unsigned char *data, int len) | |
SpliceDescriptor (const unsigned char *data, int len, uint tag) | |
virtual | ~SpliceDescriptor (void)=default |
bool | IsValid (void) const |
uint | size (void) const |
uint | DescriptorTag (void) const |
QString | DescriptorTagString (void) const |
uint | DescriptorLength (void) const |
uint | Identifier (void) const |
QString | IdentifierString (void) const |
virtual QString | toStringXML (uint indent_level) const |
Returns XML representation of string the TS Reader XML format. More... | |
Public Attributes | |
std::array< unsigned char const *, 3 > | _ptrs {} |
Additional Inherited Members | |
Static Public Member Functions inherited from SpliceDescriptor | |
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) |
Protected Attributes inherited from SpliceDescriptor | |
const unsigned char * | m_data {nullptr} |
Definition at line 157 of file splicedescriptors.h.
anonymous enum : std::uint8_t |
Definition at line 220 of file splicedescriptors.h.
anonymous enum : std::uint8_t |
Definition at line 251 of file splicedescriptors.h.
|
inlineexplicit |
Definition at line 160 of file splicedescriptors.h.
|
inline |
Definition at line 173 of file splicedescriptors.h.
|
inline |
Definition at line 177 of file splicedescriptors.h.
Referenced by toString().
|
inline |
Definition at line 183 of file splicedescriptors.h.
|
inline |
Definition at line 187 of file splicedescriptors.h.
Referenced by Parse().
|
inline |
Definition at line 189 of file splicedescriptors.h.
Referenced by Parse().
|
inline |
Definition at line 193 of file splicedescriptors.h.
Referenced by Parse().
Definition at line 196 of file splicedescriptors.h.
|
inline |
Definition at line 199 of file splicedescriptors.h.
|
inline |
Definition at line 211 of file splicedescriptors.h.
|
inline |
Definition at line 233 of file splicedescriptors.h.
|
inline |
Definition at line 235 of file splicedescriptors.h.
Referenced by Parse(), and SegmentationUPIDString().
|
inline |
Definition at line 238 of file splicedescriptors.h.
|
inline |
Definition at line 244 of file splicedescriptors.h.
|
inline |
Definition at line 272 of file splicedescriptors.h.
|
inline |
Definition at line 274 of file splicedescriptors.h.
|
inline |
Definition at line 276 of file splicedescriptors.h.
|
overridevirtual |
Reimplemented from SpliceDescriptor.
Definition at line 198 of file splicedescriptors.cpp.
Referenced by SegmentationDescriptor().
|
overridevirtual |
Reimplemented from SpliceDescriptor.
Definition at line 206 of file splicedescriptors.cpp.
std::array<unsigned char const *,3> SegmentationDescriptor::_ptrs {} |
Definition at line 285 of file splicedescriptors.h.
Referenced by Parse(), SegmentationDescriptor(), SegmentationDuration(), SegmentationTypeID(), SegmentationUPID(), SegmentationUPIDLength(), SegmentationUPIDString(), SegmentationUPIDType(), SegmentNum(), and SegmentsExpected().