MythTV  master
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ClassicSceneChangeDetector Class Reference

#include <mythcommflag/ClassicSceneChangeDetector.h>

Inheritance diagram for ClassicSceneChangeDetector:
[legend]
Collaboration diagram for ClassicSceneChangeDetector:
[legend]

Public Member Functions

 ClassicSceneChangeDetector (unsigned int width, unsigned int height, unsigned int commdetectborder, unsigned int xspacing, unsigned int yspacing)
 
virtual void deleteLater (void)
 
void processFrame (MythVideoFrame *frame) override
 
- Public Member Functions inherited from SceneChangeDetectorBase
 SceneChangeDetectorBase (unsigned int w, unsigned int h)
 

Private Member Functions

 ~ClassicSceneChangeDetector () override
 

Private Attributes

Histogramm_histogram {nullptr}
 
Histogramm_previousHistogram {nullptr}
 
unsigned int m_frameNumber {0}
 
bool m_previousFrameWasSceneChange {false}
 
unsigned int m_xspacing
 
unsigned int m_yspacing
 
unsigned int m_commdetectborder
 

Additional Inherited Members

- Signals inherited from SceneChangeDetectorBase
void haveNewInformation (unsigned int framenum, bool scenechange, float debugValue=0.0)
 
- Protected Member Functions inherited from SceneChangeDetectorBase
 ~SceneChangeDetectorBase () override=default
 
- Protected Attributes inherited from SceneChangeDetectorBase
unsigned int m_width
 
unsigned int m_height
 

Detailed Description

Definition at line 8 of file ClassicSceneChangeDetector.h.

Constructor & Destructor Documentation

◆ ClassicSceneChangeDetector()

ClassicSceneChangeDetector::ClassicSceneChangeDetector ( unsigned int  width,
unsigned int  height,
unsigned int  commdetectborder,
unsigned int  xspacing,
unsigned int  yspacing 
)

Definition at line 6 of file ClassicSceneChangeDetector.cpp.

◆ ~ClassicSceneChangeDetector()

ClassicSceneChangeDetector::~ClassicSceneChangeDetector ( )
overrideprivate

Definition at line 18 of file ClassicSceneChangeDetector.cpp.

Member Function Documentation

◆ deleteLater()

void ClassicSceneChangeDetector::deleteLater ( void  )
virtual

Definition at line 24 of file ClassicSceneChangeDetector.cpp.

◆ processFrame()

void ClassicSceneChangeDetector::processFrame ( MythVideoFrame frame)
overridevirtual

Implements SceneChangeDetectorBase.

Definition at line 29 of file ClassicSceneChangeDetector.cpp.

Member Data Documentation

◆ m_histogram

Histogram* ClassicSceneChangeDetector::m_histogram {nullptr}
private

Definition at line 22 of file ClassicSceneChangeDetector.h.

Referenced by processFrame(), and ~ClassicSceneChangeDetector().

◆ m_previousHistogram

Histogram* ClassicSceneChangeDetector::m_previousHistogram {nullptr}
private

Definition at line 23 of file ClassicSceneChangeDetector.h.

Referenced by processFrame(), and ~ClassicSceneChangeDetector().

◆ m_frameNumber

unsigned int ClassicSceneChangeDetector::m_frameNumber {0}
private

Definition at line 24 of file ClassicSceneChangeDetector.h.

Referenced by processFrame().

◆ m_previousFrameWasSceneChange

bool ClassicSceneChangeDetector::m_previousFrameWasSceneChange {false}
private

Definition at line 25 of file ClassicSceneChangeDetector.h.

Referenced by processFrame().

◆ m_xspacing

unsigned int ClassicSceneChangeDetector::m_xspacing
private

Definition at line 26 of file ClassicSceneChangeDetector.h.

Referenced by processFrame().

◆ m_yspacing

unsigned int ClassicSceneChangeDetector::m_yspacing
private

Definition at line 26 of file ClassicSceneChangeDetector.h.

Referenced by processFrame().

◆ m_commdetectborder

unsigned int ClassicSceneChangeDetector::m_commdetectborder
private

Definition at line 27 of file ClassicSceneChangeDetector.h.

Referenced by processFrame().


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