|
MythTV
0.26-pre
|
The Program Association Table lists all the programs in a stream, and is always found on PID 0. More...
#include <mpegtables.h>
Public Member Functions | |
| ProgramAssociationTable (const ProgramAssociationTable &table) | |
| ProgramAssociationTable (const PSIPTable &table) | |
| uint | TransportStreamID (void) const |
| uint | ProgramCount (void) const |
| uint | ProgramNumber (uint i) const |
| uint | ProgramPID (uint i) const |
| void | SetTranportStreamID (uint gtsid) |
| uint | FindPID (uint progNum) const |
| uint | FindAnyPID (void) const |
| uint | FindProgram (uint pid) const |
| virtual QString | toString (void) const |
| virtual QString | toStringXML (uint indent_level) const |
Static Public Member Functions | |
| static ProgramAssociationTable * | Create (uint tsid, uint version, const vector< uint > &pnum, const vector< uint > &pid) |
Static Private Member Functions | |
| static ProgramAssociationTable * | CreateBlank (bool smallPacket=true) |
The Program Association Table lists all the programs in a stream, and is always found on PID 0.
Based on info in this table and the ProgramMapTable for the program we are interested in we should be able determine which PID to write to the ringbuffer when given the program stream to record.
NOTE: Broadcasters are encouraged to keep the subprogram:PID mapping constant. If we store this data in the channel database, we can branch-predict which PIDs we are looking for, and can thus "tune" the subprogram more quickly.
Definition at line 490 of file mpegtables.h.
| ProgramAssociationTable::ProgramAssociationTable | ( | const ProgramAssociationTable & | table | ) | [inline] |
Definition at line 493 of file mpegtables.h.
Referenced by CreateBlank().
| ProgramAssociationTable::ProgramAssociationTable | ( | const PSIPTable & | table | ) | [inline] |
Definition at line 499 of file mpegtables.h.
| ProgramAssociationTable * ProgramAssociationTable::Create | ( | uint | tsid, |
| uint | version, | ||
| const vector< uint > & | pnum, | ||
| const vector< uint > & | pid | ||
| ) | [static] |
Definition at line 322 of file mpegtables.cpp.
Referenced by MPEGStreamData::CreatePATSingleProgram(), and DTVChannel::SetChannelByString().
| uint ProgramAssociationTable::TransportStreamID | ( | void | ) | const [inline] |
Definition at line 509 of file mpegtables.h.
Referenced by MPEGStreamData::CachePAT(), FirewireSignalMonitor::HandlePAT(), DTVSignalMonitor::HandlePAT(), MPEGStreamData::HasCachedAllPMTs(), toString(), and toStringXML().
| uint ProgramAssociationTable::ProgramCount | ( | void | ) | const [inline] |
Definition at line 511 of file mpegtables.h.
Referenced by DTVRecorder::HandlePAT(), DTVSignalMonitor::HandlePAT(), ChannelScanSM::HandlePAT(), PrintMPEGStreamListener::HandlePAT(), MPEGStreamData::HasCachedAllPMTs(), toString(), and toStringXML().
| uint ProgramAssociationTable::ProgramNumber | ( | uint | i | ) | const [inline] |
Definition at line 518 of file mpegtables.h.
Referenced by DTVSignalMonitor::HandlePAT(), MPEGStreamData::HasCachedAllPMTs(), ASIRecorder::run(), toString(), and toStringXML().
| uint ProgramAssociationTable::ProgramPID | ( | uint | i | ) | const [inline] |
Definition at line 521 of file mpegtables.h.
Referenced by DTVRecorder::HandlePAT(), DTVSignalMonitor::HandlePAT(), ChannelScanSM::HandlePAT(), PrintMPEGStreamListener::HandlePAT(), ASIRecorder::run(), toString(), and toStringXML().
| void ProgramAssociationTable::SetTranportStreamID | ( | uint | gtsid | ) | [inline] |
Definition at line 527 of file mpegtables.h.
| uint ProgramAssociationTable::FindPID | ( | uint | progNum | ) | const [inline] |
Definition at line 530 of file mpegtables.h.
Referenced by MPEGStreamData::CreatePATSingleProgram(), DTVRecorder::HandlePAT(), DTVSignalMonitor::HandlePAT(), MPEGStreamData::ProcessPAT(), and MPEGStreamData::SetDesiredProgram().
| uint ProgramAssociationTable::FindAnyPID | ( | void | ) | const [inline] |
Definition at line 537 of file mpegtables.h.
Referenced by MPEGStreamData::CreatePATSingleProgram().
| uint ProgramAssociationTable::FindProgram | ( | uint | pid | ) | const [inline] |
Definition at line 544 of file mpegtables.h.
| QString ProgramAssociationTable::toString | ( | void | ) | const [virtual] |
Reimplemented from PSIPTable.
Definition at line 776 of file mpegtables.cpp.
Referenced by MPEGStreamData::CreatePATSingleProgram(), DTVSignalMonitor::HandlePAT(), and ChannelScanSM::HandlePAT().
| QString ProgramAssociationTable::toStringXML | ( | uint | indent_level | ) | const [virtual] |
Reimplemented from PSIPTable.
Definition at line 813 of file mpegtables.cpp.
| ProgramAssociationTable * ProgramAssociationTable::CreateBlank | ( | bool | smallPacket = true | ) | [static, private] |
Definition at line 306 of file mpegtables.cpp.
Referenced by Create().
1.7.6.1