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

Encapsulates data about MPEG stream and emits events for each table. More...

#include <mpegstreamdata.h>

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

Public Member Functions

 MPEGStreamData (int desiredProgram, int cardnum, bool cacheTables)
 Initializes MPEGStreamData. More...
 
 ~MPEGStreamData () override
 
void SetCaching (bool cacheTables)
 
void SetListeningDisabled (bool lt)
 
virtual void Reset (void)
 
virtual void Reset (int desiredProgram)
 
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
 
virtual bool HasEITPIDChanges (const uint_vec_t &) const
 
virtual bool GetEITPIDChanges (const uint_vec_t &, uint_vec_t &, uint_vec_t &) const
 
void SetIgnoreCRC (bool haveCRCbug)
 
virtual bool IsRedundant (uint pid, const PSIPTable &psip) const
 Returns true if table already seen. More...
 
virtual bool HandleTables (uint pid, const PSIPTable &psip)
 Process PSIP packets. More...
 
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 AddConditionalAccessPID (uint pid, PIDPriority priority=kPIDPriorityNormal)
 
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
 
virtual bool IsConditionalAccessPID (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

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
 
virtual bool DeleteCachedTable (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
 

Static Protected Member Functions

static int ResyncStream (const unsigned char *buffer, int curr_pos, int len)
 

Protected Attributes

int m_cardId
 
QString m_siStandard {"mpeg"}
 
bool m_haveCrcBug {false}
 
QMutex m_siTimeLock
 
uint m_siTimeOffsetCnt {0}
 
uint m_siTimeOffsetIndx {0}
 
std::array< double, 16 > m_siTimeOffsets {0.0}
 
EITHelperm_eitHelper {nullptr}
 
float m_eitRate {1.0F}
 
pid_map_t m_pidsListening
 
pid_map_t m_pidsNotListening
 
pid_map_t m_pidsWriting
 
pid_map_t m_pidsAudio
 
pid_map_t m_pidsConditionalAccess
 
bool m_listeningDisabled {false}
 
QRecursiveMutex m_encryptionLock
 
QMap< uint, CryptInfom_encryptionPidToInfo
 
QMap< uint, uint_vec_tm_encryptionPnumToPids
 
QMap< uint, uint_vec_tm_encryptionPidToPnums
 
QMap< uint, CryptStatusm_encryptionPnumToStatus
 
QRecursiveMutex m_listenerLock
 
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
 
QRecursiveMutex m_cacheLock
 
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}
 

Private Attributes

bool m_invalidPatSeen {false}
 
bool m_invalidPatWarning {false}
 
MythTimer m_invalidPatTimer
 

Detailed Description

Encapsulates data about MPEG stream and emits events for each table.

Definition at line 85 of file mpegstreamdata.h.

Constructor & Destructor Documentation

◆ MPEGStreamData()

MPEGStreamData::MPEGStreamData ( int  desiredProgram,
int  cardnum,
bool  cacheTables 
)

Initializes MPEGStreamData.

This adds the PID of the PAT table to "m_pidsListening"

Parameters
desiredProgramIf you want rewritten PAT and PMTs, for a desired program set this to a value > -1
cardnumThe card number that this stream is on. Currently only used for differentiating streams in log messages.
cacheTablesIf true PAT and PMT tables will be cached

Definition at line 38 of file mpegstreamdata.cpp.

◆ ~MPEGStreamData()

MPEGStreamData::~MPEGStreamData ( )
override

Definition at line 49 of file mpegstreamdata.cpp.

Member Function Documentation

◆ SetCaching()

void MPEGStreamData::SetCaching ( bool  cacheTables)
inline

Definition at line 91 of file mpegstreamdata.h.

Referenced by TVRec::SetupDTVSignalMonitor().

◆ SetListeningDisabled()

void MPEGStreamData::SetListeningDisabled ( bool  lt)
inline

Definition at line 92 of file mpegstreamdata.h.

Referenced by ASIRecorder::ASIRecorder().

◆ Reset() [1/2]

virtual void MPEGStreamData::Reset ( void  )
inlinevirtual

◆ Reset() [2/2]

void MPEGStreamData::Reset ( int  desiredProgram)
virtual

Reimplemented in TSStreamData, and ATSCStreamData.

Definition at line 120 of file mpegstreamdata.cpp.

◆ TimeOffset()

double MPEGStreamData::TimeOffset ( void  ) const

Current Offset from computer time to DVB time in seconds.

Definition at line 824 of file mpegstreamdata.cpp.

◆ SetEITHelper()

void MPEGStreamData::SetEITHelper ( EITHelper eit_helper)
overridevirtual

Implements EITSource.

Definition at line 108 of file mpegstreamdata.cpp.

◆ SetEITRate()

void MPEGStreamData::SetEITRate ( float  rate)
overridevirtual

Implements EITSource.

Definition at line 114 of file mpegstreamdata.cpp.

◆ HasEITPIDChanges()

virtual bool MPEGStreamData::HasEITPIDChanges ( const uint_vec_t ) const
inlinevirtual

Reimplemented in DVBStreamData, ATSCStreamData, and ScanStreamData.

Definition at line 103 of file mpegstreamdata.h.

Referenced by StreamHandler::UpdateListeningForEIT().

◆ GetEITPIDChanges()

virtual bool MPEGStreamData::GetEITPIDChanges ( const uint_vec_t ,
uint_vec_t ,
uint_vec_t  
) const
inlinevirtual

Reimplemented in DVBStreamData, ATSCStreamData, and ScanStreamData.

Definition at line 105 of file mpegstreamdata.h.

Referenced by StreamHandler::UpdateListeningForEIT().

◆ SetIgnoreCRC()

void MPEGStreamData::SetIgnoreCRC ( bool  haveCRCbug)
inline

Definition at line 111 of file mpegstreamdata.h.

Referenced by apply_broken_dvb_driver_crc_hack().

◆ IsRedundant()

bool MPEGStreamData::IsRedundant ( uint  pid,
const PSIPTable psip 
) const
virtual

Returns true if table already seen.

Reimplemented in DVBStreamData, ATSCStreamData, and ScanStreamData.

Definition at line 641 of file mpegstreamdata.cpp.

Referenced by HandleTables(), HandleTSTables(), ATSCStreamData::IsRedundant(), and DVBStreamData::IsRedundant().

◆ HandleTables()

bool MPEGStreamData::HandleTables ( uint  pid,
const PSIPTable psip 
)
virtual

◆ HandleTSTables()

void MPEGStreamData::HandleTSTables ( const TSPacket tspacket)
virtual

Assembles PSIP packets and processes them.

Definition at line 864 of file mpegstreamdata.cpp.

Referenced by FirewireRecorder::ProcessTSPacket(), and ProcessTSPacket().

◆ ProcessTSPacket()

bool MPEGStreamData::ProcessTSPacket ( const TSPacket tspacket)
virtual

Reimplemented in TSStreamData.

Definition at line 1001 of file mpegstreamdata.cpp.

Referenced by ProcessData().

◆ ProcessData()

int MPEGStreamData::ProcessData ( const unsigned char *  buffer,
int  len 
)
virtual

Definition at line 951 of file mpegstreamdata.cpp.

Referenced by FirewireSignalMonitor::AddData(), and MpegRecorder::run().

◆ HandleAdaptationFieldControl()

void MPEGStreamData::HandleAdaptationFieldControl ( const TSPacket tspacket)
inline

Definition at line 405 of file mpegstreamdata.h.

Referenced by FirewireRecorder::ProcessTSPacket().

◆ AddListeningPID()

virtual void MPEGStreamData::AddListeningPID ( uint  pid,
PIDPriority  priority = kPIDPriorityNormal 
)
inlinevirtual

◆ AddNotListeningPID()

virtual void MPEGStreamData::AddNotListeningPID ( uint  pid)
inlinevirtual

Definition at line 123 of file mpegstreamdata.h.

◆ AddWritingPID()

virtual void MPEGStreamData::AddWritingPID ( uint  pid,
PIDPriority  priority = kPIDPriorityHigh 
)
inlinevirtual

Definition at line 125 of file mpegstreamdata.h.

Referenced by CreatePMTSingleProgram(), and PrintMPEGStreamListener::HandlePMT().

◆ AddAudioPID()

virtual void MPEGStreamData::AddAudioPID ( uint  pid,
PIDPriority  priority = kPIDPriorityHigh 
)
inlinevirtual

Definition at line 128 of file mpegstreamdata.h.

Referenced by CreatePMTSingleProgram().

◆ AddConditionalAccessPID()

virtual void MPEGStreamData::AddConditionalAccessPID ( uint  pid,
PIDPriority  priority = kPIDPriorityNormal 
)
inlinevirtual

Definition at line 131 of file mpegstreamdata.h.

Referenced by CreatePMTSingleProgram(), and ProcessCAT().

◆ RemoveListeningPID()

virtual void MPEGStreamData::RemoveListeningPID ( uint  pid)
inlinevirtual

◆ RemoveNotListeningPID()

virtual void MPEGStreamData::RemoveNotListeningPID ( uint  pid)
inlinevirtual

Definition at line 136 of file mpegstreamdata.h.

◆ RemoveWritingPID()

virtual void MPEGStreamData::RemoveWritingPID ( uint  pid)
inlinevirtual

Definition at line 138 of file mpegstreamdata.h.

◆ RemoveAudioPID()

virtual void MPEGStreamData::RemoveAudioPID ( uint  pid)
inlinevirtual

Definition at line 139 of file mpegstreamdata.h.

◆ IsListeningPID()

bool MPEGStreamData::IsListeningPID ( uint  pid) const
virtual

Definition at line 1108 of file mpegstreamdata.cpp.

Referenced by DTVRecorder::HandlePAT(), and ProcessTSPacket().

◆ IsNotListeningPID()

bool MPEGStreamData::IsNotListeningPID ( uint  pid) const
virtual

Definition at line 1116 of file mpegstreamdata.cpp.

Referenced by IsListeningPID().

◆ IsWritingPID()

bool MPEGStreamData::IsWritingPID ( uint  pid) const
virtual

Definition at line 1122 of file mpegstreamdata.cpp.

Referenced by ProcessTSPacket().

◆ IsVideoPID()

bool MPEGStreamData::IsVideoPID ( uint  pid) const
inline

Definition at line 144 of file mpegstreamdata.h.

Referenced by ProcessTSPacket().

◆ IsAudioPID()

bool MPEGStreamData::IsAudioPID ( uint  pid) const
virtual

Definition at line 1128 of file mpegstreamdata.cpp.

Referenced by ProcessTSPacket().

◆ IsConditionalAccessPID()

bool MPEGStreamData::IsConditionalAccessPID ( uint  pid) const
virtual

Definition at line 1102 of file mpegstreamdata.cpp.

Referenced by ProcessTSPacket().

◆ ListeningPIDs()

const pid_map_t& MPEGStreamData::ListeningPIDs ( void  ) const
inline

Definition at line 149 of file mpegstreamdata.h.

◆ AudioPIDs()

const pid_map_t& MPEGStreamData::AudioPIDs ( void  ) const
inline

Definition at line 151 of file mpegstreamdata.h.

◆ WritingPIDs()

const pid_map_t& MPEGStreamData::WritingPIDs ( void  ) const
inline

Definition at line 153 of file mpegstreamdata.h.

◆ GetPIDs()

uint MPEGStreamData::GetPIDs ( pid_map_t pids) const

Definition at line 1134 of file mpegstreamdata.cpp.

◆ GetPIDPriority()

PIDPriority MPEGStreamData::GetPIDPriority ( uint  pid) const

Definition at line 1153 of file mpegstreamdata.cpp.

◆ SetVersionPAT()

void MPEGStreamData::SetVersionPAT ( uint  tsid,
int  version,
uint  last_section 
)
inline

◆ SetVersionPMT()

void MPEGStreamData::SetVersionPMT ( uint  pnum,
int  version,
uint  last_section 
)
inline

Definition at line 166 of file mpegstreamdata.h.

Referenced by FirewireSignalMonitor::HandlePMT().

◆ HasAllPATSections()

bool MPEGStreamData::HasAllPATSections ( uint  tsid) const

Definition at line 1189 of file mpegstreamdata.cpp.

◆ HasAllCATSections()

bool MPEGStreamData::HasAllCATSections ( uint  tsid) const

Definition at line 1194 of file mpegstreamdata.cpp.

◆ HasAllPMTSections()

bool MPEGStreamData::HasAllPMTSections ( uint  prog_num) const

Definition at line 1199 of file mpegstreamdata.cpp.

◆ HasProgram()

bool MPEGStreamData::HasProgram ( uint  progNum) const

Definition at line 1204 of file mpegstreamdata.cpp.

Referenced by ATSCStreamData::HasChannel().

◆ HasCachedAllPAT()

bool MPEGStreamData::HasCachedAllPAT ( uint  tsid) const

Definition at line 1213 of file mpegstreamdata.cpp.

Referenced by HasCachedAllPMTs(), and ChannelScanSM::UpdateChannelInfo().

◆ HasCachedAnyPAT() [1/2]

bool MPEGStreamData::HasCachedAnyPAT ( uint  tsid) const

Definition at line 1232 of file mpegstreamdata.cpp.

Referenced by ChannelScanSM::HasTimedOut().

◆ HasCachedAnyPAT() [2/2]

bool MPEGStreamData::HasCachedAnyPAT ( void  ) const

Definition at line 1243 of file mpegstreamdata.cpp.

◆ HasCachedAllCAT()

bool MPEGStreamData::HasCachedAllCAT ( uint  tsid) const

Definition at line 1249 of file mpegstreamdata.cpp.

◆ HasCachedAnyCAT() [1/2]

bool MPEGStreamData::HasCachedAnyCAT ( uint  tsid) const

Definition at line 1268 of file mpegstreamdata.cpp.

◆ HasCachedAnyCAT() [2/2]

bool MPEGStreamData::HasCachedAnyCAT ( void  ) const

Definition at line 1279 of file mpegstreamdata.cpp.

◆ HasCachedAllPMT()

bool MPEGStreamData::HasCachedAllPMT ( uint  pnum) const

Definition at line 1285 of file mpegstreamdata.cpp.

Referenced by HasCachedAllPMTs().

◆ HasCachedAnyPMT()

bool MPEGStreamData::HasCachedAnyPMT ( uint  pnum) const

Definition at line 1304 of file mpegstreamdata.cpp.

◆ HasCachedAllPMTs()

bool MPEGStreamData::HasCachedAllPMTs ( void  ) const

Definition at line 1315 of file mpegstreamdata.cpp.

Referenced by ChannelScanSM::UpdateChannelInfo().

◆ HasCachedAnyPMTs()

bool MPEGStreamData::HasCachedAnyPMTs ( void  ) const

Definition at line 1338 of file mpegstreamdata.cpp.

Referenced by ChannelScanSM::HasTimedOut().

◆ GetCachedPAT()

pat_const_ptr_t MPEGStreamData::GetCachedPAT ( uint  tsid,
uint  section_num 
) const

Definition at line 1344 of file mpegstreamdata.cpp.

Referenced by GetCachedPATs().

◆ GetCachedPATs() [1/2]

pat_vec_t MPEGStreamData::GetCachedPATs ( uint  tsid) const

Definition at line 1357 of file mpegstreamdata.cpp.

Referenced by ChannelScanSM::UpdateChannelInfo().

◆ GetCachedPATs() [2/2]

pat_vec_t MPEGStreamData::GetCachedPATs ( void  ) const

Definition at line 1372 of file mpegstreamdata.cpp.

Referenced by SetDesiredProgram().

◆ GetCachedPATMap()

pat_map_t MPEGStreamData::GetCachedPATMap ( void  ) const

◆ GetCachedCAT()

cat_const_ptr_t MPEGStreamData::GetCachedCAT ( uint  tsid,
uint  section_num 
) const

Definition at line 1386 of file mpegstreamdata.cpp.

Referenced by GetCachedCATs().

◆ GetCachedCATs() [1/2]

cat_vec_t MPEGStreamData::GetCachedCATs ( uint  tsid) const

Definition at line 1399 of file mpegstreamdata.cpp.

◆ GetCachedCATs() [2/2]

cat_vec_t MPEGStreamData::GetCachedCATs ( void  ) const

Definition at line 1414 of file mpegstreamdata.cpp.

◆ GetCachedCATMap()

cat_map_t MPEGStreamData::GetCachedCATMap ( void  ) const

◆ GetCachedPMT()

pmt_const_ptr_t MPEGStreamData::GetCachedPMT ( uint  program_num,
uint  section_num 
) const

Definition at line 1428 of file mpegstreamdata.cpp.

Referenced by HasProgram().

◆ GetCachedPMTs()

pmt_vec_t MPEGStreamData::GetCachedPMTs ( void  ) const

Definition at line 1442 of file mpegstreamdata.cpp.

Referenced by SetDesiredProgram(), and ChannelScanSM::UpdateChannelInfo().

◆ GetCachedPMTMap()

pmt_map_t MPEGStreamData::GetCachedPMTMap ( void  ) const

Definition at line 1456 of file mpegstreamdata.cpp.

◆ ReturnCachedTable()

void MPEGStreamData::ReturnCachedTable ( const PSIPTable psip) const
virtual

◆ ReturnCachedPATTables() [1/2]

void MPEGStreamData::ReturnCachedPATTables ( pat_vec_t pats) const
virtual

◆ ReturnCachedPATTables() [2/2]

void MPEGStreamData::ReturnCachedPATTables ( pat_map_t pats) const
virtual

Definition at line 1494 of file mpegstreamdata.cpp.

◆ ReturnCachedCATTables() [1/2]

void MPEGStreamData::ReturnCachedCATTables ( cat_vec_t cats) const
virtual

Definition at line 1502 of file mpegstreamdata.cpp.

Referenced by ReturnCachedCATTables().

◆ ReturnCachedCATTables() [2/2]

void MPEGStreamData::ReturnCachedCATTables ( cat_map_t cats) const
virtual

Definition at line 1509 of file mpegstreamdata.cpp.

◆ ReturnCachedPMTTables() [1/2]

void MPEGStreamData::ReturnCachedPMTTables ( pmt_vec_t pmts) const
virtual

◆ ReturnCachedPMTTables() [2/2]

void MPEGStreamData::ReturnCachedPMTTables ( pmt_map_t pmts) const
virtual

Definition at line 1524 of file mpegstreamdata.cpp.

◆ AddEncryptionTestPID()

void MPEGStreamData::AddEncryptionTestPID ( uint  pnum,
uint  pid,
bool  isvideo 
)

Definition at line 1766 of file mpegstreamdata.cpp.

Referenced by TestDecryption().

◆ RemoveEncryptionTestPIDs()

void MPEGStreamData::RemoveEncryptionTestPIDs ( uint  pnum)

Definition at line 1784 of file mpegstreamdata.cpp.

Referenced by ProcessEncryptedPacket().

◆ IsEncryptionTestPID()

bool MPEGStreamData::IsEncryptionTestPID ( uint  pid) const

Definition at line 1826 of file mpegstreamdata.cpp.

Referenced by TSStreamData::ProcessTSPacket(), and ProcessTSPacket().

◆ TestDecryption()

void MPEGStreamData::TestDecryption ( const ProgramMapTable pmt)

◆ ResetDecryptionMonitoringState()

void MPEGStreamData::ResetDecryptionMonitoringState ( void  )

Definition at line 1864 of file mpegstreamdata.cpp.

Referenced by Reset(), and ChannelScanSM::TestNextProgramEncryption().

◆ IsProgramDecrypted()

bool MPEGStreamData::IsProgramDecrypted ( uint  pnum) const

Definition at line 1873 of file mpegstreamdata.cpp.

◆ IsProgramEncrypted()

bool MPEGStreamData::IsProgramEncrypted ( uint  pnum) const

Definition at line 1879 of file mpegstreamdata.cpp.

◆ AddMPEGListener()

void MPEGStreamData::AddMPEGListener ( MPEGStreamListener val)

◆ RemoveMPEGListener()

void MPEGStreamData::RemoveMPEGListener ( MPEGStreamListener val)

Definition at line 1635 of file mpegstreamdata.cpp.

Referenced by DTVSignalMonitor::SetStreamData().

◆ AddWritingListener()

void MPEGStreamData::AddWritingListener ( TSPacketListener val)

◆ RemoveWritingListener()

void MPEGStreamData::RemoveWritingListener ( TSPacketListener val)

◆ AddMPEGSPListener()

void MPEGStreamData::AddMPEGSPListener ( MPEGSingleProgramStreamListener val)

◆ RemoveMPEGSPListener()

void MPEGStreamData::RemoveMPEGSPListener ( MPEGSingleProgramStreamListener val)

Definition at line 1727 of file mpegstreamdata.cpp.

◆ AddAVListener()

void MPEGStreamData::AddAVListener ( TSPacketListenerAV val)

◆ RemoveAVListener()

void MPEGStreamData::RemoveAVListener ( TSPacketListenerAV val)

◆ AddPSStreamListener()

void MPEGStreamData::AddPSStreamListener ( PSStreamListener val)

Definition at line 1741 of file mpegstreamdata.cpp.

Referenced by V4L2encRecorder::run().

◆ RemovePSStreamListener()

void MPEGStreamData::RemovePSStreamListener ( PSStreamListener val)

Definition at line 1752 of file mpegstreamdata.cpp.

Referenced by V4L2encRecorder::run().

◆ SetDesiredProgram()

void MPEGStreamData::SetDesiredProgram ( int  p)

◆ SetPATSingleProgram()

void MPEGStreamData::SetPATSingleProgram ( ProgramAssociationTable pat)
inline

Definition at line 383 of file mpegstreamdata.h.

Referenced by CreatePATSingleProgram(), Reset(), and ~MPEGStreamData().

◆ SetPMTSingleProgram()

void MPEGStreamData::SetPMTSingleProgram ( ProgramMapTable pmt)
inline

Definition at line 389 of file mpegstreamdata.h.

Referenced by CreatePMTSingleProgram(), Reset(), and ~MPEGStreamData().

◆ SetVideoStreamsRequired()

void MPEGStreamData::SetVideoStreamsRequired ( uint  num)
inline

Definition at line 249 of file mpegstreamdata.h.

Referenced by SetRecordingType(), and TVRec::SetupDTVSignalMonitor().

◆ GetVideoStreamsRequired()

uint MPEGStreamData::GetVideoStreamsRequired ( ) const
inline

Definition at line 251 of file mpegstreamdata.h.

◆ SetAudioStreamsRequired()

void MPEGStreamData::SetAudioStreamsRequired ( uint  num)
inline

Definition at line 253 of file mpegstreamdata.h.

Referenced by SetRecordingType().

◆ GetAudioStreamsRequired()

uint MPEGStreamData::GetAudioStreamsRequired ( ) const
inline

Definition at line 255 of file mpegstreamdata.h.

◆ SetRecordingType()

void MPEGStreamData::SetRecordingType ( const QString &  recording_type)

Definition at line 100 of file mpegstreamdata.cpp.

Referenced by TVRec::SetupDTVSignalMonitor(), and TVRec::TuningNewRecorder().

◆ DesiredProgram()

int MPEGStreamData::DesiredProgram ( void  ) const
inline

◆ VideoPIDSingleProgram()

uint MPEGStreamData::VideoPIDSingleProgram ( void  ) const
inline

Definition at line 261 of file mpegstreamdata.h.

◆ GetRecordingType()

QString MPEGStreamData::GetRecordingType ( void  ) const
inline

Definition at line 262 of file mpegstreamdata.h.

◆ PATSingleProgram() [1/2]

const ProgramAssociationTable* MPEGStreamData::PATSingleProgram ( void  ) const
inline

◆ PMTSingleProgram() [1/2]

const ProgramMapTable* MPEGStreamData::PMTSingleProgram ( void  ) const
inline

◆ PATSingleProgram() [2/2]

ProgramAssociationTable* MPEGStreamData::PATSingleProgram ( void  )
inline

Definition at line 269 of file mpegstreamdata.h.

◆ PMTSingleProgram() [2/2]

ProgramMapTable* MPEGStreamData::PMTSingleProgram ( void  )
inline

Definition at line 271 of file mpegstreamdata.h.

◆ VersionPATSingleProgram()

int MPEGStreamData::VersionPATSingleProgram ( void  ) const
inline

Definition at line 395 of file mpegstreamdata.h.

◆ VersionPMTSingleProgram()

int MPEGStreamData::VersionPMTSingleProgram ( void  ) const
inline

Definition at line 400 of file mpegstreamdata.h.

◆ CreatePATSingleProgram()

bool MPEGStreamData::CreatePATSingleProgram ( const ProgramAssociationTable pat)

Definition at line 350 of file mpegstreamdata.cpp.

Referenced by ProcessPAT().

◆ CreatePMTSingleProgram()

bool MPEGStreamData::CreatePMTSingleProgram ( const ProgramMapTable pmt)

Definition at line 459 of file mpegstreamdata.cpp.

Referenced by ProcessPMT().

◆ AssemblePSIP() [1/2]

PSIPTable * MPEGStreamData::AssemblePSIP ( const TSPacket tspacket,
bool moreTablePackets 
)
protected

PSIP packet assembler.

This is not a general purpose TS->PSIP packet converter, it is only designed to work with MPEG tables which comply with certain restrictions that simplify the conversion.

DVB TSPackets may contain multiple segments of the PSI stream. (see ISO 13818-1 section 2.4.3.3, particularly the definition of payload_unit_start_indicator, which indicates there is at least one segment start, but not limited to only one segment start.)

PSI stuffing bytes are 0xFF and will complete the remaining portion of the TSPacket. (Section 2.4.4)

Note
This method makes the assumption that AddTSPacket correctly handles duplicate packets.
Parameters
tspacketPointer to the TS packet data.
moreTablePacketsreturns true if we need more packets

Definition at line 204 of file mpegstreamdata.cpp.

Referenced by HandleTSTables().

◆ AssemblePSIP() [2/2]

bool MPEGStreamData::AssemblePSIP ( PSIPTable psip,
TSPacket tspacket 
)
protected

◆ SavePartialPSIP()

void MPEGStreamData::SavePartialPSIP ( uint  pid,
PSIPTable packet 
)
protected

Definition at line 1175 of file mpegstreamdata.cpp.

Referenced by AssemblePSIP().

◆ GetPartialPSIP()

PSIPTable* MPEGStreamData::GetPartialPSIP ( uint  pid)
inlineprotected

Definition at line 286 of file mpegstreamdata.h.

Referenced by AssemblePSIP().

◆ ClearPartialPSIP()

void MPEGStreamData::ClearPartialPSIP ( uint  pid)
inlineprotected

Definition at line 288 of file mpegstreamdata.h.

◆ DeletePartialPSIP()

void MPEGStreamData::DeletePartialPSIP ( uint  pid)
protected

Definition at line 171 of file mpegstreamdata.cpp.

Referenced by AssemblePSIP(), and Reset().

◆ ProcessPAT()

void MPEGStreamData::ProcessPAT ( const ProgramAssociationTable pat)
protected

Definition at line 735 of file mpegstreamdata.cpp.

Referenced by HandleTables(), and SetDesiredProgram().

◆ ProcessCAT()

void MPEGStreamData::ProcessCAT ( const ConditionalAccessTable cat)
protected

Definition at line 786 of file mpegstreamdata.cpp.

Referenced by HandleTables().

◆ ProcessPMT()

void MPEGStreamData::ProcessPMT ( const ProgramMapTable pmt)
protected

Definition at line 807 of file mpegstreamdata.cpp.

Referenced by HandleTables(), and SetDesiredProgram().

◆ ProcessEncryptedPacket()

void MPEGStreamData::ProcessEncryptedPacket ( const TSPacket tspacket)
protected

counts en/decrypted packets to decide if a stream is en/decrypted

Definition at line 1897 of file mpegstreamdata.cpp.

Referenced by ProcessTSPacket().

◆ ResyncStream()

int MPEGStreamData::ResyncStream ( const unsigned char *  buffer,
int  curr_pos,
int  len 
)
staticprotected

Definition at line 1082 of file mpegstreamdata.cpp.

Referenced by ProcessData().

◆ UpdateTimeOffset()

void MPEGStreamData::UpdateTimeOffset ( uint64_t  si_utc_time)
protected

◆ IncrementRefCnt()

void MPEGStreamData::IncrementRefCnt ( const PSIPTable psip) const
protected

◆ DeleteCachedTable()

bool MPEGStreamData::DeleteCachedTable ( const PSIPTable psip) const
protectedvirtual

◆ CachePAT()

void MPEGStreamData::CachePAT ( const ProgramAssociationTable pat)
protected

Definition at line 1582 of file mpegstreamdata.cpp.

Referenced by HandleTables().

◆ CacheCAT()

void MPEGStreamData::CacheCAT ( const ConditionalAccessTable _cat)
protected

Definition at line 1596 of file mpegstreamdata.cpp.

Referenced by HandleTables().

◆ CachePMT()

void MPEGStreamData::CachePMT ( const ProgramMapTable pmt)
protected

Definition at line 1610 of file mpegstreamdata.cpp.

Referenced by HandleTables().

Member Data Documentation

◆ m_cardId

int MPEGStreamData::m_cardId
protected

Definition at line 308 of file mpegstreamdata.h.

Referenced by AssemblePSIP().

◆ m_siStandard

QString MPEGStreamData::m_siStandard {"mpeg"}
protected

Definition at line 309 of file mpegstreamdata.h.

Referenced by CreatePMTSingleProgram().

◆ m_haveCrcBug

bool MPEGStreamData::m_haveCrcBug {false}
protected

Definition at line 311 of file mpegstreamdata.h.

Referenced by AssemblePSIP(), and HandleTSTables().

◆ m_siTimeLock

QMutex MPEGStreamData::m_siTimeLock
mutableprotected

Definition at line 313 of file mpegstreamdata.h.

Referenced by TimeOffset(), and UpdateTimeOffset().

◆ m_siTimeOffsetCnt

uint MPEGStreamData::m_siTimeOffsetCnt {0}
protected

Definition at line 314 of file mpegstreamdata.h.

Referenced by TimeOffset(), and UpdateTimeOffset().

◆ m_siTimeOffsetIndx

uint MPEGStreamData::m_siTimeOffsetIndx {0}
protected

Definition at line 315 of file mpegstreamdata.h.

Referenced by UpdateTimeOffset().

◆ m_siTimeOffsets

std::array<double,16> MPEGStreamData::m_siTimeOffsets {0.0}
protected

Definition at line 316 of file mpegstreamdata.h.

Referenced by TimeOffset(), and UpdateTimeOffset().

◆ m_eitHelper

EITHelper* MPEGStreamData::m_eitHelper {nullptr}
protected

◆ m_eitRate

float MPEGStreamData::m_eitRate {1.0F}
protected

◆ m_pidsListening

pid_map_t MPEGStreamData::m_pidsListening
protected

◆ m_pidsNotListening

pid_map_t MPEGStreamData::m_pidsNotListening
protected

Definition at line 324 of file mpegstreamdata.h.

Referenced by GetPIDPriority(), IsNotListeningPID(), and Reset().

◆ m_pidsWriting

pid_map_t MPEGStreamData::m_pidsWriting
protected

◆ m_pidsAudio

pid_map_t MPEGStreamData::m_pidsAudio
protected

Definition at line 326 of file mpegstreamdata.h.

Referenced by CreatePMTSingleProgram(), GetPIDPriority(), GetPIDs(), IsAudioPID(), and Reset().

◆ m_pidsConditionalAccess

pid_map_t MPEGStreamData::m_pidsConditionalAccess
protected

Definition at line 327 of file mpegstreamdata.h.

Referenced by IsConditionalAccessPID(), and Reset().

◆ m_listeningDisabled

bool MPEGStreamData::m_listeningDisabled {false}
protected

Definition at line 328 of file mpegstreamdata.h.

Referenced by IsListeningPID().

◆ m_encryptionLock

QRecursiveMutex MPEGStreamData::m_encryptionLock
mutableprotected

◆ m_encryptionPidToInfo

QMap<uint, CryptInfo> MPEGStreamData::m_encryptionPidToInfo
protected

◆ m_encryptionPnumToPids

QMap<uint, uint_vec_t> MPEGStreamData::m_encryptionPnumToPids
protected

◆ m_encryptionPidToPnums

QMap<uint, uint_vec_t> MPEGStreamData::m_encryptionPidToPnums
protected

◆ m_encryptionPnumToStatus

QMap<uint, CryptStatus> MPEGStreamData::m_encryptionPnumToStatus
protected

◆ m_listenerLock

QRecursiveMutex MPEGStreamData::m_listenerLock
mutableprotected

Definition at line 338 of file mpegstreamdata.h.

Referenced by ATSCStreamData::AddATSC81EITListener(), ATSCStreamData::AddATSCAuxListener(), ATSCStreamData::AddATSCEITListener(), ATSCStreamData::AddATSCMainListener(), AddAVListener(), DVBStreamData::AddDVBEITListener(), DVBStreamData::AddDVBMainListener(), DVBStreamData::AddDVBOtherListener(), AddMPEGListener(), AddMPEGSPListener(), AddPSStreamListener(), ATSCStreamData::AddSCTEMainListener(), AddWritingListener(), ATSCStreamData::GetATSCMajorMinor(), ATSCStreamData::GetEITPIDChanges(), DVBStreamData::GetEITPIDChanges(), ATSCStreamData::HandleTables(), DVBStreamData::HandleTables(), HandleTables(), HandleTSTables(), DVBStreamData::HasAnyEIT(), ATSCStreamData::HasATSCMajorMinorMap(), DVBStreamData::HasEIT(), ATSCStreamData::HasEITPIDChanges(), DVBStreamData::HasEITPIDChanges(), ProcessCAT(), ATSCStreamData::ProcessCVCT(), ProcessEncryptedPacket(), ATSCStreamData::ProcessMGT(), ProcessPAT(), ProcessPMT(), DVBStreamData::ProcessSDT(), ATSCStreamData::ProcessTVCT(), ATSCStreamData::RemoveATSC81EITListener(), ATSCStreamData::RemoveATSCAuxListener(), ATSCStreamData::RemoveATSCEITListener(), ATSCStreamData::RemoveATSCMainListener(), RemoveAVListener(), DVBStreamData::RemoveDVBEITListener(), DVBStreamData::RemoveDVBMainListener(), DVBStreamData::RemoveDVBOtherListener(), RemoveMPEGListener(), RemoveMPEGSPListener(), RemovePSStreamListener(), ATSCStreamData::RemoveSCTEMainListener(), RemoveWritingListener(), DVBStreamData::SetDishNetEIT(), SetEITHelper(), SetEITRate(), ScanStreamData::SetFreesatAdditionalSI(), DVBStreamData::SetRealNetworkID(), ATSCStreamData::~ATSCStreamData(), DVBStreamData::~DVBStreamData(), and ~MPEGStreamData().

◆ m_mpegListeners

mpeg_listener_vec_t MPEGStreamData::m_mpegListeners
protected

◆ m_mpegSpListeners

mpeg_sp_listener_vec_t MPEGStreamData::m_mpegSpListeners
protected

◆ m_tsWritingListeners

ts_listener_vec_t MPEGStreamData::m_tsWritingListeners
protected

◆ m_tsAvListeners

ts_av_listener_vec_t MPEGStreamData::m_tsAvListeners
protected

Definition at line 342 of file mpegstreamdata.h.

Referenced by AddAVListener(), ProcessTSPacket(), and RemoveAVListener().

◆ m_psListeners

ps_listener_vec_t MPEGStreamData::m_psListeners
protected

Definition at line 343 of file mpegstreamdata.h.

Referenced by AddPSStreamListener(), ProcessData(), and RemovePSStreamListener().

◆ m_patStatus

TableStatusMap MPEGStreamData::m_patStatus
protected

Definition at line 346 of file mpegstreamdata.h.

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

◆ m_catStatus

TableStatusMap MPEGStreamData::m_catStatus
protected

Definition at line 347 of file mpegstreamdata.h.

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

◆ m_pmtStatus

TableStatusMap MPEGStreamData::m_pmtStatus
protected

Definition at line 348 of file mpegstreamdata.h.

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

◆ m_partialPsipPacketCache

pid_psip_map_t MPEGStreamData::m_partialPsipPacketCache
protected

Definition at line 351 of file mpegstreamdata.h.

Referenced by DeletePartialPSIP(), Reset(), and SavePartialPSIP().

◆ m_cacheTables

bool MPEGStreamData::m_cacheTables
protected

◆ m_cacheLock

QRecursiveMutex MPEGStreamData::m_cacheLock
mutableprotected

Definition at line 355 of file mpegstreamdata.h.

Referenced by DVBStreamData::CacheBAT(), CacheCAT(), ATSCStreamData::CacheCVCT(), ATSCStreamData::CacheMGT(), DVBStreamData::CacheNIT(), CachePAT(), CachePMT(), DVBStreamData::CacheSDT(), ATSCStreamData::CacheTVCT(), ATSCStreamData::DeleteCachedTable(), DVBStreamData::DeleteCachedTable(), DeleteCachedTable(), DVBStreamData::GetCachedBAT(), DVBStreamData::GetCachedBATs(), GetCachedCAT(), GetCachedCATs(), ATSCStreamData::GetCachedCVCT(), ATSCStreamData::GetCachedCVCTs(), ATSCStreamData::GetCachedMGT(), DVBStreamData::GetCachedNIT(), GetCachedPAT(), GetCachedPATs(), GetCachedPMT(), GetCachedPMTMap(), GetCachedPMTs(), DVBStreamData::GetCachedSDT(), DVBStreamData::GetCachedSDTs(), DVBStreamData::GetCachedSDTSections(), ATSCStreamData::GetCachedTVCT(), ATSCStreamData::GetCachedTVCTs(), ScanStreamData::GetSIStandard(), DVBStreamData::HasCachedAllBAT(), DVBStreamData::HasCachedAllBATs(), HasCachedAllCAT(), ATSCStreamData::HasCachedAllCVCTs(), DVBStreamData::HasCachedAllNIT(), HasCachedAllPAT(), HasCachedAllPMT(), HasCachedAllPMTs(), DVBStreamData::HasCachedAllSDT(), DVBStreamData::HasCachedAllSDTs(), ATSCStreamData::HasCachedAllTVCTs(), DVBStreamData::HasCachedAnyBAT(), DVBStreamData::HasCachedAnyBATs(), HasCachedAnyCAT(), ATSCStreamData::HasCachedAnyCVCTs(), DVBStreamData::HasCachedAnyNIT(), HasCachedAnyPAT(), HasCachedAnyPMT(), HasCachedAnyPMTs(), DVBStreamData::HasCachedAnySDT(), DVBStreamData::HasCachedAnySDTs(), ATSCStreamData::HasCachedAnyTVCTs(), ATSCStreamData::HasCachedCVCT(), DVBStreamData::HasCachedSDT(), ATSCStreamData::HasCachedTVCT(), IncrementRefCnt(), ATSCStreamData::Reset(), DVBStreamData::Reset(), Reset(), and ReturnCachedTable().

◆ m_cachedPats

pat_cache_t MPEGStreamData::m_cachedPats
mutableprotected

◆ m_cachedCats

cat_cache_t MPEGStreamData::m_cachedCats
mutableprotected

◆ m_cachedPmts

pmt_cache_t MPEGStreamData::m_cachedPmts
mutableprotected

◆ m_cachedRefCnt

psip_refcnt_map_t MPEGStreamData::m_cachedRefCnt
mutableprotected

◆ m_cachedSlatedForDeletion

psip_refcnt_map_t MPEGStreamData::m_cachedSlatedForDeletion
mutableprotected

◆ m_desiredProgram

int MPEGStreamData::m_desiredProgram
protected

◆ m_recordingType

QString MPEGStreamData::m_recordingType {"all"}
protected

Definition at line 364 of file mpegstreamdata.h.

Referenced by CreatePMTSingleProgram(), Reset(), and SetRecordingType().

◆ m_stripPmtDescriptors

bool MPEGStreamData::m_stripPmtDescriptors {false}
protected

Definition at line 365 of file mpegstreamdata.h.

Referenced by CreatePMTSingleProgram(), and Reset().

◆ m_normalizeStreamType

bool MPEGStreamData::m_normalizeStreamType {true}
protected

Definition at line 366 of file mpegstreamdata.h.

Referenced by Reset().

◆ m_pidVideoSingleProgram

uint MPEGStreamData::m_pidVideoSingleProgram {0xffffffff}
protected

Definition at line 367 of file mpegstreamdata.h.

Referenced by CreatePMTSingleProgram(), GetPIDPriority(), GetPIDs(), and Reset().

◆ m_pidPmtSingleProgram

uint MPEGStreamData::m_pidPmtSingleProgram {0xffffffff}
protected

◆ m_pmtSingleProgramNumVideo

uint MPEGStreamData::m_pmtSingleProgramNumVideo {1}
protected

Definition at line 369 of file mpegstreamdata.h.

Referenced by CreatePMTSingleProgram().

◆ m_pmtSingleProgramNumAudio

uint MPEGStreamData::m_pmtSingleProgramNumAudio {0}
protected

Definition at line 370 of file mpegstreamdata.h.

Referenced by CreatePMTSingleProgram().

◆ m_patSingleProgram

ProgramAssociationTable* MPEGStreamData::m_patSingleProgram {nullptr}
protected

Definition at line 371 of file mpegstreamdata.h.

Referenced by SetPATSingleProgram(), and VersionPATSingleProgram().

◆ m_pmtSingleProgram

ProgramMapTable* MPEGStreamData::m_pmtSingleProgram {nullptr}
protected

Definition at line 372 of file mpegstreamdata.h.

Referenced by ProcessTSPacket(), SetPMTSingleProgram(), and VersionPMTSingleProgram().

◆ m_invalidPatSeen

bool MPEGStreamData::m_invalidPatSeen {false}
private

Definition at line 376 of file mpegstreamdata.h.

Referenced by ProcessPAT(), and Reset().

◆ m_invalidPatWarning

bool MPEGStreamData::m_invalidPatWarning {false}
private

Definition at line 377 of file mpegstreamdata.h.

Referenced by ProcessPAT().

◆ m_invalidPatTimer

MythTimer MPEGStreamData::m_invalidPatTimer
private

Definition at line 378 of file mpegstreamdata.h.

Referenced by ProcessPAT().


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