MythTV
master
|
#include <mythcommflag/ClassicLogoDetector.h>
Public Member Functions | |
ClassicLogoDetector (ClassicCommDetector *commDetector, unsigned int width, unsigned int height, unsigned int commdetectborder) | |
virtual void | deleteLater (void) |
bool | searchForLogo (MythCommFlagPlayer *player) override |
bool | doesThisFrameContainTheFoundLogo (MythVideoFrame *frame) override |
bool | pixelInsideLogo (unsigned int x, unsigned int y) override |
unsigned int | getRequiredAvailableBufferForSearch () override |
Public Member Functions inherited from LogoDetectorBase | |
LogoDetectorBase (unsigned int w, unsigned int h) | |
Protected Member Functions | |
~ClassicLogoDetector () override | |
Protected Member Functions inherited from LogoDetectorBase | |
~LogoDetectorBase () override=default | |
Private Member Functions | |
void | SetLogoMaskArea () |
void | DumpLogo (bool fromCurrentFrame, const unsigned char *framePtr) |
void | DetectEdges (MythVideoFrame *frame, EdgeMaskEntry *edges, int edgeDiff) |
Private Attributes | |
ClassicCommDetector * | m_commDetector {nullptr} |
unsigned int | m_frameNumber {0} |
unsigned int | m_commDetectBorder {16} |
int | m_commDetectLogoSamplesNeeded {240} |
int | m_commDetectLogoSampleSpacing {2} |
int | m_commDetectLogoSecondsNeeded {624} |
int | m_commDetectLogoWidthRatio {4} |
int | m_commDetectLogoHeightRatio {4} |
int | m_commDetectLogoMinPixels {50} |
double | m_commDetectLogoGoodEdgeThreshold {0.75} |
double | m_commDetectLogoBadEdgeThreshold {0.85} |
QString | m_commDetectLogoLocation |
EdgeMaskEntry * | m_edgeMask {nullptr} |
unsigned char * | m_logoMaxValues {nullptr} |
unsigned char * | m_logoMinValues {nullptr} |
unsigned char * | m_logoFrame {nullptr} |
unsigned char * | m_logoMask {nullptr} |
unsigned char * | m_logoCheckMask {nullptr} |
int | m_logoEdgeDiff {0} |
unsigned int | m_logoMinX {0} |
unsigned int | m_logoMaxX {0} |
unsigned int | m_logoMinY {0} |
unsigned int | m_logoMaxY {0} |
bool | m_logoInfoAvailable {false} |
Additional Inherited Members | |
Signals inherited from LogoDetectorBase | |
void | haveNewInformation (unsigned int framenum, bool haslogo, float debugValue=0.0) |
Protected Attributes inherited from LogoDetectorBase | |
bool | m_foundLogo {false} |
size_t | m_width |
size_t | m_height |
Definition at line 9 of file ClassicLogoDetector.h.
ClassicLogoDetector::ClassicLogoDetector | ( | ClassicCommDetector * | commDetector, |
unsigned int | width, | ||
unsigned int | height, | ||
unsigned int | commdetectborder | ||
) |
Definition at line 29 of file ClassicLogoDetector.cpp.
|
overrideprotected |
Definition at line 65 of file ClassicLogoDetector.cpp.
|
virtual |
Definition at line 80 of file ClassicLogoDetector.cpp.
|
overridevirtual |
Implements LogoDetectorBase.
Definition at line 86 of file ClassicLogoDetector.cpp.
|
overridevirtual |
Implements LogoDetectorBase.
Definition at line 369 of file ClassicLogoDetector.cpp.
|
overridevirtual |
Implements LogoDetectorBase.
Definition at line 433 of file ClassicLogoDetector.cpp.
|
overridevirtual |
Implements LogoDetectorBase.
Definition at line 75 of file ClassicLogoDetector.cpp.
|
private |
Definition at line 282 of file ClassicLogoDetector.cpp.
Referenced by searchForLogo().
|
private |
Definition at line 317 of file ClassicLogoDetector.cpp.
|
private |
Definition at line 442 of file ClassicLogoDetector.cpp.
Referenced by searchForLogo().
|
private |
Definition at line 30 of file ClassicLogoDetector.h.
Referenced by deleteLater(), and searchForLogo().
|
private |
Definition at line 31 of file ClassicLogoDetector.h.
Referenced by doesThisFrameContainTheFoundLogo().
|
private |
Definition at line 32 of file ClassicLogoDetector.h.
Referenced by DetectEdges().
|
private |
Definition at line 34 of file ClassicLogoDetector.h.
Referenced by ClassicLogoDetector(), and searchForLogo().
|
private |
Definition at line 35 of file ClassicLogoDetector.h.
Referenced by ClassicLogoDetector(), and searchForLogo().
|
private |
Definition at line 36 of file ClassicLogoDetector.h.
Referenced by getRequiredAvailableBufferForSearch().
|
private |
Definition at line 37 of file ClassicLogoDetector.h.
Referenced by ClassicLogoDetector(), and searchForLogo().
|
private |
Definition at line 38 of file ClassicLogoDetector.h.
Referenced by ClassicLogoDetector(), and searchForLogo().
|
private |
Definition at line 39 of file ClassicLogoDetector.h.
Referenced by ClassicLogoDetector(), and searchForLogo().
|
private |
Definition at line 40 of file ClassicLogoDetector.h.
Referenced by ClassicLogoDetector(), and doesThisFrameContainTheFoundLogo().
|
private |
Definition at line 41 of file ClassicLogoDetector.h.
Referenced by ClassicLogoDetector(), and doesThisFrameContainTheFoundLogo().
|
private |
Definition at line 42 of file ClassicLogoDetector.h.
Referenced by ClassicLogoDetector(), and DetectEdges().
|
private |
Definition at line 44 of file ClassicLogoDetector.h.
Referenced by doesThisFrameContainTheFoundLogo(), searchForLogo(), SetLogoMaskArea(), and ~ClassicLogoDetector().
|
private |
Definition at line 46 of file ClassicLogoDetector.h.
Referenced by ~ClassicLogoDetector().
|
private |
Definition at line 47 of file ClassicLogoDetector.h.
Referenced by ~ClassicLogoDetector().
|
private |
Definition at line 48 of file ClassicLogoDetector.h.
Referenced by ~ClassicLogoDetector().
|
private |
Definition at line 49 of file ClassicLogoDetector.h.
Referenced by DumpLogo(), and ~ClassicLogoDetector().
|
private |
Definition at line 50 of file ClassicLogoDetector.h.
Referenced by ~ClassicLogoDetector().
|
private |
Definition at line 52 of file ClassicLogoDetector.h.
Referenced by doesThisFrameContainTheFoundLogo(), and searchForLogo().
|
private |
Definition at line 53 of file ClassicLogoDetector.h.
Referenced by doesThisFrameContainTheFoundLogo(), DumpLogo(), pixelInsideLogo(), searchForLogo(), and SetLogoMaskArea().
|
private |
Definition at line 54 of file ClassicLogoDetector.h.
Referenced by doesThisFrameContainTheFoundLogo(), DumpLogo(), pixelInsideLogo(), searchForLogo(), and SetLogoMaskArea().
|
private |
Definition at line 55 of file ClassicLogoDetector.h.
Referenced by doesThisFrameContainTheFoundLogo(), DumpLogo(), pixelInsideLogo(), searchForLogo(), and SetLogoMaskArea().
|
private |
Definition at line 56 of file ClassicLogoDetector.h.
Referenced by doesThisFrameContainTheFoundLogo(), DumpLogo(), pixelInsideLogo(), searchForLogo(), and SetLogoMaskArea().
Definition at line 58 of file ClassicLogoDetector.h.
Referenced by DumpLogo(), pixelInsideLogo(), and searchForLogo().