comparison mpegvideo.h @ 4317:5a2ee0bc2739 libavcodec

skip motion estimation and encoding of non direct-0,0 MBs if the next MB is skiped (mpeg4 doesnt allow such MBs and in the past we did ME and encoding until at the end we droped them, so this should be faster though i didnt benchmark it, benchmark welcome)
author michael
date Thu, 21 Dec 2006 15:20:02 +0000
parents be94e97ecb6e
children a9f4d5c92218
comparison
equal deleted inserted replaced
4316:fabb67829f3f 4317:5a2ee0bc2739
400 #define CANDIDATE_MB_TYPE_INTER_I 0x100 400 #define CANDIDATE_MB_TYPE_INTER_I 0x100
401 #define CANDIDATE_MB_TYPE_FORWARD_I 0x200 401 #define CANDIDATE_MB_TYPE_FORWARD_I 0x200
402 #define CANDIDATE_MB_TYPE_BACKWARD_I 0x400 402 #define CANDIDATE_MB_TYPE_BACKWARD_I 0x400
403 #define CANDIDATE_MB_TYPE_BIDIR_I 0x800 403 #define CANDIDATE_MB_TYPE_BIDIR_I 0x800
404 404
405 #define CANDIDATE_MB_TYPE_DIRECT0 0x1000
406
405 int block_index[6]; ///< index to current MB in block based arrays with edges 407 int block_index[6]; ///< index to current MB in block based arrays with edges
406 int block_wrap[6]; 408 int block_wrap[6];
407 uint8_t *dest[3]; 409 uint8_t *dest[3];
408 410
409 int *mb_index2xy; ///< mb_index -> mb_x + mb_y*mb_stride 411 int *mb_index2xy; ///< mb_index -> mb_x + mb_y*mb_stride