MythTV
master
|
#include <mythcommflag/FrameAnalyzer.h>
Public Types | |
enum | analyzeFrameResult : std::uint8_t { ANALYZE_OK, ANALYZE_ERROR, ANALYZE_FINISHED, ANALYZE_FATAL } |
using | FrameMap = QMap< long long, long long > |
Public Member Functions | |
virtual | ~FrameAnalyzer (void)=default |
virtual const char * | name (void) const =0 |
virtual enum analyzeFrameResult | MythPlayerInited ([[maybe_unused]] MythPlayer *player, [[maybe_unused]] long long nframes) |
virtual enum analyzeFrameResult | analyzeFrame (const MythVideoFrame *frame, long long frameno, long long *pNextFrame)=0 |
virtual int | finished ([[maybe_unused]] long long nframes, [[maybe_unused]] bool final) |
virtual int | reportTime (void) const |
virtual FrameMap | GetMap (unsigned int) const =0 |
Static Public Attributes | |
static const long long | kAnyFrame = LLONG_MAX |
static const long long | kNextFrame = -1 |
Definition at line 28 of file FrameAnalyzer.h.
using FrameAnalyzer::FrameMap = QMap<long long, long long> |
Definition at line 45 of file FrameAnalyzer.h.
enum FrameAnalyzer::analyzeFrameResult : std::uint8_t |
Enumerator | |
---|---|
ANALYZE_OK | |
ANALYZE_ERROR | |
ANALYZE_FINISHED | |
ANALYZE_FATAL |
Definition at line 36 of file FrameAnalyzer.h.
|
virtualdefault |
|
pure virtual |
Implemented in TemplateFinder, TemplateMatcher, SceneChangeDetector, and BlankFrameDetector.
|
inlinevirtual |
Definition at line 47 of file FrameAnalyzer.h.
|
pure virtual |
Implemented in TemplateFinder, TemplateMatcher, SceneChangeDetector, and BlankFrameDetector.
|
inlinevirtual |
Definition at line 63 of file FrameAnalyzer.h.
|
inlinevirtual |
Reimplemented in TemplateFinder, TemplateMatcher, SceneChangeDetector, and BlankFrameDetector.
Definition at line 68 of file FrameAnalyzer.h.
|
pure virtual |
Implemented in TemplateFinder, TemplateMatcher, SceneChangeDetector, and BlankFrameDetector.
|
static |
Definition at line 58 of file FrameAnalyzer.h.
Referenced by anonymous_namespace{CommDetector2.cpp}::processFrame().
|
static |
Definition at line 59 of file FrameAnalyzer.h.
Referenced by BlankFrameDetector::analyzeFrame(), SceneChangeDetector::analyzeFrame(), TemplateMatcher::analyzeFrame(), and anonymous_namespace{CommDetector2.cpp}::processFrame().