summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-04-22 12:45:22 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-04-22 12:45:22 +0000
commiteec1c6b94cb2796faaebd5bbffb40bf61556625d (patch)
tree02fa52169a184bfaf9cbccd8079494eda2cc7dd2 /libavcodec/mpegvideo.h
parent976f969b24f109fa7a6fabaf0e85fb654ed7abb9 (diff)
divx 5.01 support
Originally committed as revision 412 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index b0aebe8954..c5335aba19 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -23,6 +23,8 @@
#define B_TYPE 3
#define S_TYPE 4 //S(GMC)-VOP MPEG4
+#define FRAME_SKIPED 100 // return value for header parsers if frame is not coded
+
enum OutputFormat {
FMT_MPEG1,
FMT_H263,
@@ -298,7 +300,10 @@ typedef struct MpegEncContext {
/* divx specific, used to workaround (many) bugs in divx5 */
int divx_version;
int divx_build;
-
+#define BITSTREAM_BUFFER_SIZE 1024*256
+ uint8_t *bitstream_buffer; //Divx 5.01 puts several frames in a single one, this is used to reorder them
+ int bitstream_buffer_size;
+
/* RV10 specific */
int rv10_version; /* RV10 version: 0 or 3 */
int rv10_first_dc_coded[3];