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...
 
virtual ~ATSCStreamData ()
 
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
 Assembles PSIP packets and processes them. More...
 
bool IsRedundant (uint, const PSIPTable &) 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 &) const
 
void ReturnCachedCVCTTables (cvct_vec_t &) const
 
bool HasChannel (uint major, uint minor) const
 
int DesiredMajorChannel (void) const
 
int DesiredMinorChannel (void) const
 
void AddATSCMainListener (ATSCMainStreamListener *)
 
void AddSCTEMainListener (SCTEMainStreamListener *)
 
void AddATSCAuxListener (ATSCAuxStreamListener *)
 
void AddATSCEITListener (ATSCEITStreamListener *)
 
void AddATSC81EITListener (ATSC81EITStreamListener *)
 
void RemoveATSCMainListener (ATSCMainStreamListener *)
 
void RemoveSCTEMainListener (SCTEMainStreamListener *)
 
void RemoveATSCAuxListener (ATSCAuxStreamListener *)
 
void RemoveATSCEITListener (ATSCEITStreamListener *)
 
void RemoveATSC81EITListener (ATSC81EITStreamListener *)
 
- Public Member Functions inherited from MPEGStreamData
 MPEGStreamData (int desiredProgram, int cardnum, bool cacheTables)
 Initializes MPEGStreamData. More...
 
virtual ~MPEGStreamData ()
 
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 &) 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 &) const
 
virtual void ReturnCachedPATTables (pat_map_t &) const
 
virtual void ReturnCachedCATTables (cat_vec_t &) const
 
virtual void ReturnCachedCATTables (cat_map_t &) const
 
virtual void ReturnCachedPMTTables (pmt_vec_t &) const
 
virtual void ReturnCachedPMTTables (pmt_map_t &) 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 *)
 
void RemoveMPEGListener (MPEGStreamListener *)
 
void UpdatePAT (const ProgramAssociationTable *)
 
void UpdateCAT (const ConditionalAccessTable *)
 
void UpdatePMT (uint program_num, const ProgramMapTable *)
 
void AddWritingListener (TSPacketListener *)
 
void RemoveWritingListener (TSPacketListener *)
 
void AddMPEGSPListener (MPEGSingleProgramStreamListener *)
 
void RemoveMPEGSPListener (MPEGSingleProgramStreamListener *)
 
void AddAVListener (TSPacketListenerAV *)
 
void RemoveAVListener (TSPacketListenerAV *)
 
void UpdatePATSingleProgram (ProgramAssociationTable *)
 
void UpdatePMTSingleProgram (ProgramMapTable *)
 
void AddPSStreamListener (PSStreamListener *val)
 
void RemovePSStreamListener (PSStreamListener *val)
 
void SetDesiredProgram (int p)
 
void SetPATSingleProgram (ProgramAssociationTable *)
 
void SetPMTSingleProgram (ProgramMapTable *)
 
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 &)
 
bool CreatePMTSingleProgram (const ProgramMapTable &)
 

Protected Member Functions

bool DeleteCachedTable (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 &)
 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 *)
 
void ProcessVCT (uint tsid, const VirtualChannelTable *)
 
void ProcessTVCT (uint tsid, const TerrestrialVirtualChannelTable *)
 
void ProcessCVCT (uint tsid, const CableVirtualChannelTable *)
 
void CacheMGT (MasterGuideTable *)
 
void CacheTVCT (uint pid, TerrestrialVirtualChannelTable *)
 
void CacheCVCT (uint pid, CableVirtualChannelTable *)
 

Private Attributes

uint _GPS_UTC_offset
 
bool _atsc_eit_reset
 
atsc_eit_pid_map_t _atsc_eit_pids
 
atsc_ett_pid_map_t _atsc_ett_pids
 
QMap< uint, uint_sourceid_to_atsc_maj_min
 
atsc_main_listener_vec_t _atsc_main_listeners
 
scte_main_listener_vec_t _scte_main_listeners
 
atsc_aux_listener_vec_t _atsc_aux_listeners
 
atsc_eit_listener_vec_t _atsc_eit_listeners
 
atsc81_eit_listener_vec_t _atsc81_eit_listeners
 
int _mgt_version
 
QMap< uint, int > _tvct_version
 
QMap< uint, int > _cvct_version
 
QMap< uint, int > _rrt_version
 
TableStatusMap _eit_status
 
MasterGuideTable_cached_mgt
 
tvct_cache_t _cached_tvcts
 
cvct_cache_t _cached_cvcts
 
int _desired_major_channel
 
int _desired_minor_channel
 

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 _cardid
 
QString _sistandard
 
bool _have_CRC_bug
 
QMutex _si_time_lock
 
uint _si_time_offset_cnt
 
uint _si_time_offset_indx
 
double _si_time_offsets [16]
 
EITHelper_eit_helper
 
float _eit_rate
 
pid_map_t _pids_listening
 
pid_map_t _pids_notlistening
 
pid_map_t _pids_writing
 
pid_map_t _pids_audio
 
bool _listening_disabled
 
QMutex _encryption_lock
 
QMap< uint, CryptInfo_encryption_pid_to_info
 
QMap< uint, uint_vec_t_encryption_pnum_to_pids
 
QMap< uint, uint_vec_t_encryption_pid_to_pnums
 
QMap< uint, CryptStatus_encryption_pnum_to_status
 
QMutex _listener_lock
 
mpeg_listener_vec_t _mpeg_listeners
 
mpeg_sp_listener_vec_t _mpeg_sp_listeners
 
ts_listener_vec_t _ts_writing_listeners
 
ts_av_listener_vec_t _ts_av_listeners
 
ps_listener_vec_t _ps_listeners
 
TableStatusMap _pat_status
 
TableStatusMap _cat_status
 
TableStatusMap _pmt_status
 
pid_psip_map_t _partial_psip_packet_cache
 
bool _cache_tables
 
QMutex _cache_lock
 
pat_cache_t _cached_pats
 
cat_cache_t _cached_cats
 
pmt_cache_t _cached_pmts
 
psip_refcnt_map_t _cached_ref_cnt
 
psip_refcnt_map_t _cached_slated_for_deletion
 
int _desired_program
 
QString _recording_type
 
bool _strip_pmt_descriptors
 
bool _normalize_stream_type
 
uint _pid_video_single_program
 
uint _pid_pmt_single_program
 
uint _pmt_single_program_num_video
 
uint _pmt_single_program_num_audio
 
ProgramAssociationTable_pat_single_program
 
ProgramMapTable_pmt_single_program
 

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 ( )
virtual

Definition at line 50 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(), TVRec::SetupDTVSignalMonitor(), and ~ATSCStreamData().

◆ Reset() [2/3]

void ATSCStreamData::Reset ( int  desiredProgram)
overridevirtual

Reimplemented from MPEGStreamData.

Definition at line 116 of file atscstreamdata.cpp.

◆ Reset() [3/3]

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

Definition at line 122 of file atscstreamdata.cpp.

◆ SetDesiredChannel()

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

◆ HandleTables()

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

Assembles PSIP packets and processes them.

Reimplemented from MPEGStreamData.

Reimplemented in ScanStreamData.

Definition at line 212 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 164 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 488 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 496 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 659 of file atscstreamdata.cpp.

Referenced by HasCachedAllTVCTs().

◆ HasCachedCVCT()

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

Definition at line 673 of file atscstreamdata.cpp.

Referenced by HasCachedAllCVCTs().

◆ HasCachedAllTVCTs()

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

Definition at line 687 of file atscstreamdata.cpp.

Referenced by ChannelScanSM::UpdateChannelInfo().

◆ HasCachedAllCVCTs()

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

Definition at line 708 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 729 of file atscstreamdata.cpp.

◆ HasCachedAnyCVCTs()

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

Definition at line 739 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 763 of file atscstreamdata.cpp.

◆ GetCachedCVCT()

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

Definition at line 780 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 631 of file atscstreamdata.cpp.

Referenced by TVRec::TuningOnSameMultiplex().

◆ DesiredMajorChannel()

int ATSCStreamData::DesiredMajorChannel ( void  ) const
inline

Definition at line 98 of file atscstreamdata.h.

Referenced by DTVRecorder::InitStreamData().

◆ DesiredMinorChannel()

int ATSCStreamData::DesiredMinorChannel ( void  ) const
inline

Definition at line 99 of file atscstreamdata.h.

Referenced by DTVRecorder::InitStreamData().

◆ AddATSCMainListener()

void ATSCStreamData::AddATSCMainListener ( ATSCMainStreamListener val)

◆ AddSCTEMainListener()

void ATSCStreamData::AddSCTEMainListener ( SCTEMainStreamListener val)

Definition at line 945 of file atscstreamdata.cpp.

Referenced by pid_printer().

◆ AddATSCAuxListener()

void ATSCStreamData::AddATSCAuxListener ( ATSCAuxStreamListener val)

Definition at line 972 of file atscstreamdata.cpp.

Referenced by pid_printer(), and DTVSignalMonitor::SetStreamData().

◆ AddATSCEITListener()

void ATSCStreamData::AddATSCEITListener ( ATSCEITStreamListener val)

Definition at line 999 of file atscstreamdata.cpp.

Referenced by pid_printer().

◆ AddATSC81EITListener()

void ATSCStreamData::AddATSC81EITListener ( ATSC81EITStreamListener val)

Definition at line 1026 of file atscstreamdata.cpp.

◆ RemoveATSCMainListener()

void ATSCStreamData::RemoveATSCMainListener ( ATSCMainStreamListener val)

Definition at line 930 of file atscstreamdata.cpp.

Referenced by DTVSignalMonitor::SetStreamData().

◆ RemoveSCTEMainListener()

void ATSCStreamData::RemoveSCTEMainListener ( SCTEMainStreamListener val)

Definition at line 957 of file atscstreamdata.cpp.

◆ RemoveATSCAuxListener()

void ATSCStreamData::RemoveATSCAuxListener ( ATSCAuxStreamListener val)

Definition at line 984 of file atscstreamdata.cpp.

Referenced by DTVSignalMonitor::SetStreamData().

◆ RemoveATSCEITListener()

void ATSCStreamData::RemoveATSCEITListener ( ATSCEITStreamListener val)

Definition at line 1011 of file atscstreamdata.cpp.

◆ RemoveATSC81EITListener()

void ATSCStreamData::RemoveATSC81EITListener ( ATSC81EITStreamListener val)

Definition at line 1038 of file atscstreamdata.cpp.

◆ ProcessMGT()

void ATSCStreamData::ProcessMGT ( const MasterGuideTable mgt)
private

Definition at line 539 of file atscstreamdata.cpp.

Referenced by HandleTables(), and SetDesiredChannel().

◆ ProcessVCT()

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

Definition at line 568 of file atscstreamdata.cpp.

Referenced by ProcessCVCT(), and ProcessTVCT().

◆ ProcessTVCT()

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

Definition at line 604 of file atscstreamdata.cpp.

Referenced by HandleTables(), and SetDesiredChannel().

◆ ProcessCVCT()

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

Definition at line 613 of file atscstreamdata.cpp.

Referenced by HandleTables(), and SetDesiredChannel().

◆ CacheMGT()

void ATSCStreamData::CacheMGT ( MasterGuideTable mgt)
private

Definition at line 839 of file atscstreamdata.cpp.

Referenced by HandleTables().

◆ CacheTVCT()

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

Definition at line 847 of file atscstreamdata.cpp.

Referenced by HandleTables().

◆ CacheCVCT()

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

Definition at line 855 of file atscstreamdata.cpp.

Referenced by HandleTables().

◆ DeleteCachedTable()

bool ATSCStreamData::DeleteCachedTable ( PSIPTable psip) const
overrideprotectedvirtual

Reimplemented from MPEGStreamData.

Reimplemented in ScanStreamData.

Definition at line 863 of file atscstreamdata.cpp.

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

Member Data Documentation

◆ _GPS_UTC_offset

uint ATSCStreamData::_GPS_UTC_offset
private

Definition at line 127 of file atscstreamdata.h.

Referenced by HandleTables().

◆ _atsc_eit_reset

bool ATSCStreamData::_atsc_eit_reset
mutableprivate

Definition at line 128 of file atscstreamdata.h.

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

◆ _atsc_eit_pids

atsc_eit_pid_map_t ATSCStreamData::_atsc_eit_pids
private

Definition at line 129 of file atscstreamdata.h.

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

◆ _atsc_ett_pids

atsc_ett_pid_map_t ATSCStreamData::_atsc_ett_pids
private

Definition at line 130 of file atscstreamdata.h.

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

◆ _sourceid_to_atsc_maj_min

QMap<uint,uint> ATSCStreamData::_sourceid_to_atsc_maj_min
private

Definition at line 132 of file atscstreamdata.h.

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

◆ _atsc_main_listeners

atsc_main_listener_vec_t ATSCStreamData::_atsc_main_listeners
private

◆ _scte_main_listeners

scte_main_listener_vec_t ATSCStreamData::_scte_main_listeners
private

◆ _atsc_aux_listeners

atsc_aux_listener_vec_t ATSCStreamData::_atsc_aux_listeners
private

◆ _atsc_eit_listeners

atsc_eit_listener_vec_t ATSCStreamData::_atsc_eit_listeners
private

◆ _atsc81_eit_listeners

atsc81_eit_listener_vec_t ATSCStreamData::_atsc81_eit_listeners
private

◆ _mgt_version

int ATSCStreamData::_mgt_version
private

Definition at line 143 of file atscstreamdata.h.

Referenced by Reset().

◆ _tvct_version

QMap<uint, int> ATSCStreamData::_tvct_version
private

Definition at line 144 of file atscstreamdata.h.

Referenced by Reset(), and VersionTVCT().

◆ _cvct_version

QMap<uint, int> ATSCStreamData::_cvct_version
private

Definition at line 145 of file atscstreamdata.h.

Referenced by Reset(), and VersionCVCT().

◆ _rrt_version

QMap<uint, int> ATSCStreamData::_rrt_version
private

Definition at line 146 of file atscstreamdata.h.

Referenced by VersionRRT().

◆ _eit_status

TableStatusMap ATSCStreamData::_eit_status
private

Definition at line 147 of file atscstreamdata.h.

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

◆ _cached_mgt

MasterGuideTable* ATSCStreamData::_cached_mgt
mutableprivate

◆ _cached_tvcts

tvct_cache_t ATSCStreamData::_cached_tvcts
mutableprivate

◆ _cached_cvcts

cvct_cache_t ATSCStreamData::_cached_cvcts
mutableprivate

◆ _desired_major_channel

int ATSCStreamData::_desired_major_channel
private

Definition at line 155 of file atscstreamdata.h.

Referenced by Reset(), and SetDesiredChannel().

◆ _desired_minor_channel

int ATSCStreamData::_desired_minor_channel
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: