diff motion_est.c @ 275:7ebb3f9aaf3b libavcodec

- Added video coding statistics for ffmpeg. Needs more work. - Fixed ME range for H.263+ UMV (32 pix).
author pulento
date Tue, 19 Mar 2002 06:30:41 +0000
parents 09ae29b27ed9
children 5cb2978e701f
line wrap: on
line diff
--- a/motion_est.c	Tue Mar 19 03:51:36 2002 +0000
+++ b/motion_est.c	Tue Mar 19 06:30:41 2002 +0000
@@ -409,6 +409,8 @@
     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;