From d0aa90ed798992efee4f193cc6fc8aa2953d1668 Mon Sep 17 00:00:00 2001 From: Angie Chiang Date: Mon, 24 Oct 2016 16:04:26 -0700 Subject: [PATCH] Remove speed feature of ext_interp experiment This is to facilitate the refactor process Change-Id: I6faedb29129b47abefe20821dc3f32a43db149d8 --- av1/encoder/rdopt.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c index 1793dd327..4cf23e546 100644 --- a/av1/encoder/rdopt.c +++ b/av1/encoder/rdopt.c @@ -7044,14 +7044,6 @@ static int64_t handle_inter_mode( } else { int rate_sum = 0; int64_t dist_sum = 0; - - if (i > 0 && cpi->sf.adaptive_interp_filter_search && - (cpi->sf.interp_filter_search_mask & (1 << i))) { - rate_sum = INT_MAX; - dist_sum = INT64_MAX; - continue; - } - if ((cm->interp_filter == SWITCHABLE && (!i || best_needs_copy)) || #if CONFIG_EXT_INTER is_comp_interintra_pred || @@ -7083,13 +7075,6 @@ static int64_t handle_inter_mode( tmp_dist_sum = dist_sum; } } - - if (i == 0 && cpi->sf.use_rd_breakout && ref_best_rd < INT64_MAX) { - if (rd / 2 > ref_best_rd) { - restore_dst_buf(xd, orig_dst, orig_dst_stride); - return INT64_MAX; - } - } newbest = i == 0 || rd < best_rd; if (newbest) {