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

Public Member Functions

 cFrameChecker (void)
 
void SetFrameDelta (int FrameDelta)
 
void CheckFrame (const uchar *Data, int Length)
 
void ReportBroken (void)
 
int Errors (void)
 

Private Member Functions

void Report (const char *Message, int NumErrors=1)
 

Private Attributes

int frameDelta
 
int64_t lastPts
 
uint32_t backRefs
 
int lastFwdRef
 
int errors
 

Detailed Description

Definition at line 84 of file recorder.c.

Constructor & Destructor Documentation

◆ cFrameChecker()

cFrameChecker::cFrameChecker ( void  )

Definition at line 100 of file recorder.c.

References backRefs, DEFAULTFRAMESPERSECOND, errors, frameDelta, lastFwdRef, lastPts, and PTSTICKS.

Member Function Documentation

◆ CheckFrame()

void cFrameChecker::CheckFrame ( const uchar Data,
int  Length 
)

Definition at line 116 of file recorder.c.

References backRefs, frameDelta, lastFwdRef, lastPts, MAX_BACK_REFS, PtsDiff(), Report(), and TsGetPts().

Referenced by cRecorder::Action().

◆ Errors()

int cFrameChecker::Errors ( void  )
inline

Definition at line 97 of file recorder.c.

References errors.

Referenced by cRecorder::HandleErrors().

◆ Report()

void cFrameChecker::Report ( const char *  Message,
int  NumErrors = 1 
)
private

Definition at line 109 of file recorder.c.

References DebugChecks, errors, and TimeToString().

Referenced by CheckFrame(), and ReportBroken().

◆ ReportBroken()

void cFrameChecker::ReportBroken ( void  )

Definition at line 156 of file recorder.c.

References frameDelta, MAXBROKENTIMEOUT, PTSTICKS, and Report().

Referenced by cRecorder::Action().

◆ SetFrameDelta()

void cFrameChecker::SetFrameDelta ( int  FrameDelta)
inline

Definition at line 94 of file recorder.c.

References frameDelta.

Referenced by cRecorder::Action().

Member Data Documentation

◆ backRefs

uint32_t cFrameChecker::backRefs
private

Definition at line 88 of file recorder.c.

Referenced by cFrameChecker(), and CheckFrame().

◆ errors

int cFrameChecker::errors
private

Definition at line 90 of file recorder.c.

Referenced by cFrameChecker(), Errors(), and Report().

◆ frameDelta

int cFrameChecker::frameDelta
private

Definition at line 86 of file recorder.c.

Referenced by cFrameChecker(), CheckFrame(), ReportBroken(), and SetFrameDelta().

◆ lastFwdRef

int cFrameChecker::lastFwdRef
private

Definition at line 89 of file recorder.c.

Referenced by cFrameChecker(), and CheckFrame().

◆ lastPts

int64_t cFrameChecker::lastPts
private

Definition at line 87 of file recorder.c.

Referenced by cFrameChecker(), and CheckFrame().


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