vp9: Remove a redundent condition in sub-pixel filter choosing.
authorjackychen <jackychen@google.com>
Fri, 20 May 2016 21:34:41 +0000 (14:34 -0700)
committerjackychen <jackychen@google.com>
Fri, 20 May 2016 21:38:45 +0000 (14:38 -0700)
Change-Id: I5cbb0f452ec9622437482b3a9496ead1253acfe0

vp9/encoder/vp9_pickmode.c

index 1a18d7c..918b3b1 100644 (file)
@@ -1623,12 +1623,9 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
               free_pred_buffer(this_mode_pred);
               this_mode_pred = current_pred;
             }
-
-            if (filter < EIGHTTAP_SHARP) {
-              current_pred = &tmp[get_pred_buffer(tmp, 3)];
-              pd->dst.buf = current_pred->data;
-              pd->dst.stride = bw;
-            }
+            current_pred = &tmp[get_pred_buffer(tmp, 3)];
+            pd->dst.buf = current_pred->data;
+            pd->dst.stride = bw;
           }
         }
       }