diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-04-20 14:19:17 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-04-20 14:19:17 +0000 |
commit | 3b1a27e04cc052fb7fbe95f6613e247a9dec5b80 (patch) | |
tree | b40c5bc0080d090f11a5858bae8ed7b256066b84 | |
parent | 8b46d75e4af9b89a363e77707c0d8de9a5be3f36 (diff) | |
download | ffmpeg-3b1a27e04cc052fb7fbe95f6613e247a9dec5b80.tar.gz |
added progressive image support
Originally committed as revision 1796 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/avformat.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 4a94a8ead3..9e40145265 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -7,7 +7,7 @@ extern "C" { #define LIBAVFORMAT_VERSION_INT 0x000406 #define LIBAVFORMAT_VERSION "0.4.6" -#define LIBAVFORMAT_BUILD 4603 +#define LIBAVFORMAT_BUILD 4604 #include "avcodec.h" @@ -219,9 +219,13 @@ typedef struct AVImageInfo { enum PixelFormat pix_fmt; /* requested pixel format */ int width; /* requested width */ int height; /* requested height */ + int progressive; /* image is progressive (e.g. interleaved GIF) */ AVPicture pict; /* returned allocated image */ } AVImageInfo; +/* AVImageFormat.flags field constants */ +#define AVIMAGE_PROGRESSIVE 0x0001 /* image format support progressive output */ + typedef struct AVImageFormat { const char *name; const char *extensions; @@ -236,6 +240,7 @@ typedef struct AVImageFormat { /* write the image */ int supported_pixel_formats; /* mask of supported formats for output */ int (*img_write)(ByteIOContext *, AVImageInfo *); + int flags; struct AVImageFormat *next; } AVImageFormat; |