|
MythTV
0.26-pre
|
Encapsulates data about ATSC stream and emits events for most tables. More...
#include <atscstreamdata.h>
Encapsulates data about ATSC stream and emits events for most tables.
Definition at line 25 of file atscstreamdata.h.
| ATSCStreamData::ATSCStreamData | ( | int | desiredMajorChannel, |
| int | desiredMinorChannel, | ||
| bool | cacheTables = false |
||
| ) |
Initializes ATSCStreamData.
This adds the PID of the PAT and ATSC PSIP tables to "_pids_listening"
| desiredMajorChannel | If you want rewritten PAT and PMTs for a desired channel set this to a value greater than zero. |
| desiredMinorChannel | If you want rewritten PAT and PMTs for a desired channel set this to a value greater than zero. |
| cacheTables | If true important tables will be cached. |
Definition at line 32 of file atscstreamdata.cpp.
| ATSCStreamData::~ATSCStreamData | ( | ) | [virtual] |
Definition at line 47 of file atscstreamdata.cpp.
| void ATSCStreamData::Reset | ( | void | ) | [inline, virtual] |
Reimplemented from MPEGStreamData.
Reimplemented in ScanStreamData.
Definition at line 33 of file atscstreamdata.h.
Referenced by Reset(), SetDesiredChannel(), TVRec::SetupDTVSignalMonitor(), and ~ATSCStreamData().
| void ATSCStreamData::Reset | ( | int | desiredProgram | ) | [virtual] |
Reimplemented from MPEGStreamData.
Definition at line 113 of file atscstreamdata.cpp.
| void ATSCStreamData::Reset | ( | int | desiredMajorChannel, |
| int | desiredMinorChannel | ||
| ) |
Definition at line 119 of file atscstreamdata.cpp.
| void ATSCStreamData::SetDesiredChannel | ( | int | major, |
| int | minor | ||
| ) |
Definition at line 60 of file atscstreamdata.cpp.
Referenced by DTVSignalMonitor::SetChannel(), DTVRecorder::SetStreamData(), and TVRec::TuningFrequency().
| bool ATSCStreamData::HandleTables | ( | uint | pid, |
| const PSIPTable & | psip | ||
| ) | [virtual] |
Assembles PSIP packets and processes them.
Reimplemented from MPEGStreamData.
Reimplemented in ScanStreamData.
Definition at line 211 of file atscstreamdata.cpp.
| bool ATSCStreamData::IsRedundant | ( | uint | pid, |
| const PSIPTable & | psip | ||
| ) | const [virtual] |
Returns true if table already seen.
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 162 of file atscstreamdata.cpp.
Referenced by HandleTables(), and ScanStreamData::IsRedundant().
| uint ATSCStreamData::GPSOffset | ( | void | ) | const [inline] |
Current UTC to GPS time offset in seconds.
Definition at line 43 of file atscstreamdata.h.
Referenced by HandleTables().
| uint ATSCStreamData::GetATSCMajorMinor | ( | uint | eit_sourceid | ) | const [inline] |
Definition at line 170 of file atscstreamdata.h.
Referenced by HandleTables().
| bool ATSCStreamData::HasATSCMajorMinorMap | ( | void | ) | const [inline] |
Definition at line 176 of file atscstreamdata.h.
| bool ATSCStreamData::HasEITPIDChanges | ( | const uint_vec_t & | in_use_pid | ) | const [virtual] |
Reimplemented from MPEGStreamData.
Reimplemented in ScanStreamData.
Definition at line 509 of file atscstreamdata.cpp.
| bool ATSCStreamData::GetEITPIDChanges | ( | const uint_vec_t & | in_use_pid, |
| uint_vec_t & | pids_to_add, | ||
| uint_vec_t & | pids_to_del | ||
| ) | const [virtual] |
Reimplemented from MPEGStreamData.
Reimplemented in ScanStreamData.
Definition at line 517 of file atscstreamdata.cpp.
| void ATSCStreamData::SetVersionMGT | ( | int | version | ) | [inline] |
Definition at line 53 of file atscstreamdata.h.
Referenced by HandleTables().
| void ATSCStreamData::SetVersionTVCT | ( | uint | tsid, |
| int | version | ||
| ) | [inline] |
Definition at line 55 of file atscstreamdata.h.
Referenced by HandleTables(), and DTVSignalMonitor::HandleTVCT().
| void ATSCStreamData::SetVersionCVCT | ( | uint | tsid, |
| int | version | ||
| ) | [inline] |
Definition at line 57 of file atscstreamdata.h.
Referenced by DTVSignalMonitor::HandleCVCT(), and HandleTables().
| void ATSCStreamData::SetVersionRRT | ( | uint | region, |
| int | version | ||
| ) | [inline] |
Definition at line 59 of file atscstreamdata.h.
Referenced by HandleTables().
| void ATSCStreamData::SetVersionEIT | ( | uint | pid, |
| uint | atsc_source_id, | ||
| int | version | ||
| ) | [inline] |
Definition at line 61 of file atscstreamdata.h.
Referenced by HandleTables().
| void ATSCStreamData::SetEITSectionSeen | ( | uint | pid, |
| uint | atsc_source_id, | ||
| uint | section | ||
| ) |
Definition at line 486 of file atscstreamdata.cpp.
Referenced by HandleTables().
| int ATSCStreamData::VersionMGT | ( | ) | const [inline] |
Definition at line 72 of file atscstreamdata.h.
Referenced by IsRedundant().
| int ATSCStreamData::VersionTVCT | ( | uint | tsid | ) | const [inline] |
Definition at line 182 of file atscstreamdata.h.
Referenced by IsRedundant().
| int ATSCStreamData::VersionCVCT | ( | uint | tsid | ) | const [inline] |
Definition at line 190 of file atscstreamdata.h.
Referenced by IsRedundant().
| int ATSCStreamData::VersionRRT | ( | uint | region | ) | const [inline] |
Definition at line 198 of file atscstreamdata.h.
Referenced by IsRedundant().
| int ATSCStreamData::VersionEIT | ( | uint | pid, |
| uint | atsc_sourceid | ||
| ) | const [inline] |
Definition at line 206 of file atscstreamdata.h.
Referenced by HandleTables(), and IsRedundant().
| bool ATSCStreamData::EITSectionSeen | ( | uint | pid, |
| uint | atsc_source_id, | ||
| uint | section | ||
| ) | const |
Definition at line 499 of file atscstreamdata.cpp.
Referenced by IsRedundant().
| bool ATSCStreamData::HasCachedMGT | ( | bool | current = true | ) | const |
Definition at line 643 of file atscstreamdata.cpp.
Referenced by ScanStreamData::GetSIStandard(), ChannelScanSM::HasTimedOut(), and ChannelScanSM::UpdateChannelInfo().
| bool ATSCStreamData::HasCachedTVCT | ( | uint | pid, |
| bool | current = true |
||
| ) | const |
Definition at line 679 of file atscstreamdata.cpp.
Referenced by HasCachedAllTVCTs().
| bool ATSCStreamData::HasCachedCVCT | ( | uint | pid, |
| bool | current = true |
||
| ) | const |
Definition at line 692 of file atscstreamdata.cpp.
Referenced by HasCachedAllCVCTs().
| bool ATSCStreamData::HasCachedAllTVCTs | ( | bool | current = true | ) | const |
Definition at line 705 of file atscstreamdata.cpp.
Referenced by ChannelScanSM::UpdateChannelInfo().
| bool ATSCStreamData::HasCachedAllCVCTs | ( | bool | current = true | ) | const |
Definition at line 725 of file atscstreamdata.cpp.
Referenced by ChannelScanSM::UpdateChannelInfo().
| bool ATSCStreamData::HasCachedAllVCTs | ( | bool | current = true | ) | const [inline] |
Definition at line 86 of file atscstreamdata.h.
| bool ATSCStreamData::HasCachedAnyTVCTs | ( | bool | current = true | ) | const |
Definition at line 745 of file atscstreamdata.cpp.
| bool ATSCStreamData::HasCachedAnyCVCTs | ( | bool | current = true | ) | const |
Definition at line 754 of file atscstreamdata.cpp.
| bool ATSCStreamData::HasCachedAnyVCTs | ( | bool | current = true | ) | const [inline] |
Definition at line 91 of file atscstreamdata.h.
Referenced by ChannelScanSM::HasTimedOut(), and ChannelScanSM::UpdateChannelInfo().
| const MasterGuideTable * ATSCStreamData::GetCachedMGT | ( | bool | current = true | ) | const |
Definition at line 763 of file atscstreamdata.cpp.
Referenced by GetPidsToCache(), SetDesiredChannel(), and ChannelScanSM::UpdateChannelInfo().
| const tvct_ptr_t ATSCStreamData::GetCachedTVCT | ( | uint | pid, |
| bool | current = true |
||
| ) | const |
Definition at line 776 of file atscstreamdata.cpp.
| const cvct_ptr_t ATSCStreamData::GetCachedCVCT | ( | uint | pid, |
| bool | current = true |
||
| ) | const |
Definition at line 792 of file atscstreamdata.cpp.
| tvct_vec_t ATSCStreamData::GetCachedTVCTs | ( | bool | current = true | ) | const |
Definition at line 808 of file atscstreamdata.cpp.
Referenced by MPEGStreamData::CreatePMTSingleProgram(), HasChannel(), SetDesiredChannel(), and ChannelScanSM::UpdateChannelInfo().
| cvct_vec_t ATSCStreamData::GetCachedCVCTs | ( | bool | current = true | ) | const |
Definition at line 828 of file atscstreamdata.cpp.
Referenced by HasChannel(), SetDesiredChannel(), and ChannelScanSM::UpdateChannelInfo().
| void ATSCStreamData::ReturnCachedTVCTTables | ( | tvct_vec_t & | tvcts | ) | const |
Definition at line 913 of file atscstreamdata.cpp.
Referenced by MPEGStreamData::CreatePMTSingleProgram(), HasChannel(), and SetDesiredChannel().
| void ATSCStreamData::ReturnCachedCVCTTables | ( | cvct_vec_t & | cvcts | ) | const |
Definition at line 920 of file atscstreamdata.cpp.
Referenced by MPEGStreamData::CreatePMTSingleProgram(), HasChannel(), and SetDesiredChannel().
| bool ATSCStreamData::HasChannel | ( | uint | major, |
| uint | minor | ||
| ) | const |
Definition at line 651 of file atscstreamdata.cpp.
Referenced by TVRec::TuningOnSameMultiplex().
| int ATSCStreamData::DesiredMajorChannel | ( | void | ) | const [inline] |
Definition at line 107 of file atscstreamdata.h.
Referenced by DTVRecorder::SetStreamData().
| int ATSCStreamData::DesiredMinorChannel | ( | void | ) | const [inline] |
Definition at line 108 of file atscstreamdata.h.
Referenced by DTVRecorder::SetStreamData().
Definition at line 927 of file atscstreamdata.cpp.
Referenced by ChannelScanSM::ChannelScanSM(), pid_printer(), and DTVSignalMonitor::SetStreamData().
Definition at line 954 of file atscstreamdata.cpp.
Referenced by pid_printer().
Definition at line 981 of file atscstreamdata.cpp.
Referenced by pid_printer(), and DTVSignalMonitor::SetStreamData().
Definition at line 1008 of file atscstreamdata.cpp.
Referenced by pid_printer().
Definition at line 1035 of file atscstreamdata.cpp.
Definition at line 939 of file atscstreamdata.cpp.
Referenced by DTVSignalMonitor::SetStreamData().
Definition at line 966 of file atscstreamdata.cpp.
Definition at line 993 of file atscstreamdata.cpp.
Referenced by DTVSignalMonitor::SetStreamData().
Definition at line 1020 of file atscstreamdata.cpp.
Definition at line 1047 of file atscstreamdata.cpp.
| void ATSCStreamData::ProcessMGT | ( | const MasterGuideTable * | mgt | ) | [private] |
Definition at line 561 of file atscstreamdata.cpp.
Referenced by HandleTables(), and SetDesiredChannel().
| void ATSCStreamData::ProcessVCT | ( | uint | tsid, |
| const VirtualChannelTable * | vct | ||
| ) | [private] |
Definition at line 590 of file atscstreamdata.cpp.
Referenced by ProcessCVCT(), and ProcessTVCT().
| void ATSCStreamData::ProcessTVCT | ( | uint | tsid, |
| const TerrestrialVirtualChannelTable * | vct | ||
| ) | [private] |
Definition at line 625 of file atscstreamdata.cpp.
Referenced by HandleTables(), and SetDesiredChannel().
| void ATSCStreamData::ProcessCVCT | ( | uint | tsid, |
| const CableVirtualChannelTable * | vct | ||
| ) | [private] |
Definition at line 634 of file atscstreamdata.cpp.
Referenced by HandleTables(), and SetDesiredChannel().
| void ATSCStreamData::CacheMGT | ( | MasterGuideTable * | mgt | ) | [private] |
Definition at line 848 of file atscstreamdata.cpp.
Referenced by HandleTables().
| void ATSCStreamData::CacheTVCT | ( | uint | pid, |
| TerrestrialVirtualChannelTable * | tvct | ||
| ) | [private] |
Definition at line 856 of file atscstreamdata.cpp.
Referenced by HandleTables().
| void ATSCStreamData::CacheCVCT | ( | uint | pid, |
| CableVirtualChannelTable * | cvct | ||
| ) | [private] |
Definition at line 864 of file atscstreamdata.cpp.
Referenced by HandleTables().
| bool ATSCStreamData::DeleteCachedTable | ( | PSIPTable * | psip | ) | const [protected, virtual] |
Reimplemented from MPEGStreamData.
Reimplemented in ScanStreamData.
Definition at line 872 of file atscstreamdata.cpp.
Referenced by CacheCVCT(), CacheMGT(), CacheTVCT(), ScanStreamData::DeleteCachedTable(), and Reset().
uint ATSCStreamData::_GPS_UTC_offset [private] |
Definition at line 136 of file atscstreamdata.h.
Referenced by HandleTables().
bool ATSCStreamData::_atsc_eit_reset [mutable, private] |
Definition at line 137 of file atscstreamdata.h.
Referenced by GetEITPIDChanges(), HasEITPIDChanges(), and ProcessMGT().
Definition at line 138 of file atscstreamdata.h.
Referenced by GetEITPIDChanges(), HasEITPIDChanges(), ProcessMGT(), and Reset().
Definition at line 139 of file atscstreamdata.h.
Referenced by GetEITPIDChanges(), HasEITPIDChanges(), ProcessMGT(), and Reset().
QMap<uint,uint> ATSCStreamData::_sourceid_to_atsc_maj_min [private] |
Definition at line 141 of file atscstreamdata.h.
Referenced by GetATSCMajorMinor(), HasATSCMajorMinorMap(), ProcessVCT(), and Reset().
Definition at line 145 of file atscstreamdata.h.
Referenced by AddATSCMainListener(), HandleTables(), ProcessMGT(), ProcessVCT(), RemoveATSCMainListener(), and ~ATSCStreamData().
Definition at line 146 of file atscstreamdata.h.
Referenced by AddSCTEMainListener(), HandleTables(), RemoveSCTEMainListener(), and ~ATSCStreamData().
Definition at line 147 of file atscstreamdata.h.
Referenced by AddATSCAuxListener(), HandleTables(), ProcessCVCT(), ProcessTVCT(), RemoveATSCAuxListener(), and ~ATSCStreamData().
Definition at line 148 of file atscstreamdata.h.
Referenced by AddATSCEITListener(), HandleTables(), RemoveATSCEITListener(), and ~ATSCStreamData().
Definition at line 149 of file atscstreamdata.h.
Referenced by AddATSC81EITListener(), HandleTables(), RemoveATSC81EITListener(), and ~ATSCStreamData().
int ATSCStreamData::_mgt_version [private] |
Definition at line 152 of file atscstreamdata.h.
Referenced by Reset().
QMap<uint, int> ATSCStreamData::_tvct_version [private] |
Definition at line 153 of file atscstreamdata.h.
Referenced by Reset(), and VersionTVCT().
QMap<uint, int> ATSCStreamData::_cvct_version [private] |
Definition at line 154 of file atscstreamdata.h.
Referenced by Reset(), and VersionCVCT().
QMap<uint, int> ATSCStreamData::_rrt_version [private] |
Definition at line 155 of file atscstreamdata.h.
Referenced by VersionRRT().
QMap<uint, int> ATSCStreamData::_eit_version [private] |
Definition at line 156 of file atscstreamdata.h.
Referenced by Reset(), and VersionEIT().
Definition at line 157 of file atscstreamdata.h.
Referenced by EITSectionSeen(), Reset(), and SetEITSectionSeen().
MasterGuideTable* ATSCStreamData::_cached_mgt [mutable, private] |
Definition at line 160 of file atscstreamdata.h.
Referenced by CacheMGT(), DeleteCachedTable(), GetCachedMGT(), HasCachedAllCVCTs(), HasCachedAllTVCTs(), HasCachedMGT(), and Reset().
tvct_cache_t ATSCStreamData::_cached_tvcts [mutable, private] |
Definition at line 161 of file atscstreamdata.h.
Referenced by CacheTVCT(), DeleteCachedTable(), GetCachedTVCT(), GetCachedTVCTs(), HasCachedAnyTVCTs(), HasCachedTVCT(), and Reset().
cvct_cache_t ATSCStreamData::_cached_cvcts [mutable, private] |
Definition at line 162 of file atscstreamdata.h.
Referenced by CacheCVCT(), DeleteCachedTable(), GetCachedCVCT(), GetCachedCVCTs(), HasCachedAnyCVCTs(), HasCachedCVCT(), and Reset().
int ATSCStreamData::_desired_major_channel [private] |
Definition at line 165 of file atscstreamdata.h.
Referenced by Reset(), and SetDesiredChannel().
int ATSCStreamData::_desired_minor_channel [private] |
Definition at line 166 of file atscstreamdata.h.
Referenced by Reset(), and SetDesiredChannel().
1.7.6.1