SegmentationDescriptor Class Reference

#include <splicedescriptors.h>

Inheritance diagram for SegmentationDescriptor:
SpliceDescriptor

List of all members.

Public Types

enum  {
  kNotUsed = 0x0, kVariable = 0x1, kISCI = 0x2, kAdID = 0x3,
  kUMID = 0x4, kISAN = 0x5, kVISAN = 0x6, kTID = 0x7,
  kTI = 0x8, kADI = 0x9
}
enum  {
  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
virtual bool Parse (void)
QString toString (void) const

Public Attributes

unsigned char const * _ptrs [3]

Detailed Description

Definition at line 158 of file splicedescriptors.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
kNotUsed 

upid is not present in the descriptor

kVariable 

user defined

kISCI 

4 alpha + 4 numeric

kAdID 

4 alpha + 4 alphanumeric

kUMID 

UMID See SMPTE 330M.

kISAN 

ISAN See ISO 15706.

kVISAN 

versioned ISAN See ISO 15706-2

kTID 

TMS ProgramID 2 alpha followed by 10 numeric.

kTI 

Turner Identifier.

kADI 

ADI See MD-SP-ADI2.0-AS-I03-070105.

Definition at line 221 of file splicedescriptors.h.

anonymous enum
Enumerator:
kNotIndicated 
kContentIdentification 
kProgramStart 
kProgramEnd 
kProgramEarlyTermination 
kProgramBreakaway 
kProgramResumption 
kProgramRunoverPlanned 
kProgramRunoverUnplanned 
kChapterStart 
kChapterEnd 
kProviderAdvertisementStart 
kProviderAdvertisementEnd 
kDistributorAdvertisementStart 
kDistributorAdvertisementEnd 
kUnscheduledEventStart 
kUnscheduledEventEnd 

Definition at line 250 of file splicedescriptors.h.


Constructor & Destructor Documentation

SegmentationDescriptor::SegmentationDescriptor ( const unsigned char *  data,
int  len = 300 
) [inline]

Definition at line 161 of file splicedescriptors.h.


Member Function Documentation

uint SegmentationDescriptor::SegmentationEventId ( void   )  const [inline]

Definition at line 174 of file splicedescriptors.h.

QString SegmentationDescriptor::SegmentationEventIdString ( void   )  const [inline]

Definition at line 178 of file splicedescriptors.h.

Referenced by toString().

bool SegmentationDescriptor::IsSegmentationEventCancel ( void   )  const [inline]

Definition at line 184 of file splicedescriptors.h.

bool SegmentationDescriptor::IsProgramSegmentation ( void   )  const [inline]

Definition at line 188 of file splicedescriptors.h.

Referenced by Parse().

bool SegmentationDescriptor::HasSegmentationDuration ( void   )  const [inline]

Definition at line 190 of file splicedescriptors.h.

Referenced by Parse().

uint SegmentationDescriptor::ComponentCount ( void   )  const [inline]

Definition at line 194 of file splicedescriptors.h.

Referenced by Parse().

uint SegmentationDescriptor::ComponentTag ( uint  i  )  const [inline]

Definition at line 197 of file splicedescriptors.h.

uint64_t SegmentationDescriptor::PTSOffset ( uint  i  )  [inline]

Definition at line 200 of file splicedescriptors.h.

uint64_t SegmentationDescriptor::SegmentationDuration ( void   )  const [inline]

Definition at line 212 of file splicedescriptors.h.

uint SegmentationDescriptor::SegmentationUPIDType ( void   )  const [inline]

Definition at line 234 of file splicedescriptors.h.

uint SegmentationDescriptor::SegmentationUPIDLength ( void   )  const [inline]

Definition at line 236 of file splicedescriptors.h.

Referenced by Parse(), and SegmentationUPIDString().

const unsigned char* SegmentationDescriptor::SegmentationUPID ( void   )  const [inline]

Definition at line 239 of file splicedescriptors.h.

QString SegmentationDescriptor::SegmentationUPIDString ( void   )  const [inline]

Definition at line 243 of file splicedescriptors.h.

uint SegmentationDescriptor::SegmentationTypeID ( void   )  const [inline]

Definition at line 271 of file splicedescriptors.h.

uint SegmentationDescriptor::SegmentNum ( void   )  const [inline]

Definition at line 273 of file splicedescriptors.h.

uint SegmentationDescriptor::SegmentsExpected ( void   )  const [inline]

Definition at line 275 of file splicedescriptors.h.

bool SegmentationDescriptor::Parse ( void   )  [virtual]

Reimplemented from SpliceDescriptor.

Definition at line 192 of file splicedescriptors.cpp.

Referenced by SegmentationDescriptor().

QString SegmentationDescriptor::toString ( void   )  const [virtual]

Reimplemented from SpliceDescriptor.

Definition at line 200 of file splicedescriptors.cpp.


Member Data Documentation

unsigned char const* SegmentationDescriptor::_ptrs[3]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri May 25 06:42:23 2012 for MythTV by  doxygen 1.6.3