summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-11-02 23:22:23 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-11-02 23:22:23 +0000
commitf932cdf2096d57a0f22189ca9defdf3a15d4b674 (patch)
treef9ca557b231c1e17b6572e3d3a1c72187861dd12 /libavformat/avformat.h
parent93481fe5fe092d2646a2ae6cccc4ffaaec5b0297 (diff)
kill AVImageFormat
Originally committed as revision 6875 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h47
1 files changed, 2 insertions, 45 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index a1d6b3617a..c4f27f9193 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -25,8 +25,8 @@
extern "C" {
#endif
-#define LIBAVFORMAT_VERSION_INT ((50<<16)+(6<<8)+0)
-#define LIBAVFORMAT_VERSION 50.6.0
+#define LIBAVFORMAT_VERSION_INT ((51<<16)+(6<<8)+0)
+#define LIBAVFORMAT_VERSION 51.6.0
#define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT
#define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
@@ -122,7 +122,6 @@ typedef struct AVFormatParameters {
int width;
int height;
enum PixelFormat pix_fmt;
- struct AVImageFormat *image_format;
int channel; /* used to select dv channel */
const char *device; /* video, audio or DV device */
const char *standard; /* tv standard, NTSC, PAL, SECAM */
@@ -377,49 +376,7 @@ typedef struct AVPacketList {
extern AVInputFormat *first_iformat;
extern AVOutputFormat *first_oformat;
-/* still image support */
-struct AVInputImageContext attribute_deprecated;
-typedef struct AVInputImageContext AVInputImageContext attribute_deprecated;
-
-typedef struct AVImageInfo {
- enum PixelFormat pix_fmt; /* requested pixel format */
- int width; /* requested width */
- int height; /* requested height */
- int interleaved; /* image is interleaved (e.g. interleaved GIF) */
- AVPicture pict; /* returned allocated image */
-} AVImageInfo attribute_deprecated;
-
-/* AVImageFormat.flags field constants */
-#define AVIMAGE_INTERLEAVED 0x0001 /* image format support interleaved output */
-
-typedef struct AVImageFormat {
- const char *name;
- const char *extensions;
- /* tell if a given file has a chance of being parsing by this format */
- int (*img_probe)(AVProbeData *);
- /* read a whole image. 'alloc_cb' is called when the image size is
- known so that the caller can allocate the image. If 'allo_cb'
- returns non zero, then the parsing is aborted. Return '0' if
- OK. */
- int (*img_read)(ByteIOContext *,
- int (*alloc_cb)(void *, AVImageInfo *info), void *);
- /* write the image */
- int supported_pixel_formats; /* mask of supported formats for output */
- int (*img_write)(ByteIOContext *, AVImageInfo *);
- int flags;
- struct AVImageFormat *next;
-} AVImageFormat attribute_deprecated;
-
-void av_register_image_format(AVImageFormat *img_fmt) attribute_deprecated;
-AVImageFormat *av_probe_image_format(AVProbeData *pd) attribute_deprecated;
-AVImageFormat *guess_image_format(const char *filename) attribute_deprecated;
enum CodecID av_guess_image2_codec(const char *filename);
-int av_read_image(ByteIOContext *pb, const char *filename,
- AVImageFormat *fmt,
- int (*alloc_cb)(void *, AVImageInfo *info), void *opaque) attribute_deprecated;
-int av_write_image(ByteIOContext *pb, AVImageFormat *fmt, AVImageInfo *img) attribute_deprecated;
-
-extern AVImageFormat *first_image_format attribute_deprecated;
/* XXX: use automatic init with either ELF sections or C file parser */
/* modules */