comparison avcodec.h @ 2341:d9c9b42767da libavcodec

fix image stream copy
author michael
date Mon, 08 Nov 2004 23:36:32 +0000
parents 5e5cf598a48b
children 8b6668325ff8
comparison
equal deleted inserted replaced
2340:a2073e67cb19 2341:d9c9b42767da
15 #include "rational.h" 15 #include "rational.h"
16 #include <sys/types.h> /* size_t */ 16 #include <sys/types.h> /* size_t */
17 17
18 #define FFMPEG_VERSION_INT 0x000409 18 #define FFMPEG_VERSION_INT 0x000409
19 #define FFMPEG_VERSION "0.4.9-pre1" 19 #define FFMPEG_VERSION "0.4.9-pre1"
20 #define LIBAVCODEC_BUILD 4728 20 #define LIBAVCODEC_BUILD 4729
21 21
22 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT 22 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
23 #define LIBAVCODEC_VERSION FFMPEG_VERSION 23 #define LIBAVCODEC_VERSION FFMPEG_VERSION
24 24
25 #define AV_STRINGIFY(s) AV_TOSTRING(s) 25 #define AV_STRINGIFY(s) AV_TOSTRING(s)
1994 int avpicture_get_size(int pix_fmt, int width, int height); 1994 int avpicture_get_size(int pix_fmt, int width, int height);
1995 void avcodec_get_chroma_sub_sample(int pix_fmt, int *h_shift, int *v_shift); 1995 void avcodec_get_chroma_sub_sample(int pix_fmt, int *h_shift, int *v_shift);
1996 const char *avcodec_get_pix_fmt_name(int pix_fmt); 1996 const char *avcodec_get_pix_fmt_name(int pix_fmt);
1997 void avcodec_set_dimensions(AVCodecContext *s, int width, int height); 1997 void avcodec_set_dimensions(AVCodecContext *s, int width, int height);
1998 enum PixelFormat avcodec_get_pix_fmt(const char* name); 1998 enum PixelFormat avcodec_get_pix_fmt(const char* name);
1999 unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat p);
1999 2000
2000 #define FF_LOSS_RESOLUTION 0x0001 /* loss due to resolution change */ 2001 #define FF_LOSS_RESOLUTION 0x0001 /* loss due to resolution change */
2001 #define FF_LOSS_DEPTH 0x0002 /* loss due to color depth change */ 2002 #define FF_LOSS_DEPTH 0x0002 /* loss due to color depth change */
2002 #define FF_LOSS_COLORSPACE 0x0004 /* loss due to color space conversion */ 2003 #define FF_LOSS_COLORSPACE 0x0004 /* loss due to color space conversion */
2003 #define FF_LOSS_ALPHA 0x0008 /* loss of alpha bits */ 2004 #define FF_LOSS_ALPHA 0x0008 /* loss of alpha bits */