vdr 2.7.3
cMpeg2Fixer Class Reference

Public Member Functions

 cMpeg2Fixer (uchar *Data, int Length, int Vpid)
 
void SetBrokenLink (void)
 
void SetClosedGop (void)
 
int GetTref (void)
 
void AdjGopTime (int Offset, int FramesPerSecond)
 
void AdjTref (int TrefOffset)
 

Private Member Functions

bool FindHeader (uint32_t Code, const char *Header)
 
- Private Member Functions inherited from cTsPayload
 cTsPayload (void)
 
 cTsPayload (uchar *Data, int Length, int Pid=-1)
 
void Setup (uchar *Data, int Length, int Pid=-1)
 
bool AtTsStart (void)
 
bool AtPayloadStart (void)
 
int Available (void)
 
int Used (void)
 
bool Eof (void) const
 
void Statistics (void) const
 
uchar GetByte (void)
 
bool SkipBytes (int Bytes)
 
bool SkipPesHeader (void)
 
int GetLastIndex (void)
 
void SetByte (uchar Byte, int Index)
 
bool Find (uint32_t Code)
 
void Reset (void)
 

Detailed Description

Definition at line 108 of file cutter.c.

Constructor & Destructor Documentation

◆ cMpeg2Fixer()

cMpeg2Fixer::cMpeg2Fixer ( uchar * Data,
int Length,
int Vpid )

Definition at line 120 of file cutter.c.

References Setup, TS_SIZE, and TsPid().

Member Function Documentation

◆ AdjGopTime()

void cMpeg2Fixer::AdjGopTime ( int Offset,
int FramesPerSecond )

◆ AdjTref()

void cMpeg2Fixer::AdjTref ( int TrefOffset)

◆ FindHeader()

bool cMpeg2Fixer::FindHeader ( uint32_t Code,
const char * Header )
private

Definition at line 131 of file cutter.c.

References esyslog, cTsPayload::Find(), and cTsPayload::Reset().

Referenced by AdjGopTime(), AdjTref(), GetTref(), SetBrokenLink(), and SetClosedGop().

◆ GetTref()

int cMpeg2Fixer::GetTref ( void )

Definition at line 162 of file cutter.c.

References FindHeader(), and cTsPayload::GetByte().

Referenced by cCuttingThread::FixFrame().

◆ SetBrokenLink()

void cMpeg2Fixer::SetBrokenLink ( void )

◆ SetClosedGop()

void cMpeg2Fixer::SetClosedGop ( void )

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