#include <mythcommflag/ClassicCommDetector.h>
|
| | 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 |
| |
| virtual bool | go ()=0 |
| |
| void | stop () |
| |
| void | pause () |
| |
| void | resume () |
| |
| virtual void | GetCommercialBreakList (frm_dir_map_t &comms)=0 |
| |
| virtual void | recordingFinished (long long totalFileSize) |
| |
| virtual void | requestCommBreakMapUpdate (void) |
| |
| virtual void | PrintFullMap (std::ostream &out, const frm_dir_map_t *comm_breaks, bool verbose) const =0 |
| |
Definition at line 47 of file ClassicCommDetector.h.
◆ ClassicCommDetector()
| ClassicCommDetector::ClassicCommDetector |
( |
SkipType |
commDetectMethod, |
|
|
bool |
showProgress, |
|
|
bool |
fullSpeed, |
|
|
MythCommFlagPlayer * |
player, |
|
|
QDateTime |
startedAt_in, |
|
|
QDateTime |
stopsAt_in, |
|
|
QDateTime |
recordingStartedAt_in, |
|
|
QDateTime |
recordingStopsAt_in |
|
) |
| |
◆ ~ClassicCommDetector()
| ClassicCommDetector::~ClassicCommDetector |
( |
| ) |
|
|
overrideprotecteddefault |
◆ BuildAllMethodsCommList()
| void ClassicCommDetector::BuildAllMethodsCommList |
( |
void |
| ) |
|
|
private |
◆ BuildBlankFrameCommList()
| void ClassicCommDetector::BuildBlankFrameCommList |
( |
void |
| ) |
|
|
private |
◆ BuildLogoCommList()
| void ClassicCommDetector::BuildLogoCommList |
( |
| ) |
|
|
private |
◆ BuildSceneChangeCommList()
| void ClassicCommDetector::BuildSceneChangeCommList |
( |
void |
| ) |
|
|
private |
◆ CleanupFrameInfo()
| void ClassicCommDetector::CleanupFrameInfo |
( |
void |
| ) |
|
|
private |
◆ ClearAllMaps()
| void ClassicCommDetector::ClearAllMaps |
( |
void |
| ) |
|
|
private |
◆ Combine2Maps()
◆ CondenseMarkMap()
| void ClassicCommDetector::CondenseMarkMap |
( |
show_map_t & |
map, |
|
|
int |
spacing, |
|
|
int |
length |
|
) |
| |
|
staticprivate |
◆ ConvertShowMapToCommMap()
◆ deleteLater()
| void ClassicCommDetector::deleteLater |
( |
void |
| ) |
|
|
virtual |
◆ DumpMap()
◆ FormatMsg()
template<typename T >
| QString ClassicCommDetector::FormatMsg |
( |
T |
first, |
|
|
const FrameBlock * |
fbp |
|
) |
| |
|
inlineprivate |
◆ FrameIsInBreakMap()
| bool ClassicCommDetector::FrameIsInBreakMap |
( |
uint64_t |
f, |
|
|
const frm_dir_map_t & |
breakMap |
|
) |
| const |
|
private |
◆ GetBlankCommBreakMap()
| void ClassicCommDetector::GetBlankCommBreakMap |
( |
frm_dir_map_t & |
comms | ) |
|
|
private |
◆ GetBlankCommMap()
| void ClassicCommDetector::GetBlankCommMap |
( |
frm_dir_map_t & |
comms | ) |
|
|
private |
◆ GetCommercialBreakList()
| void ClassicCommDetector::GetCommercialBreakList |
( |
frm_dir_map_t & |
marks | ) |
|
|
overridevirtual |
◆ GetLogoCommBreakMap()
| void ClassicCommDetector::GetLogoCommBreakMap |
( |
show_map_t & |
map | ) |
|
|
private |
◆ GetSceneChangeMap()
| void ClassicCommDetector::GetSceneChangeMap |
( |
frm_dir_map_t & |
scenes, |
|
|
int64_t |
start_frame |
|
) |
| |
|
private |
◆ go()
| bool ClassicCommDetector::go |
( |
void |
| ) |
|
|
overridevirtual |
◆ Init()
| void ClassicCommDetector::Init |
( |
void |
| ) |
|
|
protected |
◆ logoDetectorBreathe()
| void ClassicCommDetector::logoDetectorBreathe |
( |
| ) |
|
◆ MergeBlankCommList()
| void ClassicCommDetector::MergeBlankCommList |
( |
void |
| ) |
|
|
private |
◆ PrintFullMap()
| void ClassicCommDetector::PrintFullMap |
( |
std::ostream & |
out, |
|
|
const frm_dir_map_t * |
comm_breaks, |
|
|
bool |
verbose |
|
) |
| const |
|
overridevirtual |
◆ ProcessFrame()
| void ClassicCommDetector::ProcessFrame |
( |
MythVideoFrame * |
frame, |
|
|
long long |
frame_number |
|
) |
| |
|
protected |
◆ recordingFinished()
| void ClassicCommDetector::recordingFinished |
( |
long long |
totalFileSize | ) |
|
|
overridevirtual |
◆ requestCommBreakMapUpdate()
| void ClassicCommDetector::requestCommBreakMapUpdate |
( |
void |
| ) |
|
|
overridevirtual |
◆ sceneChangeDetectorHasNewInformation
| void ClassicCommDetector::sceneChangeDetectorHasNewInformation |
( |
unsigned int |
framenum, |
|
|
bool |
isSceneChange, |
|
|
float |
debugValue |
|
) |
| |
|
slot |
◆ SetVideoParams()
| void ClassicCommDetector::SetVideoParams |
( |
float |
aspect | ) |
|
|
protected |
◆ UpdateFrameBlock()
◆ ClassicLogoDetector
◆ m_aggressiveDetection
| bool ClassicCommDetector::m_aggressiveDetection {false} |
|
protected |
◆ m_blankCommBreakMap
◆ m_blankCommMap
◆ m_blankFrameCount
| int ClassicCommDetector::m_blankFrameCount {0} |
|
private |
◆ m_blankFrameMap
◆ m_blankFramesOnly
| bool ClassicCommDetector::m_blankFramesOnly {false} |
|
private |
◆ m_commBreakMap
◆ m_commBreakMapUpdateRequested
| bool ClassicCommDetector::m_commBreakMapUpdateRequested {false} |
|
private |
◆ m_commDetectBlankCanHaveLogo
| bool ClassicCommDetector::m_commDetectBlankCanHaveLogo {true} |
|
private |
◆ m_commDetectBlankFrameMaxDiff
| int ClassicCommDetector::m_commDetectBlankFrameMaxDiff {25} |
|
private |
◆ m_commDetectBorder
| int ClassicCommDetector::m_commDetectBorder {0} |
|
private |
◆ m_commDetectBoxBrightness
| int ClassicCommDetector::m_commDetectBoxBrightness {30} |
|
private |
◆ m_commDetectDarkBrightness
| int ClassicCommDetector::m_commDetectDarkBrightness {80} |
|
private |
◆ m_commDetectDimAverage
| int ClassicCommDetector::m_commDetectDimAverage {35} |
|
private |
◆ m_commDetectDimBrightness
| int ClassicCommDetector::m_commDetectDimBrightness {120} |
|
private |
◆ m_commDetectMaxCommBreakLength
| int ClassicCommDetector::m_commDetectMaxCommBreakLength {395} |
|
private |
◆ m_commDetectMaxCommLength
| int ClassicCommDetector::m_commDetectMaxCommLength {125} |
|
private |
◆ m_commDetectMethod
| SkipType ClassicCommDetector::m_commDetectMethod |
|
private |
◆ m_commDetectMinCommBreakLength
| int ClassicCommDetector::m_commDetectMinCommBreakLength {60} |
|
private |
◆ m_commDetectMinShowLength
| int ClassicCommDetector::m_commDetectMinShowLength {65} |
|
private |
◆ m_curFrameNumber
| long long ClassicCommDetector::m_curFrameNumber {0} |
|
private |
◆ m_currentAspect
| int ClassicCommDetector::m_currentAspect {0} |
|
private |
◆ m_decoderFoundAspectChanges
| bool ClassicCommDetector::m_decoderFoundAspectChanges {false} |
|
private |
◆ m_fps
| double ClassicCommDetector::m_fps {0.0} |
|
protected |
Definition at line 197 of file ClassicCommDetector.h.
Referenced by BuildAllMethodsCommList(), BuildBlankFrameCommList(), BuildLogoCommList(), BuildSceneChangeCommList(), CleanupFrameInfo(), Combine2Maps(), DumpMap(), PrePostRollFlagger::findBreakInrange(), FormatMsg(), go(), PrePostRollFlagger::go(), Init(), and MergeBlankCommList().
◆ m_frameInfo
◆ m_frameIsBlank
| bool ClassicCommDetector::m_frameIsBlank {false} |
|
private |
◆ m_framesProcessed
| uint64_t ClassicCommDetector::m_framesProcessed {0} |
|
protected |
◆ m_fullSpeed
| bool ClassicCommDetector::m_fullSpeed {false} |
|
protected |
◆ m_height
| int ClassicCommDetector::m_height {0} |
|
private |
◆ m_horizSpacing
| int ClassicCommDetector::m_horizSpacing {0} |
|
private |
◆ m_lastFrameNumber
| long long ClassicCommDetector::m_lastFrameNumber {0} |
|
private |
◆ m_lastSentCommBreakMap
◆ m_logoCommBreakMap
◆ m_logoDetector
◆ m_logoInfoAvailable
| bool ClassicCommDetector::m_logoInfoAvailable {false} |
|
private |
◆ m_player
◆ m_postRoll
| long long ClassicCommDetector::m_postRoll {0} |
|
protected |
◆ m_preRoll
| long long ClassicCommDetector::m_preRoll {0} |
|
protected |
◆ m_recordingStartedAt
| QDateTime ClassicCommDetector::m_recordingStartedAt |
|
protected |
◆ m_recordingStopsAt
| QDateTime ClassicCommDetector::m_recordingStopsAt |
|
protected |
◆ m_sceneChangeDetector
◆ m_sceneCommBreakMap
◆ m_sceneMap
◆ m_sendCommBreakMapUpdates
| bool ClassicCommDetector::m_sendCommBreakMapUpdates {false} |
|
private |
◆ m_showProgress
| bool ClassicCommDetector::m_showProgress {false} |
|
protected |
◆ m_startedAt
| QDateTime ClassicCommDetector::m_startedAt |
|
protected |
◆ m_stationLogoPresent
| bool ClassicCommDetector::m_stationLogoPresent {false} |
|
private |
◆ m_stillRecording
| bool ClassicCommDetector::m_stillRecording {false} |
|
protected |
◆ m_stopsAt
| QDateTime ClassicCommDetector::m_stopsAt |
|
protected |
◆ m_totalMinBrightness
| int ClassicCommDetector::m_totalMinBrightness {0} |
|
private |
◆ m_verboseDebugging
| bool ClassicCommDetector::m_verboseDebugging {false} |
|
private |
◆ m_vertSpacing
| int ClassicCommDetector::m_vertSpacing {0} |
|
private |
◆ m_width
| int ClassicCommDetector::m_width {0} |
|
private |
The documentation for this class was generated from the following files: