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, [[maybe_unused]] 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_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 83 of file pgm.cpp.
Referenced by anonymous_namespace{TemplateFinder.cpp}::writeJPG(), and anonymous_namespace{TemplateFinder.cpp}::writeTemplate().
|
static |
Definition at line 115 of file pgm.cpp.
Referenced by pgm_expand_uniform().
|
static |
Definition at line 161 of file pgm.cpp.
Referenced by pgm_convolve_radial().
int pgm_crop | ( | AVFrame * | dst, |
const AVFrame * | src, | ||
[[maybe_unused] ] int | srcheight, | ||
int | srcrow, | ||
int | srccol, | ||
int | cropwidth, | ||
int | cropheight | ||
) |
Definition at line 168 of file pgm.cpp.
Referenced by TemplateMatcher::analyzeFrame(), TemplateFinder::analyzeFrame(), and anonymous_namespace{TemplateFinder.cpp}::template_alloc().