|
vdr 2.8.3
|
#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 Pid) |
| int | TotalErrors (void) |
Private Attributes | |
| cTsChecker * | tsChecker |
| cPtsChecker * | ptsChecker |
| cFrameChecker::cFrameChecker | ( | void | ) |
Definition at line 2154 of file remux.c.
References ptsChecker, and tsChecker.
| cFrameChecker::~cFrameChecker | ( | ) |
Definition at line 2160 of file remux.c.
References ptsChecker, and tsChecker.
| bool cFrameChecker::Check | ( | const uchar * | Data, |
| int | Length, | ||
| bool | Independent, | ||
| bool & | Errors, | ||
| bool & | Missing, | ||
| bool | Final, | ||
| int | Pid ) |
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. Pid is the PID to check, which is the VPID for a video recording, or the first APID or DPID for an audio recording. Returns true if either Errors or Missing is true.
Definition at line 2171 of file remux.c.
References cPtsChecker::AddPts(), cTsChecker::CheckTs(), cTsChecker::NewErrors(), cPtsChecker::NewMissing(), cPtsChecker::Process(), ptsChecker, tsChecker, and TsGetPts().
Referenced by cCuttingThread::ProcessSequence().
| void cFrameChecker::Reset | ( | void | ) |
Definition at line 2166 of file remux.c.
References cTsChecker::Reset(), and 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 2182 of file remux.c.
References cTsChecker::Errors(), cPtsChecker::Missing(), ptsChecker, and tsChecker.
Referenced by cCuttingThread::ProcessSequence().
|
private |
Definition at line 536 of file remux.h.
Referenced by cFrameChecker(), Check(), TotalErrors(), and ~cFrameChecker().
|
private |
Definition at line 535 of file remux.h.
Referenced by cFrameChecker(), Check(), Reset(), TotalErrors(), and ~cFrameChecker().