pgm.cpp File Reference

Go to the source code of this file.

Functions

static enum PixelFormat pixelTypeOfVideoFrameType (VideoFrameType codec)
int pgm_fill (AVPicture *dst, const VideoFrame *frame)
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 (AVPicture *dst, const AVPicture *src, int srcheight, int extratop, int extraright, int extrabottom, int extraleft)
static int pgm_expand_uniform (AVPicture *dst, const AVPicture *src, int srcheight, int extramargin)
int pgm_crop (AVPicture *dst, const AVPicture *src, int srcheight, int srcrow, int srccol, int cropwidth, int cropheight)
int pgm_overlay (AVPicture *dst, const AVPicture *s1, int s1height, int s1row, int s1col, const AVPicture *s2, int s2height)
int pgm_convolve_radial (AVPicture *dst, AVPicture *s1, AVPicture *s2, const AVPicture *src, int srcheight, const double *mask, int mask_radius)

Function Documentation

static enum PixelFormat pixelTypeOfVideoFrameType ( VideoFrameType  codec  )  [static]

Definition at line 18 of file pgm.cpp.

Referenced by pgm_fill().

int pgm_fill ( AVPicture dst,
const VideoFrame frame 
)

Definition at line 28 of file pgm.cpp.

Referenced by PGMConverter::getImage().

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

Definition at line 57 of file pgm.cpp.

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

Definition at line 104 of file pgm.cpp.

static int pgm_expand ( AVPicture dst,
const AVPicture src,
int  srcheight,
int  extratop,
int  extraright,
int  extrabottom,
int  extraleft 
) [static]

Definition at line 137 of file pgm.cpp.

Referenced by pgm_expand_uniform().

static int pgm_expand_uniform ( AVPicture dst,
const AVPicture src,
int  srcheight,
int  extramargin 
) [static]

Definition at line 179 of file pgm.cpp.

Referenced by pgm_convolve_radial().

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

Definition at line 186 of file pgm.cpp.

Referenced by TemplateMatcher::analyzeFrame(), and TemplateFinder::analyzeFrame().

int pgm_overlay ( AVPicture dst,
const AVPicture s1,
int  s1height,
int  s1row,
int  s1col,
const AVPicture s2,
int  s2height 
)

Definition at line 208 of file pgm.cpp.

int pgm_convolve_radial ( AVPicture dst,
AVPicture s1,
AVPicture s2,
const AVPicture src,
int  srcheight,
const double *  mask,
int  mask_radius 
)

Definition at line 234 of file pgm.cpp.

Referenced by CannyEdgeDetector::detectEdges().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:49 2012 for MythTV by  doxygen 1.6.3