vdr  2.2.0
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)
 
int FindIndex (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 ( void  )

Definition at line 40 of file dvbplayer.c.

References Clear(), and lastFound.

Member Function Documentation

void cPtsIndex::Clear ( void  )

Definition at line 46 of file dvbplayer.c.

References mutex, r, and w.

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

int cPtsIndex::FindIndex ( uint32_t  Pts)
bool cPtsIndex::IsEmpty ( void  )

Definition at line 52 of file dvbplayer.c.

References mutex, r, and w.

Referenced by cDvbPlayer::SetAudioTrack().

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

Member Data Documentation

int cPtsIndex::lastFound
private

Definition at line 30 of file dvbplayer.c.

Referenced by cPtsIndex(), and FindIndex().

cMutex cPtsIndex::mutex
private

Definition at line 31 of file dvbplayer.c.

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

tPtsIndex cPtsIndex::pi[PTSINDEX_ENTRIES]
private

Definition at line 28 of file dvbplayer.c.

Referenced by FindIndex(), and Put().

int cPtsIndex::r
private

Definition at line 29 of file dvbplayer.c.

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

int cPtsIndex::w
private

Definition at line 29 of file dvbplayer.c.

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


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