mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-28 06:08:02 +00:00
added progressive image support
Originally committed as revision 1796 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8b46d75e4a
commit
3b1a27e04c
@ -7,7 +7,7 @@ extern "C" {
|
|||||||
|
|
||||||
#define LIBAVFORMAT_VERSION_INT 0x000406
|
#define LIBAVFORMAT_VERSION_INT 0x000406
|
||||||
#define LIBAVFORMAT_VERSION "0.4.6"
|
#define LIBAVFORMAT_VERSION "0.4.6"
|
||||||
#define LIBAVFORMAT_BUILD 4603
|
#define LIBAVFORMAT_BUILD 4604
|
||||||
|
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
|
|
||||||
@ -219,9 +219,13 @@ typedef struct AVImageInfo {
|
|||||||
enum PixelFormat pix_fmt; /* requested pixel format */
|
enum PixelFormat pix_fmt; /* requested pixel format */
|
||||||
int width; /* requested width */
|
int width; /* requested width */
|
||||||
int height; /* requested height */
|
int height; /* requested height */
|
||||||
|
int progressive; /* image is progressive (e.g. interleaved GIF) */
|
||||||
AVPicture pict; /* returned allocated image */
|
AVPicture pict; /* returned allocated image */
|
||||||
} AVImageInfo;
|
} AVImageInfo;
|
||||||
|
|
||||||
|
/* AVImageFormat.flags field constants */
|
||||||
|
#define AVIMAGE_PROGRESSIVE 0x0001 /* image format support progressive output */
|
||||||
|
|
||||||
typedef struct AVImageFormat {
|
typedef struct AVImageFormat {
|
||||||
const char *name;
|
const char *name;
|
||||||
const char *extensions;
|
const char *extensions;
|
||||||
@ -236,6 +240,7 @@ typedef struct AVImageFormat {
|
|||||||
/* write the image */
|
/* write the image */
|
||||||
int supported_pixel_formats; /* mask of supported formats for output */
|
int supported_pixel_formats; /* mask of supported formats for output */
|
||||||
int (*img_write)(ByteIOContext *, AVImageInfo *);
|
int (*img_write)(ByteIOContext *, AVImageInfo *);
|
||||||
|
int flags;
|
||||||
struct AVImageFormat *next;
|
struct AVImageFormat *next;
|
||||||
} AVImageFormat;
|
} AVImageFormat;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user