summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-04-27 13:12:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-04-27 13:12:57 +0000
commit2417652e9fbb2a4282909217fd53693bd7b7e11c (patch)
treeca0c08ed7a1db11cfa9d35225fd61946c53292ca /libavcodec/avcodec.h
parentd7e9533aa06f4073a27812349b35ba5fede11ca1 (diff)
export mbskip_table for direct rendering
add hurry_up support Originally committed as revision 424 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 8cb62ce706..67a663ed36 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 4603
-#define LIBAVCODEC_BUILD_STR "4603"
+#define LIBAVCODEC_BUILD 4604
+#define LIBAVCODEC_BUILD_STR "4604"
enum CodecID {
CODEC_ID_NONE,
@@ -141,6 +141,8 @@ typedef struct AVCodecContext {
int key_frame; /* true if the previous compressed frame was
a key frame (intra, or seekable) */
int delay; /* number of frames the decoded output will be delayed relative to the encoded input */
+ uint8_t *mbskip_table; /* =1 if MB didnt change, is only valid for I/P frames
+ stride= mb_width = (width+15)>>4 */
/* encoding parameters */
int quality; /* quality of the previous encoded frame
@@ -157,6 +159,9 @@ typedef struct AVCodecContext {
int rc_strategy;
int b_frame_strategy;
+ int hurry_up; /* when set to 1 during decoding, b frames will be skiped
+ when set to 2 idct/dequant will be skipped too */
+
struct AVCodec *codec;
void *priv_data;