Mercurial > libavcodec.hg
comparison mpegvideo.h @ 253:4448dd55d415 libavcodec
parsing more of the mpeg4 header & print some "not supported" stuff
author | michaelni |
---|---|
date | Tue, 05 Mar 2002 13:58:13 +0000 |
parents | 56ee684c48bb |
children | b4fed8b24e3a |
comparison
equal
deleted
inserted
replaced
252:ddb1a0e94cf4 | 253:4448dd55d415 |
---|---|
19 | 19 |
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 | 25 |
25 enum OutputFormat { | 26 enum OutputFormat { |
26 FMT_MPEG1, | 27 FMT_MPEG1, |
27 FMT_H263, | 28 FMT_H263, |
28 FMT_MJPEG, | 29 FMT_MJPEG, |
87 /* motion compensation */ | 88 /* motion compensation */ |
88 int unrestricted_mv; | 89 int unrestricted_mv; |
89 int h263_long_vectors; /* use horrible h263v1 long vector mode */ | 90 int h263_long_vectors; /* use horrible h263v1 long vector mode */ |
90 | 91 |
91 int f_code; /* resolution */ | 92 int f_code; /* resolution */ |
93 int b_code; /* resolution for B Frames*/ | |
92 INT16 *mv_table[2]; /* MV table */ | 94 INT16 *mv_table[2]; /* MV table */ |
93 INT16 (*motion_val)[2]; /* used for MV prediction */ | 95 INT16 (*motion_val)[2]; /* used for MV prediction */ |
94 int full_search; | 96 int full_search; |
95 int mv_dir; | 97 int mv_dir; |
96 #define MV_DIR_BACKWARD 1 | 98 #define MV_DIR_BACKWARD 1 |
155 | 157 |
156 /* mpeg4 specific */ | 158 /* mpeg4 specific */ |
157 int time_increment_bits; | 159 int time_increment_bits; |
158 int shape; | 160 int shape; |
159 int vol_sprite_usage; | 161 int vol_sprite_usage; |
162 int sprite_width; | |
163 int sprite_height; | |
164 int sprite_left; | |
165 int sprite_top; | |
166 int sprite_brightness_change; | |
167 int no_sprite_wraping_points; | |
160 int quant_precision; | 168 int quant_precision; |
169 int quarter_sample; | |
170 int scalability; | |
171 int new_pred; | |
172 int reduced_res_vop; | |
173 int aspect_ratio_info; | |
174 int sprite_warping_accuracy; | |
175 int low_latency_sprite; | |
176 int data_partioning; | |
161 | 177 |
162 /* RV10 specific */ | 178 /* RV10 specific */ |
163 int rv10_version; /* RV10 version: 0 or 3 */ | 179 int rv10_version; /* RV10 version: 0 or 3 */ |
164 int rv10_first_dc_coded[3]; | 180 int rv10_first_dc_coded[3]; |
165 | 181 |