MythTV  master
Namespaces | Functions
TemplateFinder.cpp File Reference
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <utility>
#include <QFile>
#include <QFileInfo>
#include <QTextStream>
#include "libmythbase/exitcodes.h"
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythdate.h"
#include "libmythbase/mythsystemlegacy.h"
#include "libmythtv/mythframe.h"
#include "libmythtv/mythplayer.h"
#include "BorderDetector.h"
#include "CommDetector2.h"
#include "EdgeDetector.h"
#include "PGMConverter.h"
#include "TemplateFinder.h"
#include "pgm.h"
#include "libavutil/imgutils.h"
Include dependency graph for TemplateFinder.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{TemplateFinder.cpp}
 

Functions

bool anonymous_namespace{TemplateFinder.cpp}::writeJPG (const QString &prefix, const AVFrame *img, int imgheight)
 
int anonymous_namespace{TemplateFinder.cpp}::pgm_scorepixels (unsigned int *scores, int width, int row, int col, const AVFrame *src, int srcheight)
 
int anonymous_namespace{TemplateFinder.cpp}::sort_ascending (const void *aa, const void *bb)
 
float anonymous_namespace{TemplateFinder.cpp}::bounding_score (const AVFrame *img, int row, int col, int width, int height)
 
bool anonymous_namespace{TemplateFinder.cpp}::rowisempty (const AVFrame *img, int row, int col, int width)
 
bool anonymous_namespace{TemplateFinder.cpp}::colisempty (const AVFrame *img, int col, int row, int height)
 
int anonymous_namespace{TemplateFinder.cpp}::bounding_box (const AVFrame *img, int imgheight, int minrow, int mincol, int maxrow1, int maxcol1, int *prow, int *pcol, int *pwidth, int *pheight)
 
bool anonymous_namespace{TemplateFinder.cpp}::template_alloc (const unsigned int *scores, int width, int height, int minrow, int mincol, int maxrow1, int maxcol1, AVFrame *tmpl, int *ptmplrow, int *ptmplcol, int *ptmplwidth, int *ptmplheight, bool debug_edgecounts, const QString &debugdir)
 
bool anonymous_namespace{TemplateFinder.cpp}::analyzeFrameDebug (long long frameno, const AVFrame *pgm, int pgmheight, const AVFrame *cropped, const AVFrame *edges, int cropheight, int croprow, int cropcol, bool debug_frames, const QString &debugdir)
 
bool anonymous_namespace{TemplateFinder.cpp}::readTemplate (const QString &datafile, int *prow, int *pcol, int *pwidth, int *pheight, const QString &tmplfile, AVFrame *tmpl, bool *pvalid)
 
void anonymous_namespace{TemplateFinder.cpp}::writeDummyTemplate (const QString &datafile)
 
bool anonymous_namespace{TemplateFinder.cpp}::writeTemplate (const QString &tmplfile, const AVFrame *tmpl, const QString &datafile, int row, int col, int width, int height)