#include <mythcommflag/TemplateFinder.h>
|
| | TemplateFinder (std::shared_ptr< PGMConverter > pgmc, std::shared_ptr< BorderDetector > bd, std::shared_ptr< EdgeDetector > ed, MythPlayer *player, std::chrono::seconds proglen, const QString &debugdir) |
| |
| | TemplateFinder (std::shared_ptr< PGMConverter > pgmc, std::shared_ptr< BorderDetector > bd, std::shared_ptr< EdgeDetector > ed, MythPlayer *player, int proglen, const QString &debugdir) |
| |
| | ~TemplateFinder (void) override |
| |
| const char * | name (void) const override |
| |
| enum analyzeFrameResult | MythPlayerInited (MythPlayer *player, long long nframes) override |
| |
| enum analyzeFrameResult | analyzeFrame (const MythVideoFrame *frame, long long frameno, long long *pNextFrame) override |
| |
| int | finished (long long nframes, bool final) override |
| |
| int | reportTime (void) const override |
| |
| FrameMap | GetMap (unsigned int) const override |
| |
| const struct AVFrame * | getTemplate (int *prow, int *pcol, int *pwidth, int *pheight) const |
| |
| virtual | ~FrameAnalyzer (void)=default |
| |
| virtual const char * | name (void) const =0 |
| |
| virtual enum analyzeFrameResult | MythPlayerInited (MythPlayer *player, long long nframes) |
| |
| virtual enum analyzeFrameResult | analyzeFrame (const MythVideoFrame *frame, long long frameno, long long *pNextFrame)=0 |
| |
| virtual int | finished (long long nframes, bool final) |
| |
| virtual int | reportTime (void) const |
| |
| virtual FrameMap | GetMap (unsigned int) const =0 |
| |
Definition at line 30 of file TemplateFinder.h.
◆ TemplateFinder() [1/2]
◆ TemplateFinder() [2/2]
◆ ~TemplateFinder()
| TemplateFinder::~TemplateFinder |
( |
void |
| ) |
|
|
override |
◆ analyzeFrame()
◆ finished()
| int TemplateFinder::finished |
( |
long long |
nframes, |
|
|
bool |
final |
|
) |
| |
|
overridevirtual |
◆ GetMap()
| FrameMap TemplateFinder::GetMap |
( |
unsigned int |
| ) |
const |
|
inlineoverridevirtual |
◆ getTemplate()
| const struct AVFrame * TemplateFinder::getTemplate |
( |
int * |
prow, |
|
|
int * |
pcol, |
|
|
int * |
pwidth, |
|
|
int * |
pheight |
|
) |
| const |
◆ MythPlayerInited()
◆ name()
| const char * TemplateFinder::name |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
◆ reportTime()
| int TemplateFinder::reportTime |
( |
void |
| ) |
const |
|
overridevirtual |
◆ resetBuffers()
| int TemplateFinder::resetBuffers |
( |
int |
newwidth, |
|
|
int |
newheight |
|
) |
| |
|
private |
◆ m_analyzeTime
| std::chrono::microseconds TemplateFinder::m_analyzeTime {0us} |
|
private |
◆ m_borderDetector
| std::shared_ptr<BorderDetector> TemplateFinder::m_borderDetector {nullptr} |
|
private |
◆ m_cheight
| int TemplateFinder::m_cheight {-1} |
|
private |
◆ m_cropped
| AVFrame TemplateFinder::m_cropped {} |
|
private |
◆ m_cwidth
| int TemplateFinder::m_cwidth {-1} |
|
private |
◆ m_debugData
| QString TemplateFinder::m_debugData |
|
private |
◆ m_debugDir
| QString TemplateFinder::m_debugDir |
|
private |
◆ m_debugEdgeCounts
| bool TemplateFinder::m_debugEdgeCounts {false} |
|
private |
◆ m_debugFrames
| bool TemplateFinder::m_debugFrames {false} |
|
private |
◆ m_debugLevel
| int TemplateFinder::m_debugLevel {0} |
|
private |
◆ m_debugTemplate
| bool TemplateFinder::m_debugTemplate {false} |
|
private |
◆ m_debugTmpl
| QString TemplateFinder::m_debugTmpl |
|
private |
◆ m_edgeDetector
| std::shared_ptr<EdgeDetector> TemplateFinder::m_edgeDetector {nullptr} |
|
private |
◆ m_endFrame
| long long TemplateFinder::m_endFrame {0} |
|
private |
◆ m_frameInterval
| int TemplateFinder::m_frameInterval |
|
private |
◆ m_height
| ssize_t TemplateFinder::m_height {-1} |
|
private |
◆ m_maxContentCol1
| int TemplateFinder::m_maxContentCol1 {INT_MIN} |
|
private |
◆ m_maxContentRow1
| int TemplateFinder::m_maxContentRow1 {INT_MIN} |
|
private |
◆ m_minContentCol
| int TemplateFinder::m_minContentCol {INT_MAX} |
|
private |
◆ m_minContentRow
| int TemplateFinder::m_minContentRow {INT_MAX} |
|
private |
◆ m_nextFrame
| long long TemplateFinder::m_nextFrame {0} |
|
private |
◆ m_pgmConverter
| std::shared_ptr<PGMConverter> TemplateFinder::m_pgmConverter {nullptr} |
|
private |
◆ m_sampleTime
| std::chrono::seconds TemplateFinder::m_sampleTime {20min} |
|
private |
◆ m_scores
| unsigned int* TemplateFinder::m_scores {nullptr} |
|
private |
◆ m_tmpl
◆ m_tmplCol
| int TemplateFinder::m_tmplCol {-1} |
|
private |
◆ m_tmplDone
| bool TemplateFinder::m_tmplDone {false} |
|
private |
◆ m_tmplHeight
| int TemplateFinder::m_tmplHeight {-1} |
|
private |
◆ m_tmplRow
| int TemplateFinder::m_tmplRow {-1} |
|
private |
◆ m_tmplValid
| bool TemplateFinder::m_tmplValid {false} |
|
private |
◆ m_tmplWidth
| int TemplateFinder::m_tmplWidth {-1} |
|
private |
◆ m_width
| ssize_t TemplateFinder::m_width {-1} |
|
private |
The documentation for this class was generated from the following files: