CommDetector2 Class Reference

#include <CommDetector2.h>

Inheritance diagram for CommDetector2:
CommDetectorBase

List of all members.

Public Member Functions

 CommDetector2 (SkipType commDetectMethod, bool showProgress, bool fullSpeed, MythPlayer *player, int chanid, const QDateTime &startts, const QDateTime &endts, const QDateTime &recstartts, const QDateTime &recendts, bool useDB)
virtual bool go (void)
virtual void GetCommercialBreakList (frm_dir_map_t &comms)
virtual void recordingFinished (long long totalFileSize)
virtual void requestCommBreakMapUpdate (void)
virtual void PrintFullMap (ostream &out, const frm_dir_map_t *comm_breaks, bool verbose) const

Private Member Functions

virtual ~CommDetector2 ()
void reportState (int elapsed_sec, long long frameno, long long nframes, unsigned int passno, unsigned int npasses)
int computeBreaks (long long nframes)

Private Attributes

enum SkipTypes commDetectMethod
bool showProgress
bool fullSpeed
MythPlayerplayer
QDateTime startts
QDateTime endts
QDateTime recstartts
QDateTime recendts
bool isRecording
bool sendBreakMapUpdates
bool breakMapUpdateRequested
bool finished
long long currentFrameNumber
FrameAnalyzerList frameAnalyzers
FrameAnalyzerList::iterator currentPass
FrameAnalyzerItem finishedAnalyzers
FrameAnalyzer::FrameMap breaks
TemplateFinderlogoFinder
TemplateMatcherlogoMatcher
BlankFrameDetectorblankFrameDetector
SceneChangeDetectorsceneChangeDetector
QString debugdir

Detailed Description

Definition at line 37 of file CommDetector2.h.


Constructor & Destructor Documentation

CommDetector2::CommDetector2 ( SkipType  commDetectMethod,
bool  showProgress,
bool  fullSpeed,
MythPlayer player,
int  chanid,
const QDateTime &  startts,
const QDateTime &  endts,
const QDateTime &  recstartts,
const QDateTime &  recendts,
bool  useDB 
)
virtual CommDetector2::~CommDetector2 (  )  [inline, private, virtual]

Definition at line 53 of file CommDetector2.h.


Member Function Documentation

bool CommDetector2::go ( void   )  [virtual]

Implements CommDetectorBase.

Definition at line 523 of file CommDetector2.cpp.

void CommDetector2::GetCommercialBreakList ( frm_dir_map_t comms  )  [virtual]

Implements CommDetectorBase.

Definition at line 741 of file CommDetector2.cpp.

Referenced by go().

void CommDetector2::recordingFinished ( long long  totalFileSize  )  [virtual]

Reimplemented from CommDetectorBase.

Definition at line 815 of file CommDetector2.cpp.

void CommDetector2::requestCommBreakMapUpdate ( void   )  [virtual]

Reimplemented from CommDetectorBase.

Definition at line 824 of file CommDetector2.cpp.

void CommDetector2::PrintFullMap ( ostream &  out,
const frm_dir_map_t comm_breaks,
bool  verbose 
) const [virtual]

Implements CommDetectorBase.

Definition at line 860 of file CommDetector2.cpp.

void CommDetector2::reportState ( int  elapsed_sec,
long long  frameno,
long long  nframes,
unsigned int  passno,
unsigned int  npasses 
) [private]

Definition at line 431 of file CommDetector2.cpp.

Referenced by go().

int CommDetector2::computeBreaks ( long long  nframes  )  [private]

Definition at line 475 of file CommDetector2.cpp.

Referenced by GetCommercialBreakList().


Member Data Documentation

Definition at line 60 of file CommDetector2.h.

Definition at line 61 of file CommDetector2.h.

Referenced by go(), and reportState().

Definition at line 62 of file CommDetector2.h.

Referenced by go().

Definition at line 63 of file CommDetector2.h.

QDateTime CommDetector2::startts [private]

Definition at line 64 of file CommDetector2.h.

QDateTime CommDetector2::endts [private]

Definition at line 64 of file CommDetector2.h.

QDateTime CommDetector2::recstartts [private]

Definition at line 64 of file CommDetector2.h.

Referenced by go().

QDateTime CommDetector2::recendts [private]

Definition at line 64 of file CommDetector2.h.

Referenced by go().

Definition at line 66 of file CommDetector2.h.

Referenced by go(), and recordingFinished().

Definition at line 67 of file CommDetector2.h.

Referenced by go(), and requestCommBreakMapUpdate().

Definition at line 68 of file CommDetector2.h.

Referenced by go(), and requestCommBreakMapUpdate().

Definition at line 69 of file CommDetector2.h.

Referenced by computeBreaks(), GetCommercialBreakList(), and go().

long long CommDetector2::currentFrameNumber [private]

Definition at line 71 of file CommDetector2.h.

Referenced by GetCommercialBreakList(), go(), and requestCommBreakMapUpdate().

Definition at line 72 of file CommDetector2.h.

Referenced by GetCommercialBreakList(), and go().

FrameAnalyzerList::iterator CommDetector2::currentPass [private]

Definition at line 73 of file CommDetector2.h.

Referenced by GetCommercialBreakList(), go(), and requestCommBreakMapUpdate().

Definition at line 74 of file CommDetector2.h.

Definition at line 76 of file CommDetector2.h.

Referenced by computeBreaks(), and GetCommercialBreakList().

Definition at line 78 of file CommDetector2.h.

Referenced by computeBreaks(), go(), PrintFullMap(), and requestCommBreakMapUpdate().

Definition at line 79 of file CommDetector2.h.

Referenced by computeBreaks().

Definition at line 80 of file CommDetector2.h.

Referenced by computeBreaks(), and PrintFullMap().

Definition at line 81 of file CommDetector2.h.

Referenced by PrintFullMap().

QString CommDetector2::debugdir [private]

Definition at line 83 of file CommDetector2.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:57 2012 for MythTV by  doxygen 1.6.3