diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-12-21 15:20:02 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-12-21 15:20:02 +0000 |
commit | 2f16af0667c7a7b2a706f416b65052c15f22d255 (patch) | |
tree | f9a1842024187267a738a7193b9424c46e4ddc3f /libavcodec/mpegvideo.h | |
parent | 59743d16c785276a93a031c9a330a9b932e60729 (diff) | |
download | ffmpeg-2f16af0667c7a7b2a706f416b65052c15f22d255.tar.gz |
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)
Originally committed as revision 7343 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 011678a42d..4c57c54b32 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -402,6 +402,8 @@ typedef struct MpegEncContext { #define CANDIDATE_MB_TYPE_BACKWARD_I 0x400 #define CANDIDATE_MB_TYPE_BIDIR_I 0x800 +#define CANDIDATE_MB_TYPE_DIRECT0 0x1000 + int block_index[6]; ///< index to current MB in block based arrays with edges int block_wrap[6]; uint8_t *dest[3]; |