diff avcodec.h @ 345:e05b357a398a libavcodec

export mbskip_table for direct rendering add hurry_up support
author michaelni
date Sat, 27 Apr 2002 13:12:57 +0000
parents bf26081c373c
children 34f6c77ff01a
line wrap: on
line diff
--- a/avcodec.h	Sat Apr 27 12:30:26 2002 +0000
+++ b/avcodec.h	Sat Apr 27 13:12:57 2002 +0000
@@ -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 @@
     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 @@
     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;