vdr 2.7.5
|
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) |
cMpeg2Fixer::cMpeg2Fixer | ( | uchar * | Data, |
int | Length, | ||
int | Vpid ) |
void cMpeg2Fixer::AdjGopTime | ( | int | Offset, |
int | FramesPerSecond ) |
Definition at line 171 of file cutter.c.
References FindHeader(), cTsPayload::GetByte(), cTsPayload::GetLastIndex(), and cTsPayload::SetByte().
Referenced by cCuttingThread::FixFrame().
void cMpeg2Fixer::AdjTref | ( | int | TrefOffset | ) |
Definition at line 206 of file cutter.c.
References FindHeader(), cTsPayload::GetByte(), cTsPayload::GetLastIndex(), and cTsPayload::SetByte().
Referenced by cCuttingThread::FixFrame().
|
private |
Definition at line 131 of file cutter.c.
References esyslog, cTsPayload::Find(), and cTsPayload::Reset().
Referenced by AdjGopTime(), AdjTref(), GetTref(), SetBrokenLink(), and SetClosedGop().
int cMpeg2Fixer::GetTref | ( | void | ) |
Definition at line 162 of file cutter.c.
References FindHeader(), and cTsPayload::GetByte().
Referenced by cCuttingThread::FixFrame().
void cMpeg2Fixer::SetBrokenLink | ( | void | ) |
Definition at line 140 of file cutter.c.
References FindHeader(), cTsPayload::GetByte(), cTsPayload::GetLastIndex(), cTsPayload::SetByte(), and cTsPayload::SkipBytes().
Referenced by cCuttingThread::FixFrame().
void cMpeg2Fixer::SetClosedGop | ( | void | ) |
Definition at line 152 of file cutter.c.
References FindHeader(), cTsPayload::GetByte(), cTsPayload::GetLastIndex(), cTsPayload::SetByte(), and cTsPayload::SkipBytes().
Referenced by cCuttingThread::FixFrame().