]> granicus.if.org Git - libvpx/commitdiff
Sync the behavior of exhaustive_mesh_search
authorAngie Chiang <angiebird@google.com>
Thu, 11 Jul 2019 23:52:50 +0000 (16:52 -0700)
committerAngie Chiang <angiebird@google.com>
Mon, 15 Jul 2019 02:09:56 +0000 (19:09 -0700)
Change-Id: Ib1ac6f57519eb4da93e7c75b0c26a372ffc5d524

vp9/encoder/vp9_mcomp.c

index 53f2a0c6b17efda1f38f39226934af5edbac8204..70cbb5c25f357e6b53c72c21644efd99bd84097e 100644 (file)
@@ -2003,7 +2003,7 @@ static int64_t exhaustive_mesh_search_single_step(
           }
         }
       } else {
-        for (i = 0; i < end_col - c; ++i) {
+        for (i = 0; i <= end_col - c; ++i) {
           const MV mv = { r, c + i };
           int64_t sad =
               (int64_t)fn_ptr->sdf(src->buf, src->stride,