MythTV master
|
#include <climits>
#include "libmythbase/mythconfig.h"
#include "libmythbase/mythlogging.h"
#include "libmythtv/mythframe.h"
#include "pgm.h"
#include "libavcodec/avcodec.h"
#include "libavutil/imgutils.h"
Go to the source code of this file.
Functions | |
int | pgm_read (unsigned char *buf, int width, int height, const char *filename) |
int | pgm_write (const unsigned char *buf, int width, int height, const char *filename) |
static int | pgm_expand (AVFrame *dst, const AVFrame *src, int srcheight, int extratop, int extraright, int extrabottom, int extraleft) |
static int | pgm_expand_uniform (AVFrame *dst, const AVFrame *src, int srcheight, int extramargin) |
int | pgm_crop (AVFrame *dst, const AVFrame *src, int srcheight, int srcrow, int srccol, int cropwidth, int cropheight) |
int | pgm_overlay (AVFrame *dst, const AVFrame *s1, int s1height, int s1row, int s1col, const AVFrame *s2, int s2height) |
int | pgm_convolve_radial (AVFrame *dst, AVFrame *s1, AVFrame *s2, const AVFrame *src, int srcheight, const double *mask, int mask_radius) |
int pgm_convolve_radial | ( | AVFrame * | dst, |
AVFrame * | s1, | ||
AVFrame * | s2, | ||
const AVFrame * | src, | ||
int | srcheight, | ||
const double * | mask, | ||
int | mask_radius | ||
) |
Definition at line 218 of file pgm.cpp.
Referenced by CannyEdgeDetector::detectEdges().
int pgm_crop | ( | AVFrame * | dst, |
const AVFrame * | src, | ||
int | srcheight, | ||
int | srcrow, | ||
int | srccol, | ||
int | cropwidth, | ||
int | cropheight | ||
) |
Definition at line 162 of file pgm.cpp.
Referenced by TemplateFinder::analyzeFrame(), TemplateMatcher::analyzeFrame(), and anonymous_namespace{TemplateFinder.cpp}::template_alloc().
|
static |
Definition at line 109 of file pgm.cpp.
Referenced by pgm_expand_uniform().
|
static |
Definition at line 155 of file pgm.cpp.
Referenced by pgm_convolve_radial().
int pgm_read | ( | unsigned char * | buf, |
int | width, | ||
int | height, | ||
const char * | filename | ||
) |
Definition at line 35 of file pgm.cpp.
Referenced by anonymous_namespace{TemplateFinder.cpp}::readTemplate().
int pgm_write | ( | const unsigned char * | buf, |
int | width, | ||
int | height, | ||
const char * | filename | ||
) |
Definition at line 80 of file pgm.cpp.
Referenced by anonymous_namespace{TemplateFinder.cpp}::writeJPG(), and anonymous_namespace{TemplateFinder.cpp}::writeTemplate().