MythTV
master
|
#include <mythcommflag/CommDetector2.h>
Public Member Functions | |
CommDetector2 (SkipType commDetectMethod, bool showProgress, bool fullSpeed, MythCommFlagPlayer *player, int chanid, QDateTime startts, QDateTime endts, QDateTime recstartts, QDateTime recendts, bool useDB) | |
bool | go (void) override |
void | GetCommercialBreakList (frm_dir_map_t &marks) override |
void | recordingFinished (long long totalFileSize) override |
void | requestCommBreakMapUpdate (void) override |
void | PrintFullMap (std::ostream &out, const frm_dir_map_t *comm_breaks, bool verbose) const override |
Public Member Functions inherited from CommDetectorBase | |
CommDetectorBase ()=default | |
void | stop () |
void | pause () |
void | resume () |
virtual void | recordingFinished ([[maybe_unused]] long long totalFileSize) |
Private Member Functions | |
~CommDetector2 () override=default | |
void | reportState (int elapsedms, long long frameno, long long nframes, unsigned int passno, unsigned int npasses) |
int | computeBreaks (long long nframes) |
Private Attributes | |
SkipType | m_commDetectMethod |
bool | m_showProgress {false} |
bool | m_fullSpeed {false} |
MythCommFlagPlayer * | m_player {nullptr} |
QDateTime | m_startts |
QDateTime | m_endts |
QDateTime | m_recstartts |
QDateTime | m_recendts |
bool | m_isRecording {false} |
bool | m_sendBreakMapUpdates {false} |
bool | m_breakMapUpdateRequested {false} |
bool | m_finished {false} |
long long | m_currentFrameNumber {0} |
FrameAnalyzerList | m_frameAnalyzers |
FrameAnalyzerList::iterator | m_currentPass |
FrameAnalyzerItem | m_finishedAnalyzers |
FrameAnalyzer::FrameMap | m_breaks |
TemplateFinder * | m_logoFinder {nullptr} |
TemplateMatcher * | m_logoMatcher {nullptr} |
BlankFrameDetector * | m_blankFrameDetector {nullptr} |
SceneChangeDetector * | m_sceneChangeDetector {nullptr} |
QString | m_debugdir |
Additional Inherited Members | |
Signals inherited from CommDetectorBase | |
void | statusUpdate (const QString &a) |
void | gotNewCommercialBreakList () |
void | breathe () |
Protected Member Functions inherited from CommDetectorBase | |
~CommDetectorBase () override=default | |
Protected Attributes inherited from CommDetectorBase | |
bool | m_bPaused { false } |
bool | m_bStop { false } |
Definition at line 36 of file CommDetector2.h.
CommDetector2::CommDetector2 | ( | SkipType | commDetectMethod, |
bool | showProgress, | ||
bool | fullSpeed, | ||
MythCommFlagPlayer * | player, | ||
int | chanid, | ||
QDateTime | startts, | ||
QDateTime | endts, | ||
QDateTime | recstartts, | ||
QDateTime | recendts, | ||
bool | useDB | ||
) |
Definition at line 273 of file CommDetector2.cpp.
|
overrideprivatedefault |
|
overridevirtual |
Implements CommDetectorBase.
Definition at line 463 of file CommDetector2.cpp.
|
overridevirtual |
|
override |
Definition at line 746 of file CommDetector2.cpp.
|
overridevirtual |
Reimplemented from CommDetectorBase.
Definition at line 755 of file CommDetector2.cpp.
|
overridevirtual |
Implements CommDetectorBase.
Definition at line 791 of file CommDetector2.cpp.
|
private |
Definition at line 369 of file CommDetector2.cpp.
Referenced by go().
|
private |
Definition at line 413 of file CommDetector2.cpp.
Referenced by GetCommercialBreakList().
|
private |
Definition at line 59 of file CommDetector2.h.
Referenced by CommDetector2().
Definition at line 60 of file CommDetector2.h.
Referenced by go(), and reportState().
Definition at line 61 of file CommDetector2.h.
Referenced by go().
|
private |
Definition at line 62 of file CommDetector2.h.
Referenced by CommDetector2(), GetCommercialBreakList(), and go().
|
private |
Definition at line 63 of file CommDetector2.h.
|
private |
Definition at line 64 of file CommDetector2.h.
|
private |
Definition at line 65 of file CommDetector2.h.
Referenced by CommDetector2(), and go().
|
private |
Definition at line 66 of file CommDetector2.h.
Referenced by CommDetector2(), and go().
Definition at line 69 of file CommDetector2.h.
Referenced by go(), and recordingFinished().
Definition at line 70 of file CommDetector2.h.
Referenced by go(), and requestCommBreakMapUpdate().
Definition at line 71 of file CommDetector2.h.
Referenced by go(), and requestCommBreakMapUpdate().
Definition at line 72 of file CommDetector2.h.
Referenced by computeBreaks(), GetCommercialBreakList(), and go().
|
private |
Definition at line 74 of file CommDetector2.h.
Referenced by GetCommercialBreakList(), go(), and requestCommBreakMapUpdate().
|
private |
Definition at line 75 of file CommDetector2.h.
Referenced by CommDetector2(), GetCommercialBreakList(), and go().
|
private |
Definition at line 76 of file CommDetector2.h.
Referenced by GetCommercialBreakList(), go(), and requestCommBreakMapUpdate().
|
private |
Definition at line 77 of file CommDetector2.h.
Referenced by GetCommercialBreakList(), and go().
|
private |
Definition at line 79 of file CommDetector2.h.
Referenced by computeBreaks(), and GetCommercialBreakList().
|
private |
Definition at line 81 of file CommDetector2.h.
Referenced by CommDetector2(), computeBreaks(), go(), PrintFullMap(), and requestCommBreakMapUpdate().
|
private |
Definition at line 82 of file CommDetector2.h.
Referenced by CommDetector2(), and computeBreaks().
|
private |
Definition at line 83 of file CommDetector2.h.
Referenced by CommDetector2(), computeBreaks(), and PrintFullMap().
|
private |
Definition at line 84 of file CommDetector2.h.
Referenced by CommDetector2(), and PrintFullMap().
|
private |
Definition at line 86 of file CommDetector2.h.
Referenced by CommDetector2().