|
vdr 2.8.1
|
#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 2127 of file remux.c.
References ptsChecker, and tsChecker.
| cFrameChecker::~cFrameChecker | ( | ) |
Definition at line 2133 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 2144 of file remux.c.
References ptsChecker, tsChecker, and TsGetPts().
Referenced by cCuttingThread::ProcessSequence().
| void cFrameChecker::Reset | ( | void | ) |
Definition at line 2139 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 2155 of file remux.c.
References ptsChecker, and tsChecker.
Referenced by cCuttingThread::ProcessSequence().
|
private |
Definition at line 532 of file remux.h.
Referenced by cFrameChecker(), Check(), TotalErrors(), and ~cFrameChecker().
|
private |
Definition at line 531 of file remux.h.
Referenced by cFrameChecker(), Check(), Reset(), TotalErrors(), and ~cFrameChecker().