MythTV
master
|
This table contains information about the channels transmitted on this multiplex. More...
#include <atsctables.h>
Public Member Functions | |
VirtualChannelTable (const VirtualChannelTable &table) | |
VirtualChannelTable (const PSIPTable &table) | |
~VirtualChannelTable () | |
uint | TransportStreamID () const |
uint | ChannelCount () const |
const QString | ShortChannelName (uint i) const |
uint | MajorChannel (uint i) const |
uint | MinorChannel (uint i) const |
uint | ModulationMode (uint i) const |
QString | ModulationModeString (uint i) const |
uint | ChannelTransportStreamID (uint i) const |
uint | ProgramNumber (uint i) const |
uint | ETMlocation (uint i) const |
bool | IsAccessControlled (uint i) const |
bool | IsHidden (uint i) const |
bool | IsHiddenInGuide (uint i) const |
uint | ServiceType (uint i) const |
QString | ServiceTypeString (uint i) const |
uint | SourceID (uint i) const |
uint | DescriptorsLength (uint i) const |
const unsigned char * | Descriptors (uint i) const |
uint | GlobalDescriptorsLength () const |
const unsigned char * | GlobalDescriptors () const |
void | Parse () const |
int | Find (int major, int minor) const |
QString | GetExtendedChannelName (uint idx) const |
QString | toString (void) const override |
virtual QString | ChannelString (uint channel) const =0 |
QString | toStringXML (uint indent_level) const override |
virtual QString | ChannelStringXML (uint indent_level, uint channel) const |
virtual QString | XMLChannelValues (uint indent_level, uint channel) const |
![]() | |
PSIPTable (const TSPacket &tspacket, const unsigned char *pesdata, uint pes_size) | |
PSIPTable (const unsigned char *pesdata) | |
Constructor for viewing a section, does not create it's own data. More... | |
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 override |
1 bit Cyclic Redundancy Check present More... | |
bool | HasSectionNumber (void) const |
bool | VerifyPSIP (bool verify_crc) const |
![]() | |
PESPacket (const unsigned char *pesdata) | |
PESPacket (const PESPacket &pkt) | |
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 > &output, uint cc) const |
Returns payload only PESPacket as series of TSPackets. More... | |
uint | StreamID () const |
uint | Length () const |
uint | ScramblingControl () const |
bool | HighPriority () const |
1 bit Indicates if this is a high priority packet More... | |
bool | DataAligned () const |
1 bit Data alignment indicator (must be 0 for video) More... | |
bool | CopyRight () const |
1 bit If true packet may contain copy righted material and is known to have once contained materiale with copy rights. More... | |
bool | OriginalRecording () const |
1 bit Original Recording More... | |
bool | HasPTS () const |
1 bit Presentation Time Stamp field is present More... | |
bool | HasDTS () const |
1 bit Decoding Time Stamp field is present More... | |
bool | HasESCR () const |
1 bit Elementary Stream Clock Reference field is present More... | |
bool | HasESR () const |
1 bit Elementary Stream Rate field is present More... | |
bool | HasDSM () const |
1 bit DSM field present (should always be false for broadcasts) More... | |
bool | HasACI () const |
1 bit Additional Copy Info field is present More... | |
bool | HasExtensionFlags () const |
1 bit Extension flags are present More... | |
uint64_t | PTS (void) const |
Presentation Time Stamp, present if HasPTS() is true. More... | |
uint64_t | DTS (void) const |
Decode Time Stamp, present if HasDTS() is true. More... | |
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 |
Protected Attributes | |
vector< unsigned char * > | _ptrs |
![]() | |
unsigned char * | _pesdata |
Pointer to PES data in full buffer. More... | |
unsigned char * | _fullbuffer |
Pointer to allocated data. More... | |
uint | _psiOffset |
AFCOffset + StartOfFieldPointer. More... | |
uint | _ccLast |
Continuity counter of last inserted TS Packet. More... | |
uint | _pesdataSize |
Number of data bytes (TS header + PES data) More... | |
uint | _allocSize |
Total number of bytes we allocated. More... | |
bool | _badPacket |
true if a CRC is not good yet More... | |
Additional Inherited Members | |
![]() | |
static const PSIPTable | View (const TSPacket &tspacket) |
static PSIPTable | View (TSPacket &tspacket) |
static const PSIPTable | ViewData (const unsigned char *pesdata) |
![]() | |
static const uint | PSIP_OFFSET = 8 |
![]() | |
PSIPTable (const TSPacket &tspacket, bool) | |
QString | XMLValues (uint indent_level) const |
![]() | |
PESPacket () | |
noop constructor, only for use by derived classes More... | |
void | Finalize () |
![]() | |
static const uint | kTheMagicNoCRCCRC = 0xFFFFFFFF |
This table contains information about the channels transmitted on this multiplex.
Definition at line 189 of file atsctables.h.
|
inline |
Definition at line 192 of file atsctables.h.
|
inlineexplicit |
Definition at line 197 of file atsctables.h.
|
inline |
Definition at line 203 of file atsctables.h.
|
inline |
Definition at line 218 of file atsctables.h.
Referenced by DTVSignalMonitor::HandleCVCT(), DTVSignalMonitor::HandleTVCT(), ATSCStreamData::SetDesiredChannel(), toString(), toStringXML(), and update_info().
|
inline |
Definition at line 221 of file atsctables.h.
Referenced by Find(), GetExtendedChannelName(), ChannelScanSM::HandleVCT(), Parse(), ATSCStreamData::ProcessVCT(), toString(), and toStringXML().
|
inline |
Definition at line 225 of file atsctables.h.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), update_info(), and XMLChannelValues().
Definition at line 245 of file atsctables.h.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), Find(), ATSCStreamData::ProcessVCT(), CableVirtualChannelTable::SCTEIsChannelNumberOnePart(), CableVirtualChannelTable::SCTEIsChannelNumberTwoPart(), CableVirtualChannelTable::SCTEOnePartChannel(), update_info(), TerrestrialVirtualChannelTable::XMLChannelValues(), and CableVirtualChannelTable::XMLChannelValues().
Definition at line 250 of file atsctables.h.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), Find(), ATSCStreamData::ProcessVCT(), CableVirtualChannelTable::SCTEOnePartChannel(), update_info(), TerrestrialVirtualChannelTable::XMLChannelValues(), and CableVirtualChannelTable::XMLChannelValues().
Definition at line 255 of file atsctables.h.
Referenced by ModulationModeString(), ATSCStreamData::ProcessVCT(), update_info(), and XMLChannelValues().
QString VirtualChannelTable::ModulationModeString | ( | uint | i | ) | const |
Definition at line 175 of file atsctables.cpp.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), and XMLChannelValues().
Definition at line 262 of file atsctables.h.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), update_info(), and XMLChannelValues().
Definition at line 267 of file atsctables.h.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), DTVSignalMonitor::HandleCVCT(), DTVSignalMonitor::HandleTVCT(), ChannelScanSM::HandleVCT(), ATSCStreamData::SetDesiredChannel(), update_info(), and XMLChannelValues().
Definition at line 272 of file atsctables.h.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), and XMLChannelValues().
Definition at line 277 of file atsctables.h.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), ChannelScanSM::HandleVCT(), update_info(), and XMLChannelValues().
Definition at line 282 of file atsctables.h.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), ATSCStreamData::ProcessVCT(), update_info(), and XMLChannelValues().
Definition at line 288 of file atsctables.h.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), ATSCStreamData::ProcessVCT(), update_info(), and XMLChannelValues().
Definition at line 294 of file atsctables.h.
Referenced by ServiceTypeString(), update_info(), and XMLChannelValues().
QString VirtualChannelTable::ServiceTypeString | ( | uint | i | ) | const |
Definition at line 188 of file atsctables.cpp.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), and XMLChannelValues().
Definition at line 300 of file atsctables.h.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), ATSCStreamData::ProcessVCT(), and XMLChannelValues().
Definition at line 306 of file atsctables.h.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), ChannelStringXML(), GetExtendedChannelName(), and Parse().
|
inline |
Definition at line 311 of file atsctables.h.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), ChannelStringXML(), and GetExtendedChannelName().
|
inline |
Definition at line 318 of file atsctables.h.
Referenced by toString(), and toStringXML().
|
inline |
Definition at line 324 of file atsctables.h.
Referenced by toString(), and toStringXML().
void VirtualChannelTable::Parse | ( | void | ) | const |
Definition at line 53 of file atsctables.cpp.
int VirtualChannelTable::Find | ( | int | major, |
int | minor | ||
) | const |
Definition at line 485 of file atsctables.cpp.
Referenced by DTVSignalMonitor::HandleCVCT(), DTVSignalMonitor::HandleTVCT(), and ATSCStreamData::SetDesiredChannel().
QString VirtualChannelTable::GetExtendedChannelName | ( | uint | idx | ) | const |
Definition at line 507 of file atsctables.cpp.
Referenced by update_info().
|
overridevirtual |
Reimplemented from PSIPTable.
Definition at line 200 of file atsctables.cpp.
Referenced by TerrestrialVirtualChannelTable::ChannelString(), CableVirtualChannelTable::ChannelString(), DTVSignalMonitor::HandleCVCT(), DTVSignalMonitor::HandleTVCT(), and ChannelScanSM::HandleVCT().
|
pure virtual |
Implemented in CableVirtualChannelTable, and TerrestrialVirtualChannelTable.
Referenced by toString().
|
overridevirtual |
Reimplemented from PSIPTable.
Definition at line 239 of file atsctables.cpp.
Definition at line 283 of file atsctables.cpp.
Referenced by toStringXML().
Reimplemented in CableVirtualChannelTable, and TerrestrialVirtualChannelTable.
Definition at line 305 of file atsctables.cpp.
Referenced by ChannelStringXML(), TerrestrialVirtualChannelTable::XMLChannelValues(), and CableVirtualChannelTable::XMLChannelValues().
|
mutableprotected |
Definition at line 338 of file atsctables.h.
Referenced by Parse().