MythTV  master
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
ATSCStreamData Class Reference

Encapsulates data about ATSC stream and emits events for most tables. More...

#include <atscstreamdata.h>

Inheritance diagram for ATSCStreamData:
Inheritance graph
[legend]
Collaboration diagram for ATSCStreamData:
Collaboration graph
[legend]

Public Member Functions

 ATSCStreamData (int desiredMajorChannel, int desiredMinorChannel, int cardnum, bool cacheTables=false)
 Initializes ATSCStreamData. More...
 
 ~ATSCStreamData () override
 
void Reset (void) override
 
void Reset (int desiredProgram) override
 
void Reset (int desiredMajorChannel, int desiredMinorChannel)
 
void SetDesiredChannel (int major, int minor)
 
bool HandleTables (uint pid, const PSIPTable &psip) override
 Process PSIP packets. More...
 
bool IsRedundant (uint pid, const PSIPTable &psip) const override
 Returns true if table already seen. More...
 
uint GPSOffset (void) const
 Current UTC to GPS time offset in seconds. More...
 
uint GetATSCMajorMinor (uint eit_sourceid) const
 
bool HasATSCMajorMinorMap (void) const
 
bool HasEITPIDChanges (const uint_vec_t &in_use_pid) const override
 
bool GetEITPIDChanges (const uint_vec_t &cur_pids, uint_vec_t &add_pids, uint_vec_t &del_pids) const override
 
void SetVersionMGT (int version)
 
void SetVersionTVCT (uint tsid, int version)
 
void SetVersionCVCT (uint tsid, int version)
 
void SetVersionRRT (uint region, int version)
 
int VersionMGT () const
 
int VersionTVCT (uint tsid) const
 
int VersionCVCT (uint tsid) const
 
int VersionRRT (uint region) const
 
bool HasCachedMGT (bool current=true) const
 
bool HasCachedTVCT (uint pid, bool current=true) const
 
bool HasCachedCVCT (uint pid, bool current=true) const
 
bool HasCachedAllTVCTs (bool current=true) const
 
bool HasCachedAllCVCTs (bool current=true) const
 
bool HasCachedAllVCTs (bool current=true) const
 
bool HasCachedAnyTVCTs (bool current=true) const
 
bool HasCachedAnyCVCTs (bool current=true) const
 
bool HasCachedAnyVCTs (bool current=true) const
 
const MasterGuideTableGetCachedMGT (bool current=true) const
 
tvct_const_ptr_t GetCachedTVCT (uint pid, bool current=true) const
 
cvct_const_ptr_t GetCachedCVCT (uint pid, bool current=true) const
 
tvct_vec_t GetCachedTVCTs (bool current=true) const
 
cvct_vec_t GetCachedCVCTs (bool current=true) const
 
void ReturnCachedTVCTTables (tvct_vec_t &tvcts) const
 
void ReturnCachedCVCTTables (cvct_vec_t &cvcts) const
 
bool HasChannel (uint major, uint minor) const
 
int DesiredMajorChannel (void) const
 
int DesiredMinorChannel (void) const
 
void AddATSCMainListener (ATSCMainStreamListener *val)
 
void AddSCTEMainListener (SCTEMainStreamListener *val)
 
void AddATSCAuxListener (ATSCAuxStreamListener *val)
 
void AddATSCEITListener (ATSCEITStreamListener *val)
 
void AddATSC81EITListener (ATSC81EITStreamListener *val)
 
void RemoveATSCMainListener (ATSCMainStreamListener *val)
 
void RemoveSCTEMainListener (SCTEMainStreamListener *val)
 
void RemoveATSCAuxListener (ATSCAuxStreamListener *val)
 
void RemoveATSCEITListener (ATSCEITStreamListener *val)
 
void RemoveATSC81EITListener (ATSC81EITStreamListener *val)
 
- Public Member Functions inherited from MPEGStreamData
 MPEGStreamData (int desiredProgram, int cardnum, bool cacheTables)
 Initializes MPEGStreamData. More...
 
 ~MPEGStreamData () override
 
void SetCaching (bool cacheTables)
 
void SetListeningDisabled (bool lt)
 
double TimeOffset (void) const
 Current Offset from computer time to DVB time in seconds. More...
 
void SetEITHelper (EITHelper *eit_helper) override
 
void SetEITRate (float rate) override
 
void SetIgnoreCRC (bool haveCRCbug)
 
virtual void HandleTSTables (const TSPacket *tspacket)
 Assembles PSIP packets and processes them. More...
 
virtual bool ProcessTSPacket (const TSPacket &tspacket)
 
virtual int ProcessData (const unsigned char *buffer, int len)
 
void HandleAdaptationFieldControl (const TSPacket *tspacket)
 
virtual void AddListeningPID (uint pid, PIDPriority priority=kPIDPriorityNormal)
 
virtual void AddNotListeningPID (uint pid)
 
virtual void AddWritingPID (uint pid, PIDPriority priority=kPIDPriorityHigh)
 
virtual void AddAudioPID (uint pid, PIDPriority priority=kPIDPriorityHigh)
 
virtual void RemoveListeningPID (uint pid)
 
virtual void RemoveNotListeningPID (uint pid)
 
virtual void RemoveWritingPID (uint pid)
 
virtual void RemoveAudioPID (uint pid)
 
virtual bool IsListeningPID (uint pid) const
 
virtual bool IsNotListeningPID (uint pid) const
 
virtual bool IsWritingPID (uint pid) const
 
bool IsVideoPID (uint pid) const
 
virtual bool IsAudioPID (uint pid) const
 
const pid_map_tListeningPIDs (void) const
 
const pid_map_tAudioPIDs (void) const
 
const pid_map_tWritingPIDs (void) const
 
uint GetPIDs (pid_map_t &pids) const
 
PIDPriority GetPIDPriority (uint pid) const
 
void SetVersionPAT (uint tsid, int version, uint last_section)
 
void SetVersionPMT (uint pnum, int version, uint last_section)
 
bool HasAllPATSections (uint tsid) const
 
bool HasAllCATSections (uint tsid) const
 
bool HasAllPMTSections (uint prog_num) const
 
bool HasProgram (uint progNum) const
 
bool HasCachedAllPAT (uint tsid) const
 
bool HasCachedAnyPAT (uint tsid) const
 
bool HasCachedAnyPAT (void) const
 
bool HasCachedAllCAT (uint tsid) const
 
bool HasCachedAnyCAT (uint tsid) const
 
bool HasCachedAnyCAT (void) const
 
bool HasCachedAllPMT (uint pnum) const
 
bool HasCachedAnyPMT (uint pnum) const
 
bool HasCachedAllPMTs (void) const
 
bool HasCachedAnyPMTs (void) const
 
pat_const_ptr_t GetCachedPAT (uint tsid, uint section_num) const
 
pat_vec_t GetCachedPATs (uint tsid) const
 
pat_vec_t GetCachedPATs (void) const
 
pat_map_t GetCachedPATMap (void) const
 
cat_const_ptr_t GetCachedCAT (uint tsid, uint section_num) const
 
cat_vec_t GetCachedCATs (uint tsid) const
 
cat_vec_t GetCachedCATs (void) const
 
cat_map_t GetCachedCATMap (void) const
 
pmt_const_ptr_t GetCachedPMT (uint program_num, uint section_num) const
 
pmt_vec_t GetCachedPMTs (void) const
 
pmt_map_t GetCachedPMTMap (void) const
 
virtual void ReturnCachedTable (const PSIPTable *psip) const
 
virtual void ReturnCachedPATTables (pat_vec_t &pats) const
 
virtual void ReturnCachedPATTables (pat_map_t &pats) const
 
virtual void ReturnCachedCATTables (cat_vec_t &cats) const
 
virtual void ReturnCachedCATTables (cat_map_t &cats) const
 
virtual void ReturnCachedPMTTables (pmt_vec_t &pmts) const
 
virtual void ReturnCachedPMTTables (pmt_map_t &pmts) const
 
void AddEncryptionTestPID (uint pnum, uint pid, bool isvideo)
 
void RemoveEncryptionTestPIDs (uint pnum)
 
bool IsEncryptionTestPID (uint pid) const
 
void TestDecryption (const ProgramMapTable *pmt)
 
void ResetDecryptionMonitoringState (void)
 
bool IsProgramDecrypted (uint pnum) const
 
bool IsProgramEncrypted (uint pnum) const
 
void AddMPEGListener (MPEGStreamListener *val)
 
void RemoveMPEGListener (MPEGStreamListener *val)
 
void AddWritingListener (TSPacketListener *val)
 
void RemoveWritingListener (TSPacketListener *val)
 
void AddMPEGSPListener (MPEGSingleProgramStreamListener *val)
 
void RemoveMPEGSPListener (MPEGSingleProgramStreamListener *val)
 
void AddAVListener (TSPacketListenerAV *val)
 
void RemoveAVListener (TSPacketListenerAV *val)
 
void AddPSStreamListener (PSStreamListener *val)
 
void RemovePSStreamListener (PSStreamListener *val)
 
void SetDesiredProgram (int p)
 
void SetPATSingleProgram (ProgramAssociationTable *pat)
 
void SetPMTSingleProgram (ProgramMapTable *pmt)
 
void SetVideoStreamsRequired (uint num)
 
uint GetVideoStreamsRequired () const
 
void SetAudioStreamsRequired (uint num)
 
uint GetAudioStreamsRequired () const
 
void SetRecordingType (const QString &recording_type)
 
int DesiredProgram (void) const
 
uint VideoPIDSingleProgram (void) const
 
QString GetRecordingType (void) const
 
const ProgramAssociationTablePATSingleProgram (void) const
 
const ProgramMapTablePMTSingleProgram (void) const
 
ProgramAssociationTablePATSingleProgram (void)
 
ProgramMapTablePMTSingleProgram (void)
 
int VersionPATSingleProgram (void) const
 
int VersionPMTSingleProgram (void) const
 
bool CreatePATSingleProgram (const ProgramAssociationTable &pat)
 
bool CreatePMTSingleProgram (const ProgramMapTable &pmt)
 

Protected Member Functions

bool DeleteCachedTable (const PSIPTable *psip) const override
 
- Protected Member Functions inherited from MPEGStreamData
PSIPTableAssemblePSIP (const TSPacket *tspacket, bool &moreTablePackets)
 PSIP packet assembler. More...
 
bool AssemblePSIP (PSIPTable &psip, TSPacket *tspacket)
 
void SavePartialPSIP (uint pid, PSIPTable *packet)
 
PSIPTableGetPartialPSIP (uint pid)
 
void ClearPartialPSIP (uint pid)
 
void DeletePartialPSIP (uint pid)
 
void ProcessPAT (const ProgramAssociationTable *pat)
 
void ProcessCAT (const ConditionalAccessTable *cat)
 
void ProcessPMT (const ProgramMapTable *pmt)
 
void ProcessEncryptedPacket (const TSPacket &tspacket)
 counts en/decrypted packets to decide if a stream is en/decrypted More...
 
void UpdateTimeOffset (uint64_t si_utc_time)
 
void IncrementRefCnt (const PSIPTable *psip) const
 
void CachePAT (const ProgramAssociationTable *pat)
 
void CacheCAT (const ConditionalAccessTable *_cat)
 
void CachePMT (const ProgramMapTable *pmt)
 
- Protected Member Functions inherited from EITSource
virtual ~EITSource ()=default
 

Private Member Functions

void ProcessMGT (const MasterGuideTable *mgt)
 
void ProcessVCT (uint tsid, const VirtualChannelTable *vct)
 
void ProcessTVCT (uint tsid, const TerrestrialVirtualChannelTable *vct)
 
void ProcessCVCT (uint tsid, const CableVirtualChannelTable *vct)
 
void CacheMGT (MasterGuideTable *mgt)
 
void CacheTVCT (uint pid, TerrestrialVirtualChannelTable *tvct)
 
void CacheCVCT (uint pid, CableVirtualChannelTable *cvct)
 

Private Attributes

uint m_gpsUtcOffset { GPS_LEAP_SECONDS }
 
bool m_atscEitReset { false }
 
atsc_eit_pid_map_t m_atscEitPids
 
atsc_ett_pid_map_t m_atscEttPids
 
QMap< uint, uintm_sourceIdToAtscMajMin
 
atsc_main_listener_vec_t m_atscMainListeners
 
scte_main_listener_vec_t m_scteMainlisteners
 
atsc_aux_listener_vec_t m_atscAuxListeners
 
atsc_eit_listener_vec_t m_atscEitListeners
 
atsc81_eit_listener_vec_t m_atsc81EitListeners
 
int m_mgtVersion { -1 }
 
QMap< uint, int > m_tvctVersion
 
QMap< uint, int > m_cvctVersion
 
QMap< uint, int > m_rrtVersion
 
TableStatusMap m_eitStatus
 
MasterGuideTablem_cachedMgt { nullptr }
 
tvct_cache_t m_cachedTvcts
 
cvct_cache_t m_cachedCvcts
 
int m_desiredMajorChannel
 
int m_desiredMinorChannel
 

Additional Inherited Members

- Static Protected Member Functions inherited from MPEGStreamData
static int ResyncStream (const unsigned char *buffer, int curr_pos, int len)
 
- Protected Attributes inherited from MPEGStreamData
int m_cardId
 
QString m_siStandard {"mpeg"}
 
bool m_haveCrcBug {false}
 
QMutex m_siTimeLock
 
uint m_siTimeOffsetCnt {0}
 
uint m_siTimeOffsetIndx {0}
 
double m_siTimeOffsets [16] {0.0}
 
EITHelperm_eitHelper {nullptr}
 
float m_eitRate {0.0F}
 
pid_map_t m_pidsListening
 
pid_map_t m_pidsNotListening
 
pid_map_t m_pidsWriting
 
pid_map_t m_pidsAudio
 
bool m_listeningDisabled {false}
 
QMutex m_encryptionLock {QMutex::Recursive}
 
QMap< uint, CryptInfom_encryptionPidToInfo
 
QMap< uint, uint_vec_tm_encryptionPnumToPids
 
QMap< uint, uint_vec_tm_encryptionPidToPnums
 
QMap< uint, CryptStatusm_encryptionPnumToStatus
 
QMutex m_listenerLock {QMutex::Recursive}
 
mpeg_listener_vec_t m_mpegListeners
 
mpeg_sp_listener_vec_t m_mpegSpListeners
 
ts_listener_vec_t m_tsWritingListeners
 
ts_av_listener_vec_t m_tsAvListeners
 
ps_listener_vec_t m_psListeners
 
TableStatusMap m_patStatus
 
TableStatusMap m_catStatus
 
TableStatusMap m_pmtStatus
 
pid_psip_map_t m_partialPsipPacketCache
 
bool m_cacheTables
 
QMutex m_cacheLock {QMutex::Recursive}
 
pat_cache_t m_cachedPats
 
cat_cache_t m_cachedCats
 
pmt_cache_t m_cachedPmts
 
psip_refcnt_map_t m_cachedRefCnt
 
psip_refcnt_map_t m_cachedSlatedForDeletion
 
int m_desiredProgram
 
QString m_recordingType {"all"}
 
bool m_stripPmtDescriptors {false}
 
bool m_normalizeStreamType {true}
 
uint m_pidVideoSingleProgram {0xffffffff}
 
uint m_pidPmtSingleProgram {0xffffffff}
 
uint m_pmtSingleProgramNumVideo {1}
 
uint m_pmtSingleProgramNumAudio {0}
 
ProgramAssociationTablem_patSingleProgram {nullptr}
 
ProgramMapTablem_pmtSingleProgram {nullptr}
 

Detailed Description

Encapsulates data about ATSC stream and emits events for most tables.

Definition at line 28 of file atscstreamdata.h.

Constructor & Destructor Documentation

◆ ATSCStreamData()

ATSCStreamData::ATSCStreamData ( int  desiredMajorChannel,
int  desiredMinorChannel,
int  cardnum,
bool  cacheTables = false 
)

Initializes ATSCStreamData.

This adds the PID of the PAT and ATSC PSIP tables to "_pids_listening"

Parameters
desiredMajorChannelIf you want rewritten PAT and PMTs for a desired channel set this to a value greater than zero.
desiredMinorChannelIf you want rewritten PAT and PMTs for a desired channel set this to a value greater than zero.
cardnumThe card number that this stream is on. Currently only used for differentiating streams in log messages.
cacheTablesIf true important tables will be cached.

Definition at line 35 of file atscstreamdata.cpp.

◆ ~ATSCStreamData()

ATSCStreamData::~ATSCStreamData ( )
override

Definition at line 46 of file atscstreamdata.cpp.

Member Function Documentation

◆ Reset() [1/3]

void ATSCStreamData::Reset ( void  )
inlineoverridevirtual

Reimplemented from MPEGStreamData.

Reimplemented in ScanStreamData.

Definition at line 36 of file atscstreamdata.h.

Referenced by ScanStreamData::Reset(), Reset(), SetDesiredChannel(), and ~ATSCStreamData().

◆ Reset() [2/3]

void ATSCStreamData::Reset ( int  desiredProgram)
overridevirtual

Reimplemented from MPEGStreamData.

Definition at line 112 of file atscstreamdata.cpp.

◆ Reset() [3/3]

void ATSCStreamData::Reset ( int  desiredMajorChannel,
int  desiredMinorChannel 
)

Definition at line 118 of file atscstreamdata.cpp.

◆ SetDesiredChannel()

void ATSCStreamData::SetDesiredChannel ( int  major,
int  minor 
)

Definition at line 59 of file atscstreamdata.cpp.

Referenced by DTVSignalMonitor::SetChannel().

◆ HandleTables()

bool ATSCStreamData::HandleTables ( uint  pid,
const PSIPTable psip 
)
overridevirtual

Process PSIP packets.

Reimplemented from MPEGStreamData.

Reimplemented in ScanStreamData.

Definition at line 206 of file atscstreamdata.cpp.

Referenced by ScanStreamData::HandleTables().

◆ IsRedundant()

bool ATSCStreamData::IsRedundant ( uint  pid,
const PSIPTable psip 
) const
overridevirtual

Returns true if table already seen.

Todo:

All RRT tables are ignored

We don't check the start time of EIT and ETT tables in the version check, so many tables are improperly ignored.

Reimplemented from MPEGStreamData.

Reimplemented in ScanStreamData.

Definition at line 158 of file atscstreamdata.cpp.

Referenced by HandleTables(), and ScanStreamData::IsRedundant().

◆ GPSOffset()

uint ATSCStreamData::GPSOffset ( void  ) const
inline

Current UTC to GPS time offset in seconds.

Definition at line 46 of file atscstreamdata.h.

Referenced by HandleTables().

◆ GetATSCMajorMinor()

uint ATSCStreamData::GetATSCMajorMinor ( uint  eit_sourceid) const
inline

Definition at line 160 of file atscstreamdata.h.

Referenced by HandleTables().

◆ HasATSCMajorMinorMap()

bool ATSCStreamData::HasATSCMajorMinorMap ( void  ) const
inline

Definition at line 166 of file atscstreamdata.h.

◆ HasEITPIDChanges()

bool ATSCStreamData::HasEITPIDChanges ( const uint_vec_t in_use_pid) const
overridevirtual

Reimplemented from MPEGStreamData.

Reimplemented in ScanStreamData.

Definition at line 480 of file atscstreamdata.cpp.

◆ GetEITPIDChanges()

bool ATSCStreamData::GetEITPIDChanges ( const uint_vec_t cur_pids,
uint_vec_t add_pids,
uint_vec_t del_pids 
) const
overridevirtual

Reimplemented from MPEGStreamData.

Reimplemented in ScanStreamData.

Definition at line 488 of file atscstreamdata.cpp.

◆ SetVersionMGT()

void ATSCStreamData::SetVersionMGT ( int  version)
inline

Definition at line 56 of file atscstreamdata.h.

Referenced by HandleTables().

◆ SetVersionTVCT()

void ATSCStreamData::SetVersionTVCT ( uint  tsid,
int  version 
)
inline

Definition at line 58 of file atscstreamdata.h.

Referenced by HandleTables(), and DTVSignalMonitor::HandleTVCT().

◆ SetVersionCVCT()

void ATSCStreamData::SetVersionCVCT ( uint  tsid,
int  version 
)
inline

Definition at line 60 of file atscstreamdata.h.

Referenced by DTVSignalMonitor::HandleCVCT(), and HandleTables().

◆ SetVersionRRT()

void ATSCStreamData::SetVersionRRT ( uint  region,
int  version 
)
inline

Definition at line 62 of file atscstreamdata.h.

Referenced by HandleTables().

◆ VersionMGT()

int ATSCStreamData::VersionMGT ( ) const
inline

Definition at line 65 of file atscstreamdata.h.

Referenced by IsRedundant().

◆ VersionTVCT()

int ATSCStreamData::VersionTVCT ( uint  tsid) const
inline

Definition at line 172 of file atscstreamdata.h.

Referenced by IsRedundant().

◆ VersionCVCT()

int ATSCStreamData::VersionCVCT ( uint  tsid) const
inline

Definition at line 180 of file atscstreamdata.h.

Referenced by IsRedundant().

◆ VersionRRT()

int ATSCStreamData::VersionRRT ( uint  region) const
inline

Definition at line 188 of file atscstreamdata.h.

Referenced by IsRedundant().

◆ HasCachedMGT()

bool ATSCStreamData::HasCachedMGT ( bool  current = true) const

◆ HasCachedTVCT()

bool ATSCStreamData::HasCachedTVCT ( uint  pid,
bool  current = true 
) const

Definition at line 651 of file atscstreamdata.cpp.

Referenced by HasCachedAllTVCTs().

◆ HasCachedCVCT()

bool ATSCStreamData::HasCachedCVCT ( uint  pid,
bool  current = true 
) const

Definition at line 665 of file atscstreamdata.cpp.

Referenced by HasCachedAllCVCTs().

◆ HasCachedAllTVCTs()

bool ATSCStreamData::HasCachedAllTVCTs ( bool  current = true) const

Definition at line 679 of file atscstreamdata.cpp.

Referenced by ChannelScanSM::UpdateChannelInfo().

◆ HasCachedAllCVCTs()

bool ATSCStreamData::HasCachedAllCVCTs ( bool  current = true) const

Definition at line 700 of file atscstreamdata.cpp.

Referenced by ChannelScanSM::UpdateChannelInfo().

◆ HasCachedAllVCTs()

bool ATSCStreamData::HasCachedAllVCTs ( bool  current = true) const
inline

Definition at line 77 of file atscstreamdata.h.

◆ HasCachedAnyTVCTs()

bool ATSCStreamData::HasCachedAnyTVCTs ( bool  current = true) const

Definition at line 721 of file atscstreamdata.cpp.

◆ HasCachedAnyCVCTs()

bool ATSCStreamData::HasCachedAnyCVCTs ( bool  current = true) const

Definition at line 731 of file atscstreamdata.cpp.

◆ HasCachedAnyVCTs()

bool ATSCStreamData::HasCachedAnyVCTs ( bool  current = true) const
inline

◆ GetCachedMGT()

const MasterGuideTable * ATSCStreamData::GetCachedMGT ( bool  current = true) const

◆ GetCachedTVCT()

tvct_const_ptr_t ATSCStreamData::GetCachedTVCT ( uint  pid,
bool  current = true 
) const

Definition at line 755 of file atscstreamdata.cpp.

◆ GetCachedCVCT()

cvct_const_ptr_t ATSCStreamData::GetCachedCVCT ( uint  pid,
bool  current = true 
) const

Definition at line 772 of file atscstreamdata.cpp.

◆ GetCachedTVCTs()

tvct_vec_t ATSCStreamData::GetCachedTVCTs ( bool  current = true) const

◆ GetCachedCVCTs()

cvct_vec_t ATSCStreamData::GetCachedCVCTs ( bool  current = true) const

◆ ReturnCachedTVCTTables()

void ATSCStreamData::ReturnCachedTVCTTables ( tvct_vec_t tvcts) const

◆ ReturnCachedCVCTTables()

void ATSCStreamData::ReturnCachedCVCTTables ( cvct_vec_t cvcts) const

◆ HasChannel()

bool ATSCStreamData::HasChannel ( uint  major,
uint  minor 
) const

Definition at line 623 of file atscstreamdata.cpp.

◆ DesiredMajorChannel()

int ATSCStreamData::DesiredMajorChannel ( void  ) const
inline

Definition at line 98 of file atscstreamdata.h.

◆ DesiredMinorChannel()

int ATSCStreamData::DesiredMinorChannel ( void  ) const
inline

Definition at line 99 of file atscstreamdata.h.

◆ AddATSCMainListener()

void ATSCStreamData::AddATSCMainListener ( ATSCMainStreamListener val)

Definition at line 908 of file atscstreamdata.cpp.

Referenced by DTVSignalMonitor::SetStreamData().

◆ AddSCTEMainListener()

void ATSCStreamData::AddSCTEMainListener ( SCTEMainStreamListener val)

Definition at line 933 of file atscstreamdata.cpp.

◆ AddATSCAuxListener()

void ATSCStreamData::AddATSCAuxListener ( ATSCAuxStreamListener val)

Definition at line 958 of file atscstreamdata.cpp.

Referenced by DTVSignalMonitor::SetStreamData().

◆ AddATSCEITListener()

void ATSCStreamData::AddATSCEITListener ( ATSCEITStreamListener val)

Definition at line 983 of file atscstreamdata.cpp.

◆ AddATSC81EITListener()

void ATSCStreamData::AddATSC81EITListener ( ATSC81EITStreamListener val)

Definition at line 1008 of file atscstreamdata.cpp.

◆ RemoveATSCMainListener()

void ATSCStreamData::RemoveATSCMainListener ( ATSCMainStreamListener val)

Definition at line 919 of file atscstreamdata.cpp.

Referenced by DTVSignalMonitor::SetStreamData().

◆ RemoveSCTEMainListener()

void ATSCStreamData::RemoveSCTEMainListener ( SCTEMainStreamListener val)

Definition at line 944 of file atscstreamdata.cpp.

◆ RemoveATSCAuxListener()

void ATSCStreamData::RemoveATSCAuxListener ( ATSCAuxStreamListener val)

Definition at line 969 of file atscstreamdata.cpp.

Referenced by DTVSignalMonitor::SetStreamData().

◆ RemoveATSCEITListener()

void ATSCStreamData::RemoveATSCEITListener ( ATSCEITStreamListener val)

Definition at line 994 of file atscstreamdata.cpp.

◆ RemoveATSC81EITListener()

void ATSCStreamData::RemoveATSC81EITListener ( ATSC81EITStreamListener val)

Definition at line 1019 of file atscstreamdata.cpp.

◆ ProcessMGT()

void ATSCStreamData::ProcessMGT ( const MasterGuideTable mgt)
private

Definition at line 531 of file atscstreamdata.cpp.

Referenced by HandleTables(), and SetDesiredChannel().

◆ ProcessVCT()

void ATSCStreamData::ProcessVCT ( uint  tsid,
const VirtualChannelTable vct 
)
private

Definition at line 560 of file atscstreamdata.cpp.

Referenced by ProcessCVCT(), and ProcessTVCT().

◆ ProcessTVCT()

void ATSCStreamData::ProcessTVCT ( uint  tsid,
const TerrestrialVirtualChannelTable vct 
)
private

Definition at line 596 of file atscstreamdata.cpp.

Referenced by HandleTables(), and SetDesiredChannel().

◆ ProcessCVCT()

void ATSCStreamData::ProcessCVCT ( uint  tsid,
const CableVirtualChannelTable vct 
)
private

Definition at line 605 of file atscstreamdata.cpp.

Referenced by HandleTables(), and SetDesiredChannel().

◆ CacheMGT()

void ATSCStreamData::CacheMGT ( MasterGuideTable mgt)
private

Definition at line 829 of file atscstreamdata.cpp.

Referenced by HandleTables().

◆ CacheTVCT()

void ATSCStreamData::CacheTVCT ( uint  pid,
TerrestrialVirtualChannelTable tvct 
)
private

Definition at line 837 of file atscstreamdata.cpp.

Referenced by HandleTables().

◆ CacheCVCT()

void ATSCStreamData::CacheCVCT ( uint  pid,
CableVirtualChannelTable cvct 
)
private

Definition at line 845 of file atscstreamdata.cpp.

Referenced by HandleTables().

◆ DeleteCachedTable()

bool ATSCStreamData::DeleteCachedTable ( const PSIPTable psip) const
overrideprotectedvirtual

Reimplemented from MPEGStreamData.

Reimplemented in ScanStreamData.

Definition at line 853 of file atscstreamdata.cpp.

Referenced by CacheCVCT(), CacheMGT(), CacheTVCT(), ScanStreamData::DeleteCachedTable(), and Reset().

Member Data Documentation

◆ m_gpsUtcOffset

uint ATSCStreamData::m_gpsUtcOffset { GPS_LEAP_SECONDS }
private

Definition at line 127 of file atscstreamdata.h.

Referenced by HandleTables().

◆ m_atscEitReset

bool ATSCStreamData::m_atscEitReset { false }
mutableprivate

Definition at line 128 of file atscstreamdata.h.

Referenced by GetEITPIDChanges(), HasEITPIDChanges(), and ProcessMGT().

◆ m_atscEitPids

atsc_eit_pid_map_t ATSCStreamData::m_atscEitPids
private

Definition at line 129 of file atscstreamdata.h.

Referenced by GetEITPIDChanges(), HasEITPIDChanges(), ProcessMGT(), and Reset().

◆ m_atscEttPids

atsc_ett_pid_map_t ATSCStreamData::m_atscEttPids
private

Definition at line 130 of file atscstreamdata.h.

Referenced by GetEITPIDChanges(), HasEITPIDChanges(), ProcessMGT(), and Reset().

◆ m_sourceIdToAtscMajMin

QMap<uint,uint> ATSCStreamData::m_sourceIdToAtscMajMin
private

Definition at line 132 of file atscstreamdata.h.

Referenced by GetATSCMajorMinor(), HasATSCMajorMinorMap(), ProcessVCT(), and Reset().

◆ m_atscMainListeners

atsc_main_listener_vec_t ATSCStreamData::m_atscMainListeners
private

◆ m_scteMainlisteners

scte_main_listener_vec_t ATSCStreamData::m_scteMainlisteners
private

◆ m_atscAuxListeners

atsc_aux_listener_vec_t ATSCStreamData::m_atscAuxListeners
private

◆ m_atscEitListeners

atsc_eit_listener_vec_t ATSCStreamData::m_atscEitListeners
private

◆ m_atsc81EitListeners

atsc81_eit_listener_vec_t ATSCStreamData::m_atsc81EitListeners
private

◆ m_mgtVersion

int ATSCStreamData::m_mgtVersion { -1 }
private

Definition at line 143 of file atscstreamdata.h.

Referenced by Reset().

◆ m_tvctVersion

QMap<uint, int> ATSCStreamData::m_tvctVersion
private

Definition at line 144 of file atscstreamdata.h.

Referenced by Reset(), and VersionTVCT().

◆ m_cvctVersion

QMap<uint, int> ATSCStreamData::m_cvctVersion
private

Definition at line 145 of file atscstreamdata.h.

Referenced by Reset(), and VersionCVCT().

◆ m_rrtVersion

QMap<uint, int> ATSCStreamData::m_rrtVersion
private

Definition at line 146 of file atscstreamdata.h.

Referenced by VersionRRT().

◆ m_eitStatus

TableStatusMap ATSCStreamData::m_eitStatus
private

Definition at line 147 of file atscstreamdata.h.

Referenced by HandleTables(), IsRedundant(), and Reset().

◆ m_cachedMgt

MasterGuideTable* ATSCStreamData::m_cachedMgt { nullptr }
mutableprivate

◆ m_cachedTvcts

tvct_cache_t ATSCStreamData::m_cachedTvcts
mutableprivate

◆ m_cachedCvcts

cvct_cache_t ATSCStreamData::m_cachedCvcts
mutableprivate

◆ m_desiredMajorChannel

int ATSCStreamData::m_desiredMajorChannel
private

Definition at line 155 of file atscstreamdata.h.

Referenced by Reset(), and SetDesiredChannel().

◆ m_desiredMinorChannel

int ATSCStreamData::m_desiredMinorChannel
private

Definition at line 156 of file atscstreamdata.h.

Referenced by Reset(), and SetDesiredChannel().


The documentation for this class was generated from the following files: