]> granicus.if.org Git - libvpx/commitdiff
Add vpx_clear_system_state to new mv search func
authorAngie Chiang <angiebird@google.com>
Thu, 27 Sep 2018 01:06:05 +0000 (18:06 -0700)
committerAngie Chiang <angiebird@google.com>
Thu, 27 Sep 2018 01:06:05 +0000 (18:06 -0700)
Change-Id: I93308a0906165b8fa56b59e199c3de29b572f666

vp9/encoder/vp9_mcomp.c

index 97ec5e06ebda11350feb16e9ba8ccb46586788f5..48afb719000d730b4140bb0a3b1e7d53d255d1dc 100644 (file)
@@ -2092,6 +2092,7 @@ double vp9_full_pixel_diamond_new(const VP9_COMP *cpi, MACROBLOCK *x,
   double bestsme =
       vp9_diamond_search_sad_new(x, &cpi->ss_cfg, mvp_full, &temp_mv,
                                  step_param, lambda, &n, fn_ptr, nb_full_mvs);
+  vpx_clear_system_state();
   *dst_mv = temp_mv;
 
   // If there won't be more n-step search, check to see if refining search is