The MPEG-defined Program Map Table (PMT). More...
Classes | |
| struct | StreamEntry |
| Describes a stream entry in the PMT. More... | |
Public Types | |
| typedef QList< StreamEntry > | StreamList |
| Describes the list of stream in the PMT. More... | |
Public Member Functions | |
| QtsProgramMapTable (quint8 version=0, bool isCurrent=true, quint16 sid=0, QtsPid pcr=QTS_PID_NULL) | |
| Default constructor. More... | |
| QtsProgramMapTable (const QtsTable &table) | |
| Constructor from a binary table. More... | |
| virtual bool | deserialize (const QtsTable &table) Q_DECL_OVERRIDE |
| This abstract method deserializes a binary table. More... | |
| virtual bool | serialize (QtsTable &table) const Q_DECL_OVERRIDE |
| This abstract method serializes a table. More... | |
Public Member Functions inherited from QtsAbstractLongTable | |
| bool | isCurrent () const |
| Check if the section is "current" (vs. More... | |
| void | setIsCurrent (bool isCurrent) |
| Modify the "current" flag. More... | |
| void | setVersion (quint8 version) |
| Modify the table version. More... | |
| quint8 | version () const |
| Get the table version. More... | |
Public Member Functions inherited from QtsAbstractTable | |
| virtual | ~QtsAbstractTable () |
| Virtual destructor. More... | |
| void | invalidate () |
| Invalidate the table. More... | |
| bool | isValid () const |
| Check if the table is valid. More... | |
| QtsTableId | tableId () const |
| Get the table id. More... | |
Public Attributes | |
| QtsDescriptorList | descs |
| Program-level descriptor list. More... | |
| QtsPid | pcrPid |
| PID for PCR data. More... | |
| quint16 | serviceId |
| Service id aka "program_number". More... | |
| StreamList | streams |
| List of elementary streams in the service. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QtsAbstractLongTable | |
| QtsAbstractLongTable (QtsTableId tid, quint8 version=0, bool isCurrent=true) | |
| Protected constructor for subclasses. More... | |
| bool | addSection (QtsTable &table, bool isPrivateSection, quint16 tidExt, const void *payload, int payloadSize) const |
| Serialization helper: add a section in the binary table. More... | |
| bool | addSection (QtsTable &table, bool isPrivateSection, quint16 tidExt, const QtlByteBlock &payload) const |
| Serialization helper: add a section in the binary table. More... | |
Protected Member Functions inherited from QtsAbstractTable | |
| QtsAbstractTable (QtsTableId tid) | |
| Protected constructor for subclasses. More... | |
| bool | deserializeInit (const QtsTable &table) |
| Deserialization helper: Start the deserialization. More... | |
| bool | serializeInit (QtsTable &table) const |
| Serialization helper: Start a new binary table. More... | |
Protected Attributes inherited from QtsAbstractTable | |
| bool | _isValid |
| Validity flag. More... | |
| QtsTableId | _tableId |
| Table id, can be modified by subclasses. More... | |
The MPEG-defined Program Map Table (PMT).
| typedef QList<StreamEntry> QtsProgramMapTable::StreamList |
Describes the list of stream in the PMT.
| QtsProgramMapTable::QtsProgramMapTable | ( | quint8 | version = 0, |
| bool | isCurrent = true, |
||
| quint16 | sid = 0, |
||
| QtsPid | pcr = QTS_PID_NULL |
||
| ) |
Default constructor.
| [in] | version | Table version. |
| [in] | isCurrent | True if the table is "current", false if it is "next". |
| [in] | sid | Service id. |
| [in] | pcr | PID for PCR data. |
| QtsProgramMapTable::QtsProgramMapTable | ( | const QtsTable & | table | ) |
Constructor from a binary table.
| [in] | table | The table to deserialize. |
|
virtual |
This abstract method serializes a table.
Implementation required by QtsAbstractTable.
| [out] | table | Replaced with a binary representation of this object. |
Implements QtsAbstractTable.
|
virtual |
This abstract method deserializes a binary table.
Implementation required by QtsAbstractTable.
| [out] | table | Binary table to deserialize. |
Implements QtsAbstractTable.
| quint16 QtsProgramMapTable::serviceId |
Service id aka "program_number".
| QtsPid QtsProgramMapTable::pcrPid |
PID for PCR data.
| QtsDescriptorList QtsProgramMapTable::descs |
Program-level descriptor list.
| StreamList QtsProgramMapTable::streams |
List of elementary streams in the service.