MythTV  master
Functions
anonymous_namespace{TemplateMatcher.cpp} Namespace Reference

Functions

int pgm_set (const AVFrame *pict, int height)
 
int pgm_match (const AVFrame *tmpl, const AVFrame *test, int height, int radius, unsigned short *pscore)
 
bool readMatches (const QString &filename, unsigned short *matches, long long nframes)
 
bool writeMatches (const QString &filename, unsigned short *matches, long long nframes)
 
int finishedDebug (long long nframes, const unsigned short *matches, const unsigned char *match)
 
int sort_ascending (const void *aa, const void *bb)
 
long long matchspn (long long nframes, const unsigned char *match, long long frameno, unsigned char acceptval)
 
unsigned int range_area (const unsigned short *freq, unsigned short start, unsigned short end)
 
unsigned short pick_mintmpledges (const unsigned short *matches, long long nframes)
 

Function Documentation

◆ pgm_set()

int anonymous_namespace{TemplateMatcher.cpp}::pgm_set ( const AVFrame pict,
int  height 
)

Definition at line 35 of file TemplateMatcher.cpp.

Referenced by TemplateMatcher::finished().

◆ pgm_match()

int anonymous_namespace{TemplateMatcher.cpp}::pgm_match ( const AVFrame tmpl,
const AVFrame test,
int  height,
int  radius,
unsigned short *  pscore 
)

Definition at line 47 of file TemplateMatcher.cpp.

Referenced by TemplateMatcher::analyzeFrame().

◆ readMatches()

bool anonymous_namespace{TemplateMatcher.cpp}::readMatches ( const QString &  filename,
unsigned short *  matches,
long long  nframes 
)

Definition at line 95 of file TemplateMatcher.cpp.

Referenced by TemplateMatcher::MythPlayerInited().

◆ writeMatches()

bool anonymous_namespace{TemplateMatcher.cpp}::writeMatches ( const QString &  filename,
unsigned short *  matches,
long long  nframes 
)

Definition at line 126 of file TemplateMatcher.cpp.

Referenced by TemplateMatcher::finished().

◆ finishedDebug()

int anonymous_namespace{TemplateMatcher.cpp}::finishedDebug ( long long  nframes,
const unsigned short *  matches,
const unsigned char *  match 
)

Definition at line 142 of file TemplateMatcher.cpp.

Referenced by TemplateMatcher::finished().

◆ sort_ascending()

int anonymous_namespace{TemplateMatcher.cpp}::sort_ascending ( const void *  aa,
const void *  bb 
)

Definition at line 173 of file TemplateMatcher.cpp.

Referenced by pick_mintmpledges().

◆ matchspn()

long long anonymous_namespace{TemplateMatcher.cpp}::matchspn ( long long  nframes,
const unsigned char *  match,
long long  frameno,
unsigned char  acceptval 
)

Definition at line 178 of file TemplateMatcher.cpp.

Referenced by TemplateMatcher::finished().

◆ range_area()

unsigned int anonymous_namespace{TemplateMatcher.cpp}::range_area ( const unsigned short *  freq,
unsigned short  start,
unsigned short  end 
)

Definition at line 190 of file TemplateMatcher.cpp.

Referenced by pick_mintmpledges().

◆ pick_mintmpledges()

unsigned short anonymous_namespace{TemplateMatcher.cpp}::pick_mintmpledges ( const unsigned short *  matches,
long long  nframes 
)

Definition at line 211 of file TemplateMatcher.cpp.

Referenced by TemplateMatcher::finished().