00001
00002
00003
00004
00005
00006
00007 #ifndef __PGM_H__
00008 #define __PGM_H__
00009
00010 struct VideoFrame_;
00011 struct AVPicture;
00012
00013 int pgm_fill(struct AVPicture *dst, const struct VideoFrame_ *frame);
00014 int pgm_read(unsigned char *buf, int width, int height, const char *filename);
00015 int pgm_write(const unsigned char *buf, int width, int height,
00016 const char *filename);
00017 int pgm_crop(struct AVPicture *dst, const struct AVPicture *src, int srcheight,
00018 int srcrow, int srccol, int cropwidth, int cropheight);
00019 int pgm_overlay(struct AVPicture *dst,
00020 const struct AVPicture *s1, int s1height, int s1row, int s1col,
00021 const struct AVPicture *s2, int s2height);
00022 int pgm_convolve_radial(struct AVPicture *dst, struct AVPicture *s1,
00023 struct AVPicture *s2, const struct AVPicture *src, int srcheight,
00024 const double *mask, int mask_radius);
00025
00026 #endif
00027
00028