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 |
Static Public Member Functions | |
| static const PSIPTable | View (const TSPacket &tspacket) |
| static PSIPTable | View (TSPacket &tspacket) |
Static Public Attributes | |
| static const uint | PSIP_OFFSET = 8 |
Protected Member Functions | |
| QString | XMLValues (uint indent_level) const |
Private Member Functions | |
| PSIPTable (const PESPacket &pkt, bool) | |
A PSIP table is a special type of PES packet containing an MPEG, ATSC, or DVB table.
Definition at line 356 of file mpegtables.h.
Definition at line 360 of file mpegtables.h.
| PSIPTable::PSIPTable | ( | const PSIPTable & | table | ) | [inline] |
Definition at line 364 of file mpegtables.h.
| PSIPTable::PSIPTable | ( | const PESPacket & | table | ) | [inline] |
Definition at line 369 of file mpegtables.h.
| PSIPTable::PSIPTable | ( | const TSPacket & | table | ) | [inline] |
Definition at line 374 of file mpegtables.h.
Reimplemented from PESPacket.
Definition at line 381 of file mpegtables.h.
Referenced by ProgramMapTable::CreateBlank(), ProgramAssociationTable::CreateBlank(), and return_4096_block().
Reimplemented from PESPacket.
Definition at line 384 of file mpegtables.h.
| uint PSIPTable::TableID | ( | void | ) | const [inline] |
Definition at line 390 of file mpegtables.h.
Referenced by EITHelper::AddEIT(), AggregateDataEventTable::AggregateDataEventTable(), AggregateEventInformationTable::AggregateEventInformationTable(), AggregateExtendedTextTable::AggregateExtendedTextTable(), BouquetAssociationTable::BouquetAssociationTable(), CableVirtualChannelTable::CableVirtualChannelTable(), ConditionalAccessTable::ConditionalAccessTable(), MPEGStreamData::DeleteCachedTable(), DVBStreamData::DeleteCachedTable(), ATSCStreamData::DeleteCachedTable(), DirectedChannelChangeSelectionCodeTable::DirectedChannelChangeSelectionCodeTable(), DirectedChannelChangeTable::DirectedChannelChangeTable(), DVBEventInformationTable::DVBEventInformationTable(), EventInformationTable::EventInformationTable(), ExtendedTextTable::ExtendedTextTable(), MPEGStreamData::HandleTables(), DVBStreamData::HandleTables(), ATSCStreamData::HandleTables(), MPEGStreamData::HandleTSTables(), HasCRC(), HasSectionNumber(), insert_crc(), ScanStreamData::IsRedundant(), MPEGStreamData::IsRedundant(), DVBStreamData::IsRedundant(), ATSCStreamData::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(), toString(), VirtualChannelTable::toString(), VirtualChannelTable::toStringXML(), VerifyPSIP(), VirtualChannelTable::VirtualChannelTable(), and XMLValues().
| bool PSIPTable::SectionSyntaxIndicator | ( | void | ) | const [inline] |
Definition at line 393 of file mpegtables.h.
Referenced by DVBStreamHandler::RunSR().
| bool PSIPTable::PrivateIndicator | ( | void | ) | const [inline] |
Definition at line 395 of file mpegtables.h.
| uint PSIPTable::SectionLength | ( | void | ) | const [inline] |
Definition at line 401 of file mpegtables.h.
Referenced by MPEGStreamData::AssemblePSIP(), SCTESystemTimeTable::DescriptorsLength(), ShortVirtualChannelTable::DescriptorsLength(), SCTENetworkInformationTable::DescriptorsLength(), ConditionalAccessTable::DescriptorsLength(), ProgramAssociationTable::ProgramCount(), and VerifyPSIP().
| uint PSIPTable::TableIDExtension | ( | void | ) | const [inline] |
Definition at line 407 of file mpegtables.h.
Referenced by BouquetAssociationTable::BouquetID(), MPEGStreamData::CacheCAT(), MPEGStreamData::CreatePATSingleProgram(), MPEGStreamData::DeleteCachedTable(), DVBStreamData::DeleteCachedTable(), ExtendedTextTable::ExtendedTextTableID(), MPEGStreamData::HandleTables(), DVBStreamData::HandleTables(), ATSCStreamData::HandleTables(), MPEGStreamData::IsRedundant(), DVBStreamData::IsRedundant(), ATSCStreamData::IsRedundant(), NetworkInformationTable::NetworkID(), ProgramMapTable::ProgramNumber(), return_4096_block(), DVBEventInformationTable::ServiceID(), EventInformationTable::SourceID(), toString(), ProgramAssociationTable::TransportStreamID(), VirtualChannelTable::TransportStreamID(), ServiceDescriptionTable::TSID(), VerifyPSIP(), and XMLValues().
| uint PSIPTable::Version | ( | void | ) | const [inline] |
Definition at line 414 of file mpegtables.h.
Referenced by EITHelper::AddEIT(), MPEGStreamData::CreatePATSingleProgram(), MPEGStreamData::CreatePMTSingleProgram(), MPEGStreamData::HandleTables(), DVBStreamData::HandleTables(), ATSCStreamData::HandleTables(), MPEGStreamData::IsRedundant(), DVBStreamData::IsRedundant(), ATSCStreamData::IsRedundant(), DTVChannel::SetChannelByString(), toString(), MPEGStreamData::VersionPATSingleProgram(), MPEGStreamData::VersionPMTSingleProgram(), and XMLValues().
| bool PSIPTable::IsCurrent | ( | void | ) | const [inline] |
Definition at line 420 of file mpegtables.h.
Referenced by MPEGStreamData::HandleTSTables(), toString(), NetworkInformationTable::toString(), and XMLValues().
| uint PSIPTable::Section | ( | void | ) | const [inline] |
Definition at line 423 of file mpegtables.h.
Referenced by MPEGStreamData::CacheCAT(), DVBStreamData::CacheNIT(), MPEGStreamData::CachePAT(), MPEGStreamData::CachePMT(), DVBStreamData::CacheSDT(), MPEGStreamData::DeleteCachedTable(), DVBStreamData::DeleteCachedTable(), MPEGStreamData::HandleTables(), DVBStreamData::HandleTables(), ATSCStreamData::HandleTables(), MPEGStreamData::IsRedundant(), DVBStreamData::IsRedundant(), ATSCStreamData::IsRedundant(), toString(), NetworkInformationTable::toString(), VerifyPSIP(), and XMLValues().
| uint PSIPTable::LastSection | ( | void | ) | const [inline] |
Definition at line 426 of file mpegtables.h.
Referenced by MPEGStreamData::HandleTables(), DVBStreamData::HandleTables(), DVBStreamData::SetDesiredService(), toString(), NetworkInformationTable::toString(), VerifyPSIP(), and XMLValues().
| uint PSIPTable::ATSCProtocolVersion | ( | void | ) | const [inline] |
Definition at line 430 of file mpegtables.h.
Referenced by toString(), and XMLValues().
| const unsigned char* PSIPTable::psipdata | ( | void | ) | const [inline] |
Definition at line 433 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(), DVBEventInformationTable::OriginalNetworkID(), ServiceDescriptionTable::OriginalNetworkID(), ProgramMapTable::Parse(), DVBEventInformationTable::Parse(), EventInformationTable::Parse(), VirtualChannelTable::Parse(), MasterGuideTable::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().
| unsigned char* PSIPTable::psipdata | ( | void | ) | [inline] |
Definition at line 435 of file mpegtables.h.
| void PSIPTable::SetTableID | ( | uint | id | ) | [inline] |
Definition at line 439 of file mpegtables.h.
Referenced by ServiceDescriptionTable::Mutate().
| void PSIPTable::SetSectionLength | ( | uint | length | ) | [inline] |
Definition at line 442 of file mpegtables.h.
| void PSIPTable::SetTableIDExtension | ( | uint | len | ) | [inline] |
Definition at line 443 of file mpegtables.h.
Referenced by ExtendedTextTable::SetExtendedTextTableID(), ProgramMapTable::SetProgramNumber(), and ProgramAssociationTable::SetTranportStreamID().
| void PSIPTable::SetVersionNumber | ( | uint | ver | ) | [inline] |
Definition at line 448 of file mpegtables.h.
| void PSIPTable::SetCurrent | ( | bool | cur | ) | [inline] |
Definition at line 450 of file mpegtables.h.
| void PSIPTable::SetSection | ( | uint | num | ) | [inline] |
Definition at line 452 of file mpegtables.h.
| void PSIPTable::SetLastSection | ( | uint | num | ) | [inline] |
Definition at line 453 of file mpegtables.h.
| void PSIPTable::SetATSCProtocolVersion | ( | int | ver | ) | [inline] |
Definition at line 456 of file mpegtables.h.
| bool PSIPTable::HasCRC | ( | void | ) | const [virtual] |
1 bit Cyclic Redundancy Check present
Reimplemented from PESPacket.
Definition at line 78 of file mpegtables.cpp.
Referenced by MPEGStreamData::HandleTSTables().
| bool PSIPTable::HasSectionNumber | ( | void | ) | const |
Definition at line 185 of file mpegtables.cpp.
Referenced by XMLValues().
Definition at line 211 of file mpegtables.cpp.
Referenced by MPEGStreamData::HandleTSTables().
| QString PSIPTable::toString | ( | void | ) | const [virtual] |
Reimplemented in MasterGuideTable, VirtualChannelTable, EventInformationTable, ExtendedTextTable, SystemTimeTable, AggregateEventInformationTable, AggregateExtendedTextTable, NetworkInformationTable, ServiceDescriptionTable, BouquetAssociationTable, ProgramAssociationTable, ProgramMapTable, ConditionalAccessTable, SpliceInformationTable, SCTENetworkInformationTable, NetworkTextTable, ShortVirtualChannelTable, SCTESystemTimeTable, ProgramInformationMessageTable, ProgramNameMessageTable, and AggregateDataEventTable.
Definition at line 724 of file mpegtables.cpp.
Referenced by PrintOutput::Output(), ConditionalAccessTable::toString(), ProgramMapTable::toString(), ProgramAssociationTable::toString(), VirtualChannelTable::toString(), and MasterGuideTable::toString().
| QString PSIPTable::toStringXML | ( | uint | indent_level | ) | const [virtual] |
Reimplemented in MasterGuideTable, VirtualChannelTable, SystemTimeTable, AggregateEventInformationTable, AggregateExtendedTextTable, ProgramAssociationTable, ProgramMapTable, ConditionalAccessTable, SpliceInformationTable, SCTENetworkInformationTable, NetworkTextTable, ShortVirtualChannelTable, SCTESystemTimeTable, ProgramInformationMessageTable, ProgramNameMessageTable, and AggregateDataEventTable.
Definition at line 742 of file mpegtables.cpp.
Referenced by PrintOutput::Output().
| QString PSIPTable::XMLValues | ( | uint | indent_level | ) | const [protected] |
Definition at line 748 of file mpegtables.cpp.
Referenced by ShortVirtualChannelTable::toStringXML(), SCTENetworkInformationTable::toStringXML(), ConditionalAccessTable::toStringXML(), ProgramMapTable::toStringXML(), ProgramAssociationTable::toStringXML(), toStringXML(), SystemTimeTable::toStringXML(), VirtualChannelTable::toStringXML(), and MasterGuideTable::toStringXML().
const uint PSIPTable::PSIP_OFFSET = 8 [static] |
Definition at line 466 of file mpegtables.h.
Referenced by ProgramAssociationTable::Create(), and VerifyPSIP().
1.6.3