comparison mpegvideo.h @ 1552:26c6ecba99a1 libavcodec

dynamic alloc of picture structs instead of putting them in MpegEncContext
author michael
date Tue, 21 Oct 2003 19:55:31 +0000
parents dd544554ed42
children 541681146f83
comparison
equal deleted inserted replaced
1551:85028cd13cf1 1552:26c6ecba99a1
299 int mb_stride; ///< mb_width+1 used for some arrays to allow simple addressng of left & top MBs withoutt sig11 299 int mb_stride; ///< mb_width+1 used for some arrays to allow simple addressng of left & top MBs withoutt sig11
300 int h_edge_pos, v_edge_pos;///< horizontal / vertical position of the right/bottom edge (pixel replicateion) 300 int h_edge_pos, v_edge_pos;///< horizontal / vertical position of the right/bottom edge (pixel replicateion)
301 int mb_num; ///< number of MBs of a picture 301 int mb_num; ///< number of MBs of a picture
302 int linesize; ///< line size, in bytes, may be different from width 302 int linesize; ///< line size, in bytes, may be different from width
303 int uvlinesize; ///< line size, for chroma in bytes, may be different from width 303 int uvlinesize; ///< line size, for chroma in bytes, may be different from width
304 Picture picture[MAX_PICTURE_COUNT]; ///< main picture buffer 304 Picture *picture; ///< main picture buffer
305 Picture *input_picture[MAX_PICTURE_COUNT]; ///< next pictures on display order for encoding 305 Picture *input_picture[MAX_PICTURE_COUNT]; ///< next pictures on display order for encoding
306 Picture *reordered_input_picture[MAX_PICTURE_COUNT]; ///< pointer to the next pictures in codedorder for encoding 306 Picture *reordered_input_picture[MAX_PICTURE_COUNT]; ///< pointer to the next pictures in codedorder for encoding
307 307
308 /** 308 /**
309 * copy of the previous picture structure. 309 * copy of the previous picture structure.