diff options
author | Juanjo <pulento@users.sourceforge.net> | 2002-03-19 06:30:41 +0000 |
---|---|---|
committer | Juanjo <pulento@users.sourceforge.net> | 2002-03-19 06:30:41 +0000 |
commit | ce7c56c2504693d23949cca5b7cadddd673348ab (patch) | |
tree | 26dced8a750ce3480b1503e6cb1c03e5df923b83 /libavcodec/motion_est.c | |
parent | 68d7eef971898311f66172f22c592e6823510622 (diff) | |
download | ffmpeg-ce7c56c2504693d23949cca5b7cadddd673348ab.tar.gz |
- Added video coding statistics for ffmpeg. Needs more work.
- Fixed ME range for H.263+ UMV (32 pix).
Originally committed as revision 342 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/motion_est.c')
-rw-r--r-- | libavcodec/motion_est.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c index e9249692bf..f9ad16b873 100644 --- a/libavcodec/motion_est.c +++ b/libavcodec/motion_est.c @@ -409,6 +409,8 @@ int estimate_motion(MpegEncContext * s, if (s->unrestricted_mv) { xmin = -16; ymin = -16; + if (s->h263_plus) + range *= 2; if(s->avctx==NULL || s->avctx->codec->id!=CODEC_ID_MPEG4){ xmax = s->mb_width*16; ymax = s->mb_height*16; |