|
vdr 2.7.9
|
#include <remux.h>
Public Member Functions | |
| cFrameChecker (void) | |
| ~cFrameChecker () | |
| void | Reset (void) |
| bool | Check (const uchar *Data, int Length, bool Independent, bool &Errors, bool &Missing, bool Final) |
| int | TotalErrors (void) |
Private Attributes | |
| cTsChecker * | tsChecker |
| cPtsChecker * | ptsChecker |
| cFrameChecker::cFrameChecker | ( | void | ) |
Definition at line 2163 of file remux.c.
References ptsChecker, and tsChecker.
| cFrameChecker::~cFrameChecker | ( | ) |
Definition at line 2169 of file remux.c.
References ptsChecker, and tsChecker.
| bool cFrameChecker::Check | ( | const uchar * | Data, |
| int | Length, | ||
| bool | Independent, | ||
| bool & | Errors, | ||
| bool & | Missing, | ||
| bool | Final ) |
Check Length bytes of the given Data (which must be a complete frame), with Independent telling whether this is an I-frame.
Errors returns true if this frame contains any TS errors, while Missing is true if there are any frames missing before this one. Final must be set to true if this is the last frame to be checked, otherwise false. Returns true if either Errors or Missing is true.
Definition at line 2180 of file remux.c.
References ptsChecker, tsChecker, and TsGetPts().
Referenced by cCuttingThread::ProcessSequence().
| void cFrameChecker::Reset | ( | void | ) |
Definition at line 2175 of file remux.c.
References tsChecker.
Referenced by cCuttingThread::ProcessSequence().
| int cFrameChecker::TotalErrors | ( | void | ) |
Returns the total number of all errors and missing frames detected in the data given to the calls to Check().
Definition at line 2191 of file remux.c.
References ptsChecker, and tsChecker.
Referenced by cCuttingThread::ProcessSequence().
|
private |
Definition at line 538 of file remux.h.
Referenced by cFrameChecker(), Check(), TotalErrors(), and ~cFrameChecker().
|
private |
Definition at line 537 of file remux.h.
Referenced by cFrameChecker(), Check(), Reset(), TotalErrors(), and ~cFrameChecker().