vdr  2.6.9
Classes | Public Member Functions | Private Attributes | List of all members
cPtsIndex Class Reference

Classes

struct  tPtsIndex
 

Public Member Functions

 cPtsIndex (void)
 
void Clear (void)
 
bool IsEmpty (void)
 
void Put (uint32_t Pts, int Index, bool Independent)
 
int FindIndex (uint32_t Pts)
 
int FindFrameNumber (uint32_t Pts)
 

Private Attributes

tPtsIndex pi [PTSINDEX_ENTRIES]
 
int w
 
int r
 
int lastFound
 
cMutex mutex
 

Detailed Description

Definition at line 22 of file dvbplayer.c.

Constructor & Destructor Documentation

◆ cPtsIndex()

cPtsIndex::cPtsIndex ( void  )

Definition at line 42 of file dvbplayer.c.

References Clear(), and lastFound.

Member Function Documentation

◆ Clear()

void cPtsIndex::Clear ( void  )

Definition at line 48 of file dvbplayer.c.

References mutex, r, and w.

Referenced by cPtsIndex(), and cDvbPlayer::Empty().

◆ FindFrameNumber()

int cPtsIndex::FindFrameNumber ( uint32_t  Pts)

◆ FindIndex()

int cPtsIndex::FindIndex ( uint32_t  Pts)

◆ IsEmpty()

bool cPtsIndex::IsEmpty ( void  )

Definition at line 54 of file dvbplayer.c.

References mutex, r, and w.

Referenced by cDvbPlayer::SetAudioTrack().

◆ Put()

void cPtsIndex::Put ( uint32_t  Pts,
int  Index,
bool  Independent 
)

Member Data Documentation

◆ lastFound

int cPtsIndex::lastFound
private

Definition at line 31 of file dvbplayer.c.

Referenced by cPtsIndex(), FindFrameNumber(), and FindIndex().

◆ mutex

cMutex cPtsIndex::mutex
private

Definition at line 32 of file dvbplayer.c.

Referenced by Clear(), FindFrameNumber(), FindIndex(), IsEmpty(), and Put().

◆ pi

tPtsIndex cPtsIndex::pi[PTSINDEX_ENTRIES]
private

Definition at line 29 of file dvbplayer.c.

Referenced by FindFrameNumber(), FindIndex(), and Put().

◆ r

int cPtsIndex::r
private

Definition at line 30 of file dvbplayer.c.

Referenced by Clear(), FindFrameNumber(), FindIndex(), IsEmpty(), and Put().

◆ w

int cPtsIndex::w
private

Definition at line 30 of file dvbplayer.c.

Referenced by Clear(), FindFrameNumber(), FindIndex(), IsEmpty(), and Put().


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