MythTV
master
|
#include <ClassicCommDetector.h>
Classes | |
struct | FrameBlock |
Public Slots | |
void | sceneChangeDetectorHasNewInformation (unsigned int framenum, bool isSceneChange, float debugValue) |
Public Member Functions | |
ClassicCommDetector (SkipType commDetectMethod, bool showProgress, bool fullSpeed, MythCommFlagPlayer *player, QDateTime startedAt_in, QDateTime stopsAt_in, QDateTime recordingStartedAt_in, QDateTime recordingStopsAt_in) | |
virtual void | deleteLater (void) |
bool | go () 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 |
void | logoDetectorBreathe () |
![]() | |
CommDetectorBase ()=default | |
void | stop () |
void | pause () |
void | resume () |
Protected Member Functions | |
~ClassicCommDetector () override=default | |
void | Init () |
void | SetVideoParams (float aspect) |
void | ProcessFrame (MythVideoFrame *frame, long long frame_number) |
![]() | |
~CommDetectorBase () override=default | |
Protected Attributes | |
MythCommFlagPlayer * | m_player {nullptr} |
QDateTime | m_startedAt |
QDateTime | m_stopsAt |
QDateTime | m_recordingStartedAt |
QDateTime | m_recordingStopsAt |
bool | m_aggressiveDetection {false} |
bool | m_stillRecording {false} |
bool | m_fullSpeed {false} |
bool | m_showProgress {false} |
double | m_fps {0.0} |
uint64_t | m_framesProcessed {0} |
long long | m_preRoll {0} |
long long | m_postRoll {0} |
QMap< long long, FrameInfoEntry > | m_frameInfo |
![]() | |
bool | m_bPaused { false } |
bool | m_bStop { false } |
Private Member Functions | |
void | ClearAllMaps (void) |
void | GetBlankCommMap (frm_dir_map_t &comms) |
void | GetBlankCommBreakMap (frm_dir_map_t &comms) |
void | GetSceneChangeMap (frm_dir_map_t &scenes, int64_t start_frame) |
frm_dir_map_t | Combine2Maps (const frm_dir_map_t &a, const frm_dir_map_t &b) const |
void | BuildAllMethodsCommList (void) |
void | BuildBlankFrameCommList (void) |
void | BuildSceneChangeCommList (void) |
void | BuildLogoCommList () |
void | MergeBlankCommList (void) |
bool | FrameIsInBreakMap (uint64_t f, const frm_dir_map_t &breakMap) const |
void | DumpMap (frm_dir_map_t &map) const |
void | CleanupFrameInfo (void) |
void | GetLogoCommBreakMap (show_map_t &map) |
Static Private Member Functions | |
static void | UpdateFrameBlock (FrameBlock *fbp, const FrameInfoEntry &finfo, int format, int aspect) |
static void | CondenseMarkMap (show_map_t &map, int spacing, int length) |
static void | ConvertShowMapToCommMap (frm_dir_map_t &out, const show_map_t &in) |
Friends | |
class | ClassicLogoDetector |
Additional Inherited Members | |
![]() | |
void | statusUpdate (const QString &a) |
void | gotNewCommercialBreakList () |
void | breathe () |
Definition at line 46 of file ClassicCommDetector.h.
ClassicCommDetector::ClassicCommDetector | ( | SkipType | commDetectMethod, |
bool | showProgress, | ||
bool | fullSpeed, | ||
MythCommFlagPlayer * | player, | ||
QDateTime | startedAt_in, | ||
QDateTime | stopsAt_in, | ||
QDateTime | recordingStartedAt_in, | ||
QDateTime | recordingStopsAt_in | ||
) |
Definition at line 121 of file ClassicCommDetector.cpp.
|
overrideprotecteddefault |
|
virtual |
Definition at line 271 of file ClassicCommDetector.cpp.
|
overridevirtual |
Implements CommDetectorBase.
Reimplemented in PrePostRollFlagger.
Definition at line 282 of file ClassicCommDetector.cpp.
|
overridevirtual |
Implements CommDetectorBase.
Reimplemented in PrePostRollFlagger.
Definition at line 617 of file ClassicCommDetector.cpp.
Referenced by go().
|
overridevirtual |
Reimplemented from CommDetectorBase.
Definition at line 689 of file ClassicCommDetector.cpp.
|
overridevirtual |
Reimplemented from CommDetectorBase.
Definition at line 696 of file ClassicCommDetector.cpp.
|
overridevirtual |
Implements CommDetectorBase.
Definition at line 2507 of file ClassicCommDetector.cpp.
void ClassicCommDetector::logoDetectorBreathe | ( | ) |
Definition at line 2502 of file ClassicCommDetector.cpp.
Referenced by ClassicLogoDetector::searchForLogo().
|
private |
Definition at line 991 of file ClassicCommDetector.cpp.
Referenced by Init().
|
private |
Definition at line 1004 of file ClassicCommDetector.cpp.
|
private |
Definition at line 1014 of file ClassicCommDetector.cpp.
|
private |
Definition at line 1024 of file ClassicCommDetector.cpp.
|
private |
Definition at line 1039 of file ClassicCommDetector.cpp.
Referenced by GetCommercialBreakList().
|
staticprivate |
Definition at line 1138 of file ClassicCommDetector.cpp.
Referenced by BuildAllMethodsCommList().
|
private |
Definition at line 1180 of file ClassicCommDetector.cpp.
Referenced by GetCommercialBreakList().
|
private |
Definition at line 1882 of file ClassicCommDetector.cpp.
Referenced by GetBlankCommBreakMap(), GetBlankCommMap(), and GetCommercialBreakList().
|
private |
Definition at line 2047 of file ClassicCommDetector.cpp.
Referenced by GetCommercialBreakList().
|
private |
Definition at line 2148 of file ClassicCommDetector.cpp.
Referenced by GetCommercialBreakList().
|
private |
Definition at line 2162 of file ClassicCommDetector.cpp.
Referenced by BuildBlankFrameCommList().
|
private |
Definition at line 2227 of file ClassicCommDetector.cpp.
Referenced by Combine2Maps().
|
private |
Definition at line 2259 of file ClassicCommDetector.cpp.
|
staticprivate |
Definition at line 2286 of file ClassicCommDetector.cpp.
Referenced by BuildLogoCommList().
|
staticprivate |
Definition at line 2351 of file ClassicCommDetector.cpp.
Referenced by BuildLogoCommList().
|
private |
Definition at line 2392 of file ClassicCommDetector.cpp.
Referenced by GetCommercialBreakList().
|
private |
Definition at line 2480 of file ClassicCommDetector.cpp.
Referenced by BuildLogoCommList().
|
protected |
Definition at line 164 of file ClassicCommDetector.cpp.
Referenced by go(), and PrePostRollFlagger::Init().
|
protected |
Definition at line 702 of file ClassicCommDetector.cpp.
Referenced by PrePostRollFlagger::findBreakInrange(), PrePostRollFlagger::go(), and go().
|
protected |
Definition at line 740 of file ClassicCommDetector.cpp.
Referenced by PrePostRollFlagger::findBreakInrange(), and go().
|
slot |
Definition at line 600 of file ClassicCommDetector.cpp.
Referenced by Init().
|
friend |
Definition at line 70 of file ClassicCommDetector.h.
Referenced by go().
|
private |
Definition at line 114 of file ClassicCommDetector.h.
Referenced by GetCommercialBreakList(), go(), Init(), and ProcessFrame().
|
private |
Definition at line 115 of file ClassicCommDetector.h.
Definition at line 116 of file ClassicCommDetector.h.
Referenced by go(), and requestCommBreakMapUpdate().
Definition at line 117 of file ClassicCommDetector.h.
Referenced by go(), and requestCommBreakMapUpdate().
|
private |
Definition at line 119 of file ClassicCommDetector.h.
Referenced by Init(), and ProcessFrame().
|
private |
Definition at line 120 of file ClassicCommDetector.h.
Referenced by ClassicCommDetector(), and ProcessFrame().
|
private |
Definition at line 121 of file ClassicCommDetector.h.
Referenced by ClassicCommDetector(), and ProcessFrame().
|
private |
Definition at line 122 of file ClassicCommDetector.h.
Referenced by ClassicCommDetector(), and ProcessFrame().
|
private |
Definition at line 123 of file ClassicCommDetector.h.
Referenced by ClassicCommDetector(), and ProcessFrame().
|
private |
Definition at line 124 of file ClassicCommDetector.h.
Referenced by ClassicCommDetector(), and ProcessFrame().
|
private |
Definition at line 125 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), and ClassicCommDetector().
|
private |
Definition at line 126 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), and ClassicCommDetector().
|
private |
Definition at line 127 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), and ClassicCommDetector().
|
private |
Definition at line 128 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), and ClassicCommDetector().
Definition at line 129 of file ClassicCommDetector.h.
Referenced by ClassicCommDetector(), and ProcessFrame().
Definition at line 131 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), Init(), and ProcessFrame().
|
private |
Definition at line 133 of file ClassicCommDetector.h.
Referenced by Init(), and ProcessFrame().
|
private |
Definition at line 134 of file ClassicCommDetector.h.
Referenced by Init(), PrintFullMap(), ProcessFrame(), and SetVideoParams().
|
private |
Definition at line 136 of file ClassicCommDetector.h.
Referenced by go(), Init(), and ProcessFrame().
|
private |
Definition at line 137 of file ClassicCommDetector.h.
Referenced by go(), Init(), and ProcessFrame().
|
private |
Definition at line 138 of file ClassicCommDetector.h.
Referenced by Init(), and ProcessFrame().
|
private |
Definition at line 139 of file ClassicCommDetector.h.
Referenced by Init(), and ProcessFrame().
Definition at line 140 of file ClassicCommDetector.h.
|
private |
Definition at line 141 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), CleanupFrameInfo(), Init(), and ProcessFrame().
|
private |
Definition at line 142 of file ClassicCommDetector.h.
Referenced by Init(), ProcessFrame(), and SetVideoParams().
|
private |
Definition at line 145 of file ClassicCommDetector.h.
Referenced by Init(), and ProcessFrame().
Definition at line 147 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), go(), Init(), and ProcessFrame().
|
private |
Definition at line 148 of file ClassicCommDetector.h.
Referenced by deleteLater(), go(), and ProcessFrame().
|
private |
Definition at line 150 of file ClassicCommDetector.h.
Referenced by BuildBlankFrameCommList(), CleanupFrameInfo(), ClearAllMaps(), and ProcessFrame().
|
private |
Definition at line 151 of file ClassicCommDetector.h.
Referenced by BuildBlankFrameCommList(), ClearAllMaps(), GetBlankCommMap(), and MergeBlankCommList().
|
private |
Definition at line 152 of file ClassicCommDetector.h.
Referenced by BuildBlankFrameCommList(), ClearAllMaps(), GetBlankCommBreakMap(), GetCommercialBreakList(), and MergeBlankCommList().
|
private |
Definition at line 153 of file ClassicCommDetector.h.
Referenced by BuildSceneChangeCommList(), ClearAllMaps(), GetSceneChangeMap(), and sceneChangeDetectorHasNewInformation().
|
private |
Definition at line 154 of file ClassicCommDetector.h.
Referenced by BuildSceneChangeCommList(), ClearAllMaps(), and GetCommercialBreakList().
|
private |
Definition at line 155 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), ClearAllMaps(), and GetCommercialBreakList().
|
private |
Definition at line 156 of file ClassicCommDetector.h.
Referenced by BuildLogoCommList(), and GetCommercialBreakList().
Definition at line 158 of file ClassicCommDetector.h.
Referenced by Init(), and ProcessFrame().
Definition at line 159 of file ClassicCommDetector.h.
Referenced by Init(), and ProcessFrame().
Definition at line 161 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), Init(), and SetVideoParams().
|
private |
Definition at line 163 of file ClassicCommDetector.h.
Referenced by deleteLater(), Init(), and ProcessFrame().
|
protected |
Definition at line 166 of file ClassicCommDetector.h.
Referenced by PrePostRollFlagger::findBreakInrange(), PrePostRollFlagger::go(), go(), and Init().
|
protected |
Definition at line 167 of file ClassicCommDetector.h.
Referenced by PrePostRollFlagger::go(), go(), and Init().
|
protected |
Definition at line 168 of file ClassicCommDetector.h.
Referenced by Init().
|
protected |
Definition at line 169 of file ClassicCommDetector.h.
Referenced by PrePostRollFlagger::findBreakInrange(), PrePostRollFlagger::go(), go(), and Init().
|
protected |
Definition at line 170 of file ClassicCommDetector.h.
Referenced by PrePostRollFlagger::go(), go(), and Init().
Definition at line 171 of file ClassicCommDetector.h.
Referenced by BuildBlankFrameCommList(), PrePostRollFlagger::go(), go(), Init(), and ProcessFrame().
Definition at line 172 of file ClassicCommDetector.h.
Referenced by PrePostRollFlagger::findBreakInrange(), PrePostRollFlagger::go(), go(), and recordingFinished().
Definition at line 173 of file ClassicCommDetector.h.
Referenced by PrePostRollFlagger::findBreakInrange(), go(), and ClassicLogoDetector::searchForLogo().
Definition at line 174 of file ClassicCommDetector.h.
Referenced by PrePostRollFlagger::findBreakInrange(), PrePostRollFlagger::go(), and go().
|
protected |
Definition at line 175 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), BuildBlankFrameCommList(), BuildLogoCommList(), BuildSceneChangeCommList(), CleanupFrameInfo(), Combine2Maps(), DumpMap(), PrePostRollFlagger::findBreakInrange(), PrePostRollFlagger::go(), go(), Init(), and MergeBlankCommList().
|
protected |
Definition at line 176 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), BuildSceneChangeCommList(), CleanupFrameInfo(), Combine2Maps(), FrameIsInBreakMap(), GetLogoCommBreakMap(), go(), Init(), and ProcessFrame().
|
protected |
Definition at line 177 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), PrePostRollFlagger::GetCommercialBreakList(), PrePostRollFlagger::go(), Init(), and ClassicLogoDetector::searchForLogo().
|
protected |
Definition at line 178 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), PrePostRollFlagger::GetCommercialBreakList(), PrePostRollFlagger::go(), and Init().
|
protected |
Definition at line 184 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), CleanupFrameInfo(), ClearAllMaps(), PrePostRollFlagger::findBreakInrange(), GetLogoCommBreakMap(), PrintFullMap(), ProcessFrame(), sceneChangeDetectorHasNewInformation(), and SetVideoParams().