comparison mpegvideo.h @ 1138:e10e841c9bf0 libavcodec

field pic decoding cleanup
author michaelni
date Sun, 16 Mar 2003 20:22:22 +0000
parents 77ccf7fe3bd0
children 6d6003cf89c2
comparison
equal deleted inserted replaced
1137:7fb0b38ab5a3 1138:e10e841c9bf0
236 int linesize; ///< line size, in bytes, may be different from width 236 int linesize; ///< line size, in bytes, may be different from width
237 int uvlinesize; ///< line size, for chroma in bytes, may be different from width 237 int uvlinesize; ///< line size, for chroma in bytes, may be different from width
238 Picture picture[MAX_PICTURE_COUNT]; ///< main picture buffer 238 Picture picture[MAX_PICTURE_COUNT]; ///< main picture buffer
239 Picture *input_picture[MAX_PICTURE_COUNT]; ///< next pictures on display order for encoding 239 Picture *input_picture[MAX_PICTURE_COUNT]; ///< next pictures on display order for encoding
240 Picture *reordered_input_picture[MAX_PICTURE_COUNT]; ///< pointer to the next pictures in codedorder for encoding 240 Picture *reordered_input_picture[MAX_PICTURE_COUNT]; ///< pointer to the next pictures in codedorder for encoding
241 Picture last_picture; ///< previous picture 241
242 Picture next_picture; ///< previous picture (for bidir pred) 242 /**
243 Picture new_picture; ///< source picture for encoding 243 * copy of the previous picture structure.
244 * note, linesize & data, might not match the previous picture (for field pictures)
245 */
246 Picture last_picture;
247
248 /**
249 * copy of the next picture structure.
250 * note, linesize & data, might not match the next picture (for field pictures)
251 */
252 Picture next_picture;
253
254 /**
255 * copy of the source picture structure for encoding.
256 * note, linesize & data, might not match the source picture (for field pictures)
257 */
258 Picture new_picture;
259
260 /**
261 * copy of the current picture structure.
262 * note, linesize & data, might not match the current picture (for field pictures)
263 */
244 Picture current_picture; ///< buffer to store the decompressed current picture 264 Picture current_picture; ///< buffer to store the decompressed current picture
265
266 Picture *last_picture_ptr; ///< pointer to the previous picture.
267 Picture *next_picture_ptr; ///< pointer to the next picture (for bidir pred)
268 Picture *new_picture_ptr; ///< pointer to the source picture for encoding
269 Picture *current_picture_ptr; ///< pointer to the current picture
245 int last_dc[3]; ///< last DC values for MPEG1 270 int last_dc[3]; ///< last DC values for MPEG1
246 int16_t *dc_val[3]; ///< used for mpeg4 DC prediction, all 3 arrays must be continuous 271 int16_t *dc_val[3]; ///< used for mpeg4 DC prediction, all 3 arrays must be continuous
247 int y_dc_scale, c_dc_scale; 272 int y_dc_scale, c_dc_scale;
248 uint8_t *y_dc_scale_table; ///< qscale -> y_dc_scale table 273 uint8_t *y_dc_scale_table; ///< qscale -> y_dc_scale table
249 uint8_t *c_dc_scale_table; ///< qscale -> c_dc_scale table 274 uint8_t *c_dc_scale_table; ///< qscale -> c_dc_scale table