18 #ifndef TEMPLATEFINDER_H
19 #define TEMPLATEFINDER_H
22 #include "libavcodec/avcodec.h"
35 std::shared_ptr<BorderDetector> bd,
36 std::shared_ptr<EdgeDetector> ed,
37 MythPlayer *player, std::chrono::seconds proglen,
38 const QString& debugdir);
40 std::shared_ptr<BorderDetector> bd,
41 std::shared_ptr<EdgeDetector> ed,
42 MythPlayer *player,
int proglen,
const QString& debugdir) :
44 player, std::chrono::seconds(proglen), debugdir) {};
48 const char *
name(
void)
const override
49 {
return "TemplateFinder"; }
51 long long nframes)
override;
53 long long frameno,
long long *pNextFrame)
override;
54 int finished(
long long nframes,
bool final)
override;
61 int *pwidth,
int *pheight)
const;