MythTV  master
Functions
pgm.h File Reference
This graph shows which files directly or indirectly include this file:

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)
 
int pgm_crop (struct AVFrame *dst, const struct AVFrame *src, int srcheight, int srcrow, int srccol, int cropwidth, int cropheight)
 
int pgm_overlay (struct AVFrame *dst, const struct AVFrame *s1, int s1height, int s1row, int s1col, const struct AVFrame *s2, int s2height)
 
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)
 

Function Documentation

◆ pgm_read()

int pgm_read ( unsigned char *  buf,
int  width,
int  height,
const char *  filename 
)

Definition at line 35 of file pgm.cpp.

◆ pgm_write()

int pgm_write ( const unsigned char *  buf,
int  width,
int  height,
const char *  filename 
)

Definition at line 83 of file pgm.cpp.

◆ pgm_crop()

int pgm_crop ( struct AVFrame dst,
const struct AVFrame src,
int  srcheight,
int  srcrow,
int  srccol,
int  cropwidth,
int  cropheight 
)

◆ 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_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 
)