ref: 84acc988eb8fb97cb5cd0108739ea55ad8cf7bc7
parent: 930ae71ef0d06a80ced8d9544d62679f516a0e8f
author: Jingning Han <[email protected]>
date: Fri Dec 13 07:58:49 EST 2013
Remove redefinition in handle_inter_mode Change-Id: I44513b9db6d42e2c52723e1a429f06a93d300c8b
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -2748,6 +2748,7 @@
intpel_mv &= (mbmi->mv[1].as_mv.row & 15) == 0 &&
(mbmi->mv[1].as_mv.col & 15) == 0;
+
// Search for best switchable filter by checking the variance of
// pred error irrespective of whether the filter will be used
if (cm->mcomp_filter_type != BILINEAR) {
@@ -2757,7 +2758,7 @@
*best_filter = EIGHTTAP;
vp9_zero(cpi->rd_filter_cache);
} else {
- int i, newbest;
+ int newbest;
int tmp_rate_sum = 0;
int64_t tmp_dist_sum = 0;