MythTV  master
Public Member Functions | Public Attributes | List of all members
PTSListener Class Reference
Inheritance diagram for PTSListener:
Inheritance graph
[legend]
Collaboration diagram for PTSListener:
Collaboration graph
[legend]

Public Member Functions

 PTSListener ()
 
bool ProcessTSPacket (const TSPacket &tspacket) override
 
bool ProcessVideoTSPacket (const TSPacket &tspacket) override
 
bool ProcessAudioTSPacket (const TSPacket &tspacket) override
 
int64_t GetFirstPTS (void) const
 
int64_t GetLastPTS (void) const
 
int64_t GetElapsedPTS (void) const
 

Public Attributes

uint32_t m_startCode {0xFFFFFFFF}
 
QMap< uint, uintm_ptsStreams
 
std::array< uint32_t, 256 > m_ptsCount {}
 
std::array< int64_t, 256 > m_ptsFirst {}
 
std::array< int64_t, 256 > m_ptsLast {}
 

Additional Inherited Members

- Protected Member Functions inherited from TSPacketListener
virtual ~TSPacketListener ()=default
 
- Protected Member Functions inherited from TSPacketListenerAV
virtual ~TSPacketListenerAV ()=default
 

Detailed Description

Definition at line 286 of file mpegutils.cpp.

Constructor & Destructor Documentation

◆ PTSListener()

PTSListener::PTSListener ( )
inline

Definition at line 291 of file mpegutils.cpp.

Member Function Documentation

◆ ProcessTSPacket()

bool PTSListener::ProcessTSPacket ( const TSPacket tspacket)
overridevirtual

Implements TSPacketListener.

Definition at line 344 of file mpegutils.cpp.

Referenced by ProcessAudioTSPacket(), and ProcessVideoTSPacket().

◆ ProcessVideoTSPacket()

bool PTSListener::ProcessVideoTSPacket ( const TSPacket tspacket)
inlineoverridevirtual

Implements TSPacketListenerAV.

Definition at line 299 of file mpegutils.cpp.

◆ ProcessAudioTSPacket()

bool PTSListener::ProcessAudioTSPacket ( const TSPacket tspacket)
inlineoverridevirtual

Implements TSPacketListenerAV.

Definition at line 301 of file mpegutils.cpp.

◆ GetFirstPTS()

int64_t PTSListener::GetFirstPTS ( void  ) const
inline

Definition at line 303 of file mpegutils.cpp.

Referenced by GetElapsedPTS(), and PrintMPEGStreamListener::HandleSplice().

◆ GetLastPTS()

int64_t PTSListener::GetLastPTS ( void  ) const
inline

Definition at line 316 of file mpegutils.cpp.

Referenced by GetElapsedPTS(), and PrintMPEGStreamListener::HandleSplice().

◆ GetElapsedPTS()

int64_t PTSListener::GetElapsedPTS ( void  ) const
inline

Definition at line 329 of file mpegutils.cpp.

Referenced by PrintMPEGStreamListener::HandleSplice().

Member Data Documentation

◆ m_startCode

uint32_t PTSListener::m_startCode {0xFFFFFFFF}

Definition at line 336 of file mpegutils.cpp.

Referenced by ProcessTSPacket().

◆ m_ptsStreams

QMap<uint,uint> PTSListener::m_ptsStreams

Definition at line 337 of file mpegutils.cpp.

Referenced by GetFirstPTS(), GetLastPTS(), and ProcessTSPacket().

◆ m_ptsCount

std::array<uint32_t,256> PTSListener::m_ptsCount {}

Definition at line 338 of file mpegutils.cpp.

Referenced by GetFirstPTS(), GetLastPTS(), ProcessTSPacket(), and PTSListener().

◆ m_ptsFirst

std::array<int64_t,256> PTSListener::m_ptsFirst {}

Definition at line 339 of file mpegutils.cpp.

Referenced by GetFirstPTS(), ProcessTSPacket(), and PTSListener().

◆ m_ptsLast

std::array<int64_t,256> PTSListener::m_ptsLast {}

Definition at line 340 of file mpegutils.cpp.

Referenced by GetLastPTS(), ProcessTSPacket(), and PTSListener().


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