MythTV  master
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
LogoDetectorBase Class Referenceabstract

#include <LogoDetectorBase.h>

Inheritance diagram for LogoDetectorBase:
Inheritance graph
[legend]
Collaboration diagram for LogoDetectorBase:
Collaboration graph
[legend]

Signals

void haveNewInformation (unsigned int framenum, bool haslogo, float debugValue=0.0)
 

Public Member Functions

 LogoDetectorBase (unsigned int w, unsigned int h)
 
virtual bool searchForLogo (MythCommFlagPlayer *player)=0
 
virtual bool doesThisFrameContainTheFoundLogo (MythVideoFrame *frame)=0
 
virtual bool pixelInsideLogo (unsigned int x, unsigned int y)=0
 
virtual unsigned int getRequiredAvailableBufferForSearch ()=0
 

Protected Member Functions

 ~LogoDetectorBase () override=default
 

Protected Attributes

bool m_foundLogo {false}
 
unsigned int m_width
 
unsigned int m_height
 

Detailed Description

Definition at line 9 of file LogoDetectorBase.h.

Constructor & Destructor Documentation

◆ LogoDetectorBase()

LogoDetectorBase::LogoDetectorBase ( unsigned int  w,
unsigned int  h 
)
inline

Definition at line 14 of file LogoDetectorBase.h.

◆ ~LogoDetectorBase()

LogoDetectorBase::~LogoDetectorBase ( )
overrideprotecteddefault

Member Function Documentation

◆ searchForLogo()

virtual bool LogoDetectorBase::searchForLogo ( MythCommFlagPlayer player)
pure virtual

Implemented in ClassicLogoDetector.

Referenced by ClassicCommDetector::go().

◆ doesThisFrameContainTheFoundLogo()

virtual bool LogoDetectorBase::doesThisFrameContainTheFoundLogo ( MythVideoFrame frame)
pure virtual

◆ pixelInsideLogo()

virtual bool LogoDetectorBase::pixelInsideLogo ( unsigned int  x,
unsigned int  y 
)
pure virtual

◆ getRequiredAvailableBufferForSearch()

virtual unsigned int LogoDetectorBase::getRequiredAvailableBufferForSearch ( )
pure virtual

Implemented in ClassicLogoDetector.

Referenced by ClassicCommDetector::go().

◆ haveNewInformation

void LogoDetectorBase::haveNewInformation ( unsigned int  framenum,
bool  haslogo,
float  debugValue = 0.0 
)
signal

Member Data Documentation

◆ m_foundLogo

bool LogoDetectorBase::m_foundLogo {false}
protected

Definition at line 30 of file LogoDetectorBase.h.

◆ m_width

unsigned int LogoDetectorBase::m_width
protected

◆ m_height

unsigned int LogoDetectorBase::m_height
protected

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