|
MythTV
0.27pre
|
A PSIP table is a special type of PES packet containing an MPEG, ATSC, or DVB table. More...
#include <mpegtables.h>


Public Member Functions | |
| PSIPTable (const PSIPTable &table) | |
| PSIPTable (const PESPacket &table) | |
| PSIPTable (const TSPacket &table) | |
| uint | TableID (void) const |
| bool | SectionSyntaxIndicator (void) const |
| bool | PrivateIndicator (void) const |
| uint | SectionLength (void) const |
| uint | TableIDExtension (void) const |
| uint | Version (void) const |
| bool | IsCurrent (void) const |
| uint | Section (void) const |
| uint | LastSection (void) const |
| uint | ATSCProtocolVersion (void) const |
| const unsigned char * | psipdata (void) const |
| unsigned char * | psipdata (void) |
| void | SetTableID (uint id) |
| void | SetSectionLength (uint length) |
| void | SetTableIDExtension (uint len) |
| void | SetVersionNumber (uint ver) |
| void | SetCurrent (bool cur) |
| void | SetSection (uint num) |
| void | SetLastSection (uint num) |
| void | SetATSCProtocolVersion (int ver) |
| bool | HasCRC (void) const |
| 1 bit Cyclic Redundancy Check present | |
| bool | HasSectionNumber (void) const |
| bool | VerifyPSIP (bool verify_crc) const |
| virtual QString | toString (void) const |
| virtual QString | toStringXML (uint indent_level) const |
Public Member Functions inherited from PESPacket | |
| PESPacket (const PESPacket &pkt) | |
| PESPacket (const TSPacket &tspacket) | |
| PESPacket (const TSPacket &tspacket, const unsigned char *pesdata, uint pes_size) | |
| virtual | ~PESPacket () |
| bool | IsClone () const |
| bool | AddTSPacket (const TSPacket *tspacket, bool &broken) |
| bool | IsGood () const |
| const TSHeader * | tsheader () const |
| TSHeader * | tsheader () |
| void | GetAsTSPackets (vector< TSPacket > &pkts, uint cc) const |
| Returns payload only PESPacket as series of TSPackets. | |
| uint | StreamID () const |
| uint | Length () const |
| uint | ScramblingControl () const |
| bool | HighPriority () const |
| 1 bit Indicates if this is a high priority packet | |
| bool | DataAligned () const |
| 1 bit Data alignment indicator (must be 0 for video) | |
| bool | CopyRight () const |
| 1 bit If true packet may contain copy righted material and is known to have once contained materiale with copy rights. | |
| bool | OriginalRecording () const |
| 1 bit Original Recording | |
| bool | HasPTS () const |
| 1 bit Presentation Time Stamp field is present | |
| bool | HasDTS () const |
| 1 bit Decoding Time Stamp field is present | |
| bool | HasESCR () const |
| 1 bit Elementary Stream Clock Reference field is present | |
| bool | HasESR () const |
| 1 bit Elementary Stream Rate field is present | |
| bool | HasDSM () const |
| 1 bit DSM field present (should always be false for broadcasts) | |
| bool | HasACI () const |
| 1 bit Additional Copy Info field is present | |
| bool | HasExtensionFlags () const |
| 1 bit Extension flags are present | |
| uint64_t | PTS (void) const |
| Presentation Time Stamp, present if HasPTS() is true. | |
| uint64_t | DTS (void) const |
| Decode Time Stamp, present if HasDTS() is true. | |
| uint | TSSizeInBuffer () const |
| uint | PSIOffset () const |
| const unsigned char * | pesdata () const |
| unsigned char * | pesdata () |
| const unsigned char * | data () const |
| unsigned char * | data () |
| void | SetStreamID (uint id) |
| void | SetLength (uint len) |
| void | SetTotalLength (uint len) |
| void | SetPSIOffset (uint offset) |
| uint | CRC (void) const |
| void | SetCRC (uint crc) |
| uint | CalcCRC (void) const |
| bool | VerifyCRC (void) const |
Static Public Member Functions | |
| static const PSIPTable | View (const TSPacket &tspacket) |
| static PSIPTable | View (TSPacket &tspacket) |
Static Public Member Functions inherited from PESPacket | |
| static const PESPacket | ViewData (const unsigned char *pesdata) |
Static Public Attributes | |
| static const uint | PSIP_OFFSET = 8 |
Protected Member Functions | |
| QString | XMLValues (uint indent_level) const |
Protected Member Functions inherited from PESPacket | |
| PESPacket (const TSPacket *tspacket, bool) | |
| PESPacket (const unsigned char *pesdata, bool) | |
| void | Finalize () |
Private Member Functions | |
| PSIPTable (const PESPacket &pkt, bool) | |
Additional Inherited Members | |
Protected Attributes inherited from PESPacket | |
| unsigned char * | _pesdata |
| Pointer to PES data in full buffer. | |
| unsigned char * | _fullbuffer |
| Pointer to allocated data. | |
| uint | _psiOffset |
| AFCOffset + StartOfFieldPointer. | |
| uint | _ccLast |
| Continuity counter of last inserted TS Packet. | |
| uint | _pesdataSize |
| Number of data bytes (TS header + PES data) | |
| uint | _allocSize |
| Total number of bytes we allocated. | |
| bool | _badPacket |
| true if a CRC is not good yet | |
A PSIP table is a special type of PES packet containing an MPEG, ATSC, or DVB table.
Definition at line 367 of file mpegtables.h.
Definition at line 371 of file mpegtables.h.
|
inline |
Definition at line 375 of file mpegtables.h.
|
inline |
Definition at line 380 of file mpegtables.h.
|
inline |
Definition at line 385 of file mpegtables.h.
Reimplemented from PESPacket.
Definition at line 392 of file mpegtables.h.
Referenced by ProgramAssociationTable::CreateBlank(), ProgramMapTable::CreateBlank(), and return_4096_block().
Reimplemented from PESPacket.
Definition at line 395 of file mpegtables.h.
Definition at line 401 of file mpegtables.h.
Referenced by EITHelper::AddEIT(), AggregateDataEventTable::AggregateDataEventTable(), AggregateEventInformationTable::AggregateEventInformationTable(), AggregateExtendedTextTable::AggregateExtendedTextTable(), BouquetAssociationTable::BouquetAssociationTable(), CableVirtualChannelTable::CableVirtualChannelTable(), ConditionalAccessTable::ConditionalAccessTable(), ATSCStreamData::DeleteCachedTable(), DVBStreamData::DeleteCachedTable(), MPEGStreamData::DeleteCachedTable(), DirectedChannelChangeSelectionCodeTable::DirectedChannelChangeSelectionCodeTable(), DirectedChannelChangeTable::DirectedChannelChangeTable(), DVBEventInformationTable::DVBEventInformationTable(), EventInformationTable::EventInformationTable(), ExtendedTextTable::ExtendedTextTable(), ATSCStreamData::HandleTables(), DVBStreamData::HandleTables(), MPEGStreamData::HandleTables(), MPEGStreamData::HandleTSTables(), HasCRC(), HasSectionNumber(), insert_crc(), ScanStreamData::IsRedundant(), ATSCStreamData::IsRedundant(), DVBStreamData::IsRedundant(), MPEGStreamData::IsRedundant(), MasterGuideTable::MasterGuideTable(), ServiceDescriptionTable::Mutate(), NetworkInformationTable::NetworkInformationTable(), NetworkTextTable::NetworkTextTable(), SpliceInformationTable::Parse(), PremiereContentInformationTable::PremiereContentInformationTable(), ProgramAssociationTable::ProgramAssociationTable(), ProgramInformationMessageTable::ProgramInformationMessageTable(), ProgramMapTable::ProgramMapTable(), ProgramNameMessageTable::ProgramNameMessageTable(), RatingRegionTable::RatingRegionTable(), return_4096_block(), SCTENetworkInformationTable::SCTENetworkInformationTable(), SCTESystemTimeTable::SCTESystemTimeTable(), ServiceDescriptionTable::ServiceDescriptionTable(), ShortVirtualChannelTable::ShortVirtualChannelTable(), SpliceInformationTable::SpliceInformationTable(), SystemTimeTable::SystemTimeTable(), TerrestrialVirtualChannelTable::TerrestrialVirtualChannelTable(), TimeDateTable::TimeDateTable(), VirtualChannelTable::toString(), toString(), VirtualChannelTable::toStringXML(), VerifyPSIP(), VirtualChannelTable::VirtualChannelTable(), and XMLValues().
Definition at line 404 of file mpegtables.h.
Referenced by DVBStreamHandler::RunSR().
Definition at line 406 of file mpegtables.h.
Definition at line 412 of file mpegtables.h.
Referenced by MPEGStreamData::AssemblePSIP(), SCTENetworkInformationTable::DescriptorsLength(), ShortVirtualChannelTable::DescriptorsLength(), SCTESystemTimeTable::DescriptorsLength(), ConditionalAccessTable::DescriptorsLength(), ProgramAssociationTable::ProgramCount(), and VerifyPSIP().
Definition at line 418 of file mpegtables.h.
Referenced by BouquetAssociationTable::BouquetID(), MPEGStreamData::CacheCAT(), MPEGStreamData::CreatePATSingleProgram(), DVBStreamData::DeleteCachedTable(), MPEGStreamData::DeleteCachedTable(), ExtendedTextTable::ExtendedTextTableID(), ATSCStreamData::HandleTables(), DVBStreamData::HandleTables(), MPEGStreamData::HandleTables(), ATSCStreamData::IsRedundant(), DVBStreamData::IsRedundant(), MPEGStreamData::IsRedundant(), NetworkInformationTable::NetworkID(), ProgramMapTable::ProgramNumber(), return_4096_block(), DVBEventInformationTable::ServiceID(), EventInformationTable::SourceID(), toString(), VirtualChannelTable::TransportStreamID(), ProgramAssociationTable::TransportStreamID(), ServiceDescriptionTable::TSID(), VerifyPSIP(), and XMLValues().
Definition at line 425 of file mpegtables.h.
Referenced by EITHelper::AddEIT(), MPEGStreamData::CreatePATSingleProgram(), MPEGStreamData::CreatePMTSingleProgram(), ATSCStreamData::HandleTables(), DVBStreamData::HandleTables(), MPEGStreamData::HandleTables(), ATSCStreamData::IsRedundant(), DVBStreamData::IsRedundant(), MPEGStreamData::IsRedundant(), DTVChannel::SetChannelByString(), toString(), and XMLValues().
Definition at line 431 of file mpegtables.h.
Referenced by MPEGStreamData::HandleTSTables(), NetworkInformationTable::toString(), toString(), and XMLValues().
Definition at line 434 of file mpegtables.h.
Referenced by MPEGStreamData::CacheCAT(), DVBStreamData::CacheNIT(), MPEGStreamData::CachePAT(), MPEGStreamData::CachePMT(), DVBStreamData::CacheSDT(), DVBStreamData::DeleteCachedTable(), MPEGStreamData::DeleteCachedTable(), ATSCStreamData::HandleTables(), DVBStreamData::HandleTables(), MPEGStreamData::HandleTables(), ATSCStreamData::IsRedundant(), DVBStreamData::IsRedundant(), MPEGStreamData::IsRedundant(), NetworkInformationTable::toString(), toString(), VerifyPSIP(), and XMLValues().
Definition at line 437 of file mpegtables.h.
Referenced by DVBStreamData::HandleTables(), MPEGStreamData::HandleTables(), NetworkInformationTable::toString(), toString(), VerifyPSIP(), and XMLValues().
Definition at line 441 of file mpegtables.h.
Referenced by toString(), and XMLValues().
|
inline |
Definition at line 444 of file mpegtables.h.
Referenced by ProgramMapTable::AppendStream(), BouquetAssociationTable::BouquetDescriptors(), BouquetAssociationTable::BouquetDescriptorsLength(), PremiereContentInformationTable::ContentID(), PremiereContentInformationTable::Descriptors(), ConditionalAccessTable::Descriptors(), PremiereContentInformationTable::DescriptorsLength(), PremiereContentInformationTable::DurationInSeconds(), EventInformationTable::EventCount(), ExtendedTextTable::EventID(), ExtendedTextTable::ExtendedTextMessage(), ExtendedTextTable::IsChannelETM(), ExtendedTextTable::IsEventETM(), DVBEventInformationTable::LastTableID(), NetworkInformationTable::NetworkDescriptors(), NetworkInformationTable::NetworkDescriptorsLength(), ServiceDescriptionTable::OriginalNetworkID(), DVBEventInformationTable::OriginalNetworkID(), MasterGuideTable::Parse(), VirtualChannelTable::Parse(), DVBEventInformationTable::Parse(), EventInformationTable::Parse(), ProgramMapTable::Parse(), ProgramMapTable::PCRPID(), ProgramMapTable::ProgramInfo(), ProgramMapTable::ProgramInfoLength(), ProgramAssociationTable::ProgramNumber(), ProgramAssociationTable::ProgramPID(), ProgramMapTable::RemoveAllStreams(), DVBEventInformationTable::SegmentLastSectionNumber(), ProgramMapTable::SetPCRPID(), ProgramMapTable::SetProgramInfo(), ProgramMapTable::SetProgramInfoLength(), ExtendedTextTable::SourceID(), DVBEventInformationTable::TSID(), and VerifyPSIP().
|
inline |
Definition at line 446 of file mpegtables.h.
Definition at line 450 of file mpegtables.h.
Referenced by ServiceDescriptionTable::Mutate().
Definition at line 453 of file mpegtables.h.
Definition at line 454 of file mpegtables.h.
Referenced by ExtendedTextTable::SetExtendedTextTableID(), ProgramMapTable::SetProgramNumber(), and ProgramAssociationTable::SetTranportStreamID().
Definition at line 459 of file mpegtables.h.
Definition at line 461 of file mpegtables.h.
Definition at line 463 of file mpegtables.h.
Definition at line 464 of file mpegtables.h.
Definition at line 467 of file mpegtables.h.
1 bit Cyclic Redundancy Check present
Reimplemented from PESPacket.
Definition at line 94 of file mpegtables.cpp.
Referenced by MPEGStreamData::HandleTSTables().
Definition at line 210 of file mpegtables.cpp.
Referenced by XMLValues().
Definition at line 236 of file mpegtables.cpp.
Referenced by MPEGStreamData::HandleTSTables().
|
virtual |
Reimplemented in SpliceInformationTable, AggregateExtendedTextTable, AggregateEventInformationTable, ConditionalAccessTable, SystemTimeTable, ProgramMapTable, AggregateDataEventTable, ExtendedTextTable, ProgramNameMessageTable, ProgramInformationMessageTable, EventInformationTable, SCTESystemTimeTable, ProgramAssociationTable, ShortVirtualChannelTable, VirtualChannelTable, NetworkTextTable, SCTENetworkInformationTable, BouquetAssociationTable, MasterGuideTable, ServiceDescriptionTable, and NetworkInformationTable.
Definition at line 752 of file mpegtables.cpp.
Referenced by PrintOutput::Output(), MasterGuideTable::toString(), VirtualChannelTable::toString(), ProgramAssociationTable::toString(), ProgramMapTable::toString(), and ConditionalAccessTable::toString().
|
virtual |
Reimplemented in SpliceInformationTable, AggregateExtendedTextTable, AggregateEventInformationTable, ConditionalAccessTable, SystemTimeTable, ProgramMapTable, AggregateDataEventTable, ProgramNameMessageTable, ProgramInformationMessageTable, SCTESystemTimeTable, ProgramAssociationTable, ShortVirtualChannelTable, VirtualChannelTable, NetworkTextTable, SCTENetworkInformationTable, and MasterGuideTable.
Definition at line 770 of file mpegtables.cpp.
Referenced by PrintOutput::Output().
|
protected |
Definition at line 776 of file mpegtables.cpp.
Referenced by MasterGuideTable::toStringXML(), SCTENetworkInformationTable::toStringXML(), VirtualChannelTable::toStringXML(), toStringXML(), ShortVirtualChannelTable::toStringXML(), ProgramAssociationTable::toStringXML(), ProgramMapTable::toStringXML(), SystemTimeTable::toStringXML(), and ConditionalAccessTable::toStringXML().
|
static |
Definition at line 477 of file mpegtables.h.
Referenced by ProgramAssociationTable::Create(), ConditionalAccessTable::DescriptorsLength(), and VerifyPSIP().
1.8.1.2