vdr  2.4.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, 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 ( void  )

Definition at line 42 of file dvbplayer.c.

References Clear(), and lastFound.

Member Function Documentation

void cPtsIndex::Clear ( void  )

Definition at line 48 of file dvbplayer.c.

References mutex, r, and w.

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

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

Definition at line 54 of file dvbplayer.c.

References mutex, r, and w.

Referenced by cDvbPlayer::SetAudioTrack().

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

Member Data Documentation

int cPtsIndex::lastFound
private

Definition at line 31 of file dvbplayer.c.

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

cMutex cPtsIndex::mutex
private

Definition at line 32 of file dvbplayer.c.

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

tPtsIndex cPtsIndex::pi[PTSINDEX_ENTRIES]
private

Definition at line 29 of file dvbplayer.c.

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

int cPtsIndex::r
private

Definition at line 30 of file dvbplayer.c.

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

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: