shithub: libvpx

Download patch

ref: 688c99a7066df47e1f7490519248ea0572dae5d7
parent: 1b3499ae8b4c9db3a15f59ca3961e54efa30bd26
parent: ba29125f7b6f03782033855aeef09d773342b972
author: Jingning Han <jingning@google.com>
date: Fri Mar 13 05:56:00 EDT 2015

Merge "Reset src buffer only once in vp9_int_pro_motion_estimation"

--- a/vp9/encoder/vp9_mcomp.c
+++ b/vp9/encoder/vp9_mcomp.c
@@ -1844,8 +1844,8 @@
 
   best_sad = INT_MAX;
   this_mv = *tmp_mv;
+  src_buf = x->plane[0].src.buf;
   for (idx = 0; idx < 5; ++idx) {
-    src_buf = x->plane[0].src.buf;
     ref_buf = xd->plane[0].pre[0].buf +
         (search_pos[idx].row + this_mv.row) * ref_stride +
         (search_pos[idx].col + this_mv.col);