aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-01-03 23:21:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-01-03 23:21:52 +0000
commit70ac76c0eb13d74d2001e83d7803f3dc0299f86a (patch)
tree03790d6c8e2996583535dd39ea5d1b5129766e94 /libavcodec/avcodec.h
parent001bcd29556b32c1afd686c03f6bdd65dd0e9a36 (diff)
downloadffmpeg-70ac76c0eb13d74d2001e83d7803f3dc0299f86a.tar.gz
mpeg4 header encoding bugfix
Originally committed as revision 1392 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 7833741268..08dd8c99f0 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -5,8 +5,8 @@
#define LIBAVCODEC_VERSION_INT 0x000406
#define LIBAVCODEC_VERSION "0.4.6"
-#define LIBAVCODEC_BUILD 4650
-#define LIBAVCODEC_BUILD_STR "4650"
+#define LIBAVCODEC_BUILD 4651
+#define LIBAVCODEC_BUILD_STR "4651"
enum CodecID {
CODEC_ID_NONE,
@@ -147,6 +147,7 @@ static const int Motion_Est_QTab[] = { ME_ZERO, ME_PHODS, ME_LOG,
#define CODEC_FLAG_LOW_DELAY 0x00080000 /* force low delay / will fail on b frames */
#define CODEC_FLAG_ALT_SCAN 0x00100000 /* use alternate scan */
#define CODEC_FLAG_TRELLIS_QUANT 0x00200000 /* use trellis quantization */
+#define CODEC_FLAG_GLOBAL_HEADER 0x00400000 /* place global headers in extradata instead of every keyframe */
/* codec capabilities */
@@ -894,7 +895,7 @@ typedef struct AVCodecContext {
* decoding: unused
*/
int last_predictor_count;
-
+
/**
* pre pass for motion estimation
* encoding: set by user.
@@ -902,6 +903,20 @@ typedef struct AVCodecContext {
*/
int pre_me;
+ /**
+ * motion estimation pre pass compare function
+ * encoding: set by user.
+ * decoding: unused
+ */
+ int me_pre_cmp;
+
+ /**
+ * ME pre pass diamond size & shape
+ * encoding: set by user.
+ * decoding: unused
+ */
+ int pre_dia_size;
+
} AVCodecContext;
typedef struct AVCodec {