CommDetector2 Class Reference

#include <CommDetector2.h>

Inheritance diagram for CommDetector2:

CommDetectorBase

List of all members.


Detailed Description

Definition at line 28 of file CommDetector2.h.


Public Member Functions

 CommDetector2 (enum SkipTypes commDetectMethod, bool showProgress, bool fullSpeed, NuppelVideoPlayer *nvp, int chanid, const QDateTime &startts, const QDateTime &endts, const QDateTime &recstartts, const QDateTime &recendts)
virtual bool go (void)
virtual void getCommercialBreakList (QMap< long long, int > &comms)
virtual void recordingFinished (long long totalFileSize)
virtual void requestCommBreakMapUpdate (void)

Private Types

typedef QValueList< QPtrList
< FrameAnalyzer > > 
frameAnalyzerList

Private Member Functions

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
NuppelVideoPlayernvp
QDateTime startts
QDateTime endts
QDateTime recstartts
QDateTime recendts
bool isRecording
bool sendBreakMapUpdates
bool breakMapUpdateRequested
bool finished
long long currentFrameNumber
frameAnalyzerList frameAnalyzers
frameAnalyzerList::iterator currentPass
QPtrList< FrameAnalyzerfinishedAnalyzers
FrameAnalyzer::FrameMap breaks
TemplateFinderlogoFinder
TemplateMatcherlogoMatcher
BlankFrameDetectorblankFrameDetector
SceneChangeDetectorsceneChangeDetector
QString debugdir

Member Typedef Documentation

typedef QValueList<QPtrList<FrameAnalyzer> > CommDetector2::frameAnalyzerList [private]

Definition at line 57 of file CommDetector2.h.


Constructor & Destructor Documentation

CommDetector2::CommDetector2 ( enum SkipTypes  commDetectMethod,
bool  showProgress,
bool  fullSpeed,
NuppelVideoPlayer nvp,
int  chanid,
const QDateTime &  startts,
const QDateTime &  endts,
const QDateTime &  recstartts,
const QDateTime &  recendts 
)

Definition at line 303 of file CommDetector2.cpp.


Member Function Documentation

bool CommDetector2::go ( void   )  [virtual]

Implements CommDetectorBase.

Definition at line 526 of file CommDetector2.cpp.

void CommDetector2::getCommercialBreakList ( QMap< long long, int > &  comms  )  [virtual]

Implements CommDetectorBase.

Definition at line 738 of file CommDetector2.cpp.

Referenced by go().

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

Reimplemented from CommDetectorBase.

Definition at line 808 of file CommDetector2.cpp.

void CommDetector2::requestCommBreakMapUpdate ( void   )  [virtual]

Reimplemented from CommDetectorBase.

Definition at line 816 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 435 of file CommDetector2.cpp.

Referenced by go().

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

Definition at line 478 of file CommDetector2.cpp.

Referenced by getCommercialBreakList().


Member Data Documentation

Definition at line 45 of file CommDetector2.h.

Referenced by CommDetector2().

Definition at line 46 of file CommDetector2.h.

Referenced by go(), and reportState().

Definition at line 47 of file CommDetector2.h.

Referenced by go().

Definition at line 48 of file CommDetector2.h.

Referenced by CommDetector2(), getCommercialBreakList(), and go().

QDateTime CommDetector2::startts [private]

Definition at line 49 of file CommDetector2.h.

QDateTime CommDetector2::endts [private]

Definition at line 49 of file CommDetector2.h.

QDateTime CommDetector2::recstartts [private]

Definition at line 49 of file CommDetector2.h.

Referenced by CommDetector2(), and go().

QDateTime CommDetector2::recendts [private]

Definition at line 49 of file CommDetector2.h.

Referenced by CommDetector2(), and go().

Definition at line 51 of file CommDetector2.h.

Referenced by go(), and recordingFinished().

Definition at line 52 of file CommDetector2.h.

Referenced by go(), and requestCommBreakMapUpdate().

Definition at line 53 of file CommDetector2.h.

Referenced by go(), and requestCommBreakMapUpdate().

Definition at line 54 of file CommDetector2.h.

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

long long CommDetector2::currentFrameNumber [private]

Definition at line 56 of file CommDetector2.h.

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

Definition at line 58 of file CommDetector2.h.

Referenced by CommDetector2(), getCommercialBreakList(), and go().

frameAnalyzerList::iterator CommDetector2::currentPass [private]

Definition at line 59 of file CommDetector2.h.

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

Definition at line 60 of file CommDetector2.h.

Referenced by getCommercialBreakList(), and go().

Definition at line 62 of file CommDetector2.h.

Referenced by computeBreaks(), and getCommercialBreakList().

Definition at line 64 of file CommDetector2.h.

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

Definition at line 65 of file CommDetector2.h.

Referenced by CommDetector2(), and computeBreaks().

Definition at line 66 of file CommDetector2.h.

Referenced by CommDetector2(), and computeBreaks().

Definition at line 67 of file CommDetector2.h.

Referenced by CommDetector2().

QString CommDetector2::debugdir [private]

Definition at line 69 of file CommDetector2.h.

Referenced by CommDetector2().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:00 2010 for MythTV by  doxygen 1.5.5