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

#include <BorderDetector.h>

Collaboration diagram for BorderDetector:
Collaboration graph

Public Member Functions

 BorderDetector (void)
int MythPlayerInited (const MythPlayer *player)
void setLogoState (TemplateFinder *finder)
int getDimensions (const AVFrame *pgm, int pgmheight, long long frameno, int *prow, int *pcol, int *pwidth, int *pheight)
int reportTime (void)

Static Public Attributes

static const long long kUncached = -1

Private Attributes

TemplateFinderm_logoFinder {nullptr}
const struct AVFramem_logo {nullptr}
int m_logoRow {-1}
int m_logoCol {-1}
int m_logoWidth {-1}
int m_logoHeight {-1}
long long m_frameNo {-1}
int m_row {-1}
int m_col {-1}
int m_width {-1}
int m_height {-1}
bool m_isMonochromatic {false}
int m_debugLevel {0}
std::chrono::microseconds m_analyzeTime {0us}
bool m_timeReported {false}

Detailed Description

Definition at line 19 of file BorderDetector.h.

Constructor & Destructor Documentation

◆ BorderDetector()

BorderDetector::BorderDetector ( void  )

Definition at line 23 of file BorderDetector.cpp.

Member Function Documentation

◆ MythPlayerInited()

int BorderDetector::MythPlayerInited ( const MythPlayer player)

Definition at line 33 of file BorderDetector.cpp.

◆ setLogoState()

void BorderDetector::setLogoState ( TemplateFinder finder)

Definition at line 42 of file BorderDetector.cpp.

◆ getDimensions()

int BorderDetector::getDimensions ( const AVFrame pgm,
int  pgmheight,
long long  frameno,
int *  prow,
int *  pcol,
int *  pwidth,
int *  pheight 

Definition at line 54 of file BorderDetector.cpp.

◆ reportTime()

int BorderDetector::reportTime ( void  )

Definition at line 376 of file BorderDetector.cpp.

Member Data Documentation

◆ kUncached

const long long BorderDetector::kUncached = -1

Definition at line 28 of file BorderDetector.h.

◆ m_logoFinder

TemplateFinder* BorderDetector::m_logoFinder {nullptr}

Definition at line 35 of file BorderDetector.h.

◆ m_logo

const struct AVFrame* BorderDetector::m_logo {nullptr}

Definition at line 36 of file BorderDetector.h.

◆ m_logoRow

int BorderDetector::m_logoRow {-1}

Definition at line 37 of file BorderDetector.h.

◆ m_logoCol

int BorderDetector::m_logoCol {-1}

Definition at line 38 of file BorderDetector.h.

◆ m_logoWidth

int BorderDetector::m_logoWidth {-1}

Definition at line 39 of file BorderDetector.h.

◆ m_logoHeight

int BorderDetector::m_logoHeight {-1}

Definition at line 40 of file BorderDetector.h.

◆ m_frameNo

long long BorderDetector::m_frameNo {-1}

Definition at line 42 of file BorderDetector.h.

◆ m_row

int BorderDetector::m_row {-1}

Definition at line 43 of file BorderDetector.h.

◆ m_col

int BorderDetector::m_col {-1}

Definition at line 44 of file BorderDetector.h.

◆ m_width

int BorderDetector::m_width {-1}

Definition at line 45 of file BorderDetector.h.

◆ m_height

int BorderDetector::m_height {-1}

Definition at line 46 of file BorderDetector.h.

◆ m_isMonochromatic

bool BorderDetector::m_isMonochromatic {false}

Definition at line 47 of file BorderDetector.h.

◆ m_debugLevel

int BorderDetector::m_debugLevel {0}

Definition at line 50 of file BorderDetector.h.

◆ m_analyzeTime

std::chrono::microseconds BorderDetector::m_analyzeTime {0us}

Definition at line 51 of file BorderDetector.h.

◆ m_timeReported

bool BorderDetector::m_timeReported {false}

Definition at line 52 of file BorderDetector.h.

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