MythTV  master
pgm.h
Go to the documentation of this file.
1 /*
2  * pgm.h
3  *
4  * Routines for querying and manipulating PGM (greyscale) images.
5  */
6 
7 #ifndef PGM_H
8 #define PGM_H
9 
10 struct VideoFrame_;
11 struct AVFrame;
12 
13 int pgm_read(unsigned char *buf, int width, int height, const char *filename);
14 int pgm_write(const unsigned char *buf, int width, int height,
15  const char *filename);
16 int pgm_crop(struct AVFrame *dst, const struct AVFrame *src, int srcheight,
17  int srcrow, int srccol, int cropwidth, int cropheight);
18 int pgm_overlay(struct AVFrame *dst,
19  const struct AVFrame *s1, int s1height, int s1row, int s1col,
20  const struct AVFrame *s2, int s2height);
21 int pgm_convolve_radial(struct AVFrame *dst, struct AVFrame *s1,
22  struct AVFrame *s2, const struct AVFrame *src, int srcheight,
23  const double *mask, int mask_radius);
24 
25 #endif /* !PGM_H */
26 
27 /* vim: set expandtab tabstop=4 shiftwidth=4: */
pgm_write
int pgm_write(const unsigned char *buf, int width, int height, const char *filename)
Definition: pgm.cpp:83
AVFrame
struct AVFrame AVFrame
Definition: BorderDetector.h:15
pgm_overlay
int pgm_overlay(struct AVFrame *dst, const struct AVFrame *s1, int s1height, int s1row, int s1col, const struct AVFrame *s2, int s2height)
pgm_crop
int pgm_crop(struct AVFrame *dst, const struct AVFrame *src, int srcheight, int srcrow, int srccol, int cropwidth, int cropheight)
pgm_convolve_radial
int pgm_convolve_radial(struct AVFrame *dst, struct AVFrame *s1, struct AVFrame *s2, const struct AVFrame *src, int srcheight, const double *mask, int mask_radius)
pgm_read
int pgm_read(unsigned char *buf, int width, int height, const char *filename)
Definition: pgm.cpp:35
build_compdb.filename
filename
Definition: build_compdb.py:21