Fix 1-step refinement search table
authorJingning Han <jingning@google.com>
Sat, 14 Mar 2015 17:51:46 +0000 (10:51 -0700)
committerJingning Han <jingning@google.com>
Sat, 14 Mar 2015 17:52:11 +0000 (10:52 -0700)
Change-Id: I32f0bcb40c6e7ba63bfae487739ededd0b6b2dde

vp9/encoder/vp9_mcomp.c

index 0d833ff..88c5ca0 100644 (file)
@@ -1783,8 +1783,8 @@ static int vector_match(int16_t *ref, int16_t *src, int bwl) {
   return (center - (bw >> 1));
 }
 
-static const MV search_pos[5] = {
-    {-1, 0}, {0, -1}, {0, 0}, {0, 1}, {1, 0},
+static const MV search_pos[4] = {
+    {-1, 0}, {0, -1}, {0, 1}, {1, 0},
 };
 
 unsigned int vp9_int_pro_motion_estimation(const VP9_COMP *cpi, MACROBLOCK *x,