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

AdaptationFieldControl is used to transmit various important stream attributes. More...

#include <mpegtables.h>

Public Member Functions

 AdaptationFieldControl (const unsigned char *packet)
 
uint Length (void) const
 adaptation header length (after which is payload data) 8 0.0 More...
 
bool Discontinuity (void) const
 discontinuity_indicator (time base may change) 1 1.0 More...
 
bool RandomAccess (void) const
 
bool Priority (void) const
 
bool PCR (void) const
 PCR flag (we have PCR data) 1 1.3 (adds 6 bytes after adaptation header) More...
 
bool OPCR (void) const
 OPCR flag (we have OPCR data) 1 1.4 (adds 6 bytes) ((Original) Program Clock Reference; used to time output) More...
 
bool SplicingPoint (void) const
 splicing_point_flag 1 1.5 (adds 1 byte) (we have splice point data) Splice data is packets until a good splice point for e.g. More...
 
bool PrivateTransportData (void) const
 
bool FieldExtension (void) const
 
uint ExtensionLength (void) const
 
bool LTW (void) const
 
bool PiecewiseRate (void) const
 
bool SeamlessSplice (void) const
 

Private Attributes

const unsigned char * _data
 

Detailed Description

AdaptationFieldControl is used to transmit various important stream attributes.

These include such things as the PCR and flags discontiunities in the program, such as when a commercial or another program begins. This is currently just passed through the MythTV recorders to the recorded stream.

Definition at line 1179 of file mpegtables.h.

Constructor & Destructor Documentation

◆ AdaptationFieldControl()

AdaptationFieldControl::AdaptationFieldControl ( const unsigned char *  packet)
inlineexplicit

Definition at line 1182 of file mpegtables.h.

Member Function Documentation

◆ Length()

uint AdaptationFieldControl::Length ( void  ) const
inline

adaptation header length (after which is payload data) 8 0.0

Definition at line 1187 of file mpegtables.h.

◆ Discontinuity()

bool AdaptationFieldControl::Discontinuity ( void  ) const
inline

discontinuity_indicator (time base may change) 1 1.0

Definition at line 1192 of file mpegtables.h.

◆ RandomAccess()

bool AdaptationFieldControl::RandomAccess ( void  ) const
inline

Definition at line 1194 of file mpegtables.h.

◆ Priority()

bool AdaptationFieldControl::Priority ( void  ) const
inline

Definition at line 1196 of file mpegtables.h.

◆ PCR()

bool AdaptationFieldControl::PCR ( void  ) const
inline

PCR flag (we have PCR data) 1 1.3 (adds 6 bytes after adaptation header)

Definition at line 1203 of file mpegtables.h.

◆ OPCR()

bool AdaptationFieldControl::OPCR ( void  ) const
inline

OPCR flag (we have OPCR data) 1 1.4 (adds 6 bytes) ((Original) Program Clock Reference; used to time output)

Definition at line 1207 of file mpegtables.h.

◆ SplicingPoint()

bool AdaptationFieldControl::SplicingPoint ( void  ) const
inline

splicing_point_flag 1 1.5 (adds 1 byte) (we have splice point data) Splice data is packets until a good splice point for e.g.

commercial insertion – if these are still set, might be a good way to recognize potential commercials for flagging.

Definition at line 1215 of file mpegtables.h.

◆ PrivateTransportData()

bool AdaptationFieldControl::PrivateTransportData ( void  ) const
inline

Definition at line 1218 of file mpegtables.h.

◆ FieldExtension()

bool AdaptationFieldControl::FieldExtension ( void  ) const
inline

Definition at line 1220 of file mpegtables.h.

◆ ExtensionLength()

uint AdaptationFieldControl::ExtensionLength ( void  ) const
inline

Definition at line 1222 of file mpegtables.h.

◆ LTW()

bool AdaptationFieldControl::LTW ( void  ) const
inline

Definition at line 1225 of file mpegtables.h.

◆ PiecewiseRate()

bool AdaptationFieldControl::PiecewiseRate ( void  ) const
inline

Definition at line 1227 of file mpegtables.h.

◆ SeamlessSplice()

bool AdaptationFieldControl::SeamlessSplice ( void  ) const
inline

Definition at line 1229 of file mpegtables.h.

Member Data Documentation

◆ _data

const unsigned char* AdaptationFieldControl::_data
private

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