vdr 2.8.3
cPesIndex Class Reference

Public Member Functions

 cPesIndex (void)
 ~cPesIndex ()
USE bool Load (const char *FileName)
USE bool IsValid (int Index)
USE bool Get (int Index, uchar &FileNumber, uint32_t &FileOffset, bool &Independent, int &Length)

Private Attributes

cString fileName
tIndexPes * index
int last

Detailed Description

Definition at line 145 of file pes2ts.c.

Constructor & Destructor Documentation

◆ cPesIndex()

cPesIndex::cPesIndex ( void )

Definition at line 160 of file pes2ts.c.

References index, and last.

◆ ~cPesIndex()

cPesIndex::~cPesIndex ( )

Definition at line 210 of file pes2ts.c.

References index.

Member Function Documentation

◆ Get()

bool cPesIndex::Get ( int Index,
uchar & FileNumber,
uint32_t & FileOffset,
bool & Independent,
int & Length )

Definition at line 215 of file pes2ts.c.

References index, IsValid(), and last.

Referenced by cPesReader::ReadPesFrame().

◆ IsValid()

USE bool cPesIndex::IsValid ( int Index)
inline

Definition at line 154 of file pes2ts.c.

References last, and USE.

Referenced by Get(), and cPesReader::HasData().

◆ Load()

bool cPesIndex::Load ( const char * FileName)

Definition at line 166 of file pes2ts.c.

References AddDirectory(), Error(), fileName, index, INDEXFILESUFFIX, last, MALLOC, safe_read(), and Warning().

Referenced by cPesReader::Init().

Member Data Documentation

◆ fileName

cString cPesIndex::fileName
private

Definition at line 147 of file pes2ts.c.

Referenced by Load().

◆ index

tIndexPes* cPesIndex::index
private

Definition at line 148 of file pes2ts.c.

Referenced by cPesIndex(), Get(), Load(), and ~cPesIndex().

◆ last

int cPesIndex::last
private

Definition at line 149 of file pes2ts.c.

Referenced by cPesIndex(), Get(), IsValid(), and Load().


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