comparison mpegvideo.h @ 556:762c67fd4078 libavcodec

uvlinesize export has_b_frames mb_skip with more than 2 ip buffers
author michaelni
date Mon, 15 Jul 2002 14:15:10 +0000
parents 18ad513d92fe
children 5132a4ee50cd
comparison
equal deleted inserted replaced
555:fe951e388d34 556:762c67fd4078
130 int picture_in_gop_number; /* 0-> first pic in gop, ... */ 130 int picture_in_gop_number; /* 0-> first pic in gop, ... */
131 int b_frames_since_non_b; /* used for encoding, relative to not yet reordered input */ 131 int b_frames_since_non_b; /* used for encoding, relative to not yet reordered input */
132 int mb_width, mb_height; /* number of MBs horizontally & vertically */ 132 int mb_width, mb_height; /* number of MBs horizontally & vertically */
133 int mb_num; /* number of MBs of a picture */ 133 int mb_num; /* number of MBs of a picture */
134 int linesize; /* line size, in bytes, may be different from width */ 134 int linesize; /* line size, in bytes, may be different from width */
135 int uvlinesize; /* line size, for chroma in bytes, may be different from width */
135 UINT8 *new_picture[3]; /* picture to be compressed */ 136 UINT8 *new_picture[3]; /* picture to be compressed */
136 UINT8 *picture_buffer[REORDER_BUFFER_SIZE][3]; /* internal buffers used for reordering of input pictures */ 137 UINT8 *picture_buffer[REORDER_BUFFER_SIZE][3]; /* internal buffers used for reordering of input pictures */
137 int picture_buffer_index; 138 int picture_buffer_index;
138 ReorderBuffer coded_order[REORDER_BUFFER_SIZE]; 139 ReorderBuffer coded_order[REORDER_BUFFER_SIZE];
139 UINT8 *last_picture[3]; /* previous picture */ 140 UINT8 *last_picture[3]; /* previous picture */
143 UINT8 *aux_picture[3]; /* aux picture (for B frames only) */ 144 UINT8 *aux_picture[3]; /* aux picture (for B frames only) */
144 UINT8 *aux_picture_base[3]; /* real start of the picture */ 145 UINT8 *aux_picture_base[3]; /* real start of the picture */
145 UINT8 *current_picture[3]; /* buffer to store the decompressed current picture */ 146 UINT8 *current_picture[3]; /* buffer to store the decompressed current picture */
146 void *last_dr_opaque; 147 void *last_dr_opaque;
147 void *next_dr_opaque; 148 void *next_dr_opaque;
149 int ip_buffer_count; /* number of buffers, currently only >2 if dr1 is used */
148 int num_available_buffers; /* is 0 at the start & after seeking, after the first I frame its 1 after next I/P 2 */ 150 int num_available_buffers; /* is 0 at the start & after seeking, after the first I frame its 1 after next I/P 2 */
149 int last_dc[3]; /* last DC values for MPEG1 */ 151 int last_dc[3]; /* last DC values for MPEG1 */
150 INT16 *dc_val[3]; /* used for mpeg4 DC prediction, all 3 arrays must be continuous */ 152 INT16 *dc_val[3]; /* used for mpeg4 DC prediction, all 3 arrays must be continuous */
151 int y_dc_scale, c_dc_scale; 153 int y_dc_scale, c_dc_scale;
152 UINT8 *y_dc_scale_table; /* qscale -> y_dc_scale table */ 154 UINT8 *y_dc_scale_table; /* qscale -> y_dc_scale table */
338 int sprite_shift[2][2]; 340 int sprite_shift[2][2];
339 int mcsel; 341 int mcsel;
340 int quant_precision; 342 int quant_precision;
341 int quarter_sample; /* 1->qpel, 0->half pel ME/MC */ 343 int quarter_sample; /* 1->qpel, 0->half pel ME/MC */
342 int scalability; 344 int scalability;
345 int hierachy_type;
346 int enhancement_type;
343 int new_pred; 347 int new_pred;
344 int reduced_res_vop; 348 int reduced_res_vop;
345 int aspect_ratio_info; 349 int aspect_ratio_info;
346 int sprite_warping_accuracy; 350 int sprite_warping_accuracy;
347 int low_latency_sprite; 351 int low_latency_sprite;