# HG changeset patch # User bellard # Date 1050848357 0 # Node ID 2f68c53a38f2bae93565f2e98d0fa9731e44b942 # Parent c1e67f7a01688631b264f8d240f1937371acb647 added progressive image support diff -r c1e67f7a0168 -r 2f68c53a38f2 avformat.h --- a/avformat.h Sat Apr 19 16:23:03 2003 +0000 +++ b/avformat.h Sun Apr 20 14:19:17 2003 +0000 @@ -7,7 +7,7 @@ #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 @@ 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 @@ /* write the image */ int supported_pixel_formats; /* mask of supported formats for output */ int (*img_write)(ByteIOContext *, AVImageInfo *); + int flags; struct AVImageFormat *next; } AVImageFormat;