vdr 2.7.5
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, bool Still)
int FindFrameNumber (uint32_t Pts, bool Forward, bool Still)

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().

◆ FindFrameNumber()

int cPtsIndex::FindFrameNumber ( uint32_t Pts,
bool Forward,
bool Still )

Definition at line 93 of file dvbplayer.c.

References FindIndex(), lastFound, mutex, pi, PTSINDEX_ENTRIES, r, and w.

◆ FindIndex()

int cPtsIndex::FindIndex ( uint32_t Pts,
bool Still )

Definition at line 71 of file dvbplayer.c.

References lastFound, mutex, pi, PTSINDEX_ENTRIES, r, and w.

Referenced by FindFrameNumber().

◆ IsEmpty()

bool cPtsIndex::IsEmpty ( void )

Definition at line 54 of file dvbplayer.c.

References mutex, r, and w.

◆ Put()

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

Definition at line 60 of file dvbplayer.c.

References mutex, pi, PTSINDEX_ENTRIES, r, and w.

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: