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

#include <mpeg2fix.h>

Public Member Functions

 PTSOffsetQueue (int vidid, QList< int > keys, int64_t initPTS)
 
void SetNextPTS (int64_t newPTS, int64_t atPTS)
 
void SetNextPos (int64_t newPTS, AVPacket *pkt)
 
int64_t Get (int idx, AVPacket *pkt)
 
int64_t UpdateOrigPTS (int idx, int64_t &origPTS, AVPacket *pkt)
 

Private Attributes

QMap< int, QList< poq_idx_t > > m_offset
 
QMap< int, QList< poq_idx_t > > m_orig
 
QList< int > m_keyList
 
int m_vid_id
 

Detailed Description

Definition at line 70 of file mpeg2fix.h.

Constructor & Destructor Documentation

◆ PTSOffsetQueue()

PTSOffsetQueue::PTSOffsetQueue ( int  vidid,
QList< int >  keys,
int64_t  initPTS 
)

Definition at line 135 of file mpeg2fix.cpp.

Member Function Documentation

◆ SetNextPTS()

void PTSOffsetQueue::SetNextPTS ( int64_t  newPTS,
int64_t  atPTS 
)

Definition at line 178 of file mpeg2fix.cpp.

◆ SetNextPos()

void PTSOffsetQueue::SetNextPos ( int64_t  newPTS,
AVPacket *  pkt 
)

Definition at line 191 of file mpeg2fix.cpp.

◆ Get()

int64_t PTSOffsetQueue::Get ( int  idx,
AVPacket *  pkt 
)

Definition at line 151 of file mpeg2fix.cpp.

◆ UpdateOrigPTS()

int64_t PTSOffsetQueue::UpdateOrigPTS ( int  idx,
int64_t &  origPTS,
AVPacket *  pkt 
)

Definition at line 212 of file mpeg2fix.cpp.

Member Data Documentation

◆ m_offset

QMap<int, QList<poq_idx_t> > PTSOffsetQueue::m_offset
private

Definition at line 79 of file mpeg2fix.h.

Referenced by Get(), PTSOffsetQueue(), SetNextPos(), and SetNextPTS().

◆ m_orig

QMap<int, QList<poq_idx_t> > PTSOffsetQueue::m_orig
private

Definition at line 80 of file mpeg2fix.h.

Referenced by SetNextPos(), and UpdateOrigPTS().

◆ m_keyList

QList<int> PTSOffsetQueue::m_keyList
private

Definition at line 81 of file mpeg2fix.h.

Referenced by PTSOffsetQueue(), SetNextPos(), and SetNextPTS().

◆ m_vid_id

int PTSOffsetQueue::m_vid_id
private

Definition at line 82 of file mpeg2fix.h.

Referenced by PTSOffsetQueue(), and SetNextPos().


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