AdaptationFieldControl Class Reference

#include <mpegtables.h>

List of all members.


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 712 of file 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
bool Discontinuity (void) const
 discontinuity_indicator (time base may change) 1 1.0
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).
bool OPCR (void) const
 OPCR flag (we have OPCR data) 1 1.4 (adds 6 bytes) ((Original) Program Clock Reference; used to time output).
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.
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

Constructor & Destructor Documentation

AdaptationFieldControl::AdaptationFieldControl ( const unsigned char *  packet  )  [inline]

Definition at line 715 of file mpegtables.h.


Member Function Documentation

uint AdaptationFieldControl::Length ( void   )  const [inline]

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

Definition at line 720 of file mpegtables.h.

bool AdaptationFieldControl::Discontinuity ( void   )  const [inline]

discontinuity_indicator (time base may change) 1 1.0

Definition at line 725 of file mpegtables.h.

bool AdaptationFieldControl::RandomAccess ( void   )  const [inline]

Definition at line 727 of file mpegtables.h.

bool AdaptationFieldControl::Priority ( void   )  const [inline]

Definition at line 729 of file mpegtables.h.

bool AdaptationFieldControl::PCR ( void   )  const [inline]

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

Definition at line 736 of file mpegtables.h.

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 740 of file mpegtables.h.

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 748 of file mpegtables.h.

bool AdaptationFieldControl::PrivateTransportData ( void   )  const [inline]

Definition at line 751 of file mpegtables.h.

bool AdaptationFieldControl::FieldExtension ( void   )  const [inline]

Definition at line 753 of file mpegtables.h.

uint AdaptationFieldControl::ExtensionLength ( void   )  const [inline]

Definition at line 755 of file mpegtables.h.

bool AdaptationFieldControl::LTW ( void   )  const [inline]

Definition at line 758 of file mpegtables.h.

bool AdaptationFieldControl::PiecewiseRate ( void   )  const [inline]

Definition at line 760 of file mpegtables.h.

bool AdaptationFieldControl::SeamlessSplice ( void   )  const [inline]

Definition at line 762 of file mpegtables.h.


Member Data Documentation

const unsigned char* AdaptationFieldControl::_data [private]


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

Generated on Sat Dec 18 05:15:59 2010 for MythTV by  doxygen 1.5.5