comparison mpegvideo.h @ 333:8aa87f1dfc52 libavcodec

divx 5.01 support
author michaelni
date Mon, 22 Apr 2002 12:45:22 +0000
parents 5cc47d0ba53e
children c56b45669214
comparison
equal deleted inserted replaced
332:207cc56d18f8 333:8aa87f1dfc52
20 /* Macros for picture code type. */ 20 /* Macros for picture code type. */
21 #define I_TYPE 1 21 #define I_TYPE 1
22 #define P_TYPE 2 22 #define P_TYPE 2
23 #define B_TYPE 3 23 #define B_TYPE 3
24 #define S_TYPE 4 //S(GMC)-VOP MPEG4 24 #define S_TYPE 4 //S(GMC)-VOP MPEG4
25
26 #define FRAME_SKIPED 100 // return value for header parsers if frame is not coded
25 27
26 enum OutputFormat { 28 enum OutputFormat {
27 FMT_MPEG1, 29 FMT_MPEG1,
28 FMT_H263, 30 FMT_H263,
29 FMT_MJPEG, 31 FMT_MJPEG,
296 int resync_x_pos; 298 int resync_x_pos;
297 299
298 /* divx specific, used to workaround (many) bugs in divx5 */ 300 /* divx specific, used to workaround (many) bugs in divx5 */
299 int divx_version; 301 int divx_version;
300 int divx_build; 302 int divx_build;
301 303 #define BITSTREAM_BUFFER_SIZE 1024*256
304 uint8_t *bitstream_buffer; //Divx 5.01 puts several frames in a single one, this is used to reorder them
305 int bitstream_buffer_size;
306
302 /* RV10 specific */ 307 /* RV10 specific */
303 int rv10_version; /* RV10 version: 0 or 3 */ 308 int rv10_version; /* RV10 version: 0 or 3 */
304 int rv10_first_dc_coded[3]; 309 int rv10_first_dc_coded[3];
305 310
306 /* MJPEG specific */ 311 /* MJPEG specific */